Matthew Crocker wrote: > > Can we make the accountStatus a bit map so we can flip user access for > indiviual services
No. > i.e. > > nopop3 = 0x00001 > noimap = 0x00002 > nosmtpauth = 0x00004 > > etc.. Does LDAP have the capability of || values together on insert or > search? No. That's wrong use of an LDAP directory anyway. You simply want to define the attribute "accountStatus" multiple times with different values like "nopop", "noimap", "nosmtp", "disabled" and "deleted". Each of the respective programs (pop3d, imapd and so on) is looking for it's own disabler. You can do that right now with qmail-ldap. All you have to do is to tweak the #defines in qmail-ldap.h and the auth_* programs. -- Andre > On Tuesday, June 3, 2003, at 02:42 AM, Claudio Jeker wrote: > > > On Mon, Jun 02, 2003 at 11:32:33PM -0700, Roger Thomas wrote: > >> i have my setup working as imap access only. i do not have any pop3 > >> server > >> running. but i do have the plan to incorporate it ONLY for paid > >> accounts. > >> > >> for now, all accounts have their accountStatus attribute as 'active'. > >> > >> when i have pop3 running, my /*understanding*/ is to have paid > >> account's > >> accountStatus=active BUT free account's accountStatus=nopop. > >> > >> so i tried changing active to nopop for a test account but that gave > >> me a login > >> error. pls advise. > >> > > > > Nopop means acctually no access to either pop or imap. The name is > > probably not that clear perhaps nofetch would be clearer. > > > > -- > > :wq Claudio > >
