Displaying 1 result from an estimated 1 matches for "srcfoldername".
2012 Feb 24
2
STATUS_ACCESS_DENIED with NTCreateAndX if Access Mask has System Security bit set
...ba
server. The app is running as user Administrator. On the samba side the
Administrator user has been given the following priviliges:
SeSecurityPrivilege, SeRestorePrivilege, SeBackupPrivilege, and
SeTakeOwnershipPrivilege.
Specifically the .NET/C# method call being made is below: In this case
srcFolderName is something like "\\SambaServer\users\Administrator":
DirectorySecurity srcFolderSecurity =
Directory.GetAccessControl(srcFolderName, AccessControlSections.All);
Calling this method results in an Exception. I can see from a Wireshark
trace that the exception corresponds to an error be...