- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- samba, kerberos, Oracle ASO and Win2k3 AD
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
07-04-2007 01:15 AM
07-04-2007 01:15 AM
our environment:
platform: hpux 11.23
software: KRB5CLIENT C.1.3.5.03, CIFS server A.02.03, oracle 9.2.0.8
KDC: win2k3 service pack 1
before i configured samba, kerberos on unix worked perfect with win AD, we can kinit with host keytab, and also we can use okinit in oracle to get oracle service key. but after samba joined, "net ads join" and "net ads keytab create", all the kerberos stuff broke. i did put #default_keytab_name = "WRFILE:/etc/krb5.keytab" in the krb5.conf, and i can do "kinit -k" in unix, but i can not add oracle service keytab into the host keytab created by samba, i'm thinking, correct me if i'm wrong, when use net join, samba create a computer account instead of user account, there is no password for computer account, so i can not use ktpass to map user, and even with the tools like css_adkadmin, ktutil, i can add the oracle service keytab into the host keytab, but in oracle, when i did okint, i got error message "program lack support for encryption type", we use CRC in krb5.conf.
so my question is how to map a kerberos service to a computer account created by samba.
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2007 01:43 AM
07-18-2007 01:43 AM
Re: samba, kerberos, Oracle ASO and Win2k3 AD
I don't know much about kerberos, but you wrote:
"there is no password for computer account".
Did you try to set a password? I think configuring some scripts or tools which have to use those account should be far less effort than having kerberos accepting any account without a password.
I hope, this wil lhalp you out somehow.
Bye
Ralf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2007 05:13 AM
07-19-2007 05:13 AM
SolutionTake a look at this whitepaper for tips on configuring CIS/Samba and Kerberos, and for keytab generation. I need to update it with some new stuff, but it's still accurate for what it contains:
http://docs.hp.com/en/7213/HPCIFSKerberosV103.pdf
I am not sure about what you mean by "all the kerberos stuff broke", but you may need to remove "WRFILE" from krb5.conf *after* the "net ads keytab create". You definitely must do this for HP inet services to work. Not sure about Oracle.
Also, you can add your Oracle Service Principals to krb5.keytab using "net ads keytab add
Using the whitepaper, set your log level to 10 and then look for the keytab events to see what's happening.
Eric Roseme
HP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2007 07:05 AM
07-19-2007 07:05 AM
Re: samba, kerberos, Oracle ASO and Win2k3 AD
"net ads keytab add" is a good point, but still I'm getting some trouble.
After doing "net ads keytab add", it did add 7 entries in /etc/krb5.keytab, and also, in AD, there are two entries for oracle services in host attribute, "serviceprincipalname", which are exactly what I want to see, however, when login oracle and doing "okinit", kerberos utility bound with oracle ASO, I got the fellowing error message "okinit: Program lacks support for encryption type". If I removed the computer account created by SAMBA and used "ktpass" to generate a keytab encrypted with CRC, I can pass "okinit", seemed okinit did not know the encryption type of the keytab created by SAMBA, so any idea about this?
Thanks
Darrel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2007 07:57 AM
07-19-2007 07:57 AM
Re: samba, kerberos, Oracle ASO and Win2k3 AD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2007 10:18 AM
07-19-2007 10:18 AM
Re: samba, kerberos, Oracle ASO and Win2k3 AD
Just to confirm: you used ktutil to merge a working "net ads keytab create" krb5.keytab file, with a working Oracle keytab that you created with ktpass. Like this: http://docs.hp.com/en/J4269-90037/ch04s11.html
And the result was a merged krb5.keytab, except now Oracle gives the error message? And with a "klist -k -e" you see your Oracle service principal with CRC enc type, along with the 182 or so CIFS and Host keys?
Is that right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2007 01:14 AM
07-20-2007 01:14 AM
Re: samba, kerberos, Oracle ASO and Win2k3 AD
When i used "net ads keytab add", it added oracle service key in krb5.keytab, so when i did "klist -k -e", i can see oracle service key there encrypted with "HMAC", "DES cbc with MD5" and "CRC-32", seemed we were fine here. In the oracle part, i don't know how oracle works with kerberos. I already sent my question to oracle support, but haven't got any positive response yet.
I don't think we need do ktpass and ktutil, because we can not "map" service principal to the host account created by samba in AD, because there is no password for "computer" account. "net ads keytab add" seems be the only way to do this. If i'm wrong, please correct me.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2007 09:49 AM
07-20-2007 09:49 AM
Re: samba, kerberos, Oracle ASO and Win2k3 AD
I am unclear about how and where the Oracle SP gets created. Let me know what Oracle says. You can email me directly - just look at my profile. I'll be out of the office until Tuesday.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2007 12:39 AM
07-27-2007 12:39 AM
Re: samba, kerberos, Oracle ASO and Win2k3 AD
To generate oracle SP, i used "net ads keytab add oracle", keep "WRFILE" in krb5.conf, then i got "oracle/hostname.domainname@DOMAINNAME" in krb5.keytab, and also, in AD, when i used adsi editer to check the computer account, i can see two oracle service entries, "oracle/hostnmae" and "oracle/hostname.domainname", in service principal account. I assume these are all we need, please correct me if i'm wrong. So, now, the only problem is oracle can not recognize the keytab created by "net". I already sent all the trace files and log files to oracle, but haven't got response yet.
I cann't find your email from your profile, you can send me email to "dchen@claimsecure.com" if there's anything you need to know from me. Have a good day.
Darrel