howto get/send the fullname of an user

Ariel VIVES avives at enpc.fr
Thu Nov 9 13:34:17 CET 2006


James Wakefield wrote:
> Ariel VIVES wrote:
>> James Wakefield wrote:
>>> Ariel VIVES wrote:
>>>> Hello the list,
>>>>
>>>>
>>>> I'm starting with freeradius.
>>>> Authentication works fine !
>>>>
>>>> But the informations I get is only the username (le login name in
>>>> /etc/passwd).
>>>>
>>>> How do I get the Fullname ? Or others informations (like mail, home
>>>> directory, ...)
>>>> Is it possible ?
>>>> is it a configuration  of the server or a request from the client ?
>>>>
>>>> thanks for your help
>>>>
>>>>
>>>
>>> Hi Ariel,
>>>
>>> Can you give us a bit more information about how you're using
>>> freeradius?  From your description, it looks vaguely like you're using
>>> pam_radius to authenticate logins against a freeradius server - is
>>> that it?
>>>
>>
>> Hi,
>>
>> in fact, the authentication is done with the file /etc/shadow (NIS users
>> but doesn't matter I think)
>>
>> my requests are done with a web interface (php => php-radius) to
>> authenticate users (and this works well).
>>
>>
>>
>> Hope it's enough ...
>>
> 
> You're trying to use radius for something it's not really intended for.
>  You'd be better off querying that information from a real directory
> service, like LDAP, or NIS, if you want it quicker and nastier.
> 

Yes, and my accounts are under NIS.
But i want to authenticate my users using freeradius.
and it works...

so it isn't possible to get additional informations with freeradius by
using a shell script or with adding specific attribute ?




-- 
Ariel



More information about the Freeradius-Users mailing list