Deutsches Application Express Forum (ApEx) -- Installation , Engine / SQL , Anwendungen
HTMLDB Engine :  Oracle Apex The fastest message board... ever.
Alles in HTMLDB, Applikationen, Berichte, SQL ... 
LDAP authentication problem
geschrieben von: durii (217.110.99.---)
Datum:

Hi,

1)
i can use the ldap authentication per schema.
Now i want to use the function of the apex api:

BEGIN
IF APEX_LDAP.authenticate
( p_username => 'testuser'
, p_password => 'mykeyword'
, p_search_base => 'OU=x,OU=x,OU=x,DC=x,DC=x,DC=x'
, p_host => 'x.x.x.com'
, p_port => 389
)
THEN
DBMS_Output.put_line('ok');
:P3_X := 'ok';
ELSE
DBMS_Output.put_line('not ok');
:P3_X := 'not ok';
END IF;
END;

[download.oracle.com]

But the authentification don´t work possible, why? :(

2)
My second question:

This is the code that i use to authentify by schema:
cn=%LDAP_USER%,OU=x,OU=x,OU=x,DC=x,DC=x,DC=x

Our LDAP has object tables with for example:

cn = x
sAMAccountName = y
...

I won´t identify a user by sAMAccountName and not per cn.
i think that is a possible solution:
sAMAccountName=%LDAP_USER%,OU=x,OU=x,OU=x,DC=x,DC=x,DC=x
but the system don´t know the sAMAccountName..
how can i solve this problem=?

Antworten auf Deutsch sind auch ok, wollte das jetzt nur nicht nochmal übersetzen. ;)



Thema Neugierige geschrieben von geschrieben
LDAP authentication problem 3561 durii
Re: LDAP authentication problem 1306 cc13
Re: LDAP authentication problem 1716 durii


In diesem Forum dürfen nur registrierte Benutzer schreiben.
This forum powered by Phorum.