[Samba] Solaris 10 Samba share will not show all directories

Gaiseric Vandal gaiseric.vandal at gmail.com
Wed Apr 25 08:51:18 MDT 2012


What does
    "net view \\servername" from the Windows command line shows?

how about

    "net view \\server_ip_address" from the Windows command line shows?


It sounds like the browser database on the master browser is corrupt. 
Can you rename and let it regenerate?


On 04/25/12 10:45, Jerome Yanga wrote:
> Pavel,
>
> It does not seem like there was a solution to your Bugzilla.  Did you
> ever figure out how to fix it?
>
> Regards,
> j
>
> On Tue, Apr 24, 2012 at 9:37 PM, Pavel Plesov <pavel.plesov at gmail.com> wrote:
>> Hello,
>>
>> I faced a similar issue on FreeBSD several years ago due crash of smbd
>> process. Crash led to the incomplete directory listings.
>>
>> If it will help somehow - https://bugzilla.samba.org/show_bug.cgi?id=4715
>>
>> On Wed, Apr 25, 2012 at 04:09, Jerome Yanga <jerome.yanga at gmail.com> wrote:
>>> My Solaris 10 Samba share will not show all the directories.
>>>
>>> Config:
>>>
>>> [global]
>>>        workgroup = domain1
>>>        netbios aliases = shareserver
>>>        server string = ESRI Samba Server
>>>        security = DOMAIN
>>>        password server = dc1.samba.com, *
>>>        username map = /etc/samba/user_map
>>>        log level = 1
>>>        syslog = 2
>>>        log file = /var/samba/log/samba.log
>>>        max log size = 50000
>>>        deadtime = 5
>>>        max smbd processes = 300
>>>        socket options = SO_RCVBUF=32767 SO_SNDBUF=32767 TCP_NODELAY
>>> IPTOS_LOWDELAY IPTOS_THROUGHPUT
>>>        load printers = No
>>>        printcap name = /dev/null
>>>        os level = 1
>>>        local master = No
>>>        browse list = No
>>>        wins server = 10.50.1.1
>>>        host msdfs = No
>>>        oplocks = No
>>>        level2 oplocks = No
>>>
>>> [folder1]
>>>        path = /net/server1/folder1
>>>        read only = No
>>>        guest ok = Yes
>>>
>>> [folder2]
>>>        path = /net/server1/folder2
>>>        read only = No
>>>        guest ok = Yes
>>>
>>> When list all the files on the nfs shares, I see the following:
>>> /net/server1/folder1:
>>> total 17
>>> drwxrwxrwx   3 root     root         102 Apr 24 16:35 .
>>> dr-xr-xr-x   3 root     root           3 Apr 24 16:46 ..
>>> drwxr-xr-x   5 user1     root         170 Apr 24 16:34 folder11
>>>
>>> /net/server1/folder2:
>>> total 33
>>> drwxrwxrwx   5 root     root         170 Apr  3 15:06 .
>>> dr-xr-xr-x   3 root     root           3 Apr 24 16:46 ..
>>> drwxr-xr-x   3 user1     root         102 Apr  3 14:53 folder21
>>> drwxr-xr-x   3 user1     root         102 Apr  3 15:06 folder22
>>> drwxr-xr-x   9 user1     root         306 Apr 18 15:48 folder23
>>>
>>> When I try to access \\shareserver\folder2\ via Windows, I only see
>>> folder21.  However, I can access the other two folders by typing the
>>> following in the address bar.
>>>
>>> \\shareserver\folder2\folder22
>>> \\shareserver\folder2\folder23
>>>
>>> Help.
>>>
>>> Regards,
>>> j
>>> --
>>> To unsubscribe from this list go to the following URL and read the
>>> instructions:  https://lists.samba.org/mailman/options/samba



More information about the samba mailing list