On Fri, 2 Sep 2005, Morten Vold wrote:
On 29/08/2005 13:11, Asbj?rn Pr?is uttered:
- LDAP auth
I'm trying to get authentication through LDAP to work. Login fails with error message "unable to make contact with the DLAP server". Logs on the LDAP server doest show anything (seems like the NAV box doesnt make any contact at all), and since I'm no python coder I havent been able to reverse-engeneer the code to figure things out. Are there any documentation on the LDAP auth part somewhere?
I assume you've entered the correct LDAP configuration in etc/webfront/webfront.conf, and that your LDAP server is in fact reachable from your NAV server? Does your LDAP server run on a non-standard port?
In retrospect, it's also clear that the LDAP authentication should be even more configurable, as the code makes a few assumptions about which attributes to use when binding to the LDAP server and to retrieve from the LDAP user objects.
Hello again. I finally made it work. UIOs ldap server doesn't accept uncrypted connections when authenticating a user/password. So after alot of testing it worked when openldap knew where to find the correct certificate.
One problem occured though. If a person is hidden in the ldap-tree, the login-page return this error : --- snip --- Mod_python error: "PythonHandler mod_python.publisher"
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 299, in HandlerDispatch result = object(req)
File "/usr/lib/python2.3/site-packages/mod_python/publisher.py", line 136, in handler result = util.apply_fs_data(object, req.form, req=req)
File "/usr/lib/python2.3/site-packages/mod_python/util.py", line 361, in apply_fs_data return object(**args)
File "/usr/local/nav/apache/webroot/index.py", line 136, in login fullName = ldapAuth.getUserName(login)
File "/usr/local/nav/lib/python/nav/web/ldapAuth.py", line 97, in getUserName record = res[0][1] --- /snip ---
-Asbj?rn-
From morten.vold at ntnu.no Fri Sep 16 17:19:47 2005
From: morten.vold at ntnu.no (Morten Vold) Date: Fri Sep 16 16:19:54 2005 Subject: [Nav-users] Release-notice: NAV 3.0.0 :-)) Message-ID: 432AD483.40701@ntnu.no
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
NAV 3.0.0 is now finally available for download at http://metanav.ntnu.no/ :-)
CHANGES ======= Version 3.0.0 (released 16 September 2005)
Improvements:
* Fixed a bug in maintengine which prevented it from doing it's job when the database was busy/overloaded.
* Fixed a bug in the integration between Alert Profiles (PHP) and the Cheetah templating system (Python), which would cause the Alert Profiles web interface to act up.
* Character coding information added to all NAV-original Python programs.
* Fixed a bug which cleared a user's password if the account editing form of Useradmin was submitted without changes.
* NetworkDiscovery now only checks for closed vlans on active ports.
* Fixed a NullPointerException in getDeviceData.
* Fixed various problems with Cisco module/submodule translation in getDeviceData.
* Fixed a AlertEngine/getDeviceData combination bug which caused AlertEngine to log loads of long error messages on events that lacked an alerttype suggestion.
* New option to have AlertEngine log error messages to a separate error log.
* AlertEngine now sends error alerts if an alerttype has no configured subject line in alertmsg.conf.
* Added report shortcut to search for strings in prefix-netident (added to the front.html config file)
* Added link from Report to the previously hidden feature "service matrix" of the IP Device Center (added to the front.html config file)
- -- Morten Vold NTNU ITEA Integrasjonsgruppen
From roger.aas at hsh.no Sun Sep 18 03:56:55 2005
From: roger.aas at hsh.no (Roger Aas) Date: Sun Sep 18 02:57:03 2005 Subject: [Nav-users] NAV installation guide for Red Hat Enterprise Linux 4 changed to 3.0.0 release version Message-ID: 432CBB57.7030900@hsh.no
I have edited the step-by-step installation guide for NAV on Red Hat Enterprise Linux 4 to cover the 3.0.0 release version. You can find it here:
http://metanav.ntnu.no/moin.cgi/InstallingOnRHEL4
Please give me feedback when you find errors or omissions so I can fix them. Or if you just want to comment it... :-)
I hope this can be of help for someone.
Regards, Roger