Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-10-2006, 03:53 AM
|
#1
|
LQ Newbie
Registered: May 2006
Posts: 3
Rep:
|
Web authentication with PHP on an AD
Hi all, I am a new user.
First of all, excuse my English: I am Italian.
I have a question I have searched for a long and I hope you can help me about... I also searched in these forums: I found something similiar but it was not useful to me...
I work in an authority where a huge windows net is on.
Being very fond of opensource world, I retrieved an old computer and installed Slackware 10.2 on it with the purpose of making a web server.
So we have an intranet site finely working on it running with php-mysql: also authentication for restricted areas is done by means of mysql...
But now there is the need to authenticate on it using the single-sign-on on Active Directory being effective in our net...
I thought it was a simple thing, but...
Slackware installation of php is evidently missing ldap extensions: I tried to install OpenLdap, but I didn't manage to make it work with php.
Should I install something like a php-ldap extension? Or what?
Thank you in advance,
nino
|
|
|
05-10-2006, 07:00 AM
|
#2
|
Member
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795
Rep:
|
Download PHP and manually configure it to include the ldap extensions. ./configure --help will give you all the possible flags.
|
|
|
05-10-2006, 07:02 AM
|
#3
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
LDAP support is present in Slackware-current.
You could either download and install the slackware-current package sets, or just download the sources and build scripts that you need from -current. Do not download and install the binary slackware-current packages for use on your slackware 10.2 computer!.
I'd get at least the sources for the openldap-client, pine and php packages, and then compile Slackware packages from those on your Slackware 10.2 computer. Maybe you'll need more, I can't predict that. First build and install openldap-client, then build, not install pine and finally build and install pphp.
If you decide to download and use the slackware-current SlackBuild scripts for those packages, you will have to edit the scripts, look for the string "-mtune" and change that into "-mcpu" or else you will just get compiler errors on Slackware 10.2.
Eric
|
|
|
05-10-2006, 08:17 AM
|
#4
|
LQ Newbie
Registered: May 2006
Posts: 3
Original Poster
Rep:
|
Quote:
Originally Posted by mdarby
Download PHP and manually configure it to include the ldap extensions. ./configure --help will give you all the possible flags.
|
Yes, I just yesterday tried like that (php 4.4.2), but I went in trouble with mysql... Maybe I should install a fitting release of mysql too...
Thank you.
Quote:
Originally Posted by Alien Bob
LDAP support is present in Slackware-current...
|
Very well, I am going to try...
Thank you.
Bye,
nino
|
|
|
05-10-2006, 08:42 AM
|
#5
|
LQ Newbie
Registered: May 2006
Posts: 3
Original Poster
Rep:
|
Quote:
Originally Posted by Alien Bob
... Do not download and install the binary slackware-current packages for use on your slackware 10.2 computer!.
...
|
And if I upgrade GCC first?
Can I install binaries then?
Thank you,
nino
|
|
|
All times are GMT -5. The time now is 12:04 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|