Hello again -

On Tue, 10 Aug 1999, perso wrote:
> 
> Ok Here is my config File
> 
> LogDir /var/log/radius
> DbDir /usr/local/etc/radiator
> 
> LogStdout
> Trace           4
> PidFile %L/radiusd.pid
> AuthPort 1645
> AcctPort 1646
> LogFile %L/radius.log
> DictionaryFile /usr/local/etc/radiator/dictionary
> 
> <Client localhost>
>         Secret xxxxxx
>         DupInterval 0
>         FramedGroupBaseAddress 10.0.3.1
>         NasType Cisco
> </Client>
> 
> <Realm DEFAULT>
>         AcctLogFileName %L/detail
>         WtmpFileName %L/wtmp
>         PreAuthHook   file:"/usr/local/etc/radiator/exchange.pl"
>         PostAuthHook  file:"/usr/local/etc/radiator/writeldap.pl"
>         PreClientHook file:"/usr/local/etc/radiator/updateldap.pl"
> 
>         <AuthBy LDAPSDK>
>                 Host            192.168.202.132
>                 Port            388
>                 AuthDN          cn=Directory Manager
>                 AuthPassword    password
>                 BaseDN          o=servicesusers.wapnet
>                 UsernameAttr    uid
>                 PasswordAttr    wapuserpassword
>         </AuthBy>
> </Realm>
> 
> 
> And now the Log !!!
> 
> Tue Aug 10 09:01:33 1999: ERR: Unknown keyword
> '/usr/local/etc/radiator/updateldap.pl' in /usr/local/etc/radius.cfg line 0

OK - the configuration command "PreClientHook" is a global command, not
something relevant to a Realm. Try putting the line

PreClientHook file:"/usr/local/etc/radiator/updateldap.pl"

before your first <Client ...> clause.

hth

Hugh

--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8,
NT, Rhapsody

===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to