brake-up Advanced Search web-page
We have put description on many of our swichports, and we want to search on portname. The only way to do this (so fare I can see) is to go to Home > Report
Switchports and then click on the Advance Search. But on this page you'll have to scrool sideways pretty long before you find the portname-field
I know we can customize our Navigation preferences, but it would be better to brake-up this page The best thing would be a field-search in the /report -page Something like this maybe Reports IP Device Center Room search Device search Switchports w/vlan Portname Thats only a suggestion Peder Sefland
From Vegard.Vesterheim at uninett.no Fri Mar 4 13:29:24 2005 From: Vegard.Vesterheim at uninett.no (Vegard Vesterheim) Date: Fri Mar 4 13:29:31 2005 Subject: [Nav-users] External authentication in NAV Message-ID: <tkvf87iogr.fsf@voll.uninett.no>
Are there any possibilities to use an external authentication mechanism in NAV. In UNINETT, we are looking at so-called single-sign-on solutions for web applications. In our setup, the authentication process can be performed by the web server, not by the web applications. We have implemented this by hooking custom authentication methods into the Apache request cycle. So, in principle it should be sufficient for NAV to lookup the authenticated username from the Apache request record, and use that as a indication of successfull authentication. The NAV webfrontend should be able to go like this: "oh, I see that the user is already authenticated, so I'll just let him in". I realize that in order for authorization to be performed correctly, the user must probably be registered in NAV as well, but this is another issue altogether. My main interest is avoiding the extra username/password dialog in NAV. In case anyone is wondering about relations with the FEIDE project: This is only partly related to FEIDE, the issue should be of general interest. -- Vegard Vesterheim : Phone: +47 73 55 79 12 UNINETT : Fax: +47 73 55 79 01 N-7465 Trondheim, NORWAY : Email: Vegard.Vesterheim@uninett.no
From bjorn.grotan at itea.ntnu.no Fri Mar 4 14:30:32 2005 From: bjorn.grotan at itea.ntnu.no (Bjorn Ove Grotan) Date: Fri Mar 4 14:30:33 2005 Subject: [Nav-users] External authentication in NAV In-Reply-To: <tkvf87iogr.fsf@voll.uninett.no> References: <tkvf87iogr.fsf@voll.uninett.no> Message-ID: <20050304133031.GA10959@itea.ntnu.no>
Vegard Vesterheim:
Are there any possibilities to use an external authentication mechanism in NAV. In UNINETT, we are looking at so-called single-sign-on solutions for web applications. In our setup, the authentication process can be performed by the web server, not by the web applications. We have implemented this by hooking custom authentication methods into the Apache request cycle.
Authentication is handled by subsystem/webFront/lib/nav/web/auth.py and likewize with authorization: subsystem/lib-python/src/nav/auth.py The authenticationmodule is initiated from subsystem/webFront/lib/nav/web/__init__.py in function headerparserhandler. There's a file ldapAuth.py for example on how to use ldap as external source of authentication. We used this internally for testing for a while, but had to let it go because of broken openssl/openldap in RedHat Linux. I don't remember the specifics anymore, but I think we added some functionality to first try ldap, then local database if ldapAuth was used.. maybe someone else can comment on this?
I realize that in order for authorization to be performed correctly, the user must probably be registered in NAV as well, but this is another issue altogether. My main interest is avoiding the extra username/password dialog in NAV.
The NAV userdatabase using ldapAuth mentioned above, also has a means for describing where the source of this user credentials come from, so you can have - say all your organization in ldap where they update their passwords in ldap - and store external users and testusers inside the NAV database.
In case anyone is wondering about relations with the FEIDE project: This is only partly related to FEIDE, the issue should be of general interest.
I was thinking of making python-bindings to Moria, but I haven't had the time yet. Not mainly for this system, but for similar use. -- Best regards Bj?rn Ove Gr?tan NTNU, ITEA
From bjorn.grotan at itea.ntnu.no Fri Mar 4 14:42:45 2005 From: bjorn.grotan at itea.ntnu.no (Bjorn Ove Grotan) Date: Fri Mar 4 14:42:47 2005 Subject: [Nav-users] External authentication in NAV In-Reply-To: <20050304133031.GA10959@itea.ntnu.no> References: <tkvf87iogr.fsf@voll.uninett.no> <20050304133031.GA10959@itea.ntnu.no> Message-ID: <20050304134245.GB10959@itea.ntnu.no>
Bjorn Ove Grotan:
There's a file ldapAuth.py for example on how to use ldap as external source of authentication. We used this internally for testing for a while, but had to let it go because of broken openssl/openldap in RedHat Linux.
I stand corrected.. we didn't throw ldap-authenticaion away or anything - it just didn't work with the standard openssl/openldap packages in RedHat 9, but its working with a current setup using SLES9. One of the reasons we let NAV do the external authentication on behalf of the user is because we have to cache credentials in NAV, if the external source of authentication is unavailable. -- Best regards Bj?rn Ove Gr?tan NTNU, ITEA
From valsbox at gmail.com Fri Mar 4 08:05:03 2005 From: valsbox at gmail.com (Valentin Miculit) Date: Fri Mar 4 15:05:17 2005 Subject: [Nav-users] install Message-ID: <2e5d75ca050304060554d9bff6@mail.gmail.com>
Hi everyone, I am new to Nav. just installed on a FreeBSD Machine 5.3 Got Python and Php to work with apache2 but when i want to run the py line in /nav here is what i get: Mod_python error: "PythonHeaderParserHandler nav.web" Traceback (most recent call last): File "/usr/local/lib/python2.4/site-packages/mod_python/apache.py", line 287, in HandlerDispatch log=debug) File "/usr/local/lib/python2.4/site-packages/mod_python/apache.py", line 454, in import_module f, p, d = imp.find_module(parts[i], path) ImportError: No module named nav Any help welcome. What am i missing? Thanx.
From Borge.Brunes at cc.uit.no Fri Mar 4 15:26:20 2005 From: Borge.Brunes at cc.uit.no (Borge Brunes) Date: Fri Mar 4 15:26:32 2005 Subject: [Nav-users] install In-Reply-To: Message from Valentin Miculit <valsbox@gmail.com> <2e5d75ca050304060554d9bff6@mail.gmail.com> Message-ID: <200503041426.j24EQKEf000984@duke.cc.uit.no>
valsbox@gmail.com said: [cut]
ImportError: No module named nav
Is your PYTHONPATH correct? I use PYTHONPATH=/usr/local/nav/lib/python in 5.3 and it works. BTW: Have you innstalled NAV from ports? regards, -- Borge Brunes, Computer Center, University of Tromso, Norway http://www.cc.uit.no/~borge/ | http://www.freebsd.org
participants (1)
-
peder.sefland@hivolda.no