<div dir="ltr">Hello,<div><br></div><div>After I adding a AD directory server to oVirt using manage-domains, I installed the extension-ldap package. My setup is as follows:</div><div><br></div><div>1. /etc/ovirt-engine/extensions.d/eayunos.properties</div><div><br></div><div><div><a href="http://ovirt.engine.extension.name">ovirt.engine.extension.name</a> = eayunos</div><div>ovirt.engine.extension.bindings.method = jbossmodule</div><div>ovirt.engine.extension.binding.jbossmodule.module = org.ovirt.engine-extensions.aaa.ldap</div><div>ovirt.engine.extension.binding.jbossmodule.class = org.ovirt.engineextensions.aaa.ldap.AuthzExtension</div><div>ovirt.engine.extension.provides = org.ovirt.engine.api.extensions.aaa.Authz</div><div>config.profile.file.1 = /usr/share/ovirt-engine-extension-aaa-ldap/profiles/ad.properties</div></div><div><br></div><div>2. restart ovirt</div><div><br></div><div>But after that there is a error in engine.log:</div><div><br></div><div><div>2014-10-20 00:52:11,199 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Loading extension &#39;builtin-authn-internal&#39;</div><div>2014-10-20 00:52:11,201 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Extension &#39;builtin-authn-internal&#39; loaded</div><div>2014-10-20 00:52:11,202 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Loading extension &#39;internal&#39;</div><div>2014-10-20 00:52:11,203 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Extension &#39;internal&#39; loaded</div><div>2014-10-20 00:52:11,218 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Loading extension &#39;<a href="http://builtin-authn-eayunos.com">builtin-authn-eayunos.com</a>&#39;</div><div>2014-10-20 00:52:11,232 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Extension &#39;<a href="http://builtin-authn-eayunos.com">builtin-authn-eayunos.com</a>&#39; loaded</div><div>2014-10-20 00:52:11,245 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Loading extension &#39;<a href="http://eayunos.com">eayunos.com</a>&#39;</div><div>2014-10-20 00:52:11,247 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Extension &#39;<a href="http://eayunos.com">eayunos.com</a>&#39; loaded</div><div>2014-10-20 00:52:11,252 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Loading extension &#39;ovirtSyslog&#39;</div><div>2014-10-20 00:52:11,253 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Extension &#39;ovirtSyslog&#39; loaded</div><div>2014-10-20 00:52:11,257 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Loading extension &#39;eayunos&#39;</div><div>2014-10-20 00:52:11,286 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Extension &#39;eayunos&#39; loaded</div><div>2014-10-20 00:52:11,287 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Initializing extension &#39;builtin-authn-internal&#39;</div><div>2014-10-20 00:52:11,288 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Extension &#39;builtin-authn-internal&#39; initialized</div><div>2014-10-20 00:52:11,289 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Initializing extension &#39;eayunos&#39;</div><div>2014-10-20 00:52:11,290 INFO  [org.ovirt.engineextensions.aaa.ldap.Framework] (MSC service thread 1-16) Creating LDAP pool &#39;authz&#39; for &#39;eayunos&#39;</div><div>2014-10-20 00:52:11,305 ERROR [org.ovirt.engineextensions.aaa.ldap.AuthzExtension] (MSC service thread 1-16) Cannot initialize LDAP framework, deferring initialization. Error: A null object was provided where a non-null object is required (non-null index 0).  Thread stack trace:  getStackTrace(Thread.java:1589) / ensureNotNull(Validator.java:60) / &lt;init&gt;(SingleServerSet.java:140) / createConnectionPool(Framework.java:516) / createPool(Framework.java:632) / runSequence(Framework.java:1312) / open(Framework.java:666) / ensureFramework(AuthzExtension.java:104) / doInit(AuthzExtension.java:436) / invoke(AuthzExtension.java:368) / invoke(ExtensionProxy.java:49) / invoke(ExtensionProxy.java:73) / invoke(ExtensionProxy.java:109) / initialize(ExtensionsManager.java:308) / engineInitialize(EngineExtensionsManager.java:111) / initialize(Backend.java:266) / create(Backend.java:138) / invoke0(NativeMethodAccessorImpl.java) / invoke(NativeMethodAccessorImpl.java:57) / invoke(DelegatingMethodAccessorImpl.java:43) / invoke(Method.java:606) / processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:130) / proceed(InterceptorContext.java:288) / processInvocation(WeavedInterceptor.java:53) / proceed(InterceptorContext.java:288) / processInvocation(WeldInjectionInterceptor.java:73) / proceed(InterceptorContext.java:288) / processInvocation(ManagedReferenceInterceptorFactory.java:95) / proceed(InterceptorContext.java:288) / processInvocation(ManagedReferenceInterceptorFactory.java:95) / proceed(InterceptorContext.java:288) / processInvocation(WeavedInterceptor.java:53) / proceed(InterceptorContext.java:288) / processInvocation(NamespaceContextInterceptor.java:50) / proceed(InterceptorContext.java:288) / invokeInOurTx(CMTTxInterceptor.java:228) / requiresNew(CMTTxInterceptor.java:333) / processInvocation(SingletonLifecycleCMTTxInterceptor.java:56) / proceed(InterceptorContext.java:288) / processInvocation(CurrentInvocationContextInterceptor.java:41) / proceed(InterceptorContext.java:288) / processInvocation(TCCLInterceptor.java:45) / proceed(InterceptorContext.java:288) / processInvocation(ChainedInterceptor.java:61) / constructComponentInstance(BasicComponent.java:161) / createInstance(BasicComponent.java:85) / getComponentInstance(SingletonComponent.java:116) / start(SingletonComponent.java:130) / start(ComponentStartService.java:44) / startService(ServiceControllerImpl.java:1811) / run(ServiceControllerImpl.java:1746) / runWorker(ThreadPoolExecutor.java:1145) / run(ThreadPoolExecutor.java:615) / run(Thread.java:745)</div><div>2014-10-20 00:52:11,313 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Extension &#39;eayunos&#39; initialized</div><div>2014-10-20 00:52:11,314 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Initializing extension &#39;ovirtSyslog&#39;</div><div>2014-10-20 00:52:11,327 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Extension &#39;ovirtSyslog&#39; initialized</div><div>2014-10-20 00:52:11,327 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Initializing extension &#39;<a href="http://builtin-authn-eayunos.com">builtin-authn-eayunos.com</a>&#39;</div><div>2014-10-20 00:52:11,330 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Extension &#39;<a href="http://builtin-authn-eayunos.com">builtin-authn-eayunos.com</a>&#39; initialized</div><div>2014-10-20 00:52:11,331 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Initializing extension &#39;<a href="http://eayunos.com">eayunos.com</a>&#39;</div><div>2014-10-20 00:52:11,332 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Extension &#39;<a href="http://eayunos.com">eayunos.com</a>&#39; initialized</div><div>2014-10-20 00:52:11,333 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Initializing extension &#39;internal&#39;</div><div>2014-10-20 00:52:11,334 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Extension &#39;internal&#39; initialized</div><div>2014-10-20 00:52:11,334 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Start of enabled extensions list</div><div>2014-10-20 00:52:11,335 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Instance name: &#39;builtin-authn-internal&#39;, Extension name: &#39;Internal Authn (Built-in)&#39;, Version: &#39;N/A&#39;, Notes: &#39;&#39;, License: &#39;ASL 2.0&#39;, Home: &#39;<a href="http://www.ovirt.org">http://www.ovirt.org</a>&#39;, Author &#39;The oVirt Project&#39;, Build interface Version: &#39;0&#39;,  File: &#39;N/A&#39;, Initialized: &#39;true&#39;</div><div>2014-10-20 00:52:11,337 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Instance name: &#39;eayunos&#39;, Extension name: &#39;aaa.ldap.authz&#39;, Version: &#39;0.0.0_master&#39;, Notes: &#39;Display name: ovirt-engine-extension-aaa-ldap-0.0.0-0.0.master.20141018224300.gita43f663.el6&#39;, License: &#39;ASL 2.0&#39;, Home: &#39;<a href="http://www.ovirt.org">http://www.ovirt.org</a>&#39;, Author &#39;The oVirt Project&#39;, Build interface Version: &#39;0&#39;,  File: &#39;/etc/ovirt-engine/extensions.d/eayunos.properties&#39;, Initialized: &#39;true&#39;</div><div>2014-10-20 00:52:11,338 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Instance name: &#39;ovirtSyslog&#39;, Extension name: &#39;Log4jLogger&#39;, Version: &#39;0.0.0&#39;, Notes: &#39;Display name: ovirt-engine-extension-logger-log4j-0.0.0-1.20141006155019.gitfef2d2a.el6&#39;, License: &#39;ASL 2.0&#39;, Home: &#39;<a href="http://www.ovirt.org">http://www.ovirt.org</a>&#39;, Author &#39;The oVirt Project&#39;, Build interface Version: &#39;0&#39;,  File: &#39;/etc/ovirt-engine/extensions.d/Log4jLogger.properties&#39;, Initialized: &#39;true&#39;</div><div>2014-10-20 00:52:11,340 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Instance name: &#39;<a href="http://builtin-authn-eayunos.com">builtin-authn-eayunos.com</a>&#39;, Extension name: &#39;Kerberos/Ldap Authn (Built-in)&#39;, Version: &#39;N/A&#39;, Notes: &#39;&#39;, License: &#39;ASL 2.0&#39;, Home: &#39;<a href="http://www.ovirt.org">http://www.ovirt.org</a>&#39;, Author &#39;The oVirt Project&#39;, Build interface Version: &#39;0&#39;,  File: &#39;N/A&#39;, Initialized: &#39;true&#39;</div><div>2014-10-20 00:52:11,342 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Instance name: &#39;<a href="http://eayunos.com">eayunos.com</a>&#39;, Extension name: &#39;Kerberos/Ldap Authz (Built-in)&#39;, Version: &#39;N/A&#39;, Notes: &#39;&#39;, License: &#39;ASL 2.0&#39;, Home: &#39;<a href="http://www.ovirt.org">http://www.ovirt.org</a>&#39;, Author &#39;The oVirt Project&#39;, Build interface Version: &#39;0&#39;,  File: &#39;N/A&#39;, Initialized: &#39;true&#39;</div><div>2014-10-20 00:52:11,343 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) Instance name: &#39;internal&#39;, Extension name: &#39;Internal Authz (Built-in)&#39;, Version: &#39;N/A&#39;, Notes: &#39;&#39;, License: &#39;ASL 2.0&#39;, Home: &#39;<a href="http://www.ovirt.org">http://www.ovirt.org</a>&#39;, Author &#39;The oVirt Project&#39;, Build interface Version: &#39;0&#39;,  File: &#39;N/A&#39;, Initialized: &#39;true&#39;</div><div>2014-10-20 00:52:11,345 INFO  [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (MSC service thread 1-16) End of enabled extensions list</div></div><div><br></div><div><br></div><div>My environment:</div><div><br></div><div><div># cat /etc/issue</div><div>CentOS release 6.5 (Final)</div></div><div><br></div><div><div># rpm -qa |grep aaa-ldap</div><div>ovirt-engine-extension-aaa-ldap-0.0.0-0.0.master.20141018224300.gita43f663.el6.noarch</div></div><div><br></div><div><div># rpm -qa |grep ovirt-engine</div><div>ovirt-engine-setup-plugin-websocket-proxy-3.5.1-0.0.master.20141017171921.git1b75b82.el6.noarch</div><div>ovirt-engine-extensions-api-impl-3.5.1-0.0.master.20141017171921.git1b75b82.el6.noarch</div><div>ovirt-engine-tools-3.5.1-0.0.master.20141017171921.git1b75b82.el6.noarch</div><div>ovirt-engine-userportal-3.5.1-0.0.master.20141017171921.git1b75b82.el6.noarch</div><div>ovirt-engine-extension-aaa-misc-0.0.0-0.0.master.20140902120001.git1fa6912.el6.noarch</div><div>ovirt-engine-lib-3.5.1-0.0.master.20141017171921.git1b75b82.el6.noarch</div><div>ovirt-engine-setup-plugin-ovirt-engine-common-3.5.1-0.0.master.20141017171921.git1b75b82.el6.noarch</div><div>ovirt-engine-websocket-proxy-3.5.1-0.0.master.20141017171921.git1b75b82.el6.noarch</div><div>ovirt-engine-cli-3.5.0.6-0.1.20140926.gitbbb1e44.el6.noarch</div><div>ovirt-engine-extension-logger-log4j-0.0.0-1.20141006155019.gitfef2d2a.el6.noarch</div><div>ovirt-engine-setup-3.5.1-0.0.master.20141017171921.git1b75b82.el6.noarch</div><div>ovirt-engine-dbscripts-3.5.1-0.0.master.20141017171921.git1b75b82.el6.noarch</div><div>ovirt-engine-webadmin-portal-3.5.1-0.0.master.20141017171921.git1b75b82.el6.noarch</div><div>ovirt-engine-restapi-3.5.1-0.0.master.20141017171921.git1b75b82.el6.noarch</div><div>ovirt-engine-3.5.1-0.0.master.20141017171921.git1b75b82.el6.noarch</div><div>ovirt-engine-setup-base-3.5.1-0.0.master.20141017171921.git1b75b82.el6.noarch</div><div>ovirt-engine-sdk-python-3.5.0.8-0.1.20140926.gitd3a5e4d.el6.noarch</div><div>ovirt-engine-setup-plugin-ovirt-engine-3.5.1-0.0.master.20141017171921.git1b75b82.el6.noarch</div><div>ovirt-engine-backend-3.5.1-0.0.master.20141017171921.git1b75b82.el6.noarch</div><div>ovirt-engine-sdk-java-3.5.0.6-0.1.20140910.git05ab94f.el6.noarch</div><div>ovirt-engine-extension-aaa-ldap-0.0.0-0.0.master.20141018224300.gita43f663.el6.noarch</div><div>ovirt-engine-jboss-as-7.1.1-1.el6.x86_64</div></div><div><br></div><div><br></div><div>Can anyone give me some help?</div><div><br></div><div>Thanks!</div><div><br></div></div>