ok, something very strange is going on!!!!so I have been fiddling around with it getting a mix of accepted and rejected commands and the only thing I have pined it down to is the password...Some passwords work, some dont im not sure if there is some kind of caching going on. It appears my older passwords i was using during inital testing dont work...The password I get back from ldap in the debug is always correct and matches what I have put into the test utility but some get rejected. Any ideas why?On Wed, Mar 5, 2014 at 1:18 PM, Alan DeKok <aland@deployingradius.com> wrote:
Adam Seed wrote:I don't see how. FreeRADIUS just queries LDAP for a password.
> I have two users:
>
> cn=adamjseed,ou=users,dc=adamjseed,dc=co,dc=uk
> cn=guest,ou=users,dc=adamjseed,dc=co,dc=uk
>
> what's important is that the uid=cn in both cases
>
> guest works where adamjseed doesnt, if I change the uid (not cn) of
> adamjseed to adamjseed1 it then does work.
>
> im guessing its conflicting with the dn?
FreeRADIUs doesn't care about cn, dn, or anything else. LDAP returns
the password, and FreeRADIUS uses it.
Run the queries manually. Be sure that LDAP is returning the correct
password in both cases.