Page 57 of 106 FirstFirst ... 747555657585967 ... LastLast
Results 561 to 570 of 1059

Thread: HOWTO: Setup Samba peer-to-peer with Windows

  1. #561
    Join Date
    Oct 2007
    Beans
    5

    Re: HOWTO: Setup Samba peer-to-peer with Windows

    Hi all,
    congratulation for the very clear and simplified guide! I'm reaching the goal to share my disk on ubuntu box by cross cable with windows xp home edition. There are only 2 problems still alive....
    1. My connection is very very slow (I tried to change the cable with no results)
    2. I can share only 1 folder on fat32 partition. I can't mount a shared folder under windows xp home on the other partition. When I try to access other partition and a windows login appears I tried to insert either user and pwd created for samba shares without the form DOMAIN\USER and USER / PWD without domain.

    I suppose I miss something in user permission.

    Thank's in advance.
    Vincent

  2. #562
    Join Date
    Apr 2006
    Location
    USA
    Beans
    246
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HOWTO: Setup Samba peer-to-peer with Windows

    Quote Originally Posted by thek1 View Post
    Hi all,
    congratulation for the very clear and simplified guide! I'm reaching the goal to share my disk on ubuntu box by cross cable with windows xp home edition. There are only 2 problems still alive....
    1. My connection is very very slow (I tried to change the cable with no results)
    2. I can share only 1 folder on fat32 partition. I can't mount a shared folder under windows xp home on the other partition. When I try to access other partition and a windows login appears I tried to insert either user and pwd created for samba shares without the form DOMAIN\USER and USER / PWD without domain.

    I suppose I miss something in user permission.

    Thank's in advance.
    Vincent
    In the last few days or so, I came into a similar problem. From much googling, I have discovered that XP home does not like networking, especially at the domain level. One must verify that XP home, does, in fact see the network at the workgroup level and not domain. Just in case you did not previously know to check on the XP machine(s) (please be careful here):

    -- right click MY computer
    click properties
    computer name tab
    edit

    Hope this helps
    ----------- edit -------
    My current problem is that I have 12 machines on a network at work about a third of them XP home and the rest XP pro. XP home registers the network as a workgroup and the XP pro sees it as a domain
    Last edited by pneaveill; February 27th, 2008 at 04:09 PM. Reason: details
    Fellow traveler on the path to ubuntu.
    Paul

  3. #563
    Join Date
    Jul 2007
    Beans
    11

    Re: HOWTO: Setup Samba peer-to-peer with Windows

    EDIT**

    I fixed it. After hours of searching I finally stumbled upon this thread.
    http://ubuntuforums.org/archive/index.php/t-589364.html

    I tried removing samba then re-installing it and just editing the original conf file to the paramiters in the original post, it worked I hope this can help someone because I know it frustrated me for the better part of a day.
    -------------------------------------------------------

    First one great install guide it was very clear and easy to understand.
    I am having a bit of a problem getting my windows box to connect however.

    My windows box is running Win XP Home and my linux box is running Ubuntu 7.10 server edition.

    I have it set up for WINS with and my linux box set with a static ip on the network. Everything works fine until I try to map the network drive. If i hit browse it lists the network and will open the computer and navigate to the share folder. However when I hit finish to map it it waits about 20sec and spits out this error: "The mapped network drive could not be created because the following error has occured. An extended error has occured."

    I went throught the entire setup and have everything running properly on my linux box as far as I can tell anyways. I double checked the user login info on both computers to make sure they match. Here is the config.

    Code:
    [global]
        ; General server settings
        netbios name = servername
        
        workgroup = workgroup
        announce version = 5.0
        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
    
        passdb backend = tdbsam
        security = user
        null passwords = true
        username map = /etc/samba/smbusers
        name resolve order = hosts wins bcast
    
        wins support = yes
    
        printing = CUPS
        printcap name = CUPS
    
        syslog = 1
        syslog only = yes
    
    ; NOTE: If you need access to the user home directories uncomment the
    ; lines below and adjust the settings to your hearts content.
    ;[homes]
        ;valid users = %S
        ;create mode = 0600
        ;directory mode = 0755
        ;browseable = no
        ;read only = no
        ;veto files = /*.{*}/.*/mail/bin/
    
    ; NOTE: Only needed if you run samba as a primary domain controller.
    ; Not needed as this config doesn't cover that matter.
    ;[netlogon]
        ;path = /var/lib/samba/netlogon
        ;admin users = Administrator
        ;valid users = %U
        ;read only = no
    
    ; NOTE: Again - only needed if you're running a primary domain controller.
    ;[Profiles]
        ;path = /var/lib/samba/profiles
        ;valid users = %U
        ;create mode = 0600
        ;directory mode = 0700
        ;writeable = yes
        ;browseable = no
    
    ; NOTE: Inside this place you may build a printer driver repository for
    ; Windows - I'll cover this topic in another HOWTO.
    [print$]
        path = /var/lib/samba/printers
        browseable = yes
        guest ok = yes
        read only = yes
        write list = root
        create mask = 0664
        directory mask = 0775
    
    [printers]
        path = /tmp
        printable = yes
        guest ok = yes
        browseable = no
    
    ; Uncomment if you need to share your CD-/DVD-ROM Drive
    ;[DVD-ROM Drive]
        ;path = /media/cdrom
        ;browseable = yes
        ;read only = yes
        ;guest ok = yes
    
    [MyFiles]
        path = /home/samba
        
        read only = no
        guest ok = nod
        create mask = 0644
        directory mask = 0755
        force user = administrator
        force group = administrator
    available = yes
    browsable = yes
    public = yes
    writable = yes
    This is the error output:

    Code:
    [2008/02/28 10:10:56, 0] auth/auth_util.c:create_builtin_administrators(792)
      create_builtin_administrators: Failed to create Administrators
    [2008/02/28 10:10:56, 0] auth/auth_util.c:create_builtin_users(758)
      create_builtin_users: Failed to create Users
    [2008/02/28 10:42:56, 0] auth/auth_util.c:create_builtin_administrators(792)
      create_builtin_administrators: Failed to create Administrators
    [2008/02/28 10:42:56, 0] auth/auth_util.c:create_builtin_users(758)
      create_builtin_users: Failed to create Users
    [2008/02/28 11:14:56, 0] auth/auth_util.c:create_builtin_administrators(792)
      create_builtin_administrators: Failed to create Administrators
    [2008/02/28 11:14:56, 0] auth/auth_util.c:create_builtin_users(758)
      create_builtin_users: Failed to create Users
    Any help would be great appreciated as I'm completely lost with all this.
    Last edited by Fiddlestx; February 29th, 2008 at 02:58 AM.

  4. #564
    Join Date
    Dec 2007
    Beans
    52
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: HOWTO: Setup Samba peer-to-peer with Windows

    Great guide, but I'm encountering a problem. The XP user I wish to add has a space in their name (eg: John Smith).
    Following the configuring SAMBA guide linked to in the article, I found there is a -m switch used with the smbpasswd command to indicate that the user is actually a machine, so you can auth a whole machine instead of 1 user.

    In the following example we will add an user called "mark" ...

    Example:

    Code:
    sudo useradd -s /bin/true mark
    sudo smbpasswd -L -a mark
    sudo smbpasswd -L -e mark
    So to add the XP PC, I do

    Code:
    sudo useradd -s /bin/true FAMILY-PC
    sudo smbpasswd -L -a -m FAMILY-PC
    And I get this:
    Code:
    marc@marc-desktop:~$ sudo smbpasswd -L -a -m FAMILY-PC
    Failed to modify password entry for user FAMILY-PC$
    Any suggestions?

  5. #565
    Join Date
    Feb 2008
    Beans
    42

    Re: HOWTO: Setup Samba peer-to-peer with Windows

    Does anyone know exactly how safe this samba sharing is?

    I live in a college dorm room and would like to share files with my room mate, but am afraid my computer could be vulnerable to the rest of the network.

    I want to know if it's safe to leave my samba service on all the time or not.

    Thanks.

  6. #566
    Join Date
    Feb 2008
    Beans
    16

    Question Re: HOWTO: Setup Samba peer-to-peer with Windows

    Thanks for the step by step but...
    followed the steps
    on my XP machine I can network to my laptop (ubuntu) via the workgroup but when I put in the \\simon-laptop\home\samba and hit enter it requests a user and password which I enter, then it comes back as 'The folder you entered does not appear to be valid. Please choose another'
    I'm bambozzled !
    This is the smb.conf
    [MyFiles]
    path = /home/samba/

    read only = no
    guest ok = no
    create mask = 0644
    directory mask = 0755
    force user = simon
    force group = simon

    /home/samba also shows up under admin > shared folders too
    What do I do now ?

  7. #567
    Join Date
    Feb 2008
    Beans
    16

    Re: HOWTO: Setup Samba peer-to-peer with Windows

    Further info if it helps
    Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a]

    Sharename Type Comment
    --------- ---- -------
    print$ Disk
    MyFiles Disk
    IPC$ IPC IPC Service (Samba 3.0.26a)
    Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.26a]

    Server Comment
    --------- -------
    OLIVERROCHE01 Home_PC
    SIMON-LAPTOP Samba 3.0.26a

    Workgroup Master
    --------- -------
    WORKGROUP OLIVERROCHE01

  8. #568
    Join Date
    Feb 2008
    Beans
    16

    Re: HOWTO: Setup Samba peer-to-peer with Windows

    OK, I think its time to install XP again - I give after this last post. Still cannot get a shared file between XP and ubunto.
    Only error I got
    mount: can't find //simon-laptop/home/samba in /etc/fstab or /etc/mtab
    simon@simon-laptop:~$ sudo mount -l

    Here is the contents of FSTAB
    simon@simon-laptop:~$ sudo mount -l
    /dev/sda1 on / type ext3 (rw,errors=remount-ro) []
    proc on /proc type proc (rw,noexec,nosuid,nodev)
    /sys on /sys type sysfs (rw,noexec,nosuid,nodev)
    varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
    varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
    udev on /dev type tmpfs (rw,mode=0755)
    devshm on /dev/shm type tmpfs (rw)
    devpts on /dev/pts type devpts (rw,gid=5,mode=620)
    lrm on /lib/modules/2.6.22-14-generic/volatile type tmpfs (rw)
    securityfs on /sys/kernel/security type securityfs (rw)
    nfsd on /proc/fs/nfsd type nfsd (rw)
    simon@simon-laptop:~$ sudo gedit /etc/fstab

    after this I give up and Bill wins !!!

  9. #569
    Join Date
    Mar 2008
    Beans
    1

    Problem Install Samba

    hi cant u help me... i have follow your instructure but having problem

    teknikal@teknikal:~$ sudo apt-get install samba
    [sudo] password for teknikal:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package samba is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    However the following packages replace it:
    smbclient samba-common
    E: Package samba has no installation candidate
    teknikal@teknikal:~$

    what cant i do to his problem

  10. #570
    Join Date
    Jun 2005
    Location
    south australia
    Beans
    70

    Re: HOWTO: Setup Samba peer-to-peer with Windows

    the [homes] section completely fails to work on ubuntu 7.10 running samba 3.0.26a. ive tried changing settings and restarting samba dozens of times and nothing makes it work.
    does anybody have a working [homes] that shares between two ubuntu machines?

Page 57 of 106 FirstFirst ... 747555657585967 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •