I have wriiten a ant task to insert a user in ADS using ldapjdbc driver. Its
throwing java.sql.SQLException: LDAP Does Not Support Transactions error any
idea on this..
My source code is
<?xml version="1.0"?>
<project default="main" basedir=".">
<target name="main" >
<sql
driver="com.octetstring.jdbcLdap.sql.JdbcLdapDriver"
url="jdbc:ldap://10.0.0.110:389/?SEARCH_SCOPE:=subTreeScope"
userid="CN=Administrator,CN=Users,DC=osn,DC=com"
password="orange"
escapeprocessing="true"
>
<classpath>
<pathelement location="c:/Derby/jdbcLdap.jar"/>
<pathelement location="c:/Derby/ldap.jar"/>
</classpath>
INSERT INTO CN=kavin,CN=Users,DC=osn,DC=com
(objectClass,objectClass,objectClass,objectClass,cn,sn,sAMAccountName,userPassword
VALUES
('top','person','organizationalPerson','user','kavin','kavin','kavin','kavin');
</sql>
</target>
</project>
--
View this message in context:
http://www.nabble.com/java.sql.SQLException%3A-LDAP-Does-Not-Support-Transactions-tp15305948p15305948.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]