Find the answer to your Linux question:
Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Samba private/shared user access with Win98SE, XP Home


    I have succesfully setup SuSe 10 on a Dell server and configured Samba.
    Added all of our office staff as user/home directories and created equivalent samba usernames and passwords.
    Most of our clients are running Windows 98SE and one Windows XP home.
    The 98SE clients have matching usernames + passwords and are able to browse and manipulate their respective folders.
    This only however after I set the folders permissions to 'all'; before the user could log on but only browse and not change.
    Now, other users are able to see and manipulate other users folders but that's OK as there is a lot of interchanging going on.

    I'm pretty happy so far but what I would like to do is:

    create two Windows 98SE clients with usernames/passwords that give acces to two non-shared user accounts on the Samba server. I.e.,

    linux/samba user Unique1, only accessible by Win 98SE user Unique1
    etc. for Unique2

    Unique1 should have access to all useraccounts, but that is the case anyway for the ones that I have set to All already so not really important..

    What is the best way to do this?


    # smb.conf is the main Samba configuration file. You find a full commented
    # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
    # samba-doc package is installed.
    # Date: 2005-09-13
    workgroup = WBGROUP
    printing = cups
    printcap name = cups
    printcap cache time = 750
    cups options = raw
    map to guest = Bad User
    include = /etc/samba/dhcp.conf
    logon path = \\%L\profiles\.msprofile
    logon home = \\%L\%U\.9xprofile
    logon drive = s:
    add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody
    -s /bin/false %m$
    domain logons = Yes
    domain master = Yes
    local master = Yes
    os level = 65
    preferred master = Yes
    security = user
    netbios name = WBSERVER

    ## Share disabled by YaST
    # [homes]
    # comment = Home Directories
    # valid users = %S
    # browseable = No
    # read only = No
    # inherit acls = Yes

    ## Share disabled by YaST
    # [profiles]
    # comment = Network Profiles Service
    # path = %H
    # read only = No
    # store dos attributes = Yes
    # create mask = 0600
    # directory mask = 0700
    comment = All users
    path = /home
    read only = No
    inherit acls = Yes
    veto files = /aquota.user/groups/shares/

    ## Share disabled by YaST
    # [groups]
    # comment = All groups
    # path = /home/groups
    # read only = No
    # inherit acls = Yes

    ## Share disabled by YaST
    # [printers]
    # comment = All Printers
    # path = /var/tmp
    # printable = Yes
    # create mask = 0600
    # browseable = No

    ## Share disabled by YaST
    # [print$]
    # comment = Printer Drivers
    # path = /var/lib/samba/drivers
    # write list = @ntadmin root
    # force group = ntadmin
    # create mask = 0664
    # directory mask = 0775

    comment = Network Logon Service
    path = /var/lib/samba/netlogon
    write list = root

    Thanks in advance,

    Last edited by Marinus; 05-07-2006 at 04:22 PM. Reason: Change title

Posting Permissions

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