[Samba] Failed to create Users error

Guillaume GOURAT
2007-10-02T16:06:44Z

Hi,

I have configured samba as PDC server with a ldap backend. Everything seem
to work correctly except that I have a recurrent samba error in the log
file:

[2007/10/02 16:13:25, 0] auth/auth_util.c:create_builtin_users(751)
  create_builtin_users: Failed to create Users
[2007/10/02 16:22:41, 0] auth/auth_util.c:create_builtin_users(751)
  create_builtin_users: Failed to create Users
[2007/10/02 16:27:37, 0] auth/auth_util.c:create_builtin_users(751)
  create_builtin_users: Failed to create Users
[2007/10/02 16:32:58, 0] auth/auth_util.c:create_builtin_users(751)
  create_builtin_users: Failed to create Users
[2007/10/02 16:36:04, 0] auth/auth_util.c:create_builtin_users(751)
  create_builtin_users: Failed to create Users
[2007/10/02 16:36:04, 0] auth/auth_util.c:create_builtin_users(751)
  create_builtin_users: Failed to create Users

The samba version is 3.0.24, (on a debian etch).

my smb.conf file :

# Samba config file created using SWAT
# from 192.168.1.8 (192.168.1.8)
# Date: 2007/09/19 12:11:58

[global]
	workgroup = NEXVISION
	server string = PE2900 PDC Server
	passdb backend = ldapsam:ldap://127.0.0.1/
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	load printers = No
	printcap name = /dev/null
	disable spoolss = Yes
	add user script = /usr/sbin/smbldap-useradd -m "%u"
	delete user script = /usr/sbin/smbldap-userdel "%u"
	add group script = /usr/sbin/smbldap-groupadd -p "%g"
	delete group script = /usr/sbin/smbldap-groupdel "%g"
	add user to group script = /usr/sbin/smbldap-groupmod -m "%u"
"%g"
	delete user from group script = /usr/sbin/smbldap-groupmod -x "%u"
"%g"
	set primary group script = /usr/sbin/smbldap-usermod -g "%g"
"%u"
	add machine script = /usr/sbin/smbldap-useradd -w "%u"
	logon path = \\%L\profile\%U
	logon drive = P:
	logon home = \\%L\%U
	domain logons = Yes
	os level = 40
	domain master = Yes
	dns proxy = No
	wins support = Yes
	ldap admin dn = cn=admin,dc=nexvision
	ldap delete dn = Yes
	ldap group suffix = ou=Groups
	ldap idmap suffix = ou=Idmap
	ldap machine suffix = ou=Machines
	ldap passwd sync = Yes
	ldap suffix = dc=nexvision
	ldap ssl = no
	ldap user suffix = ou=Users
	winbind use default domain = Yes
	hosts allow = 192.168.1., 127.
	case sensitive = No
	hide files = /desktop.ini/ntuser.ini/NTUSER.*/

[netlogon]
	path = /home/netlogon
	write list = Administrateur
	browseable = No

[profile]
	path = /home/export/profile
	read only = No
	create mask = 0600
	directory mask = 0700
	profile acls = Yes
	browseable = No

[homes]
	comment = Repertoire Personnel
	valid users = %S
	read only = No
	create mask = 0600
	directory mask = 0700
	browseable = No

[nexvision]
	comment = R?pertoire Projets Groupe NexVision
	path = /home/nexvision
	read only = No
	create mask = 0660
	directory mask = 0770


Thanks,

Guillaume.