Not sure if this applies to you but changing a pw against Active Directory
(with or without ldif files) requires an LDAPS connection from client to server.
-Original Message-
From: Prentice Bisbal [mailto:prent...@ias.edu]
Sent: Friday, February 18, 2011 5:20 PM
To: perl-ldap@perl.org
Su
I know these questions may sound dumb, but bear with me:
1. Are you sure that the entry you are trying to modify exists in LDAP?
Can you find it by doing an ldapsearch?
2. Are you sure the attribute that holds password is named 'userPassword'?
This is really a simple task, which makes me think
Am Thu, 17 Feb 2011 11:10:46 -0600
schrieb Robert Threet :
> I have a working Net::LDAP::Entry program for adding users so I
> decided to gut it to create a userPassword changer.
>
> I keep getting "Error changing password: no objectClass attribute".
>
> I cannot find examples doing simple one-a
On Thu, Feb 17, 2011 at 11:10:46AM -0600, Robert Threet wrote:
> I have a working Net::LDAP::Entry program for adding users so I decided
> to gut it to create a userPassword changer.
>
> I keep getting "Error changing password: no objectClass attribute".
>
> I cannot find examples doing simple on
Robert,
I have been using Net::LDAP to create accounts one at a time for about a
year now. Based on the error you are seeing, I suspect that you are
forgetting to add the correct objectClass that contains the attribute
you want to store the attribute in.
Searching your code, I don't see you addin
Not sure this went the first time ...
I have a working Net::LDAP::Entry program for adding users so I decided
to gut it to create a userPassword changer.
I keep getting "Error changing password: no objectClass attribute".
I cannot find examples doing simple one-at-a-time adds like this. All I
c
I have a working Net::LDAP::Entry program for adding users so I decided
to gut it to create a userPassword changer.
I keep getting "Error changing password: no objectClass attribute".
I cannot find examples doing simple one-at-a-time adds like this. All I
can find are examples using arrays and h
Chris Ridd wrote:
> On 17 Feb 2011, at 21:13, Prentice Bisbal wrote:
>
>> I cut off the last line of the errors, which says this, which might be
>> an additional clue:
>>
>> ntUserDomainId: value #0 invalid per syntax
>
> What does your $ntUserDomainId value look like?
>
> If you call $ldap->de