Michail A.Baikov
2002-Aug-05 02:50 UTC
[Samba] Problem in 3.0a18 (join computers to domain (W2k))
Hi developers, [2002/08/05 17:22:24, 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/local/sbin/smbldap-useradd.pl -g 1000 -w ivc-scan2$' gave 0 [2002/08/05 17:22:24, 3, effective(0, 0), real(0, 0)] rpc_server/srv_samr_nt.c:_api_samr_create_user(2304) attempting to create non-unix account ivc-scan2$ [2002/08/05 17:22:24, 2, effective(0, 0), real(0, 0)] passdb/pdb_ldap.c:ldapsam_open_connection(255) ldap_open_connection: connection opened [2002/08/05 17:22:24, 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/05 17:22:24, 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/05 17:22:24, 0, effective(0, 0), real(0, 0)] passdb/pdb_ldap.c:ldapsam_add_sam_account(1527) User already in the base, with samba properties [2002/08/05 17:22:24, 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? What is? Thanks a lot. -------------- next part -------------- HTML attachment scrubbed and removed
Andrew Bartlett
2002-Aug-05 03:26 UTC
[Samba] Problem in 3.0a18 (join computers to domain (W2k))
> "Michail A.Baikov" wrote: > > Hi developers, > > [2002/08/05 17:22:24, 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/local/sbin/smbldap-useradd.pl -g 1000 -w ivc-scan2$' gave 0 > [2002/08/05 17:22:24, 3, effective(0, 0), real(0, 0)] > rpc_server/srv_samr_nt.c:_api_samr_create_user(2304) > attempting to create non-unix account ivc-scan2$ > [2002/08/05 17:22:24, 2, effective(0, 0), real(0, 0)] > passdb/pdb_ldap.c:ldapsam_open_connection(255) > ldap_open_connection: connection opened > [2002/08/05 17:22:24, 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/05 17:22:24, 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/05 17:22:24, 0, effective(0, 0), real(0, 0)] > passdb/pdb_ldap.c:ldapsam_add_sam_account(1527) > User already in the base, with samba properties > [2002/08/05 17:22:24, 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? > > What is?Your ldap add script should not add the 'samba' properties. Doing so causes the 'add' to fail, becouse the samba properties are already 'added'. In future, we might make this work a bit better, but for now thats what you need to fix. Andrew Bartlett -- Andrew Bartlett abartlet@pcug.org.au Manager, Authentication Subsystems, Samba Team abartlet@samba.org Student Network Administrator, Hawker College abartlet@hawkerc.net http://samba.org http://build.samba.org http://hawkerc.net