Re: Help with Active Directory interaction

2008-08-13 Thread Peter Karman
John Arends wrote on 8/13/08 4:21 PM: Thanks Graham. That fixed the problem and the script works now. I actually am able to set the password during the account creation process. I have seen some reports of people unable to do that. I checked my comments in Net::LDAP::Class::User::AD and appa

Re: Help with Active Directory interaction

2008-08-13 Thread John Arends
Thanks Graham. That fixed the problem and the script works now. I actually am able to set the password during the account creation process. I have seen some reports of people unable to do that. Another curiosity that may interest someone is that it appears I can not modify a user and add a gro

Re: Help with Active Directory interaction

2008-08-13 Thread Graham Barr
"ou=my guest accounts,ou=subOU,ou=myOU,dc=ad,dc=myorg,dc=edu" probably does. you need to prefix that with the RDN for the entry. Graham. On Aug 13, 2008, at 2:18 PM, John Arends wrote: That was a really stupid typo which has now been fixed. I'm now getting errors that the entry exists, but

Re: Help with Active Directory interaction

2008-08-13 Thread John Arends
That was a really stupid typo which has now been fixed. I'm now getting errors that the entry exists, but I know for a fact that it does not. failed to add entry: 2071: UpdErr: DSID-030502F7, problem 6005 (ENTRY_EXISTS), data 0 Daniel Stutz wrote: displayeName should read displayName.

Re: Help with Active Directory interaction

2008-08-13 Thread Daniel Stutz
displayeName should read displayName. Regards, Daniel John Arends schrieb: Thanks for the suggestions so far but I'm still not having any luck. I cleaned up the script a bit based on several of the suggestions. I decided to take the password bit out for now. I can't create an account with no

Re: Help with Active Directory interaction

2008-08-13 Thread John Arends
Thanks for the suggestions so far but I'm still not having any luck. I cleaned up the script a bit based on several of the suggestions. I decided to take the password bit out for now. I can't create an account with no password, so I'm setting userAccountControl to 514 so the account will be cr

Re: Help with Active Directory interaction

2008-08-13 Thread Peter Karman
On 08/13/2008 10:20 AM, Barrett, John wrote: > You might want to check your variable names for consistency - $first vs. > $firstname > > > #!/usr/bin/perl > use strict; # get in the habit. > use Net::LDAP; > use Unicode::Map8; > -- Peter Karman . [EMAIL PROTECTED] . http://peknet.c

RE: Help with Active Directory interaction

2008-08-13 Thread Barrett, John
You might want to check your variable names for consistency - $first vs. $firstname -Original Message- From: John Arends [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2008 3:53 PM To: perl-ldap@perl.org Subject: Re: Help with Active Directory interaction Now that I'm binding ok, I