joining machine to domain with ldapsam backend
Peak, John
John.Peak at McKesson.com
Wed Feb 12 18:23:16 GMT 2003
Bradley,
Did you ever resolve or find a workaround for this? This is exactly the
problem I am having with the current HEAD.
Thanks,
John
> From: "Bradley W. Langhorst" <brad at langhorst.com>
> To: samba-technical at samba.org
> Subject: joining machine to domain with ldapsam backend
> Date: 23 Apr 2002 20:35:22 -0400
> Message-id: <1019608522.25957.2528.camel at unheq1>
>
>
> I'm assuming that talk about samba3 belongs here,
> please let me know if i should take it to samba@
>
> I'm trying to join a machine to
> today's head
>
> here is the what I get in the log file -
> how should we assign an RID to a machine account?
>
> do I need to add a special script in the add machine script parameter
to
> make this work?
>
>
> how should we assign an RID to a machine account?
>
> [2002/04/23 20:32:53, 2] smbd/reply.c:reply_special(77)
> netbios connect: name1=BITC name2=TESTPC
> [2002/04/23 20:32:53, 2] smbd/reply.c:reply_special(96)
> netbios connect: local=bitc remote=testpc
> [2002/04/23 20:32:53, 2]
passdb/pdb_ldap.c:ldapsam_open_connection(206)
> ldap_open_connection: connection opened
> [2002/04/23 20:32:53, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240)
> ldap_connect_system: successful connection to the LDAP server
> [2002/04/23 20:32:53, 2]
passdb/pdb_ldap.c:ldapsam_search_one_user(252)
> ldapsam_search_one_user: searching
> for:[(&(uid=root)(objectclass=sambaAccount))]
> [2002/04/23 20:32:53, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498)
> Entry found for user: root
> [2002/04/23 20:32:53, 2] auth/auth.c:check_ntlm_password(256)
> check_password: authenticaion for user [root] -> [root] -> [root]
> suceeded
> [2002/04/23 20:32:53, 2]
passdb/pdb_ldap.c:ldapsam_open_connection(206)
> ldap_open_connection: connection opened
> [2002/04/23 20:32:53, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240)
> ldap_connect_system: successful connection to the LDAP server
> [2002/04/23 20:32:53, 2]
passdb/pdb_ldap.c:ldapsam_search_one_user(252)
> ldapsam_search_one_user: searching
> for:[(&(uid=root)(objectclass=sambaAccount))]
> [2002/04/23 20:32:53, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498)
> Entry found for user: root
> [2002/04/23 20:32:54, 2] lib/access.c:check_access(309)
> Allowed connection from (132.177.45.90)
> [2002/04/23 20:32:54, 2]
passdb/pdb_ldap.c:ldapsam_open_connection(206)
> ldap_open_connection: connection opened
> [2002/04/23 20:32:54, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240)
> ldap_connect_system: successful connection to the LDAP server
> [2002/04/23 20:32:54, 2]
passdb/pdb_ldap.c:ldapsam_search_one_user(252)
> ldapsam_search_one_user: searching
> for:[(&(uid=root)(objectclass=sambaAccount))]
> [2002/04/23 20:32:54, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498)
> Entry found for user: root
> [2002/04/23 20:32:54, 2] smbd/server.c:exit_server(498)
> Closing connections
> [2002/04/23 20:32:54, 2] lib/access.c:check_access(309)
> Allowed connection from (132.177.45.90)
> [2002/04/23 20:32:54, 2] smbd/reply.c:reply_special(77)
> netbios connect: name1=BITC name2=TESTPC
> [2002/04/23 20:32:54, 2] smbd/reply.c:reply_special(96)
> netbios connect: local=bitc remote=testpc
> [2002/04/23 20:32:54, 2]
passdb/pdb_ldap.c:ldapsam_open_connection(206)
> ldap_open_connection: connection opened
> [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240)
> ldap_connect_system: successful connection to the LDAP server
> [2002/04/23 20:32:55, 2]
passdb/pdb_ldap.c:ldapsam_search_one_user(252)
> ldapsam_search_one_user: searching
> for:[(&(uid=root)(objectclass=sambaAccount))]
> [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498)
> Entry found for user: root
> [2002/04/23 20:32:55, 2] auth/auth.c:check_ntlm_password(256)
> check_password: authenticaion for user [root] -> [root] -> [root]
> suceeded
> [2002/04/23 20:32:55, 2]
passdb/pdb_ldap.c:ldapsam_open_connection(206)
> ldap_open_connection: connection opened
> [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240)
> ldap_connect_system: successful connection to the LDAP server
> [2002/04/23 20:32:55, 2]
passdb/pdb_ldap.c:ldapsam_search_one_user(252)
> ldapsam_search_one_user: searching
> for:[(&(uid=root)(objectclass=sambaAccount))]
> [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498)
> Entry found for user: root
> [2002/04/23 20:32:55, 2] lib/access.c:check_access(309)
> Allowed connection from (132.177.45.90)
> [2002/04/23 20:32:55, 2]
passdb/pdb_ldap.c:ldapsam_open_connection(206)
> ldap_open_connection: connection opened
> [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240)
> ldap_connect_system: successful connection to the LDAP server
> [2002/04/23 20:32:55, 2]
passdb/pdb_ldap.c:ldapsam_search_one_user(252)
> ldapsam_search_one_user: searching
> for:[(&(uid=root)(objectclass=sambaAccount))]
> [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:init_sam_from_ldap(498)
> Entry found for user: root
> [2002/04/23 20:32:55, 2]
> rpc_server/srv_samr_nt.c:_samr_lookup_domain(2102)
> Returning domain sid for domain LAUELAB ->
> S-1-5-21-952143027-1224863391-451646606
> [2002/04/23 20:32:55, 2]
passdb/pdb_ldap.c:ldapsam_open_connection(206)
> ldap_open_connection: connection opened
> [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240)
> ldap_connect_system: successful connection to the LDAP server
> [2002/04/23 20:32:55, 2]
passdb/pdb_ldap.c:ldapsam_search_one_user(252)
> ldapsam_search_one_user: searching
> for:[(&(uid=testpc$)(objectclass=sambaAccount))]
> [2002/04/23 20:32:55, 2]
passdb/pdb_ldap.c:ldapsam_open_connection(206)
> ldap_open_connection: connection opened
> [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:ldapsam_connect_system(240)
> ldap_connect_system: successful connection to the LDAP server
> [2002/04/23 20:32:55, 2]
passdb/pdb_ldap.c:ldapsam_search_one_user(252)
> ldapsam_search_one_user: searching
> for:[(&(uid=testpc$)(objectclass=sambaAccount))]
> [2002/04/23 20:32:55, 2]
passdb/pdb_ldap.c:ldapsam_search_one_user(252)
> ldapsam_search_one_user: searching for:[uid=testpc$]
> [2002/04/23 20:32:55, 2] passdb/pdb_ldap.c:init_ldap_from_sam(734)
> Setting entry for user: testpc$
> [2002/04/23 20:32:55, 0] passdb/pdb_ldap.c:init_ldap_from_sam(747)
> NO user RID specified on account testpc$, cannot store!
> [2002/04/23 20:32:55, 0]
passdb/pdb_ldap.c:ldapsam_add_sam_account(1387)
> ldapsam_add_sam_account: init_ldap_from_sam failed!
> [2002/04/23 20:32:55, 0]
> rpc_server/srv_samr_nt.c:_api_samr_create_user(1979)
> could not add user/computer testpc$ to passdb. Check permissions?
> [2002/04/23 20:32:55, 2] smbd/server.c:exit_server(498)
> Closing connections
>
>
~-~-~-~-~-~-~-~-~-~-~-~-~-~
John Peak
Revenue Cycle Solutions
McKesson Corp.
<mailto:john.peak at mckesson.com> john.peak at mckesson.com
404.338.2701
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the samba-technical
mailing list