Find the answer to your Linux question:
Results 1 to 4 of 4
Just got a new laptop with windows7 on it... I have an Ubuntu computer that I use as a host and share a few directories and a printer with the ...
  1. #1
    Just Joined!
    Join Date
    Apr 2008
    Posts
    2

    Samba and Windows7 authentication

    Just got a new laptop with windows7 on it... I have an Ubuntu computer that I use as a host and share a few directories and a printer with the rest of my home network. Before my XP laptop worked great....but now I cannot get my Windows7 laptop to connect to any of my shares. I try to map and it asks for my username and password over and over again, and I know they are right.

    I have been doing some searching, and I did find that Windows7 requires a registery edit.... to which I did. But I am still unable to map to the shares.

    My smb.conf file is below.

    [global]
    ; General server settings
    netbios name = office-desktop
    workgroup = BEATTYLAN

    [homes]
    guest ok = no
    read only = no

    [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 = yes
    public = yes
    create mode = 0700
    guest only = yes
    use client driver = yes


    [MyPictures]
    path = /media/SecondaryHD/
    browseable = yes
    read only = no
    guest ok = no
    create mask = 0644
    directory mask = 0755
    force user = michael
    force group = michael

    [OfficeDocuments]
    path = /home/michael/Documents/
    browseable = yes
    read only = no
    guest ok = no
    create mask = 0644
    directory mask = 0755
    force user = michael
    force group = michael

    *********************
    Any help would be appreciated.

  2. #2
    Just Joined!
    Join Date
    Jan 2011
    Posts
    1
    I have windows 7 connected to samba shares with no registry edits required.

    All I had to do was make sure the windows 7 machine was in the same workgroup as my samba shares and it just worked.

  3. #3
    Just Joined!
    Join Date
    Mar 2009
    Location
    Norway
    Posts
    52
    It has something to do with new access-rights in win7.

    The following article from NTNUs it-support has solved my issues in the past: IT-Info: Problem with map network drive using Windows 7

  4. #4
    Just Joined!
    Join Date
    Nov 2010
    Posts
    4

    authentication

    Hi,

    similar solution to the one i posted for centos.
    Standard samba authentication is user based so before connecting any user you need to add it as smb user:

    smbpasswd -a username

    and follow the prompt.

    Cheers
    QatQat

Posting Permissions

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