Jerome Yanga
2012-Apr-25 00:09 UTC
[Samba] Solaris 10 Samba share will not show all directories
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
Pavel Plesov
2012-Apr-25 04:37 UTC
[Samba] Solaris 10 Samba share will not show all directories
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
Volker Lendecke
2012-Apr-25 08:38 UTC
[Samba] Solaris 10 Samba share will not show all directories
On Tue, Apr 24, 2012 at 05:09:45PM -0700, Jerome Yanga wrote:> My Solaris 10 Samba share will not show all the directories.Please provide a debug level 10 log of smbd together with a network trace. With best regards, Volker Lendecke -- SerNet GmbH, Bahnhofsallee 1b, 37081 G?ttingen phone: +49-551-370000-0, fax: +49-551-370000-9 AG G?ttingen, HRB 2816, GF: Dr. Johannes Loxen http://www.sernet.de, mailto:kontakt at sernet.de
Jerome Yanga
2012-Apr-25 14:45 UTC
[Samba] Solaris 10 Samba share will not show all directories
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
Gaiseric Vandal
2012-Apr-25 14:51 UTC
[Samba] Solaris 10 Samba share will not show all directories
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
Jerome Yanga
2012-Apr-25 16:30 UTC
[Samba] Solaris 10 Samba share will not show all directories
Here are the ouputs of the commands you have provided. net view \\shareserver folder1 Disk folder1 share folder2 Disk folder2 share "net view \\server_ip_address" shows the same as above. When you said "Can you rename and let it regenerate", did you mean rename the samba server? Regards, j On Wed, Apr 25, 2012 at 7:51 AM, Gaiseric Vandal <gaiseric.vandal at gmail.com> wrote:> 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 > > -- > To unsubscribe from this list go to the following URL and read the > instructions: ?https://lists.samba.org/mailman/options/samba