[Samba] Cannot enable browsing, chdir to /tmp denied...

Marcus Widerberg / EMF Textile marcus.widerberg at e-mf.net
Tue Nov 11 13:05:33 GMT 2003


Hello,

 

Samba refuses to be browseable. I started out wanting to configure it as a
PDC, just as I have done previously with samba 2.2.8 (and openldap).

 

smbclient -L localhost -U% gives "Error returning browse list:
NT_STATUS_NETWORK_ACCESS_DENIED".

 

Using debian 3.0r1, samba 3.0.0, openldap with nsswitch, etc. 

 

I am a newbie at looking at the logs, I see the access denied to the /tmp
dir recurring.

 

Any clues GREATLY appreciated. I never had any such problem with samba 2.2.x
- am completely stuck! If I cant fix it I will have to go with a windows
PDC... 

 

/mawi

 

Log:

[2003/11/11 20:07:55, 3] smbd/service.c:make_connection_snum(698)

  fw (127.0.0.1) connect to service IPC$ initially as user nobody
(uid=65534, gid=65534) (pid 15287)

[2003/11/11 20:07:55, 3] smbd/sec_ctx.c:set_sec_ctx(288)

  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0

[2003/11/11 20:07:55, 3] smbd/reply.c:reply_tcon_and_X(314)

  tconX service=IPC$

[2003/11/11 20:07:55, 3] smbd/process.c:process_smb(890)

  Transaction 4 of length 130

[2003/11/11 20:07:55, 3] smbd/process.c:switch_message(685)

  switch message SMBtrans (pid 15287)

[2003/11/11 20:07:55, 3] smbd/sec_ctx.c:set_sec_ctx(288)

  setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0

[2003/11/11 20:07:55, 0] smbd/service.c:set_current_service(56)

  chdir (/tmp) failed

[2003/11/11 20:07:55, 3] smbd/error.c:error_packet(94)

  error string = Permission denied

[2003/11/11 20:07:55, 3] smbd/error.c:error_packet(113)

  error packet at smbd/process.c(758) cmd=37 (SMBtrans)
NT_STATUS_NETWORK_ACCESS_DENIED

 

smb.conf:

[global]

        security = SHARE

        passdb backend = smbpasswd, guest

        log level = 3

        local master = No

 

[share]

        path = /var/share

        read only = No

        guest ok = Yes

 

 

 




More information about the samba mailing list