Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
I am running an LDAP server on Ubuntu 10.04:
@(#) $OpenLDAP: slapd 2.4.21 (Dec 19 2011 15:18:58) $
I would like to attempt a recursive operation to make some batch changes to the directory:
Add an email entry for all users, some older accounts already have this.
Remove sambaPwdMustChange and sambaPwdCanChange attribs from all ou=User accounts.
I have never attempted any recursive operations with LDAP Admin before and wondered if anyone could point me in the right direction? I guess I need to use a template?
You seem to have CSS turned off.
Please don't fill out this field.
You don't need to use templates. The batch operations are actually quite simple and straightforward. Choose Edit->Modify set... Here, you can define operations (add, replace delete) and LDAP query to match the entries for chosen operations. You can read more about batch operations here: http://www.ldapadmin.org/docs/batch.html
For instance, to add E-Mails to all users choose:
Opeartion: Add, Attribute: email, Value: %email@example.com (you can use parameters to form e-mail adress)
To remove sambaPwdMustChange from ou=Users path only use
Operation: delete, Attribute: sambaPwdCanChange, Value: *
Operation: delete, Attribute: sambaPwdMustChange, Value: *
and set path to ou=Users.
Wow - did't realise it would be that simple.
Many thanks! Congrats on a great product by the way.