[JIRA] (JENKINS-32710) Configure AD Authorization with Groovy

2018-04-04 Thread vishwadeep.ban...@macquarie.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Vishwadeep Bansal edited a comment on  JENKINS-32710  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Configure AD Authorization with Groovy   
 

  
 
 
 
 

 
 import jenkins.model.*import hudson.security.*import hudson.plugins.active_directory.*      def instance = Jenkins.getInstance()String domain = 'my.domain.com'String site = 'site'String server = '192.168.1.1'String bindName = 'acco...@my.domain.com'String bindPassword = 'password'adrealm = new ActiveDirectorySecurityRealm(domain, site, bindName, bindPassword, server)instance.setSecurityRealm(adrealm)I am doing automated AD integration with the code mentioned above, however getting issues. bindName is not getting updated on the page and authentication do not work.  Also I would like to keep the script in init.groovy.d folder so that it could do the charm when service starts.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-32710) Configure AD Authorization with Groovy

2018-04-04 Thread vishwadeep.ban...@macquarie.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Vishwadeep Bansal reopened an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 import jenkins.model.import hudson.security.*import hudson.plugins.active_directory. def instance = Jenkins.getInstance()String domain = 'my.domain.com'String site = 'site'String server = '192.168.1.1'String bindName = 'acco...@my.domain.com'String bindPassword = 'password' adrealm = new ActiveDirectorySecurityRealm(domain, site, bindName, bindPassword, server) instance.setSecurityRealm(adrealm) I am doing automated AD integration with the code mentioned above, however getting issues. bindName is not getting updated on the page and authentication do not work.  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-32710  
 
 
  Configure AD Authorization with Groovy   
 

  
 
 
 
 

 
Change By: 
 Vishwadeep Bansal  
 
 
Resolution: 
 Fixed  
 
 
Status: 
 Closed Reopened  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 
 

[JIRA] (JENKINS-32710) Configure AD Authorization with Groovy

2016-12-23 Thread benjamin.d.gold...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Benjamin Goldman commented on  JENKINS-32710  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Configure AD Authorization with Groovy   
 

  
 
 
 
 

 
 John Mickey question: the documentation (read the code...) implies that both site and server can be blank and optional. thoughts on how we can reconcile this?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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.