[Samba] Domain Setup

Mike Lander mike at lanlinecomputers.com
Tue Aug 21 04:37:02 GMT 2007


Hello
    First time setup for a Linux PDC. Have done several Micro$
Keep getting these errors  smb conf in body. I did the group add scrpt
Not modfy as all the googiling I have found suggest.
Can anyone Help Please.
Thanks
Mike



Aug 21 21:24:37 ns2 smbd[14249]:   create_builtin_users: Failed to create Users 
Aug 21 21:24:37 ns2 smbd[14248]: [2007/08/21 21:24:37, 0] auth/auth_util.c:create_builtin_users(758) 
Aug 21 21:24:37 ns2 smbd[14248]:   create_builtin_users: Failed to create Users 
Aug 21 21:30:12 ns2 smbd[14274]: [2007/08/21 21:30:12, 0] auth/auth_util.c:create_builtin_administrators(792) 
Aug 21 21:30:12 ns2 smbd[14274]:   create_builtin_administrators: Failed to create Administrators 
Aug 21 21:30:12 ns2 smbd[14277]: [2007/08/21 21:30:12, 0] auth/auth_util.c:create_builtin_administrators(792) 
Aug 21 21:30:12 ns2 smbd[14277]:   create_builtin_administrators: Failed to create Administrators 
Aug 21 21:30:12 ns2 smbd[14278]: [2007/08/21 21:30:12, 0] auth/auth_util.c:create_builtin_administrators(792) 
Aug 21 21:30:12 ns2 smbd[14278]:   create_builtin_administrators: Failed to create Administrators 
Aug 21 21:30:12 ns2 smbd[14274]: [2007/08/21 21:30:12, 0] auth/auth_util.c:create_builtin_users(758) 
# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2007/08/20 17:00:22

[global]
 workgroup = TESTDOMAIN
 netbios name = SBS
 server string = TW
 interfaces = eth0, eth2, lo
 bind interfaces only = Yes
 passdb backend = tdbsam
 pam password change = Yes
 passwd program = /usr/bin/passwd %u
 passwd chat = *New*Password* %n\n *Re-enter*new*password*%n\n *Password*changed*
 username map = /etc/samba/smbusers
 unix password sync = Yes
 log file = /var/log/samba/%m
 max log size = 50
 smb ports = 139
 name resolve order = wins bcast hosts
 time server = Yes
 printcap name = CUPS
 show add printer wizard = No
 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/usermod -G '%g' '%u'
 add machine script = /usr/sbin/useradd -s /bin/false -d /tmp '%u'
 shutdown script = /var/lib/samba/scripts/shutdown.sh
 abort shutdown script = /sbin/shutdown -c
 logon script = scripts\logon.bat
 logon path = \\%L\profiles\%U
 logon drive = X:
 logon home = \\%L\%U
 domain logons = Yes
 preferred master = Yes
 wins support = Yes
 ldap ssl = no
 utmp = Yes
 map acl inherit = Yes
 printing = cups
 cups options = Raw
 print command = 
 lpq command = %p
 lprm command = 
 veto files = /*.eml/*.nws/*.{*}/
 veto oplock files = /*.doc/*.xls/*.mdb/

[homes]
 comment = Home Directories
 valid users = %S
 admin users = kkyser
 read only = No
 browseable = No

[printers]
 comment = SMB Print Spool
 path = /var/spool/samba
 guest ok = Yes
 printable = Yes
 use client driver = Yes
 browseable = No

[netlogon]
 comment = Network Logon Service
 path = /var/lib/samba/netlogon
 guest ok = Yes
 locking = No

[profiles]
 comment = Profile Share
 path = /var/lib/samba/profiles
 read only = No
 profile acls = Yes

[accounts]
 comment = Accounting Files
 path = /data/accounts
 read only = No

[service]
 comment = Financial Services Files
 path = /data/service
 read only = No

[fidata]
 comment = Finance and  Insurance Files
 path = /data/fidata
 read only = No

[apps]
 comment = Application Files
 path = /apps
 admin users = kkys
[mgmt]
 comment = Manangement Files
 path = /data/mgmt
 admin users = kkys


More information about the samba mailing list