Hy list.
Or you can use a "GUI" for Ldap management like "LDAP Browser/Editor"
(http://www-unix.mcs.anl.gov/~gawor/ldap/). It is written in Java and it's
platform independent.
It supports templates and other nice stuff.
Hope this helps.
-----Original Message-----
From: pinoyskull [mailto:pinoyskull@gmail.com]
Sent: Monday, December 18, 2006 08:42
To: qmail-ldap@qmail-ldap.org
Subject: Re: Deleting Accounts
Rajkumar S wrote:
> On 12/15/06, pinoyskull <pinoyskull@gmail.com> wrote:
>> what I want to do is deleting several accounts, for example all
>> users of that certain domain, and how about the user directory, will
>> it be deleted also once i do ldapdelete?
>
> If you need to delete several account you can write a script to do it.
> for example if you want to delete uidNumber=1669 use the following
> ldif file /tmp/entrymods
>
> dn: uidNumber=1669,ou=vhost,dc=compass,dc=com,dc=ph
> changetype: delete
>
> with the command ldapmodify -f /tmp/entrymods
>
> in the /tmp/entrymods you can have as many dn: as you want to delete.
>
> Similarly you can use another script with rm to remove the user
> directory.
>
> hope this helps,
> raj
>
that simple? wow, thanks.
smime.p7s
Description: S/MIME cryptographic signature
|