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. ;)