Samba 3.0a18. My Log: [2002/08/14 20:37:25, 3, effective(0, 0), real(0, 0)] rpc_server/srv_samr_nt.c:_api_samr_create_user(2292) _api_samr_create_user: Running the command `/usr/sbin/useradd -g 1000 -d /tmp -s /bin/false ivc-scan2$' gave 0 [2002/08/14 20:37:25, 2, effective(0, 0), real(0, 0)] passdb/pdb_ldap.c:ldapsam_open_connection(255) ldap_open_connection: connection opened [2002/08/14 20:37:25, 2, effective(0, 0), real(0, 0)] passdb/pdb_ldap.c:ldapsam_connect_system(398) ldap_connect_system: succesful connection to the LDAP server [2002/08/14 20:37:25, 2, effective(0, 0), real(0, 0)] passdb/pdb_ldap.c:ldapsam_search_one_user(410) ldapsam_search_one_user: searching for:[(&(uid=ivc-scan2$)(objectclass=sambaAccount))] [2002/08/14 20:37:25, 2, effective(0, 0), real(0, 0)] passdb/pdb_ldap.c:ldapsam_search_one_user(410) ldapsam_search_one_user: searching for:[uid=ivc-scan2$] [2002/08/14 20:37:25, 3, effective(0, 0), real(0, 0)] passdb/pdb_ldap.c:ldapsam_add_sam_account(1558) Adding new user [2002/08/14 20:37:25, 2, effective(0, 0), real(0, 0)] passdb/pdb_ldap.c:init_ldap_from_sam(901) Setting entry for user: ivc-scan2$ [2002/08/14 20:37:25, 0, effective(0, 0), real(0, 0)] passdb/pdb_ldap.c:ldapsam_add_sam_account(1589) failed to modify/add user with uid = ivc-scan2$ (dn = uid=ivc-scan2$,"ou=Computers","dc=MFDOM") with: Invalid DN syntax invalid DN [2002/08/14 20:37:25, 0, effective(0, 0), real(0, 0)] rpc_server/srv_samr_nt.c:_api_samr_create_user(2320) could not add user/computer ivc-scan2$ to passdb. Check permissions? Why Invalid DN? Where i should fix it? My smb.conf [global] workgroup = MFDOM log level = 3 Netbios Name = SERVER server string = Unix File Server (SAMBA %v) passdb backend = ldapsam:ldap://localhost ldap suffix = "dc=MFDOM" ldap user suffix = "ou=Users" ldap machine suffix = "ou=Computers" ldap admin dn = "cn=Manager,dc=MFDOM" ldap ssl = off use spnego = No time server = Yes deadtime = 15 wins support = Yes os level = 64 prefered master = Auto domain master = Yes local master = Yes security = user encrypt passwords = Yes null passwords = Yes passwd program = /usr/local/sbin/smbldap-passwd.pl guest account = nobody interfaces = 192.168.0.0/16 127.0.0.1 bind interfaces only = Yes domain logons = Yes add user script = /usr/sbin/useradd -g 545 -d /home/samba/users/%u -s /bin/false %u;/usr/local/sbin/smbldap-useradd.pl -a add machine script = /usr/sbin/useradd -g 1000 -d /tmp -s /bin/false %u delete user script = /usr/local/sbin/smbldap-userdel.pl %u;/usr/sbin/userdel %u logon path = \\%L\profiles\%U logon drive = s: logon home = \\%L\%U\.profile logon script = login.bat debug uid = Yes log file = /var/log/samba/%m.log max log size = 0 .... Thanks for advances! -------------- next part -------------- HTML attachment scrubbed and removed