PAP password check

2011-05-10 Thread mic night
Hello, I have a freeradius server that i use to authenticate users before they access network switches. user passwords reside in an ldap directory with the following attributes and formats: userPassword: (CRYPT password) sambaNTPassword: (NT Hash) sambaLMPassword: (LM hash) PAP is choosing

Re: PAP password check

2011-05-10 Thread Alan DeKok
mic night wrote: I have a freeradius server that i use to authenticate users before they access network switches. user passwords reside in an ldap directory with the following attributes and formats: userPassword: (CRYPT password) sambaNTPassword: (NT Hash) sambaLMPassword: (LM hash)

Re: PAP password check

2011-05-10 Thread mic night
Le 10/05/2011 16:50, Alan DeKok a écrit : mic night wrote: I have a freeradius server that i use to authenticate users before they access network switches. user passwords reside in an ldap directory with the following attributes and formats: userPassword: (CRYPT password) sambaNTPassword: (NT

Re: PAP password check

2011-05-10 Thread Alan DeKok
mic night wrote: Yes , sorry i didn't expose the problem... Actualy, we have a problem generating the sambaNTPassword an sambaLMPassword and that's why i'm (temporary) trying to force PAP to use the userPassword attribute. $ man unlang See !*. You can delete attributes from the control

Re: PAP password

2009-05-13 Thread Ivan Kalik
On 12 May 2009, at 13:29, Doug Hardie wrote: V 2.1.5. I am having a problem with PAP not using the proper user id. IF the user id is just a plain user_id then it works properly. However, I have some realms setup that have prefixes and suffixes e.g., DUB+user_id@lafn. PAP is trying to

Re: PAP password

2009-05-13 Thread Doug Hardie
On 13 May 2009, at 02:10, Ivan Kalik wrote: On 12 May 2009, at 13:29, Doug Hardie wrote: V 2.1.5. I am having a problem with PAP not using the proper user id. IF the user id is just a plain user_id then it works properly. However, I have some realms setup that have prefixes and suffixes

Re: PAP password

2009-05-13 Thread A . L . M . Buxey
Hi, DEFAULT User-Name =~ DUN[+]([...@]+)@* User-Name := %{1}, Hint = NationalSS1 DEFAULT User-Name =~ dun[+]([...@]+)@* User-Name := %{1}, Hint = NationalSS2 and so on. This works but might be a bit kludgy. At least we are authenticating again. Thanks for

Re: PAP password

2009-05-13 Thread Doug Hardie
On 13 May 2009, at 11:07, a.l.m.bu...@lboro.ac.uk wrote: Hi, DEFAULT User-Name =~ DUN[+]([...@]+)@* User-Name := %{1}, Hint = NationalSS1 DEFAULT User-Name =~ dun[+]([...@]+)@* User-Name := %{1}, Hint = NationalSS2 and so on. This works but might be a bit kludgy. At

PAP password

2009-05-12 Thread Doug Hardie
V 2.1.5. I am having a problem with PAP not using the proper user id. IF the user id is just a plain user_id then it works properly. However, I have some realms setup that have prefixes and suffixes e.g., DUB+user_id@lafn. PAP is trying to find the user_id DUB+user_id@lafn rather than

Re: PAP password

2009-05-12 Thread Doug Hardie
On 12 May 2009, at 13:29, Doug Hardie wrote: V 2.1.5. I am having a problem with PAP not using the proper user id. IF the user id is just a plain user_id then it works properly. However, I have some realms setup that have prefixes and suffixes e.g., DUB+user_id@lafn. PAP is trying to

Re: PAP password

2009-05-12 Thread Doug Hardie
On 12 May 2009, at 20:28, Doug Hardie wrote: On 12 May 2009, at 13:29, Doug Hardie wrote: V 2.1.5. I am having a problem with PAP not using the proper user id. IF the user id is just a plain user_id then it works properly. However, I have some realms setup that have prefixes and