RE: RADIUS with LDAP authentication -- problems - rlm_ldap
Hi Willey, I made the ldap installation like you indicated it, I have the same error. I only have the "rlm_ldap.c" file, What I need to make to have the file "rlm_ldap.so" Regards Octavio Le mar 05/08/2003 à 16:26, Willey Kurt D a écrit : > Install ldap (such as www.openldap.org) > > Use these if you install somewhere funky > > --with-rlm-ldap-include-dir=/path/to/ldap/include > --with-rlm-ldap-lib-dir=/path/to/ldap/lib > > -Original Message- > From: Octavio Ramirez Rojas [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 05, 2003 9:24 AM > To: [EMAIL PROTECTED] > Subject: RADIUS with LDAP authentication -- problems - rlm_ldap > > > > > > > > > Hi, I want to make radius authentification with ldap. > > I working under linux mandrake 9.0, freeradius and openldap-2.1.21 > > I modified radiusd.conf file like this: > > -- > ldap { > server = "127.0.0.1" > identity = "cn=Manager,dc=prism,dc=fr" > password = nobodys > basedn = "dc=prism,dc=fr" > filter = "(&(objectclass=posixAccount)(uid=%u))" > start_tls = no > tls_mode = no > ldap_connections_number = 5 > groupname_attribute = cn > groupmembership_filter = > > "(|(&(objectClass=GroupOfNames)(member=%{Ldap-UserDn}))(&(objectClass=GroupOfUniqueNames)(uniquemember=%{Ldap-UserDn})))" > timeout = 4 > timelimit = 3 > net_timeout = 1 > } > > > > authenticate { > # pam > # unix > > # Uncomment it if you want to use ldap for authentication > authtype LDAP { > ldap > } > } > > but i have this error: > > read_config_files: entering modules setup > Module: Library search path is /usr/local/lib > radiusd.conf[636] Failed to link to module 'rlm_ldap': rlm_ldap.so: > cannot open shared object > file: No such file or directory > > --- > > > > I do not have this file "rlm_ldap.so', how I make to create it? > > Regards > > Octavio > > > > > - > > > > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: RADIUS with LDAP authentication -- problems - rlm_ldap
Make sure you're using FreeRadius 0.9 at least. Best bet is to use latest version from CVS snapshot. Had this problem with mysql. You wrote: > Install ldap (such as www.openldap.org) > Use these if you install somewhere funky > --with-rlm-ldap-include-dir=/path/to/ldap/include > --with-rlm-ldap-lib-dir=/path/to/ldap/lib > -Original Message- > From: Octavio Ramirez Rojas [mailto[EMAIL > PROTECTED] > Sent: Tuesday, August 05, 2003 9:24 AM > To: [EMAIL PROTECTED] > Subject: RADIUS with LDAP authentication -- problems - rlm_ldap > Hi, I want to make radius authentification with ldap. > > I working under linux mandrake 9.0, freeradius and openldap-2.1.21 > > I modified radiusd.conf file like this: > > -- > ldap { > server = "127.0.0.1" > identity = "cn=Manager,dc=prism,dc=fr" > password = nobodys > basedn = "dc=prism,dc=fr" > filter = "(&(objectclass=posixAccount)(uid=%u))" > start_tls = no > tls_mode = no > ldap_connections_number = 5 > groupname_attribute = cn > groupmembership_filter = > "(|(&(objectClass=GroupOfNames)(member=%{Ldap-UserDn}))(&(objectClass=GroupOfUn > iqueNames)(uniquemember=%{Ldap-UserDn})))" > timeout = 4 > timelimit = 3 > net_timeout = 1 > } > > > > authenticate { > # pam > # unix > > # Uncomment it if you want to use ldap for authentication > authtype LDAP { > ldap > } > } > > but i have this error: > read_config_files: entering modules setup > Module: Library search path is /usr/local/lib > radiusd.conf[636] Failed to link to module 'rlm_ldap': rlm_ldap.so: > cannot open shared object > file: No such file or directory > --- > > > I do not have this file "rlm_ldap.so', how I make to create it? > > Regards > > Octavio > > > > > - > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html --
Re: RADIUS with LDAP authentication -- problems
you have exrp for use in radiusd.lconf but have no entry for the module in the same file... On Tue, 2003-08-05 at 08:09, Octavio Ramirez Rojas wrote: > > Hi, I want to make radius authentification with ldap. > > I working under linux mandrake 9.0, freeradius and openldap-2.1.21 > > I modified radiusd.conf file like this: > > -- > ldap { > server = "127.0.0.1" > identity = "cn=Manager,dc=prism,dc=fr" > password = nobodys > basedn = "dc=prism,dc=fr" > filter = "(&(objectclass=posixAccount)(uid=%u))" > start_tls = no > tls_mode = no > ldap_connections_number = 5 > groupname_attribute = cn > groupmembership_filter = > "(|(&(objectClass=GroupOfNames)(member=%{Ldap-UserDn}))(&(objectClass=GroupOfUniqueNames)(uniquemember=%{Ldap-UserDn})))" > timeout = 4 > timelimit = 3 > net_timeout = 1 > } > > # The 'expression' module current has no configuration. > # > expr { > } > > > > instantiate { > expr > } > > > authenticate { > # pam > # unix > > # Uncomment it if you want to use ldap for authentication > authtype LDAP { > ldap > } > } > > > > > > > > > but i have this error: > > > > [EMAIL PROTECTED] freeradius-snapshot-20021028]# run-radiusd -X -A > + LD_LIBRARY_PATH=/usr/local/openssl/lib > + LD_PRELOAD=/usr/local/openssl-SNAP-20021027/libcrypto.so > + export LD_LIBRARY_PATH LD_PRELOAD > + /usr/local/sbin/radiusd -X -A > Starting - reading configuration files ... > reread_config: reading radiusd.conf > Config: including file: /etc/raddb/proxy.conf > Config: including file: /etc/raddb/clients.conf > Config: including file: /etc/raddb/snmp.conf > main: prefix = "/usr/local" > main: localstatedir = "/usr/local/var" > main: logdir = "/usr/local/var/log/radius" > main: libdir = "/usr/local/lib" > main: radacctdir = "/usr/local/var/log/radius/radacct" > main: hostname_lookups = no > read_config_files: reading dictionary > read_config_files: reading naslist > read_config_files: reading clients > read_config_files: reading realms > main: max_request_time = 30 > main: cleanup_delay = 5 > main: max_requests = 1024 > main: delete_blocked_requests = 0 > main: port = 1812 > main: allow_core_dumps = no > main: log_stripped_names = no > main: log_file = "/usr/local/var/log/radius/radius.log" > main: log_auth = yes > main: log_auth_badpass = no > main: log_auth_goodpass = no > main: pidfile = "/usr/local/var/run/radiusd/radiusd.pid" > main: user = "(null)" > main: group = "(null)" > main: usercollide = no > main: lower_user = "no" > main: lower_pass = "no" > main: nospace_user = "no" > main: nospace_pass = "no" > main: checkrad = "/usr/local/sbin/checkrad" > main: proxy_requests = no > proxy: retry_delay = 5 > proxy: retry_count = 3 > proxy: synchronous = no > proxy: default_fallback = yes > proxy: dead_time = 120 > proxy: servers_per_realm = 15 > security: max_attributes = 200 > security: reject_delay = 1 > main: debug_level = 0 > read_config_files: entering modules setup > Module: Library search path is /usr/local/lib > ERROR: Cannot find a configuration entry for module "expr". > [EMAIL PROTECTED] freeradius-snapshot-20021028]# run-radiusd -X -A > + LD_LIBRARY_PATH=/usr/local/openssl/lib > + LD_PRELOAD=/usr/local/openssl-SNAP-20021027/libcrypto.so > + export LD_LIBRARY_PATH LD_PRELOAD > + /usr/local/sbin/radiusd -X -A > Starting - reading configuration files ... > reread_config: reading radiusd.conf > Config: including file: /etc/raddb/proxy.conf > Config: including file: /etc/raddb/clients.conf > Config: including file: /etc/raddb/snmp.conf > main: prefix = "/usr/local" > main: localstatedir = "/usr/local/var" > main: logdir = "/usr/local/var/log/radius" > main: libdir = "/usr/local/lib" > main: radacctdir = "/usr/local/var/log/radius/radacct" > main: hostname_lookups = no > read_config_files: reading dictionary > read_config_files: reading naslist > read_config_files: reading clients > read_config_files: reading realms > main: max_request_time = 30 > main: cleanup_delay = 5 > main: max_requests = 1024 > main: delete_blocked_requests = 0 > main: port = 1812 > main: allow_core_dumps = no > main: log_stripped_names = no > main: log_file = "/usr/local/var/log/radius/radius.log" > main: log_auth = yes > main: log_auth_badpass = no > main: log_auth_goodpass = no > main: pidfile = "/usr/local/var/run/radiusd/radiusd.pid" > main: user = "(null)" > main: group = "(null)" > main: usercollide = no > main: lower_user = "no" > main: lower_pass = "no" > main: nospace_user = "no" > main: nospace_pass = "no" > main: checkrad = "/usr/local/sbin/checkrad" > main: proxy_requests = no > proxy: retry_delay = 5 > proxy: retry_coun
Re: RADIUS with LDAP authentication -- problems - rlm_ldap
Octavio May be you didnt tell to the configure script where to locate the include and libs of the ldap sdk... see ./configure --help On Tue, 2003-08-05 at 09:24, Octavio Ramirez Rojas wrote: > > > > > > Hi, I want to make radius authentification with ldap. > > I working under linux mandrake 9.0, freeradius and openldap-2.1.21 > > I modified radiusd.conf file like this: > > -- > ldap { > server = "127.0.0.1" > identity = "cn=Manager,dc=prism,dc=fr" > password = nobodys > basedn = "dc=prism,dc=fr" > filter = "(&(objectclass=posixAccount)(uid=%u))" > start_tls = no > tls_mode = no > ldap_connections_number = 5 > groupname_attribute = cn > groupmembership_filter = > > "(|(&(objectClass=GroupOfNames)(member=%{Ldap-UserDn}))(&(objectClass=GroupOfUniqueNames)(uniquemember=%{Ldap-UserDn})))" > timeout = 4 > timelimit = 3 > net_timeout = 1 > } > > > > authenticate { > # pam > # unix > > # Uncomment it if you want to use ldap for authentication > authtype LDAP { > ldap > } > } > > but i have this error: > > read_config_files: entering modules setup > Module: Library search path is /usr/local/lib > radiusd.conf[636] Failed to link to module 'rlm_ldap': rlm_ldap.so: > cannot open shared object > file: No such file or directory > > --- > > > > I do not have this file "rlm_ldap.so', how I make to create it? > > Regards > > Octavio > > > > > - > > > > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -- Gustavo A. Lozano Noldata Corporation [EMAIL PROTECTED] Calle 46 No. 40-19 CTO Bogota D.C. Colombia Noldata Corporation http://noldata.com I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones. Albert Einstein - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RADIUS with LDAP authentication -- problems
Hi, I want to make radius authentification with ldap. I working under linux mandrake 9.0, freeradius and openldap-2.1.21 I modified radiusd.conf file like this: -- ldap { server = "127.0.0.1" identity = "cn=Manager,dc=prism,dc=fr" password = nobodys basedn = "dc=prism,dc=fr" filter = "(&(objectclass=posixAccount)(uid=%u))" start_tls = no tls_mode = no ldap_connections_number = 5 groupname_attribute = cn groupmembership_filter = "(|(&(objectClass=GroupOfNames)(member=%{Ldap-UserDn}))(&(objectClass=GroupOfUniqueNames)(uniquemember=%{Ldap-UserDn})))" timeout = 4 timelimit = 3 net_timeout = 1 } # The 'expression' module current has no configuration. # expr { } instantiate { expr } authenticate { # pam # unix # Uncomment it if you want to use ldap for authentication authtype LDAP { ldap } } but i have this error: [EMAIL PROTECTED] freeradius-snapshot-20021028]# run-radiusd -X -A + LD_LIBRARY_PATH=/usr/local/openssl/lib + LD_PRELOAD=/usr/local/openssl-SNAP-20021027/libcrypto.so + export LD_LIBRARY_PATH LD_PRELOAD + /usr/local/sbin/radiusd -X -A Starting - reading configuration files ... reread_config: reading radiusd.conf Config: including file: /etc/raddb/proxy.conf Config: including file: /etc/raddb/clients.conf Config: including file: /etc/raddb/snmp.conf main: prefix = "/usr/local" main: localstatedir = "/usr/local/var" main: logdir = "/usr/local/var/log/radius" main: libdir = "/usr/local/lib" main: radacctdir = "/usr/local/var/log/radius/radacct" main: hostname_lookups = no read_config_files: reading dictionary read_config_files: reading naslist read_config_files: reading clients read_config_files: reading realms main: max_request_time = 30 main: cleanup_delay = 5 main: max_requests = 1024 main: delete_blocked_requests = 0 main: port = 1812 main: allow_core_dumps = no main: log_stripped_names = no main: log_file = "/usr/local/var/log/radius/radius.log" main: log_auth = yes main: log_auth_badpass = no main: log_auth_goodpass = no main: pidfile = "/usr/local/var/run/radiusd/radiusd.pid" main: user = "(null)" main: group = "(null)" main: usercollide = no main: lower_user = "no" main: lower_pass = "no" main: nospace_user = "no" main: nospace_pass = "no" main: checkrad = "/usr/local/sbin/checkrad" main: proxy_requests = no proxy: retry_delay = 5 proxy: retry_count = 3 proxy: synchronous = no proxy: default_fallback = yes proxy: dead_time = 120 proxy: servers_per_realm = 15 security: max_attributes = 200 security: reject_delay = 1 main: debug_level = 0 read_config_files: entering modules setup Module: Library search path is /usr/local/lib ERROR: Cannot find a configuration entry for module "expr". [EMAIL PROTECTED] freeradius-snapshot-20021028]# run-radiusd -X -A + LD_LIBRARY_PATH=/usr/local/openssl/lib + LD_PRELOAD=/usr/local/openssl-SNAP-20021027/libcrypto.so + export LD_LIBRARY_PATH LD_PRELOAD + /usr/local/sbin/radiusd -X -A Starting - reading configuration files ... reread_config: reading radiusd.conf Config: including file: /etc/raddb/proxy.conf Config: including file: /etc/raddb/clients.conf Config: including file: /etc/raddb/snmp.conf main: prefix = "/usr/local" main: localstatedir = "/usr/local/var" main: logdir = "/usr/local/var/log/radius" main: libdir = "/usr/local/lib" main: radacctdir = "/usr/local/var/log/radius/radacct" main: hostname_lookups = no read_config_files: reading dictionary read_config_files: reading naslist read_config_files: reading clients read_config_files: reading realms main: max_request_time = 30 main: cleanup_delay = 5 main: max_requests = 1024 main: delete_blocked_requests = 0 main: port = 1812 main: allow_core_dumps = no main: log_stripped_names = no main: log_file = "/usr/local/var/log/radius/radius.log" main: log_auth = yes main: log_auth_badpass = no main: log_auth_goodpass = no main: pidfile = "/usr/local/var/run/radiusd/radiusd.pid" main: user = "(null)" main: group = "(null)" main: usercollide = no main: lower_user = "no" main: lower_pass = "no" main: nospace_user = "no" main: nospace_pass = "no" main: checkrad = "/usr/local/sbin/checkrad" main: proxy_requests = no proxy: retry_delay = 5 proxy: retry_count = 3 proxy: synchronous = no proxy: default_fallback = yes proxy: dead_time = 120 proxy: servers_per_realm = 15 security: max_attributes = 200 security: reject_delay = 1 main: debug_level = 0 read_config_files: entering modules setup Module: Library search path is /usr/local/lib ERROR: Cannot find a configuration entry for module "expr". Any idea? Regards Octavio - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users
RADIUS with LDAP authentication -- problems - rlm_ldap
Hi, I want to make radius authentification with ldap. I working under linux mandrake 9.0, freeradius and openldap-2.1.21 I modified radiusd.conf file like this: -- ldap { server = "127.0.0.1" identity = "cn=Manager,dc=prism,dc=fr" password = nobodys basedn = "dc=prism,dc=fr" filter = "(&(objectclass=posixAccount)(uid=%u))" start_tls = no tls_mode = no ldap_connections_number = 5 groupname_attribute = cn groupmembership_filter = "(|(&(objectClass=GroupOfNames)(member=%{Ldap-UserDn}))(&(objectClass=GroupOfUniqueNames)(uniquemember=%{Ldap-UserDn})))" timeout = 4 timelimit = 3 net_timeout = 1 } authenticate { # pam # unix # Uncomment it if you want to use ldap for authentication authtype LDAP { ldap } } but i have this error: read_config_files: entering modules setup Module: Library search path is /usr/local/lib radiusd.conf[636] Failed to link to module 'rlm_ldap': rlm_ldap.so: cannot open shared object file: No such file or directory --- I do not have this file "rlm_ldap.so', how I make to create it? Regards Octavio - - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: RADIUS with LDAP authentication -- problems - rlm_ldap
Install ldap (such as www.openldap.org) Use these if you install somewhere funky --with-rlm-ldap-include-dir=/path/to/ldap/include --with-rlm-ldap-lib-dir=/path/to/ldap/lib -Original Message- From: Octavio Ramirez Rojas [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 9:24 AM To: [EMAIL PROTECTED] Subject: RADIUS with LDAP authentication -- problems - rlm_ldap Hi, I want to make radius authentification with ldap. I working under linux mandrake 9.0, freeradius and openldap-2.1.21 I modified radiusd.conf file like this: -- ldap { server = "127.0.0.1" identity = "cn=Manager,dc=prism,dc=fr" password = nobodys basedn = "dc=prism,dc=fr" filter = "(&(objectclass=posixAccount)(uid=%u))" start_tls = no tls_mode = no ldap_connections_number = 5 groupname_attribute = cn groupmembership_filter = "(|(&(objectClass=GroupOfNames)(member=%{Ldap-UserDn}))(&(objectClass=GroupOfUniqueNames)(uniquemember=%{Ldap-UserDn})))" timeout = 4 timelimit = 3 net_timeout = 1 } authenticate { # pam # unix # Uncomment it if you want to use ldap for authentication authtype LDAP { ldap } } but i have this error: read_config_files: entering modules setup Module: Library search path is /usr/local/lib radiusd.conf[636] Failed to link to module 'rlm_ldap': rlm_ldap.so: cannot open shared object file: No such file or directory --- I do not have this file "rlm_ldap.so', how I make to create it? Regards Octavio - - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html