- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Need AD authentication for HP-UX user
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
02-14-2007 12:39 AM
02-14-2007 12:39 AM
Need AD authentication for HP-UX user
We have an HP-UX server 11.11
We have an Active Directory Windows 2000 controler.
Each time an HP-UX user need to log on the server, HP-UX must check with the AD if this user is authorized to logon. Nothing else to do.
Do yo know the best way to do it?
We want to have only the AD to administrate the users.
Do we need SFU (3.0) on the AD? Is it mandatory?
Do we need to configure LDAP? Is there another way?
Thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2007 12:50 AM
02-14-2007 12:50 AM
Re: Need AD authentication for HP-UX user
You can use SAMBA/CIFS with winbind
>> We want to have only the AD to administrate the users.
You wont need anything else
>> Do we need SFU (3.0) on the AD? Is it mandatory?
I think you don't need it
>> Do we need to configure LDAP? Is there another way?
No, you could but is not needed. Active Directory (LDAP) is enough.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2007 01:12 AM
02-14-2007 01:12 AM
Re: Need AD authentication for HP-UX user
Depends on what you want to do.
SFU 3.5 has limited shell support.
LDAP is challenging to configure but it works well.
CIFS/Samba seems worth a try.
ADS seems based on the limited information provided to be the best option.
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
02-14-2007 08:41 PM
02-14-2007 08:41 PM
Re: Need AD authentication for HP-UX user
Quite straithforward and standard:
for 11.11:
install PAMKerberos
on AD generate a keytab and install it with ktutil
adapt your /etc/krb5.conf
adapt you pam.conf (and perhaps pam_user.conf to exclude root)
change password hash field in /etc/passwd or /etc/shadow by "x": meaning those users have no local valid passwd and of you go
Remark: If you don't use kerberized clients to connect to you HPUX host than I advvise you to only enable kerberos authentication for ssh in pam: otherwise windows passwd in clear text over network!
If you want to centralise authorisation: if your AD could be upgraded to Windows 2003 R2: it contains all the nesc. POSIX attributes: you don't need to install th MSSFU stuff and are compliant to RFC... (don't know by heart). I don't know if the latest LDAPUX client is aware of this ?
Fot centralised authorisation you can work with nisnetgroups or the pam_authz.policy (as from ldapux version B.4...). But the client can't handle nested groups!
do you need SFU? No: check if you can adapt your AD scheme according the rfc's (AD 2003 R2 does)
Do you need to configure LDAP: proxy-user, configure the attributes ,.....
Hope this helps a bit. Annyway Check the docs.hp.com site for the latest ldapux client docs: there are docs for integration towards AD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2007 08:50 PM
02-14-2007 08:50 PM
Re: Need AD authentication for HP-UX user
Of coures: once you have your ldapclient configured: then you no longer need the local user accounts (except the system-accounts).
Further centralisation could be:
LDAP aware sudo: needs recompilation (check the sudo site) + again AD scheme change. Problem sudo ldap scheme is not a standard (? RFC ?) + development for sudo seems stopped (latest version from 2005)
RBAC is emerging but are there already (cross-platform) standards defined (roles, ldap scheme, ....)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2007 12:27 AM
02-15-2007 12:27 AM
Re: Need AD authentication for HP-UX user
Thanks for your answers.
We decide to use CIFS/SAMBA
First step, I try to configure Kerberos.
We provide informationâ s in the krb5.conf file and smb.conf.
I followed this exemple, changing domain name by cutomer name.
[libdefaults]
default_realm = HPATC2003.HP.COM
default_tkt_enctypes = DES-CBC-MD5
default_tgs_enctypes = DES-CBC-MD5
default_keytab_name = "WRFILE:/etc/krb5.keytab"
[realms]
HPATC2003.HP.COM = {
kdc = HPATCWIN2K4.HPATC2003.HP.COM:88
admin_server = HPATCWIN2K4.HPATC2003.HP.COM
}
[domain_realm]
.hp.com = HPATC2003.HP.COM
[logging]
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmin.log
default = FILE:/var/log/krb5lib.log
Second step, I try to create the keytab file with this command:
/opt/samba/bin/net ads keytab create -U administrator
I got an â authentication failedâ error message.
If I read â Integrating HP-UX 11.x Account Management and Authentication with Microsoft Windows 2000 » they talk about Kerberos configuration, they use ktpass tool to generate the keytab file.
What do you think about this?
Which one is the right way?
In the CIFS/SAMBA configuration document, I donâ t see any thing about pam_authz file or the pam.conf file. Do we need to configure them?
Thanks for your answer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2007 12:35 AM
02-15-2007 12:35 AM
Re: Need AD authentication for HP-UX user
If your krb5.conf is OK. Try this one first on you HPUX host: kinit
you should be prompted for your windows passwd. after authentication, check with klist if you received a ticket.
On the AD node: creating a keytab is done with ktpas. The Unix host must be created as a user. Be sure to use the fqdn of your host when creating the keytab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2007 04:27 AM
04-03-2007 04:27 AM
Re: Need AD authentication for HP-UX user
We change CIFS server version, we download the latest version. Itâ s working fine now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2007 03:18 AM
04-05-2007 03:18 AM