Values from LDAP

Ivan Kalik tnt at
Fri Aug 21 22:39:21 CEST 2009

> What I am trying to do is retrieve some additional values from the LDAP
> server, I'm sure it should be a simple thing to do but I can't work out
> how to do it.
> e.g. running ldapsearch -h ldap.server -x -b"ou=auth,dc=uni,dc=co,dc=uk"
> "(uid=a3)" returns
> dn: uid=a3,ou=people,ou=auth,dc=uni,dc=co,dc=uk
> ou: My Department
> mail: email at
> To being with I'd like to put 'mail' or 'ou' into the Reply-Message
> attribute - does anyone have any suggestions? (This is the first time I'm
> using LDAP, so please go easy if I've missed something obvious).

Map the attributes in ldap.attrmap.

Ivan Kalik
Kalik Informatika ISP

More information about the Freeradius-Users mailing list