Hello List,

I am re-writing some old scripts to take advantage of perl-ldap. I was working with a script to modify info and it seemed to be working fine.

I wanted to modify the value of the "loginShell" attribute for an account. It works perfectly for one entry. Then I tested on a second entry and it fails with the following:

LDAPERROR:89
LDAP_PARAM_ERROR
An invalid parameter was specified

The entry that it works on has the following object classes:
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person

and the one it does not work on has:
objectClass: posixAccount
objectClass: shadowAccount
objectClass: account
objectClass: top
objectClass: sambasamaccount
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person

I am not sure what is going on here.

Any ideas or suggestions?

TIA
--
Jim Summers
School of Computer Science-University of Oklahoma
-------------------------------------------------

Reply via email to