You would have to cause a special notation on the user name. (ie PPPfoo for dial-up)
Then let the freeradius "users" file strip the PPP and set the auth-type....I think. or let one has precedents over the other. If you include both, then if one auth fails it will fall through and the next will catch it. May I ask why you want to do this? The purpose of LDAP is for global authentication. "Peter V. Saveliev" wrote: > > ... > > Hello. > > I want to use LDAP for Login-User and Oracle for Framed-User access. So, > only question is - can I use same usernames in LDAP and Oracle (with > different passwords)? How to set it up? > > For example, there is user 'foo', and he wants to use dial-up access as > foo:123 (authz. via Oracle), and to login to the system console as > foo:321 (authz. via LDAP). > > I have user 'foo' both in LDAP and Oracle databases. But when 'foo' > tries to use dial-up, he has got auth. fail only because of LDAP record. > At the same time, he's able to login to the console, though rlm_sql > fails with 'rlm_sql (sql): Pairs do not match for user [foo]'. > > Is this possible at all to use records in different databases with the > same username, but with different passwords? > > PS: sorry my awful English > > -- > Sincerely, Peter V. Saveliev > > E-mail: [EMAIL PROTECTED] > Jabber: [EMAIL PROTECTED] > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
