smbfs under RH7.2 - 2.4.13

Eldon Balzer samba at vr6.ca
Fri Dec 14 14:24:11 GMT 2001


Hello everyone,

I recently built a second PC at home with RH 7.2 and have downloaded and
compiled 2.4.13 to my liking and have made smbfs asa module.  I am
attempting to mount an smb share from my linux file server [running RH 7.1
with 2.2.18 and smbfs as a module as well].

Details:
daffy - RH 7.1 - samba works fine - can be mounted from other clients
[Win2k,win98,winNT]
tweetie - RH 7.2 - can be mounted from all other clients.

The smbfs modules is loaded without errors on both machines.  The smbfs
module is from their respective running kernels.


daffy can mount any share on tweetie using the following command:

i.e.  `mount -t smbfs -o guest //tweetie/mp3z /mp3z`

I cannot, however, mount shares on daffy from tweetie.  I use the same
command as mentioned above but I get the follwing error:

execvp of smbmnt failed. Error was No such file or directory.smbmnt 
failed: 1


Everything is done from root.  All shares on both machines are set to
allow guest access and guest unix id is root [for testing].


I'm not sure how much detail to include; here's what the logs on daffy
show for my attempts from tweetie:

[2001/12/14 04:26:51, 3] smbd/process.c:process_smb(860)
  Transaction 2 of length 94
.  .  .  .
[2001/12/14 04:26:51, 3] smbd/process.c:switch_message(667)
  switch message SMBsesssetupX (pid 23418)
[2001/12/14 04:26:51, 3] smbd/sec_ctx.c:set_sec_ctx(320)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2001/12/14 04:26:51, 5] smbd/uid.c:unbecome_user(215)
  unbecome_user now uid=(0,0) gid=(0,0)
[2001/12/14 04:26:51, 3] smbd/reply.c:reply_sesssetup_and_X(855)
  Domain=[OVERWAITEA]  NativeOS=[Unix] NativeLanMan=[Samba]
[2001/12/14 04:26:51, 3] smbd/reply.c:reply_sesssetup_and_X(866)
  sesssetupX:name=[ROOT]
[2001/12/14 04:26:51, 2] smbd/reply.c:reply_sesssetup_and_X(980)
  Defaulting to Lanman password for root
[2001/12/14 04:26:51, 4] smbd/password.c:password_ok(592)
  Null passwords not allowed.
[2001/12/14 04:26:51, 3] smbd/reply.c:reply_sesssetup_and_X(1018)
  Registered username root for guest access
[2001/12/14 04:26:51, 5] lib/util.c:show_msg(273)
  size=69
  smb_com=0x73
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=1
[2001/12/14 04:26:51, 5] lib/util.c:show_msg(281)
  smb_tid=0
  smb_pid=6848
  smb_uid=0
  smb_mid=1
  smt_wct=3
.  .  .  .
[2001/12/14 04:26:51, 3] smbd/process.c:switch_message(667)
  switch message SMBtconX (pid 23418)
[2001/12/14 04:26:51, 3] smbd/sec_ctx.c:set_sec_ctx(320)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2001/12/14 04:26:51, 5] smbd/uid.c:unbecome_user(215)
  unbecome_user now uid=(0,0) gid=(0,0)
[2001/12/14 04:26:51, 4] smbd/reply.c:reply_tcon_and_X(337)
  Got device type ?????
[2001/12/14 04:26:51, 4] passdb/pass_check.c:pass_check(725)
  pass_check: Checking password for user root (l=8)
[2001/12/14 04:26:51, 3] smbd/password.c:authorise_login(833)
  authorise_login: ACCEPTED: session list username (root) and given password ok
[2001/12/14 04:26:51, 3] smbd/service.c:make_connection(477)
  Connect path is /samba/mp3z
[2001/12/14 04:26:51, 3] smbd/sec_ctx.c:push_sec_ctx(288)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2001/12/14 04:26:51, 3] smbd/sec_ctx.c:set_sec_ctx(320)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2001/12/14 04:26:51, 3] smbd/sec_ctx.c:get_current_groups(167)
  get_current_groups: uid 0 is in 7 groups: 0, 1, 2, 3, 4, 6, 10
[2001/12/14 04:26:51, 3] smbd/sec_ctx.c:pop_sec_ctx(427)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2001/12/14 04:26:51, 3] smbd/sec_ctx.c:get_current_groups(167)
  get_current_groups: uid 0 is in 7 groups: 0, 1, 2, 3, 4, 6, 10
[2001/12/14 04:26:51, 5] smbd/connection.c:claim_connection(157)
  claiming MP3Z 0
[2001/12/14 04:26:51, 5] smbd/password.c:create_nt_token(236)
  user token sid S-1-5-21-186448236-2540860130-419262576-1000
--- above line repeats 7 more times with the last 4 digits changing ---
[2001/12/14 04:26:51, 5] smbd/password.c:create_nt_token(236)
  user token sid S-1-5-2
--- above line repeats 3 more times with S-x-x-x changing ---
[2001/12/14 04:26:51, 4] rpc_server/srv_srvsvc_nt.c:get_share_security(200)
  get_share_security: using default secdesc for MP3Z
[2001/12/14 04:26:51, 3] lib/util_seaccess.c:se_access_check(242)
  se_access_check: user sid is S-1-5-21-186448236-2540860130-419262576-1000
[2001/12/14 04:26:51, 3] lib/util_seaccess.c:se_access_check(245)
  se_access_check: also S-1-5-21-186448236-2540860130-419262576-1001
[2001/12/14 04:26:51, 3] lib/util_seaccess.c:se_access_check(245)
--- above line repeats 7 more times with last 4 digits chaning ---
[2001/12/14 04:26:51, 3] lib/util_seaccess.c:se_access_check(245)
  se_access_check: also S-1-1-0
[2001/12/14 04:26:51, 3] lib/util_seaccess.c:se_access_check(245)
  se_access_check: also S-1-5-2
[2001/12/14 04:26:51, 3] lib/util_seaccess.c:se_access_check(245)
  se_access_check: also S-1-5-11
[2001/12/14 04:26:51, 5] lib/util_seaccess.c:se_access_check(297)
  se_access_check: access (2) granted.
[2001/12/14 04:26:51, 3] smbd/vfs.c:vfs_init_default(98)
  Initialising default vfs hooks
[2001/12/14 04:26:51, 3] smbd/sec_ctx.c:set_sec_ctx(320)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2001/12/14 04:26:51, 3] smbd/sec_ctx.c:set_sec_ctx(326)
  7 user groups: 
  0 1 2 3 4 6 10 
[2001/12/14 04:26:51, 5] smbd/uid.c:become_user(201)
  become_user uid=(0,0) gid=(0,0)
[2001/12/14 04:26:51, 3] smbd/vfs.c:vfs_ChDir(658)
  vfs_ChDir to /samba/mp3z
[2001/12/14 04:26:51, 1] smbd/service.c:make_connection(610)
  tweetie (192.168.0.17) connect to service MP3Z as user root (uid=0, gid=0) (pid 23418)
[2001/12/14 04:26:51, 3] smbd/sec_ctx.c:set_sec_ctx(320)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2001/12/14 04:26:51, 5] smbd/uid.c:unbecome_user(215)
  unbecome_user now uid=(0,0) gid=(0,0)
[2001/12/14 04:26:51, 3] smbd/reply.c:reply_tcon_and_X(396)
  tconX service=mp3z user=root
.  .  .  .
[2001/12/14 04:26:51, 3] smbd/process.c:timeout_processing(1085)
  end of file from client
[2001/12/14 04:26:51, 3] smbd/sec_ctx.c:set_sec_ctx(320)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2001/12/14 04:26:51, 5] smbd/uid.c:unbecome_user(215)
  unbecome_user now uid=(0,0) gid=(0,0)
[2001/12/14 04:26:51, 2] smbd/server.c:exit_server(458)
  Closing connections
[2001/12/14 04:26:51, 3] smbd/sec_ctx.c:set_sec_ctx(320)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2001/12/14 04:26:51, 5] smbd/uid.c:unbecome_user(215)
  unbecome_user now uid=(0,0) gid=(0,0)
[2001/12/14 04:26:51, 1] smbd/service.c:close_cnum(648)
  tweetie (192.168.0.17) closed connection to service MP3Z
[2001/12/14 04:26:51, 3] smbd/connection.c:yield_connection(50)
  Yielding connection to MP3Z
[2001/12/14 04:26:51, 3] smbd/sec_ctx.c:set_sec_ctx(320)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2001/12/14 04:26:51, 5] smbd/uid.c:unbecome_user(215)
  unbecome_user now uid=(0,0) gid=(0,0)
[2001/12/14 04:26:51, 3] smbd/connection.c:yield_connection(50)
  Yielding connection to 
[2001/12/14 04:26:51, 3] smbd/server.c:exit_server(493)
  Server exit (normal exit)


Any help would be greatly appreciated!

-= EB =-





More information about the samba mailing list