go to  ForumEasy.com   
LdapPro  
 
 
   Home  |  MyForum  |  FAQ  |  Archive    You are not logged in. [Login] or [Register]  
Forum Home » Kerberos & GSS-API » Where to locate Kerberos configuration file krb5.conf or krb5.ini?
Email To Friend  |   Set Alert To This Topic Rewarding Points Availabe: 0 (What's this) New Topic  |   Post Reply
Author Topic: Where to locate Kerberos configuration file krb5.conf or krb5.ini?
eLDAP
member
offline   
 
posts: 107
joined: 08/02/2006
from: Austin, TX
  posted on: 02/10/2010 03:41:49 PM    Edit  |   Quote  |   Report 
Where to locate Kerberos configuration file krb5.conf or krb5.ini?
The sequence to locate the krb5.conf file is the following:

  • If the system property java.security.krb5.conf is set, its value is assumed to specify the path and file name.

  • If that system property value is not set, then the configuration file is looked for java.security.krb5.conf in the directory
    	<java-home>\lib\security      [Windows]
    	<java-home>/lib/security      [Solaris and Linux]
    

    Here <java-home> refers to the directory where the JRE was installed.

  • If the file is still not found, then an attempt is made to locate it as follows:
     
    	/etc/krb5/krb5.conf                [Solaris]
    	c:\winnt\krb5.ini                  [Windows]
    	/etc/krb5.conf                     [Linux]
    

  • If the file is still not found, then implementation-specific defaults are used. If the krb5.conf file is not found either, then an exception is thrown.


  •  Profile | Reply Points Earned: 0

     
    Powered by ForumEasy © 2003-2005, All Rights Reserved. | Privacy Policy | Terms of Use
     
    Get your own forum today. It's easy and free.