I have the following code for setting logonHours property of an account in
Active Directory. This code is similar to that which I use on NT domains. I
can not find what I need to pass to the "Put". This fails with: OLE error:
Win32::OLE(0.1502) error 0x80072035: "The server is unwilling to process the
request"

my $LogonHours = ("111111111111111011111111" x 7);
$objUser->Put("logonHours", pack("b168", $LogonHours));
$objUser->Setinfo;

I have spent an hour searching MSDN and can not find the answer. Can any
show me how to set the "logonHours"?
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin

Reply via email to