[brlug-general] New LAMP server

John Hebert johnahebert at yahoo.com
Wed Oct 11 12:49:48 CDT 2006


Crap. I meant "package(s)" instead of lib(s). Still re-acclimating my brain to the Linux way after too long a hiatus... :)

----- Original Message ----
From: John Hebert <johnahebert at yahoo.com>
To: general at brlug.net
Sent: Wednesday, October 11, 2006 12:41:54 PM
Subject: Re: [brlug-general] New LAMP server

I think Scott is right; it is mentioned in the wikimedia URL referenced earlier:

"Also, be sure to enable LDAP authentication within PHP. Make sure that
you have installed the necessary packages for your distro. Currently,
Mediawiki does not complain about missing LDAP support for PHP - it
will just give you a blank screen after trying to log in."

Specifically, the "php-ldap" lib is needed, which I guess depends on the OpenLDAP client libs.

Joe, looks like you just need to 'apt-get install php-ldap' and do the steps mentioned in:
http://meta.wikimedia.org/wiki/LDAP_Authentication_Configuration_Examples#Configuration_for_an_AD_server

John Hebert

----- Original Message ----
From: Scott Harney <scotth at scottharney.com>
To: general at brlug.net
Sent: Wednesday, October 11, 2006 12:26:21 PM
Subject: Re: [brlug-general] New LAMP server




  

John Hebert wrote:

  
  
  Andrew,

  

  I don't think Joe needs to install OpenLDAP on his LAMP server,
as he will just be using client-side LDAP auth via PHP. See http://meta.wikimedia.org/wiki/LDAP_Authentication_Configuration_Examples#Introduction.
I think that's all he wants.

  

  


He still needs openldap client libraries installed to do this via the
php module.



I did this recently for TWiki authenticating of a Sun LDAP environment
using Apache Authenz:LDAP modules.  Once I got apache, the ldap module,
and openldap and all the dependencies compiled on solaris, setup was
relatively easy. (couldn't use native solaris ldap client libraries
with the apache module)








  
  

Joe, modifying PAM would be useful if you want local console logins on
your LAMP server to authenticate against AD. Good to know, but probably
overkill for what you need.

  

John Hebert

  

  -----
Original Message ----

From: Andrew Baudouin <andrewmb at gmail.com>

To: general at brlug.net

Sent: Wednesday, October 11, 2006 11:19:07 AM

Subject: Re: [brlug-general] New LAMP server

  

You will need to make sure openLDAP gets set up with kerberos and all
that good stuff.  

  

You can go as far as modifying PAM to authenticate against AD with the
above on first logins.  Gentoo has great guides for setting up the
above.
  

  

  http://gentoo-wiki.com/HOWTO_Adding_a_Samba_Server_into_an_existing_AD_Domain

  

  

  On 10/11/06, John Hebert <johnahebert at yahoo.com>
wrote:
  Hey,
I hear ya. We recently started using Linux for server stuff at my place
of employment which was exclusively a Windows-only shop and I'm the
Linux admin! So, no worries, mate. ;)

    

Like worms said, you could also use LDAP for authentication, but I
haven't messed around with doing that between a Linux app and a Windows
hosted AD, but from what I know, AD supports LDAP so somebody must have
solved that problem already.
    

    

Google returns lots of hits:

    http://www.google.com/search?q=ldap+authentication+active+directory

    

G'luck!

    

John Hebert
    

    

----- Original Message ----

From: Joe Fruchey <ignavia at gmail.com>

To: general at brlug.net

Sent: Wednesday, October 11, 2006 10:56:21 AM
    

Subject: Re: [brlug-general] New LAMP server

    

because I *want* to run it on Linux. That's all.

    

I don't know anything about AD or anything like that under Windows

either, though.

    

On 10/11/06, John Hebert <
    johnahebert at yahoo.com>
wrote:

> Ok, prepare for a little blasphemy...

>

> Why not just run it on a Windows box? *ducks*

>

> In any case, it _may_ be possible to interface with your AD using
Samba. You will need to test it of course.
    

>

> John Hebert

>

> ----- Original Message ----

> From: Joe Fruchey <ignavia at gmail.com>

> To: general at brlug.net
    

> Sent: Wednesday, October 11, 2006 10:27:33 AM

> Subject: Re: [brlug-general] New LAMP server

>

> Oh, I forgot the biggie...

>

> Would it be possible to get MediaWiki to interface with our
existing
    

> user database via ActiveDirectory (or something else?)

>

> On 10/11/06, worms <worm402 at gmail.com> wrote:

> > We're running Media Wiki here and it's caught on very well.
    

> > We document everything from build processes to infrastructure
there.

> >

> >

> >

> >

> > On 10/11/06, Mathew Branyon <mat.branyon at gmail.com
    > wrote:

> > > I doubt you would notice a difference in either machine.

> > >

> > > I have used ubuntu as a server (simply because I had
install disks lying

> > > around), and it is very easy to use.  I specifically set
up lamp with
    

> > > drupal (content management), which was very straight
forward.

> > >

> > > As far as books, I've always found that the online
documentation has

> > > always been more than adequate (and if all else fails,
look at gentoo's
    

> > > online documentation).

> > >

> > > --mat

> > >

> > >

> > > Joe Fruchey wrote:

> > > > Wow, I'm excited!

> > > >

> > > > At work, we have this crappy helpdesk web app that
hosts

> > > > text-file-based help documents. I set up MediaWiki
on my hosted server

> > > > and whipped up a few articles to pitch the idea to
my boss that we
    

> > > > really need something a lot more robust. He loved
it!

> > > >

> > > > Problem is, all our servers are pretty much in
constant use, so he'd

> > > > like to see a dedicated server for this purpose.
I've been trying to
    

> > > > get *something* to run Linux at this MS-loving
joint for years. Bingo!

> > > > LAMP server.

> > > >

> > > > I've been using desktop Linux for a while, but I've
never done any
    

> > server admin.

> > > >

> > > > What type of machine should I use? My choices are
pretty much limited

> > > > to a Dell Optiplex GX240 with a 2.6GHz P4 (and as
much RAM as I want)
    

> > > > or a PowerEdge 1400SC server with dual 1GHz P3s and
SCSI drives. The

> > > > sole purpose of this machine will be to run
MediaWiki, so which one

> > > > would perform better? (I'd rather use the GX240)
    

> > > >

> > > > I know most server installs don't bother with X.
But I was thinking...

> > > > I have this extra monitor on my desk, and I was
thinking about playing

> > > > around with Synergy through maybe a dumb
terminal... What do you
    

> > > > think?

> > > >

> > > > And the big question... What distro? I'm thinking
Ubuntu Server, just

> > > > 'cause I've heard It's easy to set up a LAMP server
on. Opinions
    

> > > > welcome.

> > > >

> > > > Book suggestions welcome as well, as I could
probably get work to buy

> > them! =)

> > > >

> > > > Wish me luck!
    

> > > >

> > > > Joe

> > > >

> > > > _______________________________________________

> > > > General mailing list

> > > > 
General at brlug.net

> > > > http://brlug.net/mailman/listinfo/general_brlug.net

> > > >

> > > >

> > >
    

> > > _______________________________________________

> > > General mailing list

> > > General at brlug.net

> > > 
http://brlug.net/mailman/listinfo/general_brlug.net

> > >

> >

> >

> > _______________________________________________

> > General mailing list

> > 
General at brlug.net

> > http://brlug.net/mailman/listinfo/general_brlug.net

> >

> >

> >

>

> _______________________________________________
    

> General mailing list

> General at brlug.net

> http://brlug.net/mailman/listinfo/general_brlug.net

>

>

>

>

>

>

> _______________________________________________

> General mailing list

> General at brlug.net

> 
http://brlug.net/mailman/listinfo/general_brlug.net

>

    

_______________________________________________

General mailing list

    General at brlug.net

    http://brlug.net/mailman/listinfo/general_brlug.net

    

    

    

    

    

    

_______________________________________________

General mailing list

    General at brlug.net

    http://brlug.net/mailman/listinfo/general_brlug.net

  
  

  

  _______________________________________________

General mailing list

General at brlug.net

  http://brlug.net/mailman/listinfo/general_brlug.net

  

  

  

  

  

  

  
_______________________________________________
General mailing list
General at brlug.net
http://brlug.net/mailman/listinfo/general_brlug.net
  



_______________________________________________
General mailing list
General at brlug.net
http://brlug.net/mailman/listinfo/general_brlug.net






_______________________________________________
General mailing list
General at brlug.net
http://brlug.net/mailman/listinfo/general_brlug.net






-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/general_brlug.net/attachments/20061011/4dc72de6/attachment.html 


More information about the General mailing list