[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
update with perl
Hello list
We use openldap 2.3.39.
I want to add with a perl-script to all my users this attributes :
objectClass: orcluser
orclpassword: xxxxxxxxx
I dont now how do that with a script.
Actually my users haves this objectClasses :
objectClass: top
objectClass: hordePerson
objectClass: shadowAccount
objectClass: posixAccount
objectClass: person
objectClass: inetOrgPerson
objectClass: SuSEeMailObject
objectClass: sambaSamAccount
I defined an :
objectclass ( 1.1.2.881.881.555.666
NAME 'inetorcluser'
DESC 'inetorcluser'
SUP ( inetOrgPerson $ orcluser ) STRUCTURAL
)
And so when i with an ldap-browser export an user, then after
deleting this user i add in the ldif-datei the followings attributes:
objectClass: inetorcluser
objectClass: orcluser
orclpassword: xxxxxxxxx
then i can import this user fine.
That for one user is ok but for a lot of users how can i do that - i
tried with perl - but without success.
Thanks in advanced for any help.
luis