Dusty Doris ha scritto:
I have tryed both solution but don't work!!! :'(
this is the output:
#ldapadd -x -D "cn=Manager,dc=unime,dc=it" -W -f example.ldif
Enter LDAP Password:
adding new entry "ou=radius, dc=unime,dc=it"
adding new entry "ou=profiles, ou=radius,dc=unime,dc=it"
adding new entry "ou=users, ou=radius,dc=unime,dc=it"
adding new entry "cn=WLAN, ou=profiles,ou=radius,dc=unime,dc=it"
ldap_add: Invalid syntax (21)
additional info: objectclass: value #0 invalid per syntax
Did you include the RADIUS-LDAPv3.schema into slapd.conf? You need to
tell openldap about the objectclass radiusprofile.
in slapd.conf
include /yourpathto/openldap/schema/RADIUS-LDAPv3.schema
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
__________ NOD32 1.1159 (20050630) Information __________
This message was checked by NOD32 antivirus system.
http://www.nod32.com
yes, of course...
I have copied the RADIUS-LDAPv3.schema from the doc/ directory to my
directory /usr/local/etc/openldap/schema, and I import it in the slapd.conf.
this is my ldif file:
dn: ou=radius, dc=unime,dc=it
objectclass: organizationalunit
ou: radius
dn: ou=profiles, ou=radius,dc=unime,dc=it
objectclass: organizationalunit
ou: profiles
dn: ou=users, ou=radius,dc=unime,dc=it
objectclass: organizationalunit
ou: users
dn: cn=WLAN, ou=profiles,ou=radius,dc=unime,dc=it
objectClass: radiusProfile
cn: WLAN
radiusServiceType: Framed-User
radiusFramedProtocol: PPP
radiusFramedIPNetmask: 255.255.255.0
radiusFramedRouting: None
dn: cn=Felice, ou=users,ou=radius,dc=unime,dc=it
objectclass: radiusProfile
cn: Felice
radiusGroupName: WLAN
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Giornata faticosa? Rilassati con il Cuscino per Massaggi che vibra!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2742&d=1-7
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html