This is Simo's patch for the NetShareEnum() bug which caused us to return
commit8ce5bd47a346e8a8cc2cbd52e8fd71ee06799884
authorChristopher R. Hertel <crh@samba.org>
Wed, 28 Jan 2004 23:13:22 +0000 (28 23:13 +0000)
committerChristopher R. Hertel <crh@samba.org>
Wed, 28 Jan 2004 23:13:22 +0000 (28 23:13 +0000)
tree2ef715f27eed49cc54b8465f42694dda63394003
parent381adaf5cfc6a8f5dcf65c25351d5996e89090f3
This is Simo's patch for the NetShareEnum() bug which caused us to return
share names longer than 12 bytes.  The function now filters out names
longer than 12 bytes (which is compatible with Windows behavior).

A better fix might be to store short names along with any names longer
than 12 bytes, using a simple (very) name mangling.

I'm committing in HEAD.  If there are no problems this can easily be
merged into 3.0.x.

Chris -)-----
(This used to be commit 6a8a64dc87863b39490d7f22a7d107e6916584f2)
source3/smbd/lanman.c