Why did you ship-it? We need the rest of the lof file.
Do this radiusd -X >/var/log/radiusd_dbg_con.log
It is esasier to capture the error messages that way.
Also what shows up in your freeradius logs during this time?
Federico Edelman wrote:
>
> Hi guys,
> I'm newbie with freeradius. I'm running freeradius-0.8.1 on
> Linux Debian 3.1. The LDAP server/client is openldap-2.1.12.
>
> I've compiled the freeradius with:
>
> # LD_LIBRARY_PATH="/usr/local/openldap/lib:/usr/local/lib"
> # LDFLAGS="-L/usr/local/openldap/lib -L/usr/local/lib"
> # CFLAGS="-O -g -I/usr/local/openldap/include -I/usr/local/include"
> # CC="gcc"
> # export LD_LIBRARY_PATH LDFLAGS CFLAGS CC
> # ./configure --prefix=/usr/local/freeradius --with-
> openldap=/usr/local/openldap
> # make
> # make install
>
> All's ok.
>
> I've run:
> # /usr/local/freeradius/sbin/radiusd -X
> And...
> # /usr/local/freeradius/bin/radtest
>
> All's ok. The radtest connect with radiusd successfully.
>
> But, When I setting up the radius with LDAP support the radiusd exit and
> not running.
>
> The radius ldap configuration:
>
> My /usr/local/freeradius/etc/raddb/radiusd.conf:
> ---- snip snip ----
> ldap {
> server = "myldapserver"
> basedn = "ou=people,dc=rootldap"
> filter = "((posixAccount)(uid=%u))"
> start_tls = no
> tls_mode = no
> dictionary_mapping = ${raddbdir}/ldap.attrmap
> ldap_connections_number = 5
> timeout = 4
> timelimit = 3
> net_timeout = 1
> }
> authenticate {
> authtype LDAP {
> ldap
> }
> }
> ---- snip snip ----
> my /usr/local/freeradius/etc/raddb/dictionary:
> ---- snip snip ----
> #
> # Non-Protocol Integer Translations
> #
>
> VALUE Auth-Type Local 0
> VALUE Auth-Type System 1
> VALUE Auth-Type SecurID 2
> VALUE Auth-Type Crypt-Local 3
> VALUE Auth-Type Reject 4
> VALUE Auth-Type ActivCard 4
> VALUE Auth-Type LDAP 5
> ---- snip snip ----
> my /usr/local/freeradius/etc/raddb/users:
> ---- snip snip ----
> DEFAULT Auth-Type := LDAP
> Fall-Through = 1
> ---- snip snip ----
>
> My ldif user:
>
> ---- snip snip ----
> dn: uid=test,ou=people,dc=claxson
> objectClass: top
> objectClass: account
> objectClass: posixAccount
> ou: people
> uid: test
> cn: TestUser
> loginShell: /bin/bash
> homeDirectory: /home/test
> gecos: Test User
> uidNumber: 1001
> gidNumber: 1001
> userPassword: {crypt}XXXXXXX
> ---- snip snip ----
>
> When I run "radiusd -X" I get this:
> ---- snip snip ----
> .
> .
> .
> Module: Loaded radutmp
> radutmp: filename = "/usr/local/freeradius/var/log/radius/radutmp"
> radutmp: username = "%{User-Name}"
> radutmp: perm = 384
> radutmp: callerid = yes
> Module: Instantiated radutmp (radutmp)
> main: smux_password = ""
> main: snmp_write_access = no
> SMUX connect try 1
> SMUX open oid: 1.3.6.1.4.1.3317.1.3.1
> SMUX open progname: radiusd
> SMUX open password:
> SMUX register oid: 1.3.6.1.2.1.67.1.1.1.1
> SMUX register priority: -1
> SMUX register operation: 1
> SMUX register oid: 1.3.6.1.2.1.67.2.1.1.1
> SMUX register priority: -1
> SMUX register operation: 1
> ---- snip snip ----
>
> And... exit and radiusd isn't running.
>
> What can I do wrong? Any idea?
>
> Thanks very much.
>
> Federico
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html