1 2

null credentials even when tgt exists

1886 byte By cashroba at 2007-11-27 11:16:32
Hi, I'm new to kerberos, jaas and gssapi and I need help. I'm on solaris 10. After kinit, klist shows the following:bash-3.00# klistTicket cache: FILE:/tmp/krb5cc_0Default principal: kerberos-test@RICHMOND.COMValid startingExpiresService principal07/20/07 18:09:16 07/21/07 02:09:16 ...

GSSContext's wrap() and MessageProp: Which enryption is used and available

515 byte By Santacruzshoresa at 2007-11-27 11:12:52
Hi there,I have got a question regarding GSSContext's wrap()/unwrap() methods. These methods take a parameter, class MessageProp,an instance of this class is used to indicate the desired Quality-of-Protection (QOP)The qop is can be set by an integer, but which kind of protection is it indicated by ...

Error 906 authenticating locked account in AD

6020 byte By cpierce_platinumsolutionsa at 2007-11-27 10:27:15
I am authenticating users using JAAS/Kerberos against Active Directory.(Java 6 on Windows XP professional).It works fine for all scenarios accept when trying to authenticatea locked account.I purposly locked an account to get the error code returnedso that I can display a "your account is locked" ...

Unicode Characters & RC4-HMAC

1504 byte By matthias.ernsta at 2007-11-27 9:46:58
I just stumbled over an issue w/ unicode characters in passwords.I extracted my machine's account password using the windows LSARetrievePrivateData API using the Win32 Python Extensions. Result: was a unicode string with one catch: it contained the character '\ude09', a lower surrogate ...

HTTP traffic encryption with Kerberos (for Vista winrm)

479 byte By bioforma at 2007-11-27 9:42:01
Hi everybody.I am trying to connect to winrm service using Kerberos authentication and there are no any problems with it. But this service allow(by default) only Kerberos or Negotiate encrypted HTTP message. Do anybody know how to do it ? I am using standart HttpURLConnection class but after ...

Integrated Windows Domian Authentication ?

326 byte By mahesh.komuravellia at 2007-11-27 9:25:11
Hello Dudes,Can anybody tell the way how to develop an application with integrated windows domain authentication ? (By using Java)Help appriciated.And i don't know is it the correct forum to post. If it is not correct forum please reply me with links to the correct forums.Thanks in ...

Where DES comes into picture in SPNEGO implemented in Web application

316 byte By srini.ammaia at 2007-11-27 8:25:48
i am trying to implement SPNEGO in web application since the IE is supporting SPNEGO . Client is the IE and the server code written in java. basic things are working. now i have doubt of where this mutual authentication and DES encryption comes in this scenario... pls anybody..help me in ...

is there any complete sample with its execution steps for kerberos?

314 byte By Legolas.wa at 2007-11-27 6:07:50
HiThank you for reading my postIs there any sample (java files) with a howto that i can use as an start point?for example some complete sample which authenticate users with windows server 2003,and sample gives some details about when to use kinit and klist and ...

what is relation of Active directory and Kerberos with java?

471 byte By Legolas.wa at 2007-11-27 6:04:29
HiThank you for reading my postCan some one please explain what is relation of Kerberos and Active Directory with java? By my knwledge LDAP (such as AD) can store many information and also userID/password which we usually use for authentication.What is relation of kerberos with LDAP (AD) and ...

kinit using 1.5 works, doesn't on 1.4.2

429 byte By Tony.Cookea at 2007-11-27 5:59:44
Hi all.When I use kinit on 1.5 a ticket is generated correctly but under 1.4 I get a Pre-authentication error.Why is it differnt between the 2 environments?Is there something special I'm missing (... I've probably set myself up here! :-) in the 1.4.2 environment?The same thing happens when I ...

Kerberos Security

310 byte By DanDia at 2007-11-27 5:42:24
Please, I am beginner with respect to the kerberos protocol and have some doubts of its use:1) Is Kerberos security suitable for financial applications?2) What are the advantages of kerberos with respect to SSL?3) Does Java provide full support for kerberos?Thank ...

Using Kerberos delegation with Internet Explorer and JGSS, workaround?

1305 byte By havwiga at 2007-11-27 4:18:29
I'm trying to set up single sing-on (SSO) into a web application with Kerberos, where the web application in turn should use the Kerberos ticket it received to access a backend service on behalf of the user.In theory this should be a fairly straightforward Kerberos delegation scenario.I'm ...

GSS: Mechanism level: Failed to find any Kerberos Key

8276 byte By sun@slushpupie.coma at 2007-11-27 4:00:24
Im attempting to do a GSSAPI SASL authentication (as a server) with a hostname that is exactly the domain name: slushpupie.com . It isnt working, even though the same application works when the hostname has more than one dot (like host.slushpupie.com) Ive managed to reduce the application down ...

Using NTLM authentication

147 byte By KirshnaMiriyalaa at 2007-11-27 3:35:37
Hi,Is there a way to get domain logged user name using NTLM authentication into JSF page.Please provide any solution on this ?

Http Authentication server side

903 byte By setecastronomya at 2007-11-27 3:32:40
I searched the internetand this forum a lot without finding a non commercial solution to this common scenario.Inside an active directory based intranet I would like to authenticate the users who access a java web application running on Tomcat.The requisites to meet are:- the users connect with ...

getting windows domain login name into java application

326 byte By KirshnaMiriyalaa at 2007-11-27 3:13:49
Hi,I am looking how can i get user name of windows logged in user. I want to display the user name in the welcome message of the application. The user will be logging into the domain. Please note that I need windows logged in client user name.Please give suggestions or any direction on ...

Cannot find key of appropriate type to decrypt AP REP - RC4 with HMAC

692 byte By nehaba at 2007-11-27 2:05:40
Hi,I have been configuring SSO using Active Directory 2003. Its on Windows Server 2003 enterprise SP1. First I configured using DES. I used Set User Account for DES for both client user and SPN. Then I created proper keytab file using -crypto des-crc-md5, +DESOnly tags. But I still kept on ...

KDC has no support for encryption type

3872 byte By sherazadea at 2007-11-27 0:58:01
Hi,I hope not too much people are not reading this post because of the very common error message. But I'm really somewhat confused:For testing Kerberos 5 SSO I set up a little domain controller running Windows 2003 Server and a client in the domain running Windows XP. In the active directory I ...

Http Negotiate unsupported ?

510 byte By setecastronomya at 2007-11-27 0:52:17
I'm following the exercise presented here: http://java.sun.com/javase/6/docs/technotes/guides/security/jgss/lab/part6.htmlIIS says it can accept Negotiate or kerberos.The application RunHttpSpnego fails with exception saying it received a response code 401 from the server.If I configure IIS to ...

Extract principal on server side from outToken/KRB_AP_REQ

559 byte By Santacruzshoresa at 2007-11-27 0:49:51
Hey,I have a Kerberos SSO application with JAAS/JGSSAPI according to the tutorial which can be found here: http://java.sun.com/j2se/1.4.2/docs/guide/security/jgss/single-signon.htmlMutual authentication with initSecContext() and acceptSecContext() works fine. Now, on the server side, I would ...

Kerberos TGT From Memory

259 byte By jjhusa01a at 2007-11-27 0:09:32
I am rather new to Kerberos. Our workstations when logging in already have a TGT stored in memory. I have been trying to find a way to pull this information from the memory cache. Is this even possible? If so, where should I begin?Thanks!

Callback hanlder when using cached credentials

1871 byte By alec_gilchrista at 2007-11-26 22:43:39
I am having trouble getting SSO with Kerberos/AD working. I can authenticate against AD if I have captured username and password, but I cannot authenticate using credentials arising from a Windows login.I am on W2000, SP4. I am using JDK 1.5_10. I have set the Windows registry value as ...

No kinit/klist in Java 1.6 under Linux

327 byte By Lantoa at 2007-11-26 22:14:23
Hi all,I'm facing a problem : the kerberos related utilities (kinit/klist/kdestroy) have disappeared since Java 1.6, and only under Linux. In a Windows installation, there's no problem.My question is : how can I replace now these utilities ? Is it a bug in the JDK or JRE installation package ...

What purpose has Java GSS? What do I need it for, SSO?

894 byte By Santacruzshoresa at 2007-11-26 21:52:19
Hey,I am working on a single sign-on solution for smart clients (written in Java). Kerberos authentication with JAAS works fine, but what is the Java GSS API for? That - according to some Tutorials like "Single Sign-on Using Kerberos in Java" - is supposed to be executed in the Subject's doAs ...

Single Sign On using Kerberos and Active Directory

5057 byte By michael_623a at 2007-11-26 21:01:36
I am attempting to write a proof of concept of Single Sign On using Kerberos and Active Directory.I have searched through these forums and found several suggestions which I have attempted to use, in fact my code snippet below comes from these forums.I have set the registry setting ...

Checksum failed and some newbie questiions

3540 byte By joseDeva at 2007-11-26 20:54:34
Hi people,I have tried the GSS-API without JAAS tutorial for java 1.5 at http://java.sun.com/j2se/1.5.0/docs/guide/security/jgss/tutorials/BasicClientServer.html with that config:1) Environment config:- JKD 1.5.0 update 11- Windows XP pro against Active Directory on a Windows Server2) The ...

SPNEGO (No valid credentials provided)

9158 byte By technoplaguea at 2007-11-26 19:48:23
Hello!I am trying to integrate kerberos SSO into weblogic platform.Doing exactly as it is described here - http://dev2dev.bea.com.cn/techdoc/20060621823.htmlMy jaas config:com.sun.security.jgss.initiate {com.sun.security.auth.module.Krb5LoginModule requiredprincipal="HTTP/wl.dev.org@DEV.ORG" ...

SSO using Kerberos and Active Directory Application Mode (ADAM)

503 byte By Santacruzshoresa at 2007-11-26 19:41:59
Hey,I am working on a single sign-on solution, using JAAS and Kerberos. The user should log-in to Windows and run an Java app afterwards which authenticates him to the KDC. Every other application should only connect to the KDC to authenticate the user.Is there a possibility to obtain the user ...

Kerberos Configuration Issues: Server prompts for password

4415 byte By Tom_Sciora at 2007-11-26 18:38:14
I'm trying to write a Java Servlet Filter to perform kerberos through Spnego. I'm working with a windows 2003 Server (Enterprise Edition) but I keep getting prompted for the password. This obviously won't do for a server program so I'm trying to figure out a way around entering the password ...

Kerberos over HTTP

235 byte By Laurent_Grangiera at 2007-11-26 17:54:03
Hello,I need to find a Java library to be able to connect with HTTP to an Apache server which use the Kerberos (Negotiate) for authentification.Does anyone know something useful for me ?Thanks,Laurent

Negotiation data format !

2255 byte By munumberonea at 2007-11-26 17:28:31
Hi experts !I use Basic Authentication with ISS + Tomcat. I want to get user information from request.getHeader("Authentication") in a servlet. I have decoded it by Base64 coding. And I have following content:Negotiate ...

Error SPNEGO - cant find key of appropriate type to decrypt AP REP - RC4

13099 byte By henoc.aa at 2007-11-26 16:41:23
Hi,excuse me to disturb but i'm with a problemI can't resolve by myself and the prevoious post on the forum is not of a big help on it ...I have to struggle with SPNEGOSo after reading back the tutorials on security stuff (obviously there was a lot I had to learn and understand about security ...

Transferring SPENGO token via a web service call or a servlet

1044 byte By SecurityTyroa at 2007-11-26 16:07:18
Hi,In the examples I have seen, a SPENGO token is transferred from client to server via sockets. Once the token is obtained,GSS-APi calls like the following can be called to extract the userIdfrom the SPENGO token. In the code below,innerContextToken would be obtained after some socket based ...

Server not found in Kerberos database (7)

4014 byte By SecurityTyroa at 2007-11-26 15:33:42
Hi,I am trying to run the GSSClient/GSSServer example in the JAAS/JGSS tutorial. In the tutorial it says "So for the purposes of trying out this tutorial, you could use your user name as both the client user name and the service principal name. "As I dont have permissions to make modifications ...

HTTP/SPNEGO for "SSO" on MS Windows

1125 byte By henoc.aa at 2007-11-26 15:16:20
HTTP/SPNEGO for "SSO" on MS Windows Hi all of you !The scene is simple : I got a software (All in plain java ) and some simple web access to this system. ( it's not a real web server wich will be in need for Apache or some big container it's just a few access to some informations of the ...

Revalidating a Kerberos ticket

821 byte By SecurityTyroa at 2007-11-26 14:36:50
Hi,How can I validate a kerberos ticket that was generated on a non java platform and extract the name of the prinicipal from it ? In essence, this is a cross platform SSO.Here is the background. A C# client is sending the ASN encoding of a Kerberos ticket to a java server via a web service ...

HELP!! "Checksum failed" & "Integrity check on decrypted field failed "

8972 byte By yulu81a at 2007-10-3 11:30:04
I hope this is a newbie question for you guys out there since I've been googling for a solution for days but no luck so far. I am trying to learn JAAS programming and got started from a very simple example where a client authenticate to kerberos and send messages to a echo server. I am using ...

SPNEGO - GSSManger.createContext() -> 'Operation unavailable'

2282 byte By Morten.Mortensena at 2007-10-3 11:22:26
SPNEGO - when I try this with Java version "1.6.0-rc", I end up with a GSSException with the message "Operation unavailable". How do I get more information about what this exactly means?--Specifically, I have a string starting with ...

get User name

309 byte By prabodyaa at 2007-10-3 10:43:45
Hi All,I have configured mod_auth_kerb with apache. After kerberos authentication I am not able to get user name that is authenticated.In Apaches error log file the name of the user got printed.Can anybody tell me how to get it?Please guide ...

Communication between Apache and orion web server

975 byte By prabodyaa at 2007-10-3 10:23:04
I am facing one problem and I have been working for that from 3 days. But still I am not able to get solution.I want to perform Kerberos authentication. I am using Apache and orion webservers.I have installed mod_auth_kerb ( Kerberos module for Apache ). The authentication using Apache is done ...

Developing Custom GSS Mechanism

1533 byte By refactor77a at 2007-10-3 9:52:34
My team is in the process of building a client/server platform in Java that interoperates with a proprietary platform. The existing platform uses a proprietary security architecture that was inspired by Kerberos (v4?). Rather than develop my own security API, the JGSS-API seems like a good fit ...

Single Sign On

147 byte By help_eachothera at 2007-10-3 9:47:25
Hii Javaties I need to implement Single Sign On.Can anbody tell me how 2 get started.Do i need to use Kerberos for SSO.

Locate java.security.krb5.conf file in jar?

620 byte By ericsworda at 2007-10-3 9:33:14
This relates to my follow-up question in this thread: http://forum.java.sun.com/thread.jspa?threadID=779326I now know how to properly set the value of "java.security.auth.login.config" to point to a file in a jar. But when I try the same for the "java.security.krb5.conf " setting, I get this ...

Kerberos Authentication fails two hours before TGT expires

7092 byte By peter_waerna at 2007-10-3 8:00:35
Hi,We have implemented a Sinlge Sign On solution based on Kerberos and the Java GSS-API. The implementation pretty much follows the examples given in the JAAS Tutorials. It is now runningin my company and it works fine except until there are less than two hours until your TGT expires. Then an ...

newbie question

414 byte By jajanea at 2007-10-3 7:53:33
Hi all,while developping a client-server application,I've had the occasion to read a document ABOUT the kerberos protocol and found it very interesting. I've tried customizing my codes so the authentification process looks like the concept of kerberos. But when trying to create the ...

Does Krb5LoginModule module support DNS based lookup of KDC ?

254 byte By pvncada at 2007-10-3 7:41:00
Hi,I am trying to use kerberos based authentication. Current setup of kerberos uses DNS based lookup of KDCs .i.e KDCs are not listed in krb5.conf file.Could someone let me know if can this be achieved ?ThanksPraveena M

GSSName is corrupted for non ascii chars

1494 byte By s_jayaram_sa at 2007-10-3 7:26:43
Hi, I have a setup where a web application is deployed to use SPNEGO for user authentication ( using kerberos V ) and authorization. We have several users with non english characters in the user ID and even though kerberos authentication succeeds for such users ( KDC / Active Directory is ...

UTF-8 data handling by GSS

326 byte By sidsa at 2007-10-3 7:24:24
We have a setup with windows2000 and Kerberos/JGSS. Can someone provide me with the information as to what additional needs to be done so as to be able to authenticate a username given in UTF-8 data. The user authentication for ascii characters succeeds for me but fails while I enter usename ...

How to reset "java.security.krb5.kdc" value

334 byte By maqiang9111a at 2007-10-3 7:12:53
Hi, I am trying to write a configuration tool to set Kerberos server name and so forth.It occurs to me that once "java.security.krb5.kdc" is set in JVM, the value can't be changed. The tool has to be shutdown and restarted to see use new value.Is there a better way than starting a new JVM? ...

Pre-authentication information was invalid (24)

602 byte By tommyUKa at 2007-10-3 6:24:34
HiI'm getting a Pre-authentication error for one user, all other users the authentication works well (60 others). So could anyone hazzard a guess as to why I get this problem just for this one user?I've looked at reasons for this error:a) bad passwordb) time skewc) useKeyTab option (I am not ...