search for: ntcreateandx

Displaying 2 results from an estimated 2 matches for "ntcreateandx".

2012 Feb 24
2
STATUS_ACCESS_DENIED with NTCreateAndX if Access Mask has System Security bit set
...ambaServer\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 being returned from a call to NTCreateAndx for a user folder named "\Administrator" and Access Mask set to 0x01020080. The bit that seems to cause problems when set is the System Security bit (0x01000000). Originally before I had given user Administrator any privileges (using net rpc rights grant...), the NTCreateAndX response er...
2013 Jul 30
3
Slow FIND_FIRST2 response
...4 running double duty as DC and file server. OS X clients are taking a _long_ time to list long directories. One directory with 10K entries is taking 3-4 minutes to display the entries in Finder. I captured a few seconds worth of packets and noticed that it's doing three requests per file: 1. NTCreateAndX - just opens the file 2. Close 3. FIND_FIRST2 - to look for the resource fork The first two happen extremely fast, the 3rd one is the kicker. Samba is taking about 0.025 seconds to return a response to the client (usually no such file status). Multiple that by 10K requests and you have a few minut...