Alle 20:35, martedì 4 luglio 2006, hai scritto:
> persuading MrSam that it should be done...Patches to pass the remote IP
> address have been ... rejected in the past;

do you know why that patch was rejected?
is it possible to see it?

> maybe a more general-purpose mechanism might
> be considered.

I thought to pass a string like your in a  auth_getoption() - compliant way
http://www.courier-mta.org/authlib/auth_getoption.html

> What I'd like to see is that you can specify in the client (e.g. pop3d) a
> list of environment variables to be passed across: e.g.
> AUTHDAEMON_PASSENV="TCPREMOTEIP,LDAP_FILTER"

interesting, i'm thinking about it

> Then I'd like to see the four different types of authdaemon request (pre,
> authenticate, change password, enumerate) made into the same message
> format, which allows the environment variables to be passed.

me too ;-)

> Perhaps this
> format should always include a length value

I did it appending the env string before counting the AUTH string, so what
I'll pass to authdaemon is
***
AUTH XXX
imap
login
LDAP_FILTER=(mynewfilter)
user
pass
***

do you think to pass the envs in another phase than AUTH?

> maybe it should be parsed line-by-line, like the response format?

well, I'll check the code of the response format, 'till now i worked only
 with the auth phase

thank you,
R.
--

Roberto Polli
Babel S.r.l. - http://www.babel.it
Tel. +39.06.91801075 - fax +39.06.91612446
P.zza S.Benedetto da Norcia, 33 - 00040 Pomezia (Roma)

-------------------------------------------------------

-- 

Roberto Polli
Babel S.r.l. - http://www.babel.it
Tel. +39.06.91801075 - fax +39.06.91612446
P.zza S.Benedetto da Norcia, 33 - 00040 Pomezia (Roma)

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to