- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to config PAM Kerberos in AD for multiple KDCs
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
Forums
Discussions
Discussions
Discussions
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
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
10-07-2008 02:31 PM
10-07-2008 02:31 PM
HP-UX 11.11 system here in an Active Directory environment. We're switching over to Kerberos authentication. It works great right now until we reboot the main domain controller. I've added both domain controllers to the krb5.conf file but there is a very long pause (about 3 minutes) before it times out and tries the secondary kdc. As you can see below, I've already set the only timeout value I could find on the man page down to two seconds but it didn't seem to make any difference.
Is there an undocumented timeout value that I could tweak to reduce the pause to something more reasonable?
krb5.conf file below:
default_realm = HARTWELLCORP.COM
default_tkt_enctypes = DES-CBC-MD5
default_tgs_enctypes = DES-CBC-MD5
ccache_type = 2
kpasswd_timeout = 2
[realms]
HARTWELLCORP.COM = {
kdc = hcdc.hartwellcorp.com:88
kdc = hcbu.hartwellcorp.com:88
admin_server = hcdc.hartwellcorp.com
}
[domain_realm]
.hartwellcorp.com = HARTWELLCORP.COM
[logging]
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmin.log
default = FILE:/var/log/krb5lib.log
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2008 02:41 PM
10-15-2008 02:41 PM
Re: How to config PAM Kerberos in AD for multiple KDCs
# uname -a
HP-UX atcux3 B.11.11 U 9000/800 1731243132 unlimited-user license
# swlist -l product | grep -i kerb
KRB-Support B.11.11 Kerberos Support for HP-UX and DCE
KRB5-Client B.11.11 Kerberos V5 Client Version 1.0
PAM-Kerberos B.11.11.12 PAM-Kerberos Version 1.10
krb5client C.1.3.5.05 Kerberos V5 Client Version 1.3.5.05
# grep kdc /etc/krb5.conf
kdc = atcux8.rose.hp.com:88
kdc = atcwinvm4.rose.hp.com:88
# ping atcux8.rose.hp.com -n 2
PING atcux8.rose.hp.com: 64 byte packets
----atcux8.rose.hp.com PING Statistics----
2 packets transmitted, 0 packets received, 100% packet loss
# timex kinit dougl
Password for dougl@WIN2K8.ATC.HP.COM:
real 6.12
user 0.00
sys 0.01
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2008 09:28 AM
10-16-2008 09:28 AM
Re: How to config PAM Kerberos in AD for multiple KDCs
-bash-3.00# swlist -l product | grep -i kerb
KRB-Support B.11.11 Kerberos Support for HP-UX and DCE
KRB5-Client B.11.11 Kerberos V5 Client Version 1.0
PAM-Kerberos B.11.11.12 PAM-Kerberos Version 1.10
krb5client C.1.3.5.06 Kerberos V5 Client Version 1.3.5.06
-bash-3.00#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2008 09:37 AM
10-16-2008 09:37 AM
Re: How to config PAM Kerberos in AD for multiple KDCs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2008 09:40 AM
10-16-2008 09:40 AM
Re: How to config PAM Kerberos in AD for multiple KDCs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2008 09:51 AM
10-16-2008 09:51 AM
Solution# timex kinit dougl
Password for dougl@WIN2K8.ATC.HP.COM:
real 2:04.53
user 0.00
sys 0.01
If I use IP addresses is /etc/krb5.conf I don't see the DNS lookup delay (with downed DNS server in /etc/resolv.conf):
# timex kinit dougl
Password for dougl@WIN2K8.ATC.HP.COM:
real 4.24
user 0.00
sys 0.00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2008 09:57 AM
10-16-2008 09:57 AM