 |
Forums |
Admin Discussion Forums: help Start New Thread
| Message: 76075 |
 |
BY: Jim Zajkowski (jamesez) DATE: 2009-05-17 23:30 SUBJECT: set_permission fails for domain users Hi there,
I was unable to set permissions for domain users (eg, FOO\user). I read the API call for LookupAccountName* and it looked like the server name should not be the domain name. After patching file.rb around like 151 I got it to work.
The trick is that the domain name should be included in the account name to send, and server should almost always be empty, except in some cross-system workgroup model.
Another workaround is to just prefix the username with an extra \\ and use UPN names, eg, "\\user@foo.dom.ain".
I've not attached a patch because I did an ugly job.
--Jim
*http://msdn.microsoft.com/en-us/library/aa379159(VS.85).aspx | |
Thread View
Post a followup to this message
|
 |