[Samba] Problem browsing shares "element not found"

John samba at jelmail.com
Fri Jan 17 02:45:11 MST 2014


On 13/01/14 14:31, John wrote:
> Good afternoon,
>
> I have a new Samba414 install on clean Ubuntu server 12.04. All 
> working except I cannot browse into shares. I get "not accessible" and 
> then "element not found". Using "net use" works fine - I can "browse" 
> a share that has been attached to a drive letter but I cannot browse 
> the UNC path. That is to say
>
> NET USE P: \\MYDOMAIN\public
> works, and browsing "P:" works. Browsing "\\MYDOMAIN\public" does not 
> work but browsing "\\MYDOMAIN" does.
>
> I can browse \\MYDOMAIN\sysvol and \\MYDOMAIN\netlogon shares.
>
> I cannot browse \\MYDOMAIN\public or \\MYDOMAIN\myuser (home folder)
>
> The Windows error text reads
>
> \\server\username is not accessible. You might not have permission to
> use this network resource. Contact the system administrator of this
> server to find out if you have access permissions.
>
> Element not found.
>
>
> Again, this is a clean vanilla install of 414 (downloaded source 
> yesterday from samba.org) built on a fresh Ubuntu 12.04 following the 
> instructions in the Samba wiki.
>
> Any suggestions what I may have missed?
>
> From irc today, I have added "browsable = yes" but it made no difference,
>
> Samba config:
>
> # Global parameters
> [global]
>         workgroup = MYDOMAIN
>         realm = MYDOMAIN.CO.UK
>         netbios name = SAMBA
>         server role = active directory domain controller
>         dns forwarder = 10.0.0.138
>
>         load printers = no
>         printing = bsd
>         printcap name = /dev/null
>         disable spoolss = yes
>
>         log level = 2
>
> [netlogon]
>         path = /var/lib/samba/sysvol/mydomain.co.uk/scripts
>         read only = No
>
> [sysvol]
>         path = /var/lib/samba/sysvol
>         read only = No
>
> [public]
>         path = /srv/samba/public
>         read only = No
>         browsable = yes
>
> [homes]
>         comment = Home directories
>         path = /srv/samba/home/%S
>         valid users = %S
>         read only = No
>         browsable = No
>         create mask = 0700
>         directory mask = 0700
>
> [profiles]
>         comment = Roaming profiles
>         path = /srv/samba/profiles
>         read only = No
>         browsable = No
>
>
I just thought I'd add to this incase anyone has any insight. I 
performed the same steps on a new server and it worked fine. This 
configuration was a server running Ubuntu 12.04 server with a Linux 
Container (LXC) also running Ubuntu 12.04 server running Samba 4.1.4.

The configuration didn't work when I originally tried it in a Virtualbox 
guest running Ubuntu 12.04 server with a Linux Container (LXC) also 
running Ubuntu 12.04 server running Samba 4.1.4. Is my difficulty 
something to do with VirtualBox ?



More information about the samba mailing list