r18413: Based on the new torture test I added in samba4 it turns out
commitf09f8b2d820b10679f3e9cf80749da0a35f5ce6a
authorSimo Sorce <idra@samba.org>
Tue, 12 Sep 2006 02:26:32 +0000 (12 02:26 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:51:22 +0000 (10 11:51 -0500)
tree56c8c59f0dc169ddaef03e34dcc655cb53aea8e0
parente23caeb7b57b0b1bbc2f8b6abf34166f271a88fa
r18413: Based on the new torture test I added in samba4 it turns out
the flags determines what kind of share is this.
I suppose 0x80000000 means something like (legacy) as it will
fail for any share name longer then 13 chars (same size accepted
for old RAP calls that come from pre NT OSs.

Jerry,
let me know if you want me to commit this to 3_0_23

Simo.
source/rpc_server/srv_srvsvc_nt.c