Dear all, I posted this problem a week ago after searching in posted and solved emails like here ( http://www.mail-archive.com/search?q=rlm_ldap&l=freeradius-users@lists.cistr... ). I have already asked but the answers were not effective... Anyway, I d like to express my gratitude to those who have tried to read and respond to my problems ! So I m asking myself if : Using LDAP with freeradius is it something new or something? My problem is about the ldap library for freeradius (libldap which is needed by rlm_ldap) ... What should I do to install and configure it 'cause it's not in the freeradius-server package(I rebuilt it 5 times and I paid attention to the output? If I ll receive the same answers I received before then maybe the problem is in my operating system(CentOsV5.3) Thanks to all ... Best regards ... NB: I am fed up of this buuuuuuuuuuuuug! Neeed help! -- JJohnny RANDRIAMAMPIONONA Phone: +212663682554, +212533158575 National School of Applied Sciences ZIP 1818 TANGIER 90000 ---------Morocco ---------------
Hey, LIBLDAP is part of openldap, install the openldap libraries and headers then you will be able to compile rlm_ldap. If you already have it you'll have to post some more information so people help, but I am confident that is what you are missing. -Leigh Martell On Mon, Sep 28, 2009 at 12:32 AM, José Johnny RANDRIAMAMPIONONA < vasiana09@gmail.com> wrote:
Dear all, I posted this problem a week ago after searching in posted and solved emails like here ( http://www.mail-archive.com/search?q=rlm_ldap&l=freeradius-users@lists.cistr... ). I have already asked but the answers were not effective... Anyway, I d like to express my gratitude to those who have tried to read and respond to my problems ! So I m asking myself if : Using LDAP with freeradius is it something new or something? My problem is about the ldap library for freeradius (libldap which is needed by rlm_ldap) ... What should I do to install and configure it 'cause it's not in the freeradius-server package(I rebuilt it 5 times and I paid attention to the output? If I ll receive the same answers I received before then maybe the problem is in my operating system(CentOsV5.3)
Thanks to all ... Best regards ...
NB: I am fed up of this buuuuuuuuuuuuug! Neeed help!
-- JJohnny RANDRIAMAMPIONONA Phone: +212663682554, +212533158575 National School of Applied Sciences ZIP 1818 TANGIER 90000 ---------Morocco ---------------
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
José Johnny RANDRIAMAMPIONONA wrote:
I have already asked but the answers were not effective... Anyway, I d like to express my gratitude to those who have tried to read and respond to my problems ! So I m asking myself if : Using LDAP with freeradius is it something new or something?
You are not the first person to use ldap with FreeRADIUS.
My problem is about the ldap library for freeradius (libldap which is needed by rlm_ldap) ... What should I do to install and configure it 'cause it's not in the freeradius-server package(I rebuilt it 5 times and I paid attention to the output? If I ll receive the same answers I received before then maybe the problem is in my operating system(CentOsV5.3)
You can believe that FreeRADIUS is broken, and that everyone else using it on CentOS is lying. Or, you can believe that there's something misconfigured on your system. Alan DeKok.
09/28/2009 07:32 AM, José Johnny RANDRIAMAMPIONONA::
I posted this problem a week ago
I think the best thing is first not to setup from sources. Give a try to _packages_. they are pretty good for If your distribution does not include packages for that, then change distribution. :-) -- Architecte Informatique chez Blueline/Gulfsat: Administration Systeme, Recherche & Developpement +261 34 29 155 34
Hi, rlm_ldap doesnt work or cant compile? then you need to ensure that the required LDAP packages are installed on your distro. this is a distro/linux question and required such expertise and knowledge rather than a direct FreeRADIUS issue - to compiled FreeRADIUS with rlm_ldap you'll need 'openldap-devel' to be installed to run with LDAP stuff, you'll need 'openldap' to be installed yum install openldap-devel openldap ...if you built from source , you'll now need to blow away your made files and start again. (cd wherever-you-put-sources ; make clean ; ./configure ... )
not in the freeradius-server package(I rebuilt it 5 times and I paid attention to the output?
really? if so..and you didnt have the right development packages installed you'd have see a nice WARNING regarding LDAP
NB: I am fed up of this buuuuuuuuuuuuug! Neeed help!
its not a bug :-) alan
My problem is about the ldap library for freeradius (libldap which is needed by rlm_ldap) ... What should I do to install and configure it 'cause it's not in the freeradius-server package(I rebuilt it 5 times and I paid attention to the output?
No, ldap support is not included in basic package. Binary distributions have separate packages for ldap, sql etc. support. Look up something like freeradius-ldap.
If I ll receive the same answers I received before then maybe the problem is in my operating system(CentOsV5.3)
No, the problem is not the operating system but the fact that you don't know how to use it. Read this for starters: http://wiki.freeradius.org/Red_Hat_FAQ Ivan Kalik Kalik Informatika ISP
On 09/28/2009 12:32 AM, José Johnny RANDRIAMAMPIONONA wrote:
Dear all, I posted this problem a week ago after searching in posted and solved emails like here (http://www.mail-archive.com/search?q=rlm_ldap&l=freeradius-users@lists.cistr... <http://www.mail-archive.com/search?q=rlm_ldap&l=freeradius-users@lists.cistron.nl&start=40>). I have already asked but the answers were not effective... Anyway, I d like to express my gratitude to those who have tried to read and respond to my problems ! So I m asking myself if : Using LDAP with freeradius is it something new or something? My problem is about the ldap library for freeradius (libldap which is needed by rlm_ldap) ... What should I do to install and configure it 'cause it's not in the freeradius-server package(I rebuilt it 5 times and I paid attention to the output? If I ll receive the same answers I received before then maybe the problem is in my operating system(CentOsV5.3)
Thanks to all ... Best regards ...
NB: I am fed up of this buuuuuuuuuuuuug! Neeed help!
This is *not a bug*. This is a lack of your understanding how open source tools work. In your original post you suggested the configure script should go out and install any missing libraries. This indicates you have a lack of understanding of how the tools work. This is the most likely reason people didn't respond to your first query. It's your responsibility to invest the time to learn this material. The FreeRADIUS list is not the place to learn how GNU autotools works, how packages are distributed, what build dependencies are, how they are resolved, etc. There are plenty of places on the web to learn this material. The FreeRADIUS list exits to help users configure and deploy FreeRADIUS, it presumes you come to the table with a set of prerequisite knowledge. Since you are using CentOS the information contained on this wiki would have been of great help to you, did you read it? http://wiki.freeradius.org/Red_Hat_FAQ It won't have answered all the information you need, but it would have helped you get started in the right direction. If you had read it you might also have learned you didn't need to go through the agony of trying to build FreeRADIUS yourself, you could have just installed the pre-built packages we've already provided. You would have also learned how using yum as the installer will guarantee prerequisite dependencies are resolved thus relieving you of yet another stumbling block. -- John Dennis <jdennis@redhat.com> Looking to carve out IT costs? www.redhat.com/carveoutcosts/
Hi all, my special gratitude to Leigh Martell, Alan DeKoK,Alan Buxey, RAKOTOMANDIMBY,Ivan Kalik ,John Dennis .and all the team! I solved the problem. I think It ll better to put it in a tutorial or something(I ll do it)! Best regards 2009/9/28 John Dennis <jdennis@redhat.com>
On 09/28/2009 12:32 AM, José Johnny RANDRIAMAMPIONONA wrote:
Dear all, I posted this problem a week ago after searching in posted and solved emails like here ( http://www.mail-archive.com/search?q=rlm_ldap&l=freeradius-users@lists.cistr... < http://www.mail-archive.com/search?q=rlm_ldap&l=freeradius-users@lists.cistr...
). I have already asked but the answers were not effective... Anyway, I d like to express my gratitude to those who have tried to read and respond to my problems ! So I m asking myself if : Using LDAP with freeradius is it something new or something? My problem is about the ldap library for freeradius (libldap which is needed by rlm_ldap) ... What should I do to install and configure it 'cause it's not in the freeradius-server package(I rebuilt it 5 times and I paid attention to the output? If I ll receive the same answers I received before then maybe the problem is in my operating system(CentOsV5.3)
Thanks to all ... Best regards ...
NB: I am fed up of this buuuuuuuuuuuuug! Neeed help!
This is *not a bug*. This is a lack of your understanding how open source tools work. In your original post you suggested the configure script should go out and install any missing libraries. This indicates you have a lack of understanding of how the tools work. This is the most likely reason people didn't respond to your first query. It's your responsibility to invest the time to learn this material. The FreeRADIUS list is not the place to learn how GNU autotools works, how packages are distributed, what build dependencies are, how they are resolved, etc. There are plenty of places on the web to learn this material. The FreeRADIUS list exits to help users configure and deploy FreeRADIUS, it presumes you come to the table with a set of prerequisite knowledge.
Since you are using CentOS the information contained on this wiki would have been of great help to you, did you read it?
http://wiki.freeradius.org/Red_Hat_FAQ
It won't have answered all the information you need, but it would have helped you get started in the right direction. If you had read it you might also have learned you didn't need to go through the agony of trying to build FreeRADIUS yourself, you could have just installed the pre-built packages we've already provided. You would have also learned how using yum as the installer will guarantee prerequisite dependencies are resolved thus relieving you of yet another stumbling block.
-- John Dennis <jdennis@redhat.com>
Looking to carve out IT costs? www.redhat.com/carveoutcosts/
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- JJohnny RANDRIAMAMPIONONA Phone: +212663682554, +212533158575 National School of Applied Sciences ZIP 1818 TANGIER 90000 ---------Morocco ---------------
09/30/2009 03:35 AM, José Johnny RANDRIAMAMPIONONA:
I solved the problem. I think It ll better to put it in a tutorial or something(I ll do it)!
Please, yes. I inted to switch AUTH to LDAP and keep PGSQL for ACCT, your feedback is important to me. -- Architecte Informatique chez Blueline/Gulfsat: Administration Systeme, Recherche & Developpement +261 34 29 155 34
Hi Mihamina, It ll take a few days to me to finish the tuto(my training report with it) but if u want I can email it in your Inbox. Anyway, I had two big problems: - I worked on a "given" server and the running distribution is not really my favorite one. I thought that the server was up to date , I was wrong...And there are many others problems on it ...like unterminated process .. - I installed Freeradius using the .Tar.gz source - 'cause there was already a freeradius running and I was not authorized to remove it(clean) - The ldap server was been already ready before I came and I didn't have any authorization to write or read on it(so I had to use illegal things to understand what was going on in my network) I followed the following steps to solve the problems(generally): - I remove smartly all redundancy things in my system (like freeradius, postg, dialupadmin, etcc ) - I killed all running process or ended it which are in relation with freeradius or something - I reinstall freeradius using the faq - I reinstall all freeradius2-blabla things ...twice. - I checked all modules, and the missing lbildap file : All correct! - I configure /module/ldap, site-enabled/default and commented all useless things like ms-chap (for the test) after debugging the server and doing the test with the user-file ----> all correct now! I am configuring the postgres server for accounting right now(it doesn't work !! ) Best regards 2009/9/30 Rakotomandimby Mihamina <mihamina@gulfsat.mg>
09/30/2009 03:35 AM, José Johnny RANDRIAMAMPIONONA:
I solved the problem. I think It ll better to put it in a tutorial or something(I ll do it)!
Please, yes. I inted to switch AUTH to LDAP and keep PGSQL for ACCT, your feedback is important to me.
-- Architecte Informatique chez Blueline/Gulfsat: Administration Systeme, Recherche & Developpement +261 34 29 155 34 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- JJohnny RANDRIAMAMPIONONA Phone: +212663682554, +212533158575 National School of Applied Sciences ZIP 1818 TANGIER 90000 ---------Morocco ---------------
On 09/29/2009 08:35 PM, José Johnny RANDRIAMAMPIONONA wrote:
I think It ll better to put it in a tutorial or something(I ll do it)!
Good documentation is always appreciated and something we need more of. Documentation contributions will be greatly appreciated. Because it's vital documentation be correct I'd like to suggest the process include posting the proposed documentation to this list for peer review. -- John Dennis <jdennis@redhat.com> Looking to carve out IT costs? www.redhat.com/carveoutcosts/
participants (7)
-
Alan Buxey -
Alan DeKok -
Ivan Kalik -
John Dennis -
José Johnny RANDRIAMAMPIONONA -
Leigh Martell -
Rakotomandimby Mihamina