Peter Marschall <[EMAIL PROTECTED]> recently posted (in part) to my
question about changing LDAP user passwords:
> Net::LDAP 0.25 is really ancient.
> You should upgrade to 0.31.
Yeah, I figured that was the case. I hadn't paid attention to
the version until I ran into problems. I'll have to hit the
System Admin up this Monday to install the latest stable release.
I hope that's the 'cause...
> [Oracle OID] might be the cause of your problems.
>
> No joking: most LDAP servers treat the userPassword attribut
> special...
I'd love to blame Oracle, but it doesn't seem likely that that is
case here. As I mentioned before I'm using Jarek Gawor's very
nice LDAP Browser\Editor program which is a *generic* client. It
is not something special for Oracle, it works fine with either
OID or OpenLDAP and when using it I *can* change the passwords.
So it is doing something right, and I'm doing something wrong.
Of course it might know some trick when talking to OID that
allows it to work, but I'd be surprised if that was the case.
> * Have you tried to run your script with another attribute ? What
> are the results if you do ?
Funny I thought of that on the drive home. Today I tried a
different attribute (description) and it works like a charm.
> * You may try to do the modification not as a replace but as
> add and delete in one modify operation (look for changes in the
> Net::LDAP man page)
Certainly worth a shot.
> * You may try to use the set_password extended operation
> (IMHO this is not yet part of 0.25 so you may need to upgrade)
Well let's hope that when we upgrade this little problem will go
away. But I wouldn't have thought of looking at an extended
operation, so this could be an important tip!
Thanks for the feedback. I'll have to wait till Monday to see if
an upgrade solves the problem or if it's back to the drawing
board.
...BC
--
+----------------------------[ [EMAIL PROTECTED] ]---+
| Bill Costa |
| 54 College Road -- CIS Ctr PHONE: +1-603-862-3056 | No good deed...
| University of New Hampshire FAX: +1-603-862-4778 | goes unpunished.
| Durham, NH 03824-3591 USA |
| |
+-----------------[ http://pubpages.unh.edu/~wfc/ ]---+