4 Replies Latest reply on Aug 3, 2012 7:21 PM by rareddy

    How to use someother user to perform updates/deletes/insert in ldap that whats configured in the ds file using ldap Translator

    gamvi01

      Hi

       

      I want to use someother user ( it couldnt be loggedin user etc) than whats configured in ds  to perform updates/inserts etc using ldap translator.I checked to see what execution contexts principal is : .In my case principal username is "test" and the user thats configured in the ds file is admin/admin123.

      Translator is performing updates using admin/admin123 but is not using "test" user.  How can i make this happen ?

       

       

      <connection-factories>

          <no-tx-connection-factory>

        <jndi-name>SECURITY-LDAP-DS</jndi-name>

        <rar-name>teiid-connector-ldap.rar</rar-name>

        <connection-definition>javax.resource.cci.ConnectionFactory</connection-definition>

        <config-property name="LdapAdminUserDN">CN=admin</config-property>

        <config-property name="LdapAdminUserPassword">admin123</config-property>

        <config-property name="LdapUrl">ldap://test242:789/</config-property>

        </no-tx-connection-factory>

        </connection-factories>

       

       

      Thanks.