Hi,

On Sunday 27 June 2004 01:43, [EMAIL PROTECTED] wrote:

>    Net::LDAP: 0.25

Net::LDAP 0.25 is really ancient.
You should upgrade to 0.31.

>       server: Oracle OID (pretty sure version >= 9.0.2)
That might be the cause of your problems.

No joking: most LDAP servers treat the userPassword attribut special in the 
way that they do only allow special operations on it or do only alow some 
operations under special circumstances. (e.g. the may require encryption, 
the may requiore to change it in one operation, ...)

So, maybe in principle your script is perfectly OK (and to me it looks like it 
is), but the operations it uses are not allowed by the server in this special 
situation.

A few hints:
* Have you tried to run your script with another attribute ?
  What are the results if you do ?
* 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)
* 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)

Peter

-- 
Peter Marschall
eMail: [EMAIL PROTECTED]

Reply via email to