This is Simo's patch for the NetShareEnum() bug which caused us to return
commit6a8a64dc87863b39490d7f22a7d107e6916584f2
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)
treed6bb799e1d708caf5ccbce5669dd01bd7cab1a23
parentdf7666161f75b61058a017fea04b733751d5ac06
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 -)-----
source/smbd/lanman.c