You could just add it and send it back through a bugs report in bugs.freeradius.org

I did so.



3) how can equivalent of the following users file be implemented with LDAP:

chel   Auth-Type := MS-CHAP, NAS-IP-Address == 192.168.201.1
      Service-Type = Framed-User,
      Simultaneous-Use = 1,
      Framed-Protocol = PPP,
      Framed-IP-Address = 192.168.201.2,
      Framed-IP-Netmask = 255.255.255.0,
      Framed-Routing = Broadcast-Listen,
      Framed-Filter-Id = "std.ppp",
      Framed-MTU = 1400,
      Framed-Compression = Van-Jacobson-TCP-IP

chel   Auth-Type := MS-CHAP, NAS-IP-Address == 192.168.202.1
      Service-Type = Framed-User,
      Simultaneous-Use = 1,
      Framed-Protocol = PPP,
      Framed-IP-Address = 192.168.202.2,
      Framed-IP-Netmask = 255.255.255.0,
      Framed-Routing = Broadcast-Listen,
      Framed-Filter-Id = "std.ppp",
      Framed-MTU = 1400,
      Framed-Compression = Van-Jacobson-TCP-IP

so, I need to records for "chel" user depending on NAS-IP-Address they come from.

In ldap you have only *one* record for each user. If you need different Framed-IP-Address attributes for each user depending on the NAS then you need to either:


Create multiple user entries and use a filter to find them:
(&(uid=%u)(nasipaddress=%{NAS-IP-Address}))

Create multiple ldap module instances with different attribute mappings and depending on the NAS select the corresponding instance:

DEFAULT NAS-IP-Address == 192.168.201.1, Autz-Type := ldap1

two different LDAP servers ?



Cheers, Ilia Chipitsine


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



-- Kostas Kalevras Network Operations Center [EMAIL PROTECTED] National Technical University of Athens, Greece Work Phone: +30 210 7721861 'Go back to the shadow' Gandalf

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


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

Reply via email to