Samba Guy
2002-Nov-27 21:21 UTC
[Samba] samba 3.0a21+pdc+ldap+pam_ldap - add machines [Can anyone help?]
Well I installed a21 and I was able to add a machine account. The first time it comes back bad password, then the second attempt it works. But now when i restart and try to login it says it cant find the computer account. Am I missing something(yes i have signorseal)? Here is the log from the login attempt: 2002/11/27 16:20:00, 6] param/loadparm.c:lp_file_list_changed(2310) lp_file_list_changed() file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf last mod_time: Wed Nov 27 15:44:09 2002 [2002/11/27 16:20:00, 5] smbd/connection.c:claim_connection(162) claiming 0 [2002/11/27 16:20:00, 5] smbd/reply.c:reply_special(135) init msg_type=0x81 msg_flags=0x0 [2002/11/27 16:20:00, 6] lib/util_sock.c:write_socket(483) write_socket(5,4) [2002/11/27 16:20:00, 6] lib/util_sock.c:write_socket(486) write_socket(5,4) wrote 4 [2002/11/27 16:20:00, 10] lib/util_sock.c:read_smb_length_return_keepalive(539) got smb length of 133 [2002/11/27 16:20:00, 6] smbd/process.c:process_smb(859) got message type 0x0 of len 0x85 [2002/11/27 16:20:00, 3] smbd/process.c:process_smb(860) Transaction 1 of length 137 [2002/11/27 16:20:00, 5] lib/util.c:show_msg(455) [2002/11/27 16:20:00, 5] lib/util.c:show_msg(458) size=133 smb_com=0x72 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=24 smb_flg2=51283 smb_tid=0 smb_pid=65279 smb_uid=0 smb_mid=0 smt_wct=0 smb_bcc=98 [2002/11/27 16:20:00, 10] lib/util.c:dump_data(1761) [000] 02 50 43 20 4E 45 54 57 4F 52 4B 20 50 52 4F 47 .PC NETW ORK PROG [010] 52 41 4D 20 31 2E 30 00 02 4C 41 4E 4D 41 4E 31 RAM 1.0. .LANMAN1 [020] 2E 30 00 02 57 69 6E 64 6F 77 73 20 66 6F 72 20 .0..Wind ows for [030] 57 6F 72 6B 67 72 6F 75 70 73 20 33 2E 31 61 00 Workgrou ps 3.1a. [040] 02 4C 4D 31 2E 32 58 30 30 32 00 02 4C 41 4E 4D .LM1.2X0 02..LANM [050] 41 4E 32 2E 31 00 02 4E 54 20 4C 4D 20 30 2E 31 AN2.1..N T LM 0.1 [060] 32 00 2. [2002/11/27 16:20:00, 3] smbd/process.c:switch_message(676) switch message SMBnegprot (pid 19773) [2002/11/27 16:20:00, 0] smbd/process.c:smb_dump(631) created /tmp/SMBnegprot.70.req len 137 [2002/11/27 16:20:00, 3] smbd/sec_ctx.c:set_sec_ctx(287) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2002/11/27 16:20:00, 5] auth/auth_util.c:debug_nt_user_token(481) NT user token: (NULL) [2002/11/27 16:20:00, 5] auth/auth_util.c:debug_unix_user_token(500) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2002/11/27 16:20:00, 5] smbd/uid.c:change_to_root_user(217) change_to_root_user: now uid=(0,0) gid=(0,0) [2002/11/27 16:20:00, 3] smbd/negprot.c:reply_negprot(427) Requested protocol [PC NETWORK PROGRAM 1.0] [2002/11/27 16:20:00, 3] smbd/negprot.c:reply_negprot(427) Requested protocol [LANMAN1.0] [2002/11/27 16:20:00, 3] smbd/negprot.c:reply_negprot(427) Requested protocol [Windows for Workgroups 3.1a] [2002/11/27 16:20:00, 3] smbd/negprot.c:reply_negprot(427) Requested protocol [LM1.2X002] [2002/11/27 16:20:00, 3] smbd/negprot.c:reply_negprot(427) Requested protocol [LANMAN2.1] [2002/11/27 16:20:00, 3] smbd/negprot.c:reply_negprot(427) Requested protocol [NT LM 0.12] [2002/11/27 16:20:00, 6] param/loadparm.c:lp_file_list_changed(2310) lp_file_list_changed() file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf last mod_time: Wed Nov 27 15:44:09 2002 [2002/11/27 16:20:00, 6] param/loadparm.c:lp_file_list_changed(2310) lp_file_list_changed() file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf last mod_time: Wed Nov 27 15:44:09 2002 [2002/11/27 16:20:00, 3] smbd/negprot.c:reply_nt1(301) using SPNEGO [2002/11/27 16:20:00, 3] smbd/negprot.c:reply_negprot(504) Selected protocol NT LM 0.12 [2002/11/27 16:20:00, 5] smbd/negprot.c:reply_negprot(510) negprot index=5 [2002/11/27 16:20:00, 0] smbd/process.c:smb_dump(631) created /tmp/SMBnegprot.70.resp len 131 [2002/11/27 16:20:00, 5] lib/util.c:show_msg(455) [2002/11/27 16:20:00, 5] lib/util.c:show_msg(458) size=127 smb_com=0x72 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=51201 smb_tid=0 smb_pid=65279 smb_uid=0 smb_mid=0 smt_wct=17 smb_vwv[ 0]= 5 (0x5) smb_vwv[ 1]=12803 (0x3203) smb_vwv[ 2]= 256 (0x100) smb_vwv[ 3]= 1024 (0x400) smb_vwv[ 4]= 65 (0x41) smb_vwv[ 5]= 0 (0x0) smb_vwv[ 6]= 256 (0x100) smb_vwv[ 7]=15616 (0x3D00) smb_vwv[ 8]= 77 (0x4D) smb_vwv[ 9]=64768 (0xFD00) smb_vwv[10]= 227 (0xE3) smb_vwv[11]= 128 (0x80) smb_vwv[12]= 5120 (0x1400) smb_vwv[13]=23230 (0x5ABE) smb_vwv[14]=49814 (0xC296) smb_vwv[15]=11265 (0x2C01) smb_vwv[16]=14849 (0x3A01) smb_bcc=58 [2002/11/27 16:20:00, 10] lib/util.c:dump_data(1761) [000] 73 61 6D 62 61 00 00 00 00 00 00 00 00 00 00 00 samba... ........ [010] 60 28 06 06 2B 06 01 05 05 02 A0 1E 30 1C A0 0E `(..+... ....0... [020] 30 0C 06 0A 2B 06 01 04 01 82 37 02 02 0A A3 0A 0...+... ..7..... [030] 30 08 A0 06 1B 04 4E 4F 4E 45 0.....NO NE [2002/11/27 16:20:00, 6] lib/util_sock.c:write_socket(483) write_socket(5,131) [2002/11/27 16:20:00, 6] lib/util_sock.c:write_socket(486) write_socket(5,131) wrote 131 [2002/11/27 16:20:00, 10] lib/util_sock.c:read_smb_length_return_keepalive(539) got smb length of 198 [2002/11/27 16:20:00, 6] smbd/process.c:process_smb(859) got message type 0x0 of len 0xc6 [2002/11/27 16:20:00, 3] smbd/process.c:process_smb(860) Transaction 2 of length 202 [2002/11/27 16:20:00, 5] lib/util.c:show_msg(455) [2002/11/27 16:20:00, 5] lib/util.c:show_msg(458) size=198 smb_com=0x73 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=24 smb_flg2=51207 smb_tid=0 smb_pid=65279 smb_uid=0 smb_mid=64 smt_wct=12 smb_vwv[ 0]= 255 (0xFF) smb_vwv[ 1]= 198 (0xC6) smb_vwv[ 2]=16644 (0x4104) smb_vwv[ 3]= 50 (0x32) smb_vwv[ 4]= 0 (0x0) smb_vwv[ 5]= 0 (0x0) smb_vwv[ 6]= 0 (0x0) smb_vwv[ 7]= 66 (0x42) smb_vwv[ 8]= 0 (0x0) smb_vwv[ 9]= 0 (0x0) smb_vwv[10]= 212 (0xD4) smb_vwv[11]=32768 (0x8000) smb_bcc=139 [2002/11/27 16:20:00, 10] lib/util.c:dump_data(1761) [000] 60 40 06 06 2B 06 01 05 05 02 A0 36 30 34 A0 0E `@..+... ...604.. [010] 30 0C 06 0A 2B 06 01 04 01 82 37 02 02 0A A2 22 0...+... ..7...." [020] 04 20 4E 54 4C 4D 53 53 50 00 01 00 00 00 97 82 . NTLMSS P....... [030] 00 C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........ [040] 00 00 00 57 00 69 00 6E 00 64 00 6F 00 77 00 73 ...W.i.n .d.o.w.s [050] 00 20 00 32 00 30 00 30 00 30 00 20 00 32 00 31 . .2.0.0 .0. .2.1 [060] 00 39 00 35 00 00 00 57 00 69 00 6E 00 64 00 6F .9.5...W .i.n.d.o [070] 00 77 00 73 00 20 00 32 00 30 00 30 00 30 00 20 .w.s. .2 .0.0.0. [080] 00 35 00 2E 00 30 00 00 00 00 00 .5...0.. ... [2002/11/27 16:20:00, 3] smbd/process.c:switch_message(676) switch message SMBsesssetupX (pid 19773) [2002/11/27 16:20:00, 3] smbd/sec_ctx.c:set_sec_ctx(287) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2002/11/27 16:20:00, 5] auth/auth_util.c:debug_nt_user_token(481) NT user token: (NULL) [2002/11/27 16:20:00, 5] auth/auth_util.c:debug_unix_user_token(500) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2002/11/27 16:20:00, 5] smbd/uid.c:change_to_root_user(217) change_to_root_user: now uid=(0,0) gid=(0,0) [2002/11/27 16:20:00, 3] smbd/sesssetup.c:reply_sesssetup_and_X(638) wct=12 flg2=0xc807 [2002/11/27 16:20:00, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(558) Doing spnego session setup [2002/11/27 16:20:00, 3] smbd/sesssetup.c:reply_spnego_negotiate(263) Got OID 1 3 6 1 4 1 311 2 2 10 [2002/11/27 16:20:00, 3] smbd/sesssetup.c:reply_spnego_negotiate(270) Got secblob of size 32 [2002/11/27 16:20:00, 3] libsmb/clispnego.c:debug_ntlmssp_flags(737) Got NTLMSSP neg_flags=0xc0008297 NTLMSSP_NEGOTIATE_UNICODE NTLMSSP_NEGOTIATE_OEM NTLMSSP_REQUEST_TARGET NTLMSSP_NEGOTIATE_SIGN NTLMSSP_NEGOTIATE_LM_KEY NTLMSSP_NEGOTIATE_NTLM NTLMSSP_NEGOTIATE_ALWAYS_SIGN NTLMSSP_NEGOTIATE_KEY_EXCH [2002/11/27 16:20:00, 5] auth/auth.c:make_auth_context_subsystem(406) Making default auth method list for security=user, encrypt passwords yes [2002/11/27 16:20:00, 5] auth/auth.c:make_auth_context_text_list(340) Attempting to find an auth method to match guest [2002/11/27 16:20:00, 5] auth/auth.c:make_auth_context_text_list(362) Found auth method guest (at pos 0) [2002/11/27 16:20:00, 5] auth/auth.c:make_auth_context_text_list(364) auth method guest has a valid init [2002/11/27 16:20:00, 5] auth/auth.c:make_auth_context_text_list(340) Attempting to find an auth method to match sam [2002/11/27 16:20:00, 5] auth/auth.c:make_auth_context_text_list(362) Found auth method sam (at pos 3) [2002/11/27 16:20:00, 5] auth/auth.c:make_auth_context_text_list(364) auth method sam has a valid init [2002/11/27 16:20:00, 5] auth/auth.c:get_ntlm_challenge(67) auth_get_challenge: module guest did not want to specify a challenge [2002/11/27 16:20:00, 5] auth/auth.c:get_ntlm_challenge(67) auth_get_challenge: module sam did not want to specify a challenge [2002/11/27 16:20:00, 5] auth/auth.c:get_ntlm_challenge(106) auth_context challenge created by random [2002/11/27 16:20:00, 5] auth/auth.c:get_ntlm_challenge(107) challenge is: [2002/11/27 16:20:00, 5] lib/util.c:dump_data(1761) [000] 68 2A 72 0F C3 22 CE C0 h*r..".. [2002/11/27 16:20:00, 6] lib/util_sock.c:write_socket(483) write_socket(5,378) [2002/11/27 16:20:00, 6] lib/util_sock.c:write_socket(486) write_socket(5,378) wrote 378 [2002/11/27 16:20:00, 10] lib/util_sock.c:read_smb_length_return_keepalive(539) got smb length of 222 [2002/11/27 16:20:00, 6] smbd/process.c:process_smb(859) got message type 0x0 of len 0xde [2002/11/27 16:20:00, 3] smbd/process.c:process_smb(860) Transaction 3 of length 226 [2002/11/27 16:20:00, 5] lib/util.c:show_msg(455) [2002/11/27 16:20:00, 5] lib/util.c:show_msg(458) size=222 smb_com=0x73 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=24 smb_flg2=51207 smb_tid=0 smb_pid=65279 smb_uid=0 smb_mid=128 smt_wct=12 smb_vwv[ 0]= 255 (0xFF) smb_vwv[ 1]= 222 (0xDE) smb_vwv[ 2]=16644 (0x4104) smb_vwv[ 3]= 50 (0x32) smb_vwv[ 4]= 0 (0x0) smb_vwv[ 5]= 0 (0x0) smb_vwv[ 6]= 0 (0x0) smb_vwv[ 7]= 91 (0x5B) smb_vwv[ 8]= 0 (0x0) smb_vwv[ 9]= 0 (0x0) smb_vwv[10]= 212 (0xD4) smb_vwv[11]=32768 (0x8000) smb_bcc=163 [2002/11/27 16:20:00, 10] lib/util.c:dump_data(1761) [000] A1 59 30 57 A2 55 04 53 4E 54 4C 4D 53 53 50 00 .Y0W.U.S NTLMSSP. [010] 03 00 00 00 01 00 01 00 52 00 00 00 00 00 00 00 ........ R....... [020] 53 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 S....... @....... [030] 40 00 00 00 12 00 12 00 40 00 00 00 00 00 00 00 @....... @....... [040] 53 00 00 00 15 0A 80 00 43 00 53 00 55 00 50 00 S....... C.S.U.P. [050] 50 00 4F 00 52 00 54 00 35 00 00 57 00 69 00 6E P.O.R.T. 5..W.i.n [060] 00 64 00 6F 00 77 00 73 00 20 00 32 00 30 00 30 .d.o.w.s . .2.0.0 [070] 00 30 00 20 00 32 00 31 00 39 00 35 00 00 00 57 .0. .2.1 .9.5...W [080] 00 69 00 6E 00 64 00 6F 00 77 00 73 00 20 00 32 .i.n.d.o .w.s. .2 [090] 00 30 00 30 00 30 00 20 00 35 00 2E 00 30 00 00 .0.0.0. .5...0.. [0A0] 00 00 00 ... [2002/11/27 16:20:00, 3] smbd/process.c:switch_message(676) switch message SMBsesssetupX (pid 19773) [2002/11/27 16:20:00, 3] smbd/sec_ctx.c:set_sec_ctx(287) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2002/11/27 16:20:00, 5] auth/auth_util.c:debug_nt_user_token(481) NT user token: (NULL) [2002/11/27 16:20:00, 5] auth/auth_util.c:debug_unix_user_token(500) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2002/11/27 16:20:00, 5] smbd/uid.c:change_to_root_user(217) change_to_root_user: now uid=(0,0) gid=(0,0) [2002/11/27 16:20:00, 3] smbd/sesssetup.c:reply_sesssetup_and_X(638) wct=12 flg2=0xc807 [2002/11/27 16:20:00, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(558) Doing spnego session setup [2002/11/27 16:20:00, 3] smbd/sesssetup.c:reply_spnego_auth(423) Got user=[] workgroup=[] machine=[CSUPPORT5] len1=1 len2=0 [2002/11/27 16:20:00, 6] param/loadparm.c:lp_file_list_changed(2310) lp_file_list_changed() file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf last mod_time: Wed Nov 27 15:44:09 2002 [2002/11/27 16:20:00, 5] auth/auth_util.c:make_user_info_map(178) make_user_info_map: Mapping user []\[] from workstation [CSUPPORT5] [2002/11/27 16:20:00, 5] auth/auth_util.c:make_user_info(95) attempting to make a user_info for () [2002/11/27 16:20:00, 5] auth/auth_util.c:make_user_info(105) making strings for 's user_info struct [2002/11/27 16:20:00, 5] auth/auth_util.c:make_user_info(147) making blobs for 's user_info struct [2002/11/27 16:20:00, 10] auth/auth_util.c:make_user_info(156) made an encrypted user_info for () [2002/11/27 16:20:00, 3] auth/auth.c:check_ntlm_password(190) check_password: Checking password for unmapped user []\[]@[CSUPPORT5] with the new password interface [2002/11/27 16:20:00, 3] auth/auth.c:check_ntlm_password(193) check_password: mapped user is: [NEWDOMAIN]\[]@[CSUPPORT5] [2002/11/27 16:20:00, 10] auth/auth.c:check_ntlm_password(196) auth_context challenge created by random [2002/11/27 16:20:00, 10] auth/auth.c:check_ntlm_password(198) challenge is: [2002/11/27 16:20:00, 5] lib/util.c:dump_data(1761) [000] 68 2A 72 0F C3 22 CE C0 h*r..".. [2002/11/27 16:20:00, 3] smbd/sec_ctx.c:push_sec_ctx(255) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2002/11/27 16:20:00, 3] smbd/uid.c:push_conn_ctx(286) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2002/11/27 16:20:00, 3] smbd/sec_ctx.c:set_sec_ctx(287) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2002/11/27 16:20:00, 5] auth/auth_util.c:debug_nt_user_token(481) NT user token: (NULL) [2002/11/27 16:20:00, 5] auth/auth_util.c:debug_unix_user_token(500) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2002/11/27 16:20:00, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(641) ldapsam_search_one_user: searching for:[rid=501] [2002/11/27 16:20:00, 10] passdb/pdb_ldap.c:ldapsam_open_connection(171) ldapsam_open_connection: ldap://localhost [2002/11/27 16:20:00, 2] passdb/pdb_ldap.c:ldapsam_open_connection(262) ldap_open_connection: connection opened [2002/11/27 16:20:00, 10] passdb/pdb_ldap.c:ldapsam_connect_system(388) ldap_connect_system: Binding to ldap server as "cn=Manager, dc=testemail,dc=com" [2002/11/27 16:20:00, 2] passdb/pdb_ldap.c:ldapsam_connect_system(414) ldap_connect_system: succesful connection to the LDAP server [2002/11/27 16:20:00, 4] passdb/pdb_ldap.c:ldapsam_open(465) The LDAP server is succesful connected [2002/11/27 16:20:00, 4] passdb/pdb_ldap.c:ldapsam_getsampwrid(1602) We don't find this rid [501] count=0 [2002/11/27 16:20:00, 3] smbd/sec_ctx.c:pop_sec_ctx(385) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2002/11/27 16:20:00, 5] auth/auth.c:check_ntlm_password(225) check_password: guest authentication for user [] FAILED with error NT_STATUS_NO_SUCH_USER [2002/11/27 16:20:00, 3] smbd/sec_ctx.c:push_sec_ctx(255) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2002/11/27 16:20:00, 3] smbd/uid.c:push_conn_ctx(286) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2002/11/27 16:20:00, 3] smbd/sec_ctx.c:set_sec_ctx(287) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2002/11/27 16:20:00, 5] auth/auth_util.c:debug_nt_user_token(481) NT user token: (NULL) [2002/11/27 16:20:00, 5] auth/auth_util.c:debug_unix_user_token(500) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2002/11/27 16:20:00, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(641) ldapsam_search_one_user: searching for:[(&(uid=)(objectclass=sambaAccount))] [2002/11/27 16:20:00, 5] passdb/pdb_ldap.c:ldapsam_open(449) ldapsam_open: allready connected to the LDAP server [2002/11/27 16:20:00, 4] passdb/pdb_ldap.c:ldapsam_getsampwnam(1566) We don't find this user [] count=0 [2002/11/27 16:20:00, 3] smbd/sec_ctx.c:pop_sec_ctx(385) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2002/11/27 16:20:00, 3] auth/auth_sam.c:check_sam_security(391) Couldn't find user '' in passdb file. [2002/11/27 16:20:00, 5] auth/auth.c:check_ntlm_password(225) check_password: sam authentication for user [] FAILED with error NT_STATUS_NO_SUCH_USER [2002/11/27 16:20:00, 2] auth/auth.c:check_ntlm_password(271) check_password: Authentication for user [] -> [] FAILED with error NT_STATUS_NO_SUCH_USER [2002/11/27 16:20:00, 5] auth/auth_util.c:free_user_info(1066) attempting to free (and zero) a user_info structure [2002/11/27 16:20:00, 10] auth/auth_util.c:free_user_info(1069) structure was created for [2002/11/27 16:20:00, 3] smbd/error.c:error_packet(109) error packet at smbd/sesssetup.c(479) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE [2002/11/27 16:20:00, 5] lib/util.c:show_msg(455) [2002/11/27 16:20:00, 5] lib/util.c:show_msg(458) size=35 smb_com=0x73 smb_rcls=109 smb_reh=0 smb_err=49152 smb_flg=136 smb_flg2=51201 smb_tid=0 smb_pid=65279 smb_uid=0 smb_mid=128 smt_wct=0 smb_bcc=0 [2002/11/27 16:20:00, 6] lib/util_sock.c:write_socket(483) write_socket(5,39) [2002/11/27 16:20:00, 6] lib/util_sock.c:write_socket(486) write_socket(5,39) wrote 39 [2002/11/27 16:20:11, 10] lib/util_sock.c:read_socket_data(412) read_socket_data: recv of 4 returned 0. Error = Success [2002/11/27 16:20:11, 10] lib/util_sock.c:receive_smb(589) receive_smb: length < 0! [2002/11/27 16:20:11, 3] smbd/process.c:timeout_processing(1073) end of file from client [2002/11/27 16:20:11, 3] smbd/sec_ctx.c:set_sec_ctx(287) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2002/11/27 16:20:11, 5] auth/auth_util.c:debug_nt_user_token(481) NT user token: (NULL) [2002/11/27 16:20:11, 5] auth/auth_util.c:debug_unix_user_token(500) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2002/11/27 16:20:11, 5] smbd/uid.c:change_to_root_user(217) change_to_root_user: now uid=(0,0) gid=(0,0) [2002/11/27 16:20:11, 2] smbd/server.c:exit_server(534) Closing connections [2002/11/27 16:20:11, 3] smbd/connection.c:yield_connection(61) Yielding connection to [2002/11/27 16:20:11, 5] smbd/oplock.c:receive_local_message(107) receive_local_message: doing select with timeout of 1 ms [2002/11/27 16:20:11, 3] smbd/server.c:exit_server(574) Server exit (normal exit)
Andrew Bartlett
2002-Nov-28 20:58 UTC
[Samba] samba 3.0a21+pdc+ldap+pam_ldap - add machines [Can anyone help?]
On Thu, 2002-11-28 at 08:20, Samba Guy wrote:> Well I installed a21 and I was able to add a machine account. The first > time it comes back bad password, then the second attempt it works. But > now when i restart and try to login it says it cant find the computer > account. Am I missing something(yes i have signorseal)? Here is the log > from the login attempt:You must either set 'passdb backend = ldapsam unixsam' or add the guest account to LDAP. The guest account must have a RID of 501. (unixsam does a similar thing, based on the 'guest user' in smb.conf and standard getpw*() calls). 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20021128/e8b1f2df/attachment.bin