Re: Getting plugin LDAP error 12 while integrating a LDAP server

2014-12-13 Thread onkar shinde
Hey kevin,
Many Thanks for your quick reply.

Yes i am actually going to use SSL, i have already created cert.db files
using certutil... But i thought 1st to give a shot without SSL, as the
given Ldap server is a test server, enabled on both 389 and 636.

So coming back to configuration, below is what i have configured on ARDBC
LDAP form:

Host name: clients LDAP server hostname
Port: 389 for time being
Bind user: uid=test,ou=bindaccounts,dc=,dc=com
Bind password: given password
No SSL.
LDAP Server generalised timing.
Failover timeout:5
Directory page size:1000
Base DN for discovery: dc=,dc=com

So i guess only information which is not configured correctly is Base DN
for discovery, here I am not specifying ou.. but only mere Base DN.

I will give this a try and let you know.
Thanks again.

Onkar.
On Dec 14, 2014 4:10 AM, "Kevin Eldridge" 
wrote:

> **
>
> Hello Onkar,
>
>
>
> I ran into a similar issue when connecting to a Red Hat LDAP server, using
> UID, and not a MS Exchange server, since that is what the sAMAccountName is
> used for. I used the following settings to make the ARDBC LDAP connection:
>
>
>
> Host Name: ldap.host.com
>
> Port Number: 636
>
> Bind User: uid=ldapuser,ou=service,dc=host,dc=com
>
> Bind Password: 
>
> Use Secure Socket Layer: Yes
>
> Certificate Database: 
>
> LDAP Date-Time Format: Generalized Time
>
> Failover Timeout: 3000
>
> Directory Page Size: 1000
>
> Base DN for Discovery: ou=people,dc=host,dc=com
>
>
>
> If you are not using SSL, this will make things much, much easier. Your
> default port for non-SSL is 389. If you are using SSL, ensure you have
> created your Java Keystore using the following command:
>
>
>
> Create the Cert Database:
>
> certutil -N -d 
>
> Import the certs into the
>
> keytool -import -noprompt -trustcacerts -keystore  i.e. C:\JKS\javakeystore.jks> -storepass  -alias
>  -file  C:\CERT\certificate.crt>
>
>
>
> There is a good bit of information on the Java Keystore in the AR System
> 8.1 documentation
>
>
>
> I hope this helps.
>
>
>
> Kevin Eldridge
>  _ARSlist: "Where the Answers Are" and have been for 20 years_

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"


Re: Getting plugin LDAP error 12 while integrating a LDAP server

2014-12-13 Thread Kevin Eldridge
Hello Onkar,

I ran into a similar issue when connecting to a Red Hat LDAP server, using UID, 
and not a MS Exchange server, since that is what the sAMAccountName is used 
for. I used the following settings to make the ARDBC LDAP connection:

Host Name: ldap.host.com
Port Number: 636
Bind User: uid=ldapuser,ou=service,dc=host,dc=com
Bind Password: 
Use Secure Socket Layer: Yes
Certificate Database: 
LDAP Date-Time Format: Generalized Time
Failover Timeout: 3000
Directory Page Size: 1000
Base DN for Discovery: ou=people,dc=host,dc=com

If you are not using SSL, this will make things much, much easier. Your default 
port for non-SSL is 389. If you are using SSL, ensure you have created your 
Java Keystore using the following command:

Create the Cert Database:
certutil -N -d 
Import the certs into the
keytool -import -noprompt -trustcacerts -keystore  -storepass  -alias  -file 

There is a good bit of information on the Java Keystore in the AR System 8.1 
documentation

I hope this helps.

Kevin Eldridge

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"


Getting plugin LDAP error 12 while integrating a LDAP server

2014-12-13 Thread onkar shinde
Hello list,

I have been trying to integrate ar server 8.1sp1 with one customers Ldap
server.

I have tested connectivity with LDP.exe first with the provided LDAP
hostname and bind username/password.
With this all information i am able to connect and bind successfully.
One thing about to mention here that i am not using conventional
sAMAccountName to bind user, but using username like below
uid=<>,ou=<>,dc=<>,dc=com with simple method to connect.

When i entered the same in ARDBC LDAP Configuration form, the plugin
ARSYS.ARDBC.LDAP is not showing up in list of plugin menus while creating
vendor forms.
In java log i see something like below:
Ldap error code 12. Exceptional dc=''

Will post exact error text soon as soon  as i get the log file.

Can anyone let me know, what exact cause it could be, or anyone has already
faced this kind of issue/error.
Thanks in advance.

Onkar.

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"