Can't bcecome connected user?

Lee Havemann lee at hsh.com
Wed Aug 11 14:23:21 GMT 1999


What did you put in the config script to exclude these?



-----

Lee Havemann, Comp Ops Dir.    HSH Associates      (973) 838-3330
 Mailto: lee at hsh.com                           http://www.hsh.com
        "My opinions are probably not those of my employer"


>  -----Original Message-----
>  From: samba-ntdom at samba.org [mailto:samba-ntdom at samba.org]On 
>  Behalf Of
>  Jens B. Jorgensen
>  Sent: Tuesday, August 10, 1999 11:07 AM
>  To: Multiple recipients of list SAMBA-NTDOM
>  Subject: Re: Can't bcecome connected user?
>  
>  
>  On my system this problem was due to samba using the 
>  setreuid (and setregid?)
>  system calls. Apparently these calls are broken on my system 
>  (or samba is using
>  them incorrectly) once I could convince the configure script 
>  not to use these
>  calls everything works fine. My system is Linux 2.0.34/libc 
>  2.1.1/gcc 2.91.66.
>  
>  Lee Havemann wrote:
>  
>  > Thanks to Alex, I have successfully joined our domain with 
>  smaba 2.0.4b on
>  > a BSDI 4.0.1 box.
>  >
>  > The NT challenge/response seems to go okay, but all I get 
>  is another prompt
>  > for a password, which as I understand it, I shouldn't get at all
>  > since I am using encrypted passwords and security=domain 
>  in the smb.conf
>  > file.
>  >
>  > Can somebody be kind enough to point out what is probably 
>  a dumb mistake?
>  >
>  > Here is a lever 4 debug form the samba machine:
>  >
>  > [1999/08/09 13:26:54, 2] smbd/reply.c:reply_special(96)
>  >   netbios connect: name1=HSHUNB           name2=HSHPCF
>  > [1999/08/09 13:26:54, 3] smbd/process.c:process_smb(615)
>  >   Transaction 1 of length 158
>  > [1999/08/09 13:26:54, 3] smbd/process.c:switch_message(448)
>  >   switch message SMBnegprot (pid 16605)
>  > [1999/08/09 13:26:54, 3] smbd/negprot.c:reply_negprot(332)
>  >   Requested protocol [PC NETWORK PROGRAM 1.0]
>  > [1999/08/09 13:26:54, 3] smbd/negprot.c:reply_negprot(332)
>  >   Requested protocol [MICROSOFT NETWORKS 3.0]
>  > [1999/08/09 13:26:54, 3] smbd/negprot.c:reply_negprot(332)
>  >   Requested protocol [DOS LM1.2X002]
>  > [1999/08/09 13:26:54, 3] smbd/negprot.c:reply_negprot(332)
>  >   Requested protocol [DOS LANMAN2.1]
>  > [1999/08/09 13:26:54, 3] smbd/negprot.c:reply_negprot(332)
>  >   Requested protocol [Windows for Workgroups 3.1a]
>  > [1999/08/09 13:26:54, 3] smbd/negprot.c:reply_negprot(332)
>  >   Requested protocol [NT LM 0.12]
>  > [1999/08/09 13:26:54, 3] smbd/negprot.c:reply_negprot(409)
>  >   Selected protocol NT LM 0.12
>  > [1999/08/09 13:26:54, 3] smbd/process.c:process_smb(615)
>  >   Transaction 2 of length 154
>  > [1999/08/09 13:26:54, 3] smbd/process.c:switch_message(448)
>  >   switch message SMBsesssetupX (pid 16605)
>  > [1999/08/09 13:26:54, 3] smbd/reply.c:reply_sesssetup_and_X(721)
>  >   Domain=[HSH]  NativeOS=[Windows 4.0] NativeLanMan=[Windows 4.0]
>  > [1999/08/09 13:26:54, 3] smbd/reply.c:reply_sesssetup_and_X(725)
>  >   sesssetupX:name=[HSHPCF]
>  > [1999/08/09 13:26:54, 4] lib/username.c:map_username(89)
>  >   Scanning username map /usr/local/samba/lib/username.map
>  > [1999/08/09 13:26:54, 3] lib/username.c:map_username(122)
>  >   Mapped user hshpcf to lee
>  > [1999/08/09 13:26:54, 3] libsmb/namequery.c:resolve_lmhosts(546)
>  >   resolve_name: Attempting lmhosts lookup for name HSHNTA<0x20>
>  > [1999/08/09 13:26:54, 3] lib/util_sock.c:open_socket_out(753)
>  >   Connecting to 165.254.123.198 at port 139
>  > [1999/08/09 13:26:54, 4] 
>  rpc_client/cli_netlogon.c:cli_net_req_chal(225)
>  >   cli_net_req_chal: LSA Request Challenge from HSHNTA to HSHUNB:
>  > C89CC750F1C7D32F
>  > [1999/08/09 13:26:54, 4] libsmb/credentials.c:cred_session_key(64)
>  >   cred_session_key
>  > [1999/08/09 13:26:54, 4] libsmb/credentials.c:cred_create(95)
>  >   cred_create
>  > [1999/08/09 13:26:54, 4] 
>  rpc_client/cli_netlogon.c:cli_net_auth2(136)
>  >   cli_net_auth2: srv:\\HSHNTA acct:HSHUNB$ sc:2 mc: HSHUNB chal
>  > 555CF903585B5754 neg: 1ff
>  > [1999/08/09 13:26:54, 4] libsmb/credentials.c:cred_create(95)
>  >   cred_create
>  > [1999/08/09 13:26:54, 4] libsmb/credentials.c:cred_assert(126)
>  >   cred_assert
>  > [1999/08/09 13:26:54, 4] libsmb/credentials.c:cred_create(95)
>  >   cred_create
>  > [1999/08/09 13:26:54, 4] 
>  rpc_client/cli_netlogon.c:cli_net_sam_logon(362)
>  >   cli_net_sam_logon: srv:\\HSHNTA mc:HSHUNB clnt 
>  E4F4B91D66981C9D 37af0f5e
>  > ll: 2
>  > [1999/08/09 13:26:54, 4] libsmb/credentials.c:cred_create(95)
>  >   cred_create
>  > [1999/08/09 13:26:54, 4] libsmb/credentials.c:cred_assert(126)
>  >   cred_assert
>  > [1999/08/09 13:26:54, 3] param/loadparm.c:lp_add_home(1475)
>  >   adding home directory lee at /home/lee
>  > [1999/08/09 13:26:54, 3] smbd/password.c:setup_groups(196)
>  >   lee is in 8 groups: 20, 20, 0, 5, 84, 85, 100, 101
>  > [1999/08/09 13:26:54, 3] smbd/password.c:register_vuid(274)
>  >   uid 150 registered to name lee
>  > [1999/08/09 13:26:54, 3] smbd/password.c:register_vuid(276)
>  >   Clearing default real name
>  > [1999/08/09 13:26:54, 3] smbd/process.c:chain_reply(765)
>  >   Chained message
>  > [1999/08/09 13:26:54, 3] smbd/process.c:switch_message(448)
>  >   switch message SMBtconX (pid 16605)
>  > [1999/08/09 13:26:54, 4] smbd/reply.c:reply_tcon_and_X(302)
>  >   Got device type IPC
>  > [1999/08/09 13:26:54, 2] lib/access.c:check_access(249)
>  >   Allowed connection from hshpcf.hsh.com (165.254.123.9)
>  > [1999/08/09 13:26:54, 3] smbd/password.c:authorise_login(741)
>  >   ACCEPTED: validated uid ok as non-guest
>  > [1999/08/09 13:26:54, 3] smbd/service.c:make_connection(386)
>  >   Connect path is /tmp
>  > [1999/08/09 13:26:54, 0] smbd/uid.c:become_gid(105)
>  >   Couldn't set effective gid to 20 currently set to (real=0,eff=20)
>  > [1999/08/09 13:26:54, 0] smbd/service.c:make_connection(425)
>  >   Can't become connected user!
>  > [1999/08/09 13:26:54, 3] smbd/error.c:error_packet(138)
>  >   error packet at line 163 cmd=117 (SMBtconX) eclass=2 ecode=2
>  > [1999/08/09 13:26:54, 3] smbd/process.c:process_smb(615)
>  >   Transaction 3 of length 66
>  > [1999/08/09 13:26:54, 3] smbd/process.c:switch_message(448)
>  >   switch message SMBtconX (pid 16605)
>  > [1999/08/09 13:26:54, 4] smbd/reply.c:reply_tcon_and_X(302)
>  >   Got device type IPC
>  > [1999/08/09 13:26:54, 2] lib/access.c:check_access(249)
>  >   Allowed connection from hshpcf.hsh.com (165.254.123.9)
>  > [1999/08/09 13:26:54, 3] smbd/password.c:authorise_login(741)
>  >   ACCEPTED: validated uid ok as non-guest
>  > [1999/08/09 13:26:54, 3] smbd/service.c:make_connection(386)
>  >   Connect path is /tmp
>  > [1999/08/09 13:26:54, 0] smbd/uid.c:become_gid(105)
>  >   Couldn't set effective gid to 20 currently set to (real=0,eff=20)
>  > [1999/08/09 13:26:54, 0] smbd/service.c:make_connection(425)
>  >   Can't become connected user!
>  > [1999/08/09 13:26:54, 3] smbd/error.c:error_packet(138)
>  >   error packet at line 163 cmd=117 (SMBtconX) eclass=2 ecode=2
>  > [1999/08/09 13:26:55, 3] smbd/process.c:timeout_processing(805)
>  >   end of file from client
>  > [1999/08/09 13:26:55, 2] smbd/server.c:exit_server(406)
>  >   Closing connections
>  > [1999/08/09 13:26:55, 3] smbd/server.c:exit_server(433)
>  >   Server exit (normal exit)
>  > [1999/08/09 13:26:57, 4] locking/shmem_sysv.c:sysv_shm_open(544)
>  >   Trying sysv shmem open of size 1048576
>  > [1999/08/09 13:26:57, 3] locking/shmem_sysv.c:sysv_shm_open(702)
>  >   Initialised IPC area of size 1048576
>  > [1999/08/09 13:26:57, 2] smbd/server.c:main(709)
>  >   Changed root to /
>  > [1999/08/09 13:26:57, 3] smbd/oplock.c:open_oplock_ipc(82)
>  >   open_oplock_ipc: opening loopback UDP socket.
>  > [1999/08/09 13:26:57, 3] lib/util_sock.c:open_socket_in(721)
>  >   bind succeeded on port 0
>  > [1999/08/09 13:26:57, 3] smbd/oplock.c:open_oplock_ipc(110)
>  >   open_oplock ipc: pid = 16606, global_oplock_port = 50415
>  > [1999/08/09 13:26:57, 3] smbd/process.c:smbd_process(974)
>  >   priming nmbd
>  > [1999/08/09 13:26:57, 3] lib/util_sock.c:send_one_packet(646)
>  >   sending a packet of len 1 to (127.0.0.1) on port 137 of 
>  type DGRAM
>  > [1999/08/09 13:26:57, 4] lib/time.c:TimeInit(110)
>  >   Serverzone is 14400
>  > [1999/08/09 13:26:57, 2] lib/access.c:check_access(249)
>  >   Allowed connection from hshpcf.hsh.com (165.254.123.9)
>  > [1999/08/09 13:26:57, 3] smbd/process.c:process_smb(615)
>  >   Transaction 0 of length 72
>  > [1999/08/09 13:26:57, 2] smbd/reply.c:reply_special(96)
>  >   netbios connect: name1=HSHUNB           name2=HSHPCF
>  > [1999/08/09 13:26:57, 3] smbd/process.c:process_smb(615)
>  >   Transaction 1 of length 158
>  > [1999/08/09 13:26:57, 3] smbd/process.c:switch_message(448)
>  >   switch message SMBnegprot (pid 16606)
>  > [1999/08/09 13:26:57, 3] smbd/negprot.c:reply_negprot(332)
>  >   Requested protocol [PC NETWORK PROGRAM 1.0]
>  > [1999/08/09 13:26:57, 3] smbd/negprot.c:reply_negprot(332)
>  >   Requested protocol [MICROSOFT NETWORKS 3.0]
>  > [1999/08/09 13:26:57, 3] smbd/negprot.c:reply_negprot(332)
>  >   Requested protocol [DOS LM1.2X002]
>  > [1999/08/09 13:26:57, 3] smbd/negprot.c:reply_negprot(332)
>  >   Requested protocol [DOS LANMAN2.1]
>  > [1999/08/09 13:26:57, 3] smbd/negprot.c:reply_negprot(332)
>  >   Requested protocol [Windows for Workgroups 3.1a]
>  > [1999/08/09 13:26:57, 3] smbd/negprot.c:reply_negprot(332)
>  >   Requested protocol [NT LM 0.12]
>  > [1999/08/09 13:26:57, 3] smbd/negprot.c:reply_negprot(409)
>  >   Selected protocol NT LM 0.12
>  > [1999/08/09 13:26:57, 3] smbd/process.c:process_smb(615)
>  >   Transaction 2 of length 156
>  > [1999/08/09 13:26:57, 3] smbd/process.c:switch_message(448)
>  >   switch message SMBsesssetupX (pid 16606)
>  > [1999/08/09 13:26:57, 3] smbd/reply.c:reply_sesssetup_and_X(721)
>  >   Domain=[HSH]  NativeOS=[Windows 4.0] NativeLanMan=[Windows 4.0]
>  > [1999/08/09 13:26:57, 3] smbd/reply.c:reply_sesssetup_and_X(725)
>  >   sesssetupX:name=[HSHPCF]
>  > [1999/08/09 13:26:57, 4] lib/username.c:map_username(89)
>  >   Scanning username map /usr/local/samba/lib/username.map
>  > [1999/08/09 13:26:57, 3] lib/username.c:map_username(122)
>  >   cli_net_sam_logon: NT_STATUS_WRONG_PASSWORD
>  > [1999/08/09 13:27:01, 0] 
>  smbd/password.c:domain_client_validate(1369)
>  >   domain_client_validate: unable to validate password for 
>  user hshpcf in
>  > domain HSH to Domain controller HSHNTA. Error was 
>  NT_STATUS_WRONG_PASSWORD.
>  > [1999/08/09 13:27:01, 4] smbd/password.c:smb_password_ok(404)
>  >   Allowed connection from hshpcf.hsh.com (165.254.123.9)
>  > [1999/08/09 13:27:04, 3] smbd/password.c:authorise_login(741)
>  >   ACCEPTED: validated uid ok as non-guest
>  > [1999/08/09 13:27:04, 3] smbd/service.c:make_connection(386)
>  >   Connect path is /tmp
>  > [1999/08/09 13:27:04, 0] smbd/uid.c:become_gid(105)
>  >   Couldn't set effective gid to 20 currently set to (real=0,eff=20)
>  > [1999/08/09 13:27:04, 0] smbd/service.c:make_connection(425)
>  >   Can't become connected user!
>  > [1999/08/09 13:27:04, 3] smbd/error.c:error_packet(138)
>  >   error packet at line 163 cmd=117 (SMBtconX) eclass=2 ecode=2
>  > [1999/08/09 13:27:04, 3] smbd/process.c:timeout_processing(805)
>  >   end of file from client
>  > [1999/08/09 13:27:04, 2] smbd/server.c:exit_server(406)
>  >   Closing connections
>  > [1999/08/09 13:27:04, 3] smbd/server.c:exit_server(433)
>  >   Server exit (normal exit)
>  >
>  > -----
>  >
>  > Lee Havemann, Comp Ops Dir.    HSH Associates      (973) 838-3330
>  >  Mailto: lee at hsh.com                           http://www.hsh.com
>  >         "My opinions are probably not those of my employer"
>  
>  --
>  Jens B. Jorgensen
>  jjorgens at bdsinc.com
>  
>  


More information about the samba-ntdom mailing list