Hy,
I tryed to configure Samba as a Domain controller but I just can't make it work.
I still get wierd errors in in logs as:
[2008/09/16 12:34:25, 0] auth/auth_util.c:create_builtin_users(751)
create_builtin_users: Failed to create Users
[2008/09/16 13:06:27, 0] auth/auth_util.c:create_builtin_administrators(785)
create_builtin_administrators: Failed to create Administrators
[2008/09/16 13:06:27, 0] auth/auth_util.c:create_builtin_users(751)
create_builtin_users: Failed to create Users
[2008/09/16 13:06:28, 0] auth/auth_util.c:create_builtin_administrators(785)
create_builtin_administrators: Failed to create Administrators
[2008/09/16 13:06:28, 0] auth/auth_util.c:create_builtin_users(751)
create_builtin_users: Failed to create Users
I googled, but I found just other users with the same issues, and no answers to those posts.
My SMB.conf looks like:
[global]
workgroup = SOFTRUST
server string = server %v
interfaces = 192.168.1.0/24, eth1
passdb backend = tdbsam
passwd program = /usr/bin/passwd %u
passwd chat = *New* %n\n *Re* %n\n *pa*
username map = /etc/samba/smbusers
unix password sync = Yes
log file = /var/log/samba/log.%m
max log size =
1000
name resolve order = wins lmhosts host bcast
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
logon script = logon.cmd
logon path = \\stc-server\profiles\%u
logon drive = K:
logon home = \\stc-server\%u
domain logons = Yes
os level = 64
preferred master = Yes
domain master = Yes
wins support = Yes
admin users =
root
printer admin = root, stcadmin
hosts allow = 192.168.1.0/255.255.255.0
[homes]
comment = Home Directories
create mask = 0700
directory mask = 0700
browseable = No
[netlogon]
path = /home/samba/netlogon/%u
browseable = No
[profiles]
path = /home/export/profile/
read _only_ = No
create mask = 0700
directory mask = 0700
browseable =
No
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
write list = Softrust
I used Graphical interfaces for samba such as SWAT, didn't help much, still not working. Btw the file sharing is working OK.
Any Ideas ....
Mihai Chindea