Quota, AD and C#
Posted
by
Gnial0id
on Server Fault
See other posts from Server Fault
or by Gnial0id
Published on 2011-08-29T12:21:34Z
Indexed on
2012/12/12
11:07 UTC
Read the original article
Hit count: 246
At first, my mother tongue is not English, so I apologize for the possible mistakes.
I'm working on a WS2008R2 server with an Active Directory and a web platform manages this AD with C# code.
A group of users have to be able to create user accounts but during the procedure, a disk quota for this new account is (and have to be) created. As the "creator" must not be a member of the Administrators group, the access to the c/: disk is denied.
So, I want to perform the File Server Resource Manager operations with C# code by an non-admin account. The code is correct, it works normally with admin account. So, the problem turns around the permissions on the hard drive.
I've looked after help on the Internet, without success. It seems that quota delegation is impossible. Only admin can perform this.
A colleague helped me a bit, and found the GPO "By pass traverse checking" on a forum but it doesn't seems to be the good way.
Any help would be appreciate.
© Server Fault or respective owner