RE: Checkpassword using Squid auth helpers

"Adam Aube" <[email protected]> Fri, 13 Jun 2003 15:40:47 -0400
Newsgroups gmane.comp.djb.checkpassword
Message-ID <[email protected]>
> The only downside is that it only supports a single NT domain. The only
good
> way to implement multi-domain support (that I can think of) is take the
> first 8 characters of the domain name and make it the NT domain.

Actually, I did just think of other ways to do it. The user name format
would be a configurable option in the script. The available formats would
be:

1) user - No maildir grouping; Single NT domain
2) NTdomain\user - Maildir grouping by NT domain; Multiple NT domains
3) [email protected] - Maildir grouping by domain name; Single NT domains
4) NTdomain\[email protected] - Maildir grouping by domain name; Multiple NT
domains

#2 & #4 assume that qmail-popup won't strip the \ - will it? If so, a
different separator could be used.

Again, though - I don't need multi-domain support for my setup, but if
someone needs/wants it, I'll put it in. I'll need someone else to test it,
though. I probably wouldn't code #4 unless there was a high demand, though -
and I'd recommend they rearrange their maildirs instead.

Adam
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.237 / Virus Database: 115 - Release Date: 3/7/2001