In this case you should probably set desired permissions by yourself (by
your code).
?
Use the NT-well known SID : S-1-5-7 (AnonymousLogon = null logon
session).
Build the requested SID by AllocateAndInitializeSid
(RtlAllocateAndInitializeSid) or
by InitializeSid (RtlInitializeSid). Rtl functions have exactly the same
header as in Win32 API
and are exported in both user (ntdll) and kernel (ntoskrnl).
?
Then you can change DACL in security descriptor of the desired object.
?
Hope this helps
Paul
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Steve Hayward
Sent: Friday, November 03, 2000 12:02 PM
To: NT Developers Interest List
Subject: [ntdev] RE: [NTDEV] Security on Shares
What I am looking for is ‘Anonymous’ access. That is to say the NT4.0
machine being accessed does not validate the user accessing shares in
anyway.?ie the?accessing user does not exist?in any of the machines
user/group lists.
?
Steve
-----Original Message-----
From: Hrdina Pavel [mailto:xxxxx@compelson.com]
Sent: 03 November 2000 11:03
To: NT Developers Interest List
Subject: [ntdev] RE: [NTDEV] Security on Shares
Every share has its permissions.
Default is probably Everyone - All Access.
Press Permissions button on the same property page
where the share settings reside.
Paul
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Steve Hayward
Sent: Friday, November 03, 2000 11:42 AM
To: NT Developers Interest List
Subject: [ntdev] [NTDEV] Security on Shares
Does anyone know how to configure a share on an NT server to allow
‘anonymous’ access. I have inherited an NT4.0 machine that does not
require
any authentication when accessing a share so I know this is possible,
but
dont know how to replicate the behaviour
Steve
You are currently subscribed to ntdev as: xxxxx@compelson.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)