I have a PDC using SaMBa and openLDAP, I'm trying to make my openwrt router authenticate with openLDAP, I read that the way to do this is by configuring a RADIUS server.

I configured freeradius and It works fine, but my problem is that I need to authenticate users using the userPassword attribute instead of sambaNTPassword, I can't get this work, I've read a lot, but I haven't found the answer (didn't read enough I guess).

I installed and configured freeradius in openSuSE 13.1

# rpm -qa | grep freeradius
freeradius-server-libs-2.2.0-7.4.1.x86_64
freeradius-server-doc-2.2.0-7.4.1.x86_64
freeradius-server-2.2.0-7.4.1.x86_64

I added in /etc/raddb/clients.conf
client owrt.router {
       secret  = secretPasswd
       ipaddr  = 10.202.10.83
}

I uncomment "ldap" and the "Auth-Type LDAP{....}" in the followin files:
/etc/raddb/sites-enabled/default
/etc/raddb/sites-enabled/inner-tunnel

I set server and basedn info in the /etc/raddb/modules/ldap file

I repeat, it works fine but with the openLDAP's sambaNTPassword entry instead of using the userPassword.

any help will be wellcome,
sorry my english, (I tried my best).

saludos,
Nicolás.