EAP-PEAP with LDAP for 802.1x authentication

Ryan majereryan at gmail.com
Thu Feb 28 11:02:01 CET 2008


I have installed smbldap-tools and tried to modify existing LDAP
records using smbldap-usermod after updating the smbldap.conf and
smbldap_bind.conf to connect to the LDAP but I keep getting an error
that user cannot be found.

Using ldapsearch, syslog shows

Feb 28 17:54:42 advert slapd[5679]: connection_get(10)
Feb 28 17:54:42 advert slapd[5679]: ==> bdb_bind: dn: cn=admin,o=com
Feb 28 17:54:42 advert slapd[5679]: send_ldap_result: err=0 matched="" text=""
Feb 28 17:54:42 advert slapd[5679]: connection_get(10)
Feb 28 17:54:42 advert slapd[5679]: SRCH "o=com" 2 0
Feb 28 17:54:42 advert slapd[5679]:     0 0 0
Feb 28 17:54:42 advert slapd[5679]:     filter:
(&(objectClass=advert-account)(uid=samba_servers))
Feb 28 17:54:42 advert slapd[5679]:     attrs:

But using smbldap-usermod, syslog shows

Feb 28 17:57:25 advert slapd[5679]: connection_get(10)
Feb 28 17:57:25 advert slapd[5679]: ==> bdb_bind: dn: cn=admin,o=com
Feb 28 17:57:25 advert slapd[5679]: send_ldap_result: err=0 matched="" text=""
Feb 28 17:57:25 advert slapd[5679]: connection_get(10)
Feb 28 17:57:25 advert slapd[5679]: SRCH "o=com" 2 2
Feb 28 17:57:25 advert slapd[5679]:     0 0 0
Feb 28 17:57:25 advert slapd[5679]:     filter:
(&(?=undefined)(uid=samba_servers))
Feb 28 17:57:25 advert slapd[5679]:     attrs:
Feb 28 17:57:25 advert slapd[5679]:
Feb 28 17:57:25 advert slapd[5679]: bdb_idl_fetch_key: [b49d1940]
Feb 28 17:57:25 advert slapd[5679]: send_ldap_result: err=0 matched="" text=""
Feb 28 17:57:25 advert slapd[5679]: connection_get(10)

This is not a freeradius issue but can someone advise what could be the problem?

Regards,
Ryan



More information about the Freeradius-Users mailing list