I suppose, LanMan uses either file objects each for each share and let
system to check the permissions, or some other object (e.g. registry key).
But I am actually not sure the way it works, but as you can see in free
WinObj software (in ObjectTypes) from sysinternals.com, there is no such
object as "share".
More the same, LanMan is only ordinary server among many other network
servers on Windows platform (even though the most neccessary), but must work
under common restrictions. And the restriction here is that no other
component than kernel (NTOSKRNL.EXE) should (and could) create objects.
Active Directory cannot use OS object as well. Security checking is done
some other way. I suppose
Ondra.