Is there any chance that you need to be using two backslashes instead of one? (It's such a common problem, I just have to ask)
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ruud Feringa Sent: Monday, July 19, 2004 12:43 PM To: [EMAIL PROTECTED] Subject: Win32::FileSecurity problem Hi, I have a problem with setting acls with Win32::FileSecurity::Set($filename, \%perm ) When the username in the permision hash is preceded with the domain name I get the following error: <domain>\<username> Error handling errror: 1722, LookupAccountName at c:\perl\eg\acl.pl line 45 When I use the username only (so without <domain>\ ) I do not get this error, but because we are migrating to another domain that's not what I want. By the way, the 'get' sub gives the account names WITH the domain part! What is going wrong? any tips are welcome! -Ruud _________________________________________________________________ _________________________________________________________________ Ook een gouden buddy worden in Messenger? Go for gold! http://mobile.msn.com/?lc=nl-nl _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
