I'm using HP-UX 10.01 with trusted system password database. I tryed to port SAMBA there, but I failed. SAMBA server take me as a guest everytime. I sending logs from client ans server. Plese help me to find what is wrong. Thank you. Robert Polasek System specialist OSA PragoData, a.s. Stredni 61 602 00 Brno Czech Republik Phone: +420-5-41321298, Fax: +420-5-41211529 E-mail: polasek@osapd.cz =====================================================================================server log ===================================================================================== 03/09/98 13:21:17 init msg_type=0x81 msg_flags=0x0 03/09/98 13:21:17 Transaction 1 of length 168 size=164 smb_com=0x72 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=0 smb_flg2=0 smb_tid=0 smb_pid=27160 smb_uid=0 smb_mid=27260 smt_wct=0 smb_bcc=129 Switch in buffer switch message SMBnegprot (pid 27161) Requested protocol [PC NETWORK PROGRAM 1.0] Requested protocol [MICROSOFT NETWORKS 1.03] Requested protocol [MICROSOFT NETWORKS 3.0] Requested protocol [LANMAN1.0] Requested protocol [LM1.2X002] Requested protocol [Samba] Selected protocol NT LANMAN 1.0 03/09/98 13:21:17 negprot index=7 size=69 smb_com=0x72 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=128 smb_flg2=1 smb_tid=0 smb_pid=27160 smb_uid=0 smb_mid=27260 smt_wct=17 smb_vwv[0]=7 (0x7) smb_vwv[1]=512 (0x200) smb_vwv[2]=256 (0x100) smb_vwv[3]=65280 (0xFF00) smb_vwv[4]=255 (0xFF) smb_vwv[5]=65280 (0xFF00) smb_vwv[6]=255 (0xFF) smb_vwv[7]=6400 (0x1900) smb_vwv[8]=106 (0x6A) smb_vwv[9]=256 (0x100) smb_vwv[10]=3 (0x3) smb_vwv[11]=32768 (0x8000) smb_vwv[12]=59548 (0xE89C) smb_vwv[13]=21979 (0x55DB) smb_vwv[14]=48459 (0xBD4B) smb_vwv[15]=50177 (0xC401) smb_vwv[16]=255 (0xFF) smb_bcc=0 03/09/98 13:21:17 Transaction 2 of length 91 size=87 smb_com=0x73 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=8 smb_flg2=1 smb_tid=0 smb_pid=27160 smb_uid=0 smb_mid=27260 smt_wct=13 smb_vwv[0]=255 (0xFF) smb_vwv[1]=0 (0x0) smb_vwv[2]=65535 (0xFFFF) smb_vwv[3]=2 (0x2) smb_vwv[4]=27160 (0x6A18) smb_vwv[5]=27161 (0x6A19) smb_vwv[6]=0 (0x0) smb_vwv[7]=0 (0x0) smb_vwv[8]=0 (0x0) smb_vwv[9]=0 (0x0) smb_vwv[10]=0 (0x0) smb_vwv[11]=0 (0x0) smb_vwv[12]=0 (0x0) smb_bcc=26 Switch in buffer switch message SMBsesssetupX (pid 27161) Domain=[UNIXGROUP] NativeOS=[Unix] NativeLanMan=[Samba] sesssetupX:name=[ROOT] Registered username root for guest access adding home directory root at / root is in 11 groups 0 1 2 3 4 5 6 7 20 60 168 uid 0 registered to name root size=72 smb_com=0x73 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=1 smb_tid=0 smb_pid=27160 smb_uid=100 smb_mid=27260 smt_wct=3 smb_vwv[0]=255 (0xFF) smb_vwv[1]=0 (0x0) smb_vwv[2]=1 (0x1) smb_bcc=31 03/09/98 13:21:17 Transaction 3 of length 64 size=60 smb_com=0x75 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=8 smb_flg2=1 smb_tid=0 smb_pid=27160 smb_uid=100 smb_mid=27260 smt_wct=4 smb_vwv[0]=255 (0xFF) smb_vwv[1]=0 (0x0) smb_vwv[2]=0 (0x0) smb_vwv[3]=1 (0x1) smb_bcc=17 Switch in buffer switch message SMBtconX (pid 27161) parsing net-path \\WASP\IPC$, passlen=0 Got device type IPC ACCEPTED: guest account and guest ok found free connection number 12 Connect path is /tmp become_user uid=(0,500) gid=(0,500) chdir to /tmp chdir to /var/adm/samba unbecome_user now uid=(0,0) gid=(0,0) 03/09/98 13:21:17 wasp (192.168.0.50) connect to service IPC$ as user nobody (uid=500,gid=500) (pid 27161) 03/09/98 13:21:17 tconX service=ipc$ user=nobody cnum=12 size=43 smb_com=0x75 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=1 smb_tid=12 smb_pid=27160 smb_uid=100 smb_mid=27260 smt_wct=2 smb_vwv[0]=255 (0xFF) smb_vwv[1]=0 (0x0) smb_bcc=4 03/09/98 13:21:17 Transaction 4 of length 101 size=97 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=8 smb_flg2=1 smb_tid=12 smb_pid=27160 smb_uid=100 smb_mid=27260 smt_wct=14 smb_vwv[0]=21 (0x15) smb_vwv[1]=0 (0x0) smb_vwv[2]=6 (0x6) smb_vwv[3]=1000 (0x3E8) smb_vwv[4]=0 (0x0) smb_vwv[5]=0 (0x0) smb_vwv[6]=0 (0x0) smb_vwv[7]=0 (0x0) smb_vwv[8]=0 (0x0) smb_vwv[9]=21 (0x15) smb_vwv[10]=76 (0x4C) smb_vwv[11]=0 (0x0) smb_vwv[12]=97 (0x61) smb_vwv[13]=0 (0x0) smb_bcc=34 Switch in buffer switch message SMBtrans (pid 27161) become_user uid=(0,500) gid=(0,500) chdir to /tmp trans <\PIPE\LANMAN> data=0 params=21 setup=0 Got API command 63 of form <WrLh> <zzzBBzz> (tdscnt=0,tpscnt=21,mdrcnt=1000,mprcnt=6) Doing NetWkstaGetInfo NetWkstaGetInfo level 10 size=116 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=1 smb_tid=12 smb_pid=27160 smb_uid=100 smb_mid=27260 smt_wct=10 smb_vwv[0]=6 (0x6) smb_vwv[1]=53 (0x35) smb_vwv[2]=0 (0x0) smb_vwv[3]=6 (0x6) smb_vwv[4]=55 (0x37) smb_vwv[5]=0 (0x0) smb_vwv[6]=53 (0x35) smb_vwv[7]=63 (0x3F) smb_vwv[8]=0 (0x0) smb_vwv[9]=0 (0x0) smb_bcc=61 03/09/98 13:21:17 Transaction 5 of length 99 size=95 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=8 smb_flg2=1 smb_tid=12 smb_pid=27160 smb_uid=100 smb_mid=27260 smt_wct=14 smb_vwv[0]=19 (0x13) smb_vwv[1]=0 (0x0) smb_vwv[2]=1024 (0x400) smb_vwv[3]=65535 (0xFFFF) smb_vwv[4]=0 (0x0) smb_vwv[5]=0 (0x0) smb_vwv[6]=0 (0x0) smb_vwv[7]=0 (0x0) smb_vwv[8]=0 (0x0) smb_vwv[9]=19 (0x13) smb_vwv[10]=76 (0x4C) smb_vwv[11]=0 (0x0) smb_vwv[12]=95 (0x5F) smb_vwv[13]=0 (0x0) smb_bcc=32 Switch in buffer switch message SMBtrans (pid 27161) chdir to /var/adm/samba unbecome_user now uid=(0,0) gid=(0,0) become_user uid=(0,500) gid=(0,500) chdir to /tmp trans <\PIPE\LANMAN> data=0 params=19 setup=0 Got API command 0 of form <WrLeh> <B13BWz> (tdscnt=0,tpscnt=19,mdrcnt=65535,mprcnt=1024) Doing RNetShareEnum RNetShareEnum gave 3 entries of 3 (1 65535 128 65535) size=191 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=1 smb_tid=12 smb_pid=27160 smb_uid=100 smb_mid=27260 smt_wct=10 smb_vwv[0]=8 (0x8) smb_vwv[1]=128 (0x80) smb_vwv[2]=0 (0x0) smb_vwv[3]=8 (0x8) smb_vwv[4]=55 (0x37) smb_vwv[5]=0 (0x0) smb_vwv[6]=128 (0x80) smb_vwv[7]=63 (0x3F) smb_vwv[8]=0 (0x0) smb_vwv[9]=0 (0x0) smb_bcc=136 03/09/98 13:21:17 Transaction 6 of length 120 size=116 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=8 smb_flg2=1 smb_tid=12 smb_pid=27160 smb_uid=100 smb_mid=27260 smt_wct=14 smb_vwv[0]=40 (0x28) smb_vwv[1]=0 (0x0) smb_vwv[2]=8 (0x8) smb_vwv[3]=10000 (0x2710) smb_vwv[4]=0 (0x0) smb_vwv[5]=0 (0x0) smb_vwv[6]=0 (0x0) smb_vwv[7]=0 (0x0) smb_vwv[8]=0 (0x0) smb_vwv[9]=40 (0x28) smb_vwv[10]=76 (0x4C) smb_vwv[11]=0 (0x0) smb_vwv[12]=116 (0x74) smb_vwv[13]=0 (0x0) smb_bcc=53 Switch in buffer switch message SMBtrans (pid 27161) chdir to /var/adm/samba unbecome_user now uid=(0,0) gid=(0,0) become_user uid=(0,500) gid=(0,500) chdir to /tmp trans <\PIPE\LANMAN> data=0 params=40 setup=0 Got API command 104 of form <WrLehDz> <B16BBDz> (tdscnt=0,tpscnt=40,mdrcnt=10000,mprcnt=8) Doing NetServerEnum server request level: B16BBDz 7fffffff domains_req:No local_only:Yes Servertype search: 7fffffff **SV** WASP 40049a23 Samba 1.9.16p11 UNIXGROUP s: dom mismatch UNIXGROUP c0001000 WASP UNIXGROUP fill_srv_info WASP 40049a23 Samba 1.9.16p11 UNIXGROUP fill_srv_info WASP 40049a23 Samba 1.9.16p11 UNIXGROUP NetServerEnum domain = UNIXGROUP uLevel=1 counted=1 total=1 size=105 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=1 smb_tid=12 smb_pid=27160 smb_uid=100 smb_mid=27260 smt_wct=10 smb_vwv[0]=8 (0x8) smb_vwv[1]=42 (0x2A) smb_vwv[2]=0 (0x0) smb_vwv[3]=8 (0x8) smb_vwv[4]=55 (0x37) smb_vwv[5]=0 (0x0) smb_vwv[6]=42 (0x2A) smb_vwv[7]=63 (0x3F) smb_vwv[8]=0 (0x0) smb_vwv[9]=0 (0x0) smb_bcc=50 03/09/98 13:21:17 Transaction 7 of length 120 size=116 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=8 smb_flg2=1 smb_tid=12 smb_pid=27160 smb_uid=100 smb_mid=27260 smt_wct=14 smb_vwv[0]=40 (0x28) smb_vwv[1]=0 (0x0) smb_vwv[2]=8 (0x8) smb_vwv[3]=10000 (0x2710) smb_vwv[4]=0 (0x0) smb_vwv[5]=0 (0x0) smb_vwv[6]=0 (0x0) smb_vwv[7]=0 (0x0) smb_vwv[8]=0 (0x0) smb_vwv[9]=40 (0x28) smb_vwv[10]=76 (0x4C) smb_vwv[11]=0 (0x0) smb_vwv[12]=116 (0x74) smb_vwv[13]=0 (0x0) smb_bcc=53 Switch in buffer switch message SMBtrans (pid 27161) chdir to /var/adm/samba unbecome_user now uid=(0,0) gid=(0,0) become_user uid=(0,500) gid=(0,500) chdir to /tmp trans <\PIPE\LANMAN> data=0 params=40 setup=0 Got API command 104 of form <WrLehDz> <B16BBDz> (tdscnt=0,tpscnt=40,mdrcnt=10000,mprcnt=8) Doing NetServerEnum server request level: B16BBDz 80000000 domains_req:Yes local_only:No Servertype search: 80000000 r:serv type s: dom mismatch WASP 40049a23 Samba 1.9.16p11 UNIXGROUP **SV** UNIXGROUP c0001000 WASP UNIXGROUP fill_srv_info UNIXGROUP c0001000 WASP UNIXGROUP fill_srv_info UNIXGROUP c0001000 WASP UNIXGROUP NetServerEnum domain = UNIXGROUP uLevel=1 counted=1 total=1 size=94 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=1 smb_tid=12 smb_pid=27160 smb_uid=100 smb_mid=27260 smt_wct=10 smb_vwv[0]=8 (0x8) smb_vwv[1]=31 (0x1F) smb_vwv[2]=0 (0x0) smb_vwv[3]=8 (0x8) smb_vwv[4]=55 (0x37) smb_vwv[5]=0 (0x0) smb_vwv[6]=31 (0x1F) smb_vwv[7]=63 (0x3F) smb_vwv[8]=0 (0x0) smb_vwv[9]=0 (0x0) smb_bcc=39 03/09/98 13:21:17 Transaction 8 of length 39 size=35 smb_com=0x71 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=8 smb_flg2=1 smb_tid=12 smb_pid=27160 smb_uid=100 smb_mid=27260 smt_wct=0 smb_bcc=0 Switch in buffer switch message SMBtdis (pid 27161) chdir to /var/adm/samba unbecome_user now uid=(0,0) gid=(0,0) 03/09/98 13:21:17 wasp (192.168.0.50) closed connection to service IPC$ Yielding connection to 12 IPC$ 03/09/98 13:21:17 tdis cnum=12 size=35 smb_com=0x71 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=1 smb_tid=12 smb_pid=27160 smb_uid=100 smb_mid=27260 smt_wct=0 smb_bcc=0 end of file from client Closing connections 03/09/98 13:21:17 Server exit (normal exit) =====================================================================================client log ===================================================================================== 03/09/98 13:21:16 client started (version 1.9.16p11) Initialising global parameters Processing configuration file "/etc/smb.conf" Processing section "[global]" doing parameter log file = /var/adm/samba/samba.%m doing parameter lock directory = /var/adm/samba doing parameter share modes = yes pm_process() returned Yes adding IPC service Netmask for lan0 = 255.255.255.0 Derived broadcast address 192.168.0.255 Added interface ip=192.168.0.50 bcast=192.168.0.255 nmask=255.255.255.0 Opening sockets Connecting to 192.168.0.50 at port 139 Connected Sent session request size=69 smb_com=0x72 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=128 smb_flg2=1 smb_tid=0 smb_pid=27160 smb_uid=0 smb_mid=27260 smt_wct=17 smb_vwv[0]=7 (0x7) smb_vwv[1]=512 (0x200) smb_vwv[2]=256 (0x100) smb_vwv[3]=65280 (0xFF00) smb_vwv[4]=255 (0xFF) smb_vwv[5]=65280 (0xFF00) smb_vwv[6]=255 (0xFF) smb_vwv[7]=6400 (0x1900) smb_vwv[8]=106 (0x6A) smb_vwv[9]=256 (0x100) smb_vwv[10]=3 (0x3) smb_vwv[11]=32768 (0x8000) smb_vwv[12]=59548 (0xE89C) smb_vwv[13]=21979 (0x55DB) smb_vwv[14]=48459 (0xBD4B) smb_vwv[15]=50177 (0xC401) smb_vwv[16]=255 (0xFF) smb_bcc=0 max mux 2 max vcs 1 max raw 65535 capabilities 0x301 Sec mode 512 max xmt 65535 Got 0 byte crypt key Chose protocol [NT LANMAN 1.0] Server time is Mon Mar 9 13:21:17 1998 Timezone is UTC+1.0 size=72 smb_com=0x73 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=1 smb_tid=0 smb_pid=27160 smb_uid=100 smb_mid=27260 smt_wct=3 smb_vwv[0]=255 (0xFF) smb_vwv[1]=0 (0x0) smb_vwv[2]=1 (0x1) smb_bcc=31 Domain=[UNIXGROUP] OS=[Unix] Server=[Samba 1.9.16p11] Server gave us a UID of 100. We gave 0 Connected with cnum=12 max_xmit=65531 size=97 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=8 smb_flg2=1 smb_tid=12 smb_pid=27160 smb_uid=100 smb_mid=27260 smt_wct=14 smb_vwv[0]=21 (0x15) smb_vwv[1]=0 (0x0) smb_vwv[2]=6 (0x6) smb_vwv[3]=1000 (0x3E8) smb_vwv[4]=0 (0x0) smb_vwv[5]=0 (0x0) smb_vwv[6]=0 (0x0) smb_vwv[7]=0 (0x0) smb_vwv[8]=0 (0x0) smb_vwv[9]=21 (0x15) smb_vwv[10]=76 (0x4C) smb_vwv[11]=0 (0x0) smb_vwv[12]=97 (0x61) smb_vwv[13]=0 (0x0) smb_bcc=34 size=116 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=1 smb_tid=12 smb_pid=27160 smb_uid=100 smb_mid=27260 smt_wct=10 smb_vwv[0]=6 (0x6) smb_vwv[1]=53 (0x35) smb_vwv[2]=0 (0x0) smb_vwv[3]=6 (0x6) smb_vwv[4]=55 (0x37) smb_vwv[5]=0 (0x0) smb_vwv[6]=53 (0x35) smb_vwv[7]=63 (0x3F) smb_vwv[8]=0 (0x0) smb_vwv[9]=0 (0x0) smb_bcc=61 Server=[wasp] User=[root] Workgroup=[UNIXGROUP] Domain=[UNIXGROUP] size=95 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=8 smb_flg2=1 smb_tid=12 smb_pid=27160 smb_uid=100 smb_mid=27260 smt_wct=14 smb_vwv[0]=19 (0x13) smb_vwv[1]=0 (0x0) smb_vwv[2]=1024 (0x400) smb_vwv[3]=65535 (0xFFFF) smb_vwv[4]=0 (0x0) smb_vwv[5]=0 (0x0) smb_vwv[6]=0 (0x0) smb_vwv[7]=0 (0x0) smb_vwv[8]=0 (0x0) smb_vwv[9]=19 (0x13) smb_vwv[10]=76 (0x4C) smb_vwv[11]=0 (0x0) smb_vwv[12]=95 (0x5F) smb_vwv[13]=0 (0x0) smb_bcc=32 size=191 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=1 smb_tid=12 smb_pid=27160 smb_uid=100 smb_mid=27260 smt_wct=10 smb_vwv[0]=8 (0x8) smb_vwv[1]=128 (0x80) smb_vwv[2]=0 (0x0) smb_vwv[3]=8 (0x8) smb_vwv[4]=55 (0x37) smb_vwv[5]=0 (0x0) smb_vwv[6]=128 (0x80) smb_vwv[7]=63 (0x3F) smb_vwv[8]=0 (0x0) smb_vwv[9]=0 (0x0) smb_bcc=136 Sharename Type Comment --------- ---- ------- IPC$ IPC IPC Service (Samba 1.9.16p11) root Disk Home Directories tmp Disk Temporary file space size=116 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=8 smb_flg2=1 smb_tid=12 smb_pid=27160 smb_uid=100 smb_mid=27260 smt_wct=14 smb_vwv[0]=40 (0x28) smb_vwv[1]=0 (0x0) smb_vwv[2]=8 (0x8) smb_vwv[3]=10000 (0x2710) smb_vwv[4]=0 (0x0) smb_vwv[5]=0 (0x0) smb_vwv[6]=0 (0x0) smb_vwv[7]=0 (0x0) smb_vwv[8]=0 (0x0) smb_vwv[9]=40 (0x28) smb_vwv[10]=76 (0x4C) smb_vwv[11]=0 (0x0) smb_vwv[12]=116 (0x74) smb_vwv[13]=0 (0x0) smb_bcc=53 size=105 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=1 smb_tid=12 smb_pid=27160 smb_uid=100 smb_mid=27260 smt_wct=10 smb_vwv[0]=8 (0x8) smb_vwv[1]=42 (0x2A) smb_vwv[2]=0 (0x0) smb_vwv[3]=8 (0x8) smb_vwv[4]=55 (0x37) smb_vwv[5]=0 (0x0) smb_vwv[6]=42 (0x2A) smb_vwv[7]=63 (0x3F) smb_vwv[8]=0 (0x0) smb_vwv[9]=0 (0x0) smb_bcc=50 This machine has a browse list: Server Comment --------- ------- WASP Samba 1.9.16p11 size=116 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=8 smb_flg2=1 smb_tid=12 smb_pid=27160 smb_uid=100 smb_mid=27260 smt_wct=14 smb_vwv[0]=40 (0x28) smb_vwv[1]=0 (0x0) smb_vwv[2]=8 (0x8) smb_vwv[3]=10000 (0x2710) smb_vwv[4]=0 (0x0) smb_vwv[5]=0 (0x0) smb_vwv[6]=0 (0x0) smb_vwv[7]=0 (0x0) smb_vwv[8]=0 (0x0) smb_vwv[9]=40 (0x28) smb_vwv[10]=76 (0x4C) smb_vwv[11]=0 (0x0) smb_vwv[12]=116 (0x74) smb_vwv[13]=0 (0x0) smb_bcc=53 size=94 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=1 smb_tid=12 smb_pid=27160 smb_uid=100 smb_mid=27260 smt_wct=10 smb_vwv[0]=8 (0x8) smb_vwv[1]=31 (0x1F) smb_vwv[2]=0 (0x0) smb_vwv[3]=8 (0x8) smb_vwv[4]=55 (0x37) smb_vwv[5]=0 (0x0) smb_vwv[6]=31 (0x1F) smb_vwv[7]=63 (0x3F) smb_vwv[8]=0 (0x0) smb_vwv[9]=0 (0x0) smb_bcc=39 This machine has a workgroup list: Workgroup Master --------- ------- UNIXGROUP WASP