- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Small problem with LDAP-UX and Windows AD - ro...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-14-2011 05:26 AM
тАО03-14-2011 05:26 AM
Small problem with LDAP-UX and Windows AD - root-login not possible if AD is unavailable
We are, with great success actually, using LDAP-UX-client to authenticate against Windows AD, for login...which works very nicely.
However...if the network is not working, or for some reason the AD-servers are not available, we can't log onto the servers, not even as root on the console.
For HP Server the feature "offline caching" can be used, but is not available for AD-integration. Thats not an option then.
But how do we do it then? Some kind of timeout-setting?
Would very much appreciate your help.
Thanks
Danny Petterson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-14-2011 06:22 AM
тАО03-14-2011 06:22 AM
Re: Small problem with LDAP-UX and Windows AD - root-login not possible if AD is unavailable
root needs to not authenticate via ADS.
nsswitch.conf should have login do files before ADS and root neesd to not authenticate via windows.
You can have a root user in windows and let root do things such as write logs to windows shares, but full integration is a bad idea and is not recommended by experienced systems administrators.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-14-2011 06:37 AM
тАО03-14-2011 06:37 AM
Re: Small problem with LDAP-UX and Windows AD - root-login not possible if AD is unavailable
I realized my earlier post could be confusing:
From /etc/nsswitch.conf
passwd: files ldap
group: files ldap
This will cause authentication to go to files first, which will avoid the issue you are running into.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-14-2011 12:11 PM
тАО03-14-2011 12:11 PM
Re: Small problem with LDAP-UX and Windows AD - root-login not possible if AD is unavailable
Thanks a log for your answer.
Maybe my mail was a bit short, sorry.
First of all, root is of course a local user, and nsswitch.conf does look like the one you showed me. However, same problem though.
I do wonder is anything like this would do a difference?
passwd: files [SUCCESS=return] ldap
Again, thank you very much for your time.
Greetings from
Danny Petterson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2011 01:24 AM
тАО03-15-2011 01:24 AM
Re: Small problem with LDAP-UX and Windows AD - root-login not possible if AD is unavailable
I have a similar situation on one of my test systems and I solved it like this:
nsswitch.conf has:
passwd: files ldap
group: files ldap
pam.conf has:
# Authentication management
#
login auth required libpam_hpsec.so.1
login auth required libpam_updbe.so.1
login auth sufficient libpam_krb5.so.1
login auth required libpam_unix.so.1
Mind: this lists libpam_updbe and this primciple lets you make exceptions for specific users like root.
The file pam_user.conf gives you the opportunity to specify which users and how they should be authenticated:
in my case:
root auth libpam_krb5.so.1 ignore
root auth Libpam_unix.so.1 try_first_pass
I hope this helps out.
Hans Hosang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2011 06:27 AM
тАО03-29-2011 06:27 AM
Re: Small problem with LDAP-UX and Windows AD - root-login not possible if AD is unavailable
Thank you very much for your replies.
I did test your solution, however it did not change anything, it still ends up timing out before I can log onto the server.
It does look like the problem is more related to DNS, as if I change the retrans to something like 500, I can log onto the box from console, as root, even if the network is not accessable.
But I have learned a lot from this thread, again, thank you very much.
Yours
Danny