samba error: failed to create user
Hi,
I have installed samba to authenticate windows user on linux. I'm able to get the net getlocalsid without errors. But when I tried to join server it says wrong username and password. I checked the logs and I found this line
[2007/11/05 11:29:31, 0] auth/auth_util.c:create_builtin_users(751)
create_builtin_users: Failed to create Users
Any idea how I would resolve this issue?
I've seen a lot of logs from other machines on /var/log/samba. All have the same errors.
Thanks in advanced..... my smb.conf file is:
[global]
# Set our domain name
workgroup = domain
# Lock out people not on the local LAN. Optional.
# Also allow local loopback (127.)
hosts allow = 192.168.1. 127.
# identify our software
server string = PDC Server
# Security mode should be "user" for a domain controller
security = user
# Security mode to tell samba as a domain member server.
# security = domain
# We must encrypt passwords to talk to modern versions of Windows.
# without registry hacks, and we want to do that anyway.
encrypt passwords = yes
# Set a reasonable minimum password length
# min passwd length = 3
# Crucial options to enable operation as a PDC
domain logons = yes
domain master = yes
preferred master = yes
wins support = yes
# Talk to LDAP via SSL to obtain account information
passdb backend = ldapsam:ldap://ldap01.domain.com/
# Sync our passwords with the ldap database
ldap passwd sync = yes
ldap ssl = no
ldap admin dn = cn=root,dc=ldap,dc=domain,dc=com
ldap suffix = dc=ldap,dc=domain,dc=com
ldap group suffix = ou=Groups
ldap machine suffix = ou=Computers
ldap user suffix = ou=Users
ldap idmap suffix = ou=Users
# Scripts run to carry out domain administration tasks
add user script = /usr/local/sbin/smbldap-useradd -a -m '%u'
delete user script = /usr/local/sbin/smbldap-userdel '%u'
add group script = /usr/local/sbin/smbldap-groupadd -p '%g'
delete group script = /usr/local/sbin/smbldap-groupdel '%g'
add user to group script = /usr/local/sbin/smbldap-groupmod -m '%u' '%g'
delete user from group script = /usr/local/sbin/smbldap-groupmod -x '%u' '%g'
set primary group script = /usr/local/sbin/smbldap-usermod -g '%g' '%u'
add machine script = /usr/local/sbin/smbldap-useradd -w '%m'
# Log errors where CentOS normally does; one
# Log fiel per client IP address
log file = /var/log/samba/%m.log
|