Fantastic...I'll give it a go tomorrow (time permitting), thanks!

 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Craig Small
Sent: Wednesday, April 14, 2004 6:57 PM
To: Clayton Dukes
Cc: [EMAIL PROTECTED]
Subject: Re: [jffnms-users] Running

On Wed, Apr 14, 2004 at 05:42:37PM -0400, Clayton Dukes wrote:
> One question -- have you put any thought into enabling the use of LDAP 
> login auth to the interface?

As Javier said, I've put a patch in that does this.  If you're up to
patching the system yourself I've included it.  You will definitely need to
change the ldap_bind line and most likely the ldap_connect line; ldapi:///
means use the Unix socket and not TCP connection.  Makes things run faster.

All it does is attempt to bind to the ldap server as that user using
the normal password.   It's pretty cool because now our Unix servers,
routers, switches and NMS (including nagios) all have a single login.
The NT servers have to be different, but you'd expect that from Microsoft.

The patch is rough and ready.  For example there is no way within JFFNMS to
turn on and off if a user is in LDAP or not.  You will also need to adjust
the auth table.
ALTER TABLE auth ADD COLUMN ldap tinyint(1) NOT NULL default '1';

change to default '0' if you want your users to not use ldap by default.

  - Craig

-- 
Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.enc.com.au/   MIEE         Debian developer
csmall at : enc.com.au                      ieee.org           debian.org


!DSPAM:407dc096221961699813120!




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
jffnms-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to