Qmail-LDAP
[Top] [All Lists]

Deleting Accounts

To: "qmail-ldap@qmail-ldap.org" <qmail-ldap@qmail-ldap.org>
Subject: Deleting Accounts
From: pinoyskull <pinoyskull@gmail.com>
Date: Fri, 15 Dec 2006 17:27:18 +0800
Delivered-to: sp-com-lists@consult.net
Delivered-to: qmail-ldap-list@securepoint.com
Delivered-to: mailing list qmail-ldap@qmail-ldap.org
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type; b=P00vni50iQpShl3+uVMlfneMrPuXzH81wyI+GBbs0RL8aJ54aloA9RimJP8WcJexLL4m/H8T5EO62zCxxpCMz/CLVMVcKuIh0udF4OVkI/Jv/9EYFUxLs+4i/pqnPd92fDwuPcHL0uqnnKBEz49TAT92JCvMEP9/VIG5Az/mzrE=
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
User-agent: Thunderbird 1.5.0.8 (X11/20061115)
Hi,

Im in a dilema right now, I need to delete inactive accounts from qmail-ldap, im not familiar with deleting so I need the communities help.

here's a sample ldapsearch
---
#
# filter: mail=jeff@businesslevel.com
# requesting: ALL
#

# 1669, vhost, compass, com, ph
dn: uidNumber=1669,ou=vhost,dc=compass,dc=com,dc=ph
homeDirectory: /home/1/6/6/1669
uid: buslev01
cn: Businesslevel - jeff
mail: jeff@businesslevel.com
mailMessageStore: /home/1/6/6/1669/Maildir/
mailQuota: 10000000S,10000000C
objectClass: qmailUser
objectClass: posixAccount
mailHost: cypress.compass.com.ph
accountStatus: active
loginShell: /bin/false
uidNumber: 1669
gidNumber: 1242
gecos: Businesslevel - jeff

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1
---

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?


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