izenk commented on issue #2843: link Domain to LDAP exception
URL: https://github.com/apache/cloudstack/issues/2843#issuecomment-421020703
 
 
   @DaanHoogland 
   sorry, can't test
   
   By error message I founded src here (**can not link a domain unless a basedn 
is configured for it**):
   ~~~
   
https://github.com/apache/cloudstack/blob/1d05fead49f5c856257a741b07122f5633d2e359/plugins/user-authenticators/ldap/src/main/java/org/apache/cloudstack/ldap/LdapManagerImpl.java
   ~~~
   
   ~~~
       @Override
       public LinkDomainToLdapResponse linkDomainToLdap(LinkDomainToLdapCmd 
cmd) {
           Validate.isTrue(_ldapConfiguration.getBaseDn(cmd.getDomainId()) == 
null, "can not link a domain unless a basedn is configured for it.");
           Validate.notEmpty(cmd.getLdapDomain(), "ldapDomain cannot be empty, 
please supply a GROUP or OU name");
           return 
linkDomainToLdap(cmd.getDomainId(),cmd.getType(),cmd.getLdapDomain(),cmd.getAccountType());
   }
   ~~~
   
   I upgraded cloudstack installation from 4.11.0 through yum REPO 
(http://cloudstack.apt-get.eu/centos/$releasever/4.11/)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to