Quote:
Originally Posted by sem007
|
here is the output of testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[netlogon]"
Processing section "[Profiles]"
Processing section "[printers]"
Processing section "[test]"
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions
[global]
workgroup = LAB
server string = LABPDC
passdb backend = tdbsam
passwd program = /usr/bin/passwd %u
passwd chat = *New*Password* %n \n *Please*Retype*New*Password %n \n *Password*Successfully*Updated*
username map = /etc/samba/smbusers
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
add user script = /usr/sbin/useradd %u
delete user script = /usr/sbin/userdel %u
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
delete user from group script = /usr/sbin/deluser %u %g
set primary group script = /usr/local/sbin/smbldap-useradd -w '%u'
add machine script = /usr/sbin/useradd -d /var/lib/nobody -g /bin/false -M %u
logon script = %m.bat
logon path = \\%L\Profiles\%U
logon drive = H:
logon home = \\%L\%U\.profile
domain logons = Yes
os level = 33
preferred master = Yes
domain master = Yes
dns proxy = No
hosts allow = 192.168.1. , 127.
cups options = raw
[homes]
comment = Home Directories
read only = No
browseable = No
[netlogon]
comment = Network Logon Service
path = /usr/local/samba/lib/netlogon
valid users = root, user3, user4
read only = No
guest ok = Yes
share modes = No
[Profiles]
path = /usr/local/samba/Profiles
valid users = root, user3, user4
read only = No
create mask = 0600
directory mask = 0700
hide files = /desktop.ini/outlook*.lnk/*Briefcase*/
store dos attributes = Yes
browseable = No
[printers]
comment = All Printers
path = /usr/spool/samba
printable = Yes
browseable = No
[test]
path = /test
valid users = root, test, user3, user4
read only = No