Hallo Till,
es könnte sein, dass es egal ist, was du als permission einträgst:
Microsoft schreibt im Platform SDK
shi2_permissions
Specifies a DWORD value that indicates the shared resource's permissions for servers running with share-level security. A server running user-level security ignores this member. This member can be one or more of the following values. Calls to the NetShareSetInfo function ignore this member.
Note that the Windows Server 2003 family, Windows XP, Windows 2000, and Windows NT do not support share-level security.
Gute Nacht
marabu