Script Shell Bteq Connection. Logmech LDAP

Connectivity

Script Shell Bteq Connection. Logmech LDAP

Hi all,

when i tried a normal connection in script shell like point 1 no errors occurs.

when i add .logmech string (point 2) for mechanism LDAP the connection failure and errors occurs(see point 3 for spool).

Why?

1.

bteq <<EOI

         .LOGON server/emyuser,mypwd;

Select date;

.LOGOFF;

.EXIT;

EOI

2.

bteq <<EOI

        .LOGMECH LDAP;

        .LOGON server/myuser,mypwd;

Select date;

.LOGOFF;

.EXIT;

EOI

3.

+---------+---------+---------+---------+---------+---------+---------+----

.LOGMECH LDAP;

+---------+---------+---------+---------+---------+---------+---------+----

.LOGON server/user,

 *** CLI error: MTDP: EM_SSOLOGONFAIL(244): SSO logon failed by gateway.

 *** Return code from CLI is: 244

 *** Error: Logon failed!