Re: ldap passwords?

This is a discussion on Re: ldap passwords? within the FreeRADIUS Users forums, part of the Networking and Network Related category; Ivan, Sorry to bother you again. Where should I = apply the Crypt-Password? Should I apply it in = radiusd.conf ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-06-2007
Tim Tyler
 
Posts: n/a
Default Re: ldap passwords?

Ivan,
Sorry to bother you again. Where should I =

apply the Crypt-Password? Should I apply it in =

radiusd.conf or in the ldap.attrmap file?
What line were you referring to?
My ldap database stores the password in =

userPassword field. I assume that I should =

keep password_attribute =3D userPassword in the radiusd.conf file, correct?
Tim

At 04:51 PM 3/5/2007, you wrote:
>Use Crypt-Password not User-Password.
>
>Ivan Kalik
>Kalik Informatika ISP
>
>
>Dana 5/3/2007, "Tim Tyler" <tyler@beloit.edu> pi=B9e:
>
> > Freeradius experts,
> > I am trying to configure freeradius to use openldap as a backend
> >for authentication, but I can't seem to get the passwords to
> >authenticate. It seems to have no problem binding and finding the
> >username (uid). I am using crypt passwords in the ldap userPassword fiel=

d:
> >userPassword:: e1NTSEF9aXBWQklEYnZYSU9RdWl2V0ZtdGR5MWxIWFFsZWVCMj Q=3D
> >
> > I am not using any radius attributes. I simply want to allow any
> >uid to authenticate. I get these results:
> >
> >rad_recv: Access-Request packet from host =


> 144.89.40.8:59881, id=3D60, length=3D59
> > User-Name =3D "tylertj"
> > User-Password =3D "xxxxxx"
> > NAS-IP-Address =3D 255.255.255.255
> > NAS-Port =3D 1812
> >rlm_ldap: - authorize
> >rlm_ldap: performing user authorization for tylertj
> >rlm_ldap: ldap_get_conn: Checking Id: 0
> >rlm_ldap: ldap_get_conn: Got Id: 0
> >rlm_ldap: (re)connect to ldap.beloit.edu:389, authentication 0
> >rlm_ldap: setting TLS CACert File to /etc/openldap/cacerts/cacert.cer
> >rlm_ldap: starting TLS
> >rlm_ldap: bind as / to ldap.beloit.edu:389
> >rlm_ldap: waiting for bind result ...
> >rlm_ldap: Bind was successful
> >rlm_ldap: looking for check items in directory...
> >rlm_ldap: looking for reply items in directory...
> >rlm_ldap: user tylertj authorized to use remote access
> >rlm_ldap: ldap_release_conn: Release Id: 0
> >rad_recv: Access-Request packet from host =


> 144.89.40.8:59881, id=3D60, length=3D59
> >Sending Access-Reject of id 60 to 144.89.40.8:59881
> >
> >
> > What might I be doing wrong? I presume that the ldap server
> >doesn't have to store the passwords in plain text, correct? I can
> >store them in md5 or SHA1 hash if I want, correct? I did uncomment:
> >
> >authenticate {
> > Auth-Type LDAP {
> > ldap
> > }
> >
> > Am I wrong to think this is now a password issue?
> >Tim
> >
> >
> >
> >
> >
> >Tim Tyler
> >Network Engineer - Beloit College
> >tyler@beloit.edu
> >

>
>-
>List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.=

html

Tim Tyler
Network Engineer - Beloit College
tyler@beloit.edu =




- =

List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.h=
tml
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:15 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0