Marcus Widerberg / EMF Textile
2003-Nov-11 13:05 UTC
[Samba] Cannot enable browsing, chdir to /tmp denied...
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
Gerald (Jerry) Carter
2003-Nov-11 15:41 UTC
[Samba] Cannot enable browsing, chdir to /tmp denied...
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marcus Widerberg / EMF Textile wrote: | I am a newbie at looking at the logs, I see the | access denied to the /tmp dir recurring. So what are the permissions on /tmp? They should be 1777 | 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... btw....comments like this come off a threats to get people to offer help. I'm sure you didn't mean it like this, but it's one of my pet peeves. - -- ~ ---------------------------------------------------------------------- ~ Hewlett-Packard ------------------------- http://www.hp.com ~ SAMBA Team ---------------------- http://www.samba.org ~ GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc ~ "If we're adding to the noise, turn off this song" --Switchfoot (2003) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/sQMjIR7qMdg1EfYRAgG7AJsHP1xvt+lMkg8s74ccznNRJ8NoZQCfbNiy R7tmt5L3zUxprUfwEJlCLlI=qu7f -----END PGP SIGNATURE-----