Bogus reply if ldap query is empty

Patrick Ben Koetter p at state-of-mind.de
Thu Mar 1 14:02:03 CET 2012


* Sven Hartge <sven at svenhartge.de>:
> I just deployed a test-setup of automx using the LDAP backend.
> 
> I noticed one oddity: If the query yields no result (because, for
> example, the user mistyped his mail-address), then a bogus XML is
> returned to the client.
> 
> For example the <username></username> is empty, the displayname is
> empty, because the macros where empty, because the LDAP query was
> without results.
> 
> I think in that case automx should not reply with any configuration.

I agree. The server MUST NOT send a profile if the reponse is invalid.

p at rick

-- 
state of mind ()
Digitale Kommunikation

http://www.state-of-mind.de

Franziskanerstraße 15      Telefon +49 89 3090 4664
81669 München              Telefax +49 89 3090 4666

Amtsgericht München        Partnerschaftsregister PR 563



More information about the automx-users mailing list