Qmail-LDAP
[Top] [All Lists]

RE: Deleting Accounts

To: "'pinoyskull'" <pinoyskull@gmail.com>, <qmail-ldap@qmail-ldap.org>
Subject: RE: Deleting Accounts
From: "Razvan Turtureanu" <razvan@edata.ro>
Date: Tue, 19 Dec 2006 13:42:33 +0200
Delivered-to: sp-com-lists@consult.net
Delivered-to: qmail-ldap-list@securepoint.com
Delivered-to: mailing list qmail-ldap@qmail-ldap.org
In-reply-to: <45863851.4080403@gmail.com>
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
Thread-index: Acci/bMWt1D1CzbXS/OCFCvDLKRgDAAZKscg
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.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

<Prev in Thread] Current Thread [Next in Thread>