(RADIATOR) LDAP return code

Hugh Irvine hugh at open.com.au
Mon Nov 18 15:24:05 CST 2002


Hello Bruno -

You should probably use a PostSearchHook with LDAP.

Have a look at section 6.35.20 in the Radiator 3.3.1 reference manual.

regards

Hugh


On Tuesday, Nov 19, 2002, at 05:20 Australia/Melbourne, Bruno Tiago 
Rodrigues wrote:

>
> Hi all
>
> We're starting to use radiator on a test environment where we're using 
> some
> strange e-commerce vendor implementation of a database which uses the 
> LDAP
> protocol for querying and returning data.
>
> I've been able to query all the data I want to, using the standard 
> authby
> LDAP2 configuration, but the decision whether the user will be able to 
> use
> the service is given by the return code of the LDAP search operation 
> (they
> use return=0 for a "good" user and a custom error message return=99 
> for a
> "bad" user). Is there any easy way to accomplish this (i.e.: any 
> special
> variable I can use which holds the return code)?
>
> I can just use the authby LDAP2 definition to connect to the server 
> and then
> use a post Auth hook to analyse the return code... Is this a clean 
> approach
> to my problem?
>
> thanks in advance
>
>
> _______________________________________________________
> Vizzavi Mail powered by Vodafone - http://www.vizzavi.pt
> Virus protected by TrendMicro - http://www.antivirus.com
> ===
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe radiator' in the body of the message.
>
>

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list