Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I'm trying to setup samba samba-3.5.7 Samba setup is complete and I can get a Windows XP workstation to Join the domain. I can log into the domain just ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2011
    Posts
    2

    User Groups


    Hi,
    I'm trying to setup samba samba-3.5.7

    Samba setup is complete and I can get a Windows XP workstation to Join the domain.
    I can log into the domain just fine and save my setting/access network shares

    However there is one problem. I can't seems to find any User groups when I try to add them to administrator gorup on Windows. such as Domain Admins and Domain Users. When I search from a Windows workstation I can see all my users but not any of the groups. (I was doing it though Control Panal->Administrative tools->Computer Management)

    "net gourpmap list" command outputs
    Domain Users (S-1-5-21-1854383732-3336695604-2619946959-513) -> domusers
    Domain Admins (S-1-5-21-1854383732-3336695604-2619946959-512) -> domadmins
    Domain Users (S-1-5-21-1854383732-3336695604-2619946959-514) -> domguests

    Winbind is also running.

    Any help would be greatly appreciated...

  2. #2
    Just Joined!
    Join Date
    Mar 2011
    Posts
    2
    My smb.conf file
    ------------------------

    [global]
    workgroup = EBT2
    netbios name = filestore2
    passdb backend = tdbsam
    add user script = /usr/sbin/useradd -m %u
    delete user script = /usr/sbin/userdel -r %u
    add group script = /usr/sbin/groupadd %g
    delete group script = /usr/sbin/groupdel %g
    add user to group script = /usr/sbin/groupmod -A %u %g
    delete user from group script = /usr/sbin/groupmod -R %u %g
    add machine script = /usr/sbin/useradd -s /bin/false -d /var/lib/nobody %u
    # Note: The following specifies the default logon script.
    # Per user logon scripts can be specified in the user account using pdbedit
    logon script = scripts\%U.bat
    # This sets the default profile path. Set per user paths with pdbedit
    logon path = \\%L\Profiles\%U
    logon drive = H:
    logon home = \\%L\%U
    domain logons = Yes
    os level = 35
    preferred master = Yes
    domain master = Yes
    idmap uid = 15000-20000
    idmap gid = 15000-20000
    ldap ssl = No

    [homes]
    comment = Home Directories
    valid users = %S
    read only = No
    browseable = No
    hide files = /desktop.ini/ntuser.ini/NTUSER.*/

    [It]
    comment = IT Drive
    path = /var/local/IT/
    valid users = @it, Administrator
    admin users = @it, Administrator
    force create mode = 770
    writeable = yes

    [Accounts]
    comment = Accounts Department Share
    path = /var/local/samba/Accounts
    valid users = @accounts, @it
    admin users = @accounts, @it
    create mask = 770
    force create mode = 770
    directory mask = 770
    writeable = yes

    [Groups]
    comment = G Drive
    path = /var/local/samba/Groups/
    admin users = @it
    create mask = 777
    force create mode = 777
    directory mask = 777
    force directory mode = 777
    guest ok = Yes
    writeable = yes

    [Newgroups]
    comment = K Drive
    path = /var/local/samba/Newgroups/
    admin users = @it
    create mask = 777
    force create mode = 777
    directory mask = 777
    force directory mode = 777
    guest ok = Yes
    writeable = yes

    [netlogon]
    comment = Network Logon Service
    path = /usr/local/samba/netlogon
    admin users = root, administrator
    guest ok = Yes
    browseable = No

    [Profiles]
    comment = Roaming Profile Share
    path = /usr/local/samba/profiles
    read only = No
    profile acls = Yes

Posting Permissions

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