--On Friday, March 24, 2006 8:59 AM -0600 Jim Summers <[EMAIL PROTECTED]> wrote:

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?

Does your server have the sambasamaccount objectclass loaded?

--Quanah


--
Quanah Gibson-Mount
Principal Software Developer
ITS/Shared Application Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

Reply via email to