[Samba] Problem browsing server root

Matthew Korzeniowski matthew at mattkorz.net
Sat Dec 8 15:01:07 MST 2012


I have a problem looking at a server's shares from either a linux or 
windows computer. Both OS's give NT_STATUS_ACCESS_DENIED errors when 
trying to browse the server (//192.168.1.11).  However, both can view 
the file share (//192,168.1.11/public) when entered directly into the 
address bar.  As far as I can tell from the docs, my configuration 
should allow the server's share list to be browsed.  Other servers I've 
set-up with an identical smb.conf file have acted as I expected 
(browsing), I don't know where else I should be looking for what's 
blocking it.  Iptables is empty except for the fail2ban chain, but 
stopping fail2ban doesn't help and I have the same issue from multiple 
ip addresses.  My smb.conf is as follows:

[global]
     workgroup = EDSRDUSNC
     server string = %h server
     map to guest = Bad Password
     guest account = data
     syslog = 0
     log file = /var/log/samba/log.%m
     max log size = 1000
     os level = 1
     local master = No
     domain master = No
     dns proxy = No
[public]
     path = /home/data
     force user = data
     read only = No
     guest only = Yes
     guest ok = Yes

Here's the output from `smbclient -L 192.168.1.11` from 192.168.1.2:

mattkorz at zeus:~$ smbclient -L 192.168.1.11
Enter mattkorz's password:
Domain=[EDSRDUSNC] OS=[Unix] Server=[Samba 3.6.6]

     Sharename       Type      Comment
     ---------       ----      -------
Error returning browse list: NT_STATUS_ACCESS_DENIED
Domain=[EDSRDUSNC] OS=[Unix] Server=[Samba 3.6.6]

     Server               Comment
     ---------            -------

     Workgroup            Master
     ---------            -------
mattkorz at zeus:~$

Here's the server's output for `uname -a`:

Linux kore2 3.2.0-4-686-pae #1 SMP Debian 3.2.32-1 i686 GNU/Linux

-- 
Matthew Korzeniowski



More information about the samba mailing list