[JIRA] [cli] (JENKINS-22346) CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean

2015-07-09 Thread antek.baran...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Antek Baranski commented on  JENKINS-22346 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean  
 
 
 
 
 
 
 
 
 
 
Actually what I've found is that as long as the non-AD user has an email address associated with a user on the AD everything will work... very weird. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [cli] (JENKINS-22346) CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean

2015-06-16 Thread db...@cloudbees.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Daniel Beck commented on  JENKINS-22346 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean  
 
 
 
 
 
 
 
 
 
 
Is anyone experiencing this issue despite setting the hudson.model.User.allowNonExistentUserToLogin system property? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [cli] (JENKINS-22346) CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean

2015-06-16 Thread jonathon.gol...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jonathon Golden commented on  JENKINS-22346 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean  
 
 
 
 
 
 
 
 
 
 
Daniel Beck, 
Starting Jenkins with that property I can pass the private key successfully if security is turned off but the user with the corresponding public key still exists at /var/lib/jenkins/users. With security is turned off, if I pass the key and that user does not exist I just get an auth failure. I'm assuming this is the expected behavior but it would be helpful if there was a way to pass the key every time and just proceed anonymously if there is no need for the key yet. The use case I'm interested in this for is when managing the Jenkins instances with Puppet. This behavior creates a major chicken and egg dilemma. There is a workaround described here: https://forge.puppetlabs.com/rtyler/jenkins but is is not very desirable. Given that I can at least seed the user with a config file managed with puppet and using the java arg you suggested I have a better workaround now. It would be nice, however, if instead it behaved the way I described above. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [cli] (JENKINS-22346) CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean

2015-06-15 Thread s...@eskp.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Simon KP commented on  JENKINS-22346 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean  
 
 
 
 
 
 
 
 
 
 
1.617 here as well and I still have the issue that causes authentication to fail when a key is used but authentication is disabled. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [cli] (JENKINS-22346) CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean

2015-06-15 Thread jonathon.gol...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jonathon Golden commented on  JENKINS-22346 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean  
 
 
 
 
 
 
 
 
 
 
I am on 1.617 and I still get this error. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [cli] (JENKINS-22346) CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean

2015-03-16 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-22346


CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean















Code changed in jenkins
User: tfennelly
Path:
 changelog.html
 cli/pom.xml
 core/pom.xml
 core/src/main/java/hudson/model/AbstractItem.java
 debian/debian/changelog
 plugins/pom.xml
 pom.xml
 test/pom.xml
 war/pom.xml
http://jenkins-ci.org/commit/jenkins/7e5063937c31ee33de29254f1f13f5d4aa0d6174
Log:
  Merge branch 'master' into JENKINS-27256


	master:
  Updated changelog
  updated changelog as a part of the release
  maven-release-plugin prepare for next development iteration
  maven-release-plugin prepare release jenkins-1.604
  Noting #1597
  Noting #1593, #1579, move JENKINS-22346, #1558
  Remove two fixes that were backported to RC
  JENKINS-27183 Avoid deadlock when using build-monitor-plugin































This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [cli] (JENKINS-22346) CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean

2015-03-12 Thread scm_issue_l...@java.net (JIRA)















































SCM/JIRA link daemon
 resolved  JENKINS-22346 as Fixed


CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean
















Change By:


SCM/JIRA link daemon
(12/Mar/15 9:40 AM)




Status:


Open
Resolved





Resolution:


Fixed



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [cli] (JENKINS-22346) CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean

2015-03-12 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-22346


CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean















Code changed in jenkins
User: Kohsuke Kawaguchi
Path:
 changelog.html
 core/src/main/java/hudson/model/User.java
http://jenkins-ci.org/commit/jenkins/80e9f3f50c3425c9b9b2bfdb58b03a1f1bd10aa3
Log:
  FIXED JENKINS-22346

The original motivation for the fix (to prevent users from logging in
once he's removed from the backend identity database) is legitimate,
but it affected too many users.

So as an escape hatch / non-promoted feature switch, I'm adding this
option to bring back the old behaviour.





























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [cli] (JENKINS-22346) CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean

2015-03-12 Thread dogf...@java.net (JIRA)














































dogfood
 commented on  JENKINS-22346


CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean















Integrated in  jenkins_main_trunk #4005
 FIXED JENKINS-22346 (Revision 80e9f3f50c3425c9b9b2bfdb58b03a1f1bd10aa3)

 Result = SUCCESS
kohsuke : 80e9f3f50c3425c9b9b2bfdb58b03a1f1bd10aa3
Files : 

	core/src/main/java/hudson/model/User.java
	changelog.html





























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [cli] (JENKINS-22346) CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean

2015-03-12 Thread dan...@beckweb.net (JIRA)














































Daniel Beck
 commented on  JENKINS-22346


CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean















Kohsuke Kawaguchi You still need to document this on https://wiki.jenkins-ci.org/display/JENKINS/Features+controlled+by+system+properties



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [cli] (JENKINS-22346) CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean

2015-03-12 Thread dan...@beckweb.net (JIRA)














































Daniel Beck
 commented on  JENKINS-22346


CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean















Kohsuke Kawaguchi Added documentation to the wiki. Please review the explanation.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [cli] (JENKINS-22346) CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean

2015-03-12 Thread now...@strite.org (JIRA)












































 
Nowell Strite
 edited a comment on  JENKINS-22346


CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean
















Any thoughts on when a release would get cut with this included? we have been waiting back on 1.555 until this landed. Thanks for doing this!



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [cli] (JENKINS-22346) CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean

2015-03-12 Thread now...@strite.org (JIRA)














































Nowell Strite
 commented on  JENKINS-22346


CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean















Any thoughts on when a release would get cut with this included? we have been waiting back on 1.555 until this landed.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [cli] (JENKINS-22346) CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean

2015-03-12 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-22346


CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean















Code changed in jenkins
User: Daniel Beck
Path:
 changelog.html
http://jenkins-ci.org/commit/jenkins/84800166b075118cec1845e49aa230ef8a23799c
Log:
  Noting #1593, #1579, move JENKINS-22346, #1558





























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [cli] (JENKINS-22346) CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean

2014-12-18 Thread eugenio.ma...@yahoo.it (JIRA)














































Eugenio Marzo
 commented on  JENKINS-22346


CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean















Hi, 
same problem on Jenkins ver. 1.580.2 with the LDAP plugin 1.11.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [cli] (JENKINS-22346) CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean

2014-10-06 Thread jgl...@cloudbees.com (JIRA)














































Jesse Glick
 updated  JENKINS-22346


CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean
















I think there are a couple of issues here.

First of all, the exception from DataInputStream.readBoolean is cryptic and surely a mistake. If authentication is denied, the CLI should print a polite message to that effect.

The main issue is that former versions of Jenkins permitted login via CLI for a user defined in Jenkins configuration with an SSH public key but not present in the actual SecurityRealm, and this is no longer permitted.

In general, Jenkins lacks a feature for creating a phony user identity (principal) with limited authority that may be used from scripts and automations. If an operation requires any special permission at all, you must authenticate as a real user.





Change By:


Jesse Glick
(06/Oct/14 2:45 PM)




Summary:


jenkinsclicommand
CLIcommands
with
private
key
fails
fornonexistentuserfail
with
-java.io.
EOFException
fromDataInputStream.readBoolean





Labels:


cliregressionuser



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [cli] (JENKINS-22346) CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean

2014-10-06 Thread ingun...@cisco.com (JIRA)














































Indra Gunawan
 commented on  JENKINS-22346


CLI commands with private key for nonexistent user fail with EOFException from DataInputStream.readBoolean















I ran into this problem on our test Jenkins environment running LTS version 1.565.2.  On that Jenkins, any user can do anything so the security is not enabled.  It looks like this is no longer supported?  

Even after I enable security and use LDAP but make any logged-user to be able to do anything that is also not working.  (I upgraded LDAP from 1.6 to 1.8)

Oct 6, 2014 3:59:54 PM org.acegisecurity.providers.ldap.authenticator.BindAuthenticator2 handleBindException
WARNING: Failed to bind to LDAP: userDnuid=ingunawa,ou=active,ou=employees,ou=people,o=mycompany.com  username=ingunawa
javax.naming.AuthenticationException: LDAP: error code 49 - 8009030C: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1































This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.