Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auth mit HTW-LDAP davorschalten #1

Open
maxbeier opened this issue May 12, 2016 · 1 comment
Open

Auth mit HTW-LDAP davorschalten #1

maxbeier opened this issue May 12, 2016 · 1 comment

Comments

@maxbeier
Copy link
Owner

maxbeier commented May 12, 2016

LDAP-Server: login-dc-01.login.htw-berlin.de
Base-DN: dc=login,dc=htw-berlin,dc=de
User-DN: ou=idmusers,dc=login,dc=htw-berlin,dc=de
User-ID-Attribute: cn oder sAMAccountName

Ansonsten testen man einfach mit einer BIND-Anfrage mit Nutzername und Passwort ob der LDAP einen reinlässt:

$user = "cn=s0543210, ou=idmusers,dc=login,dc=htw-berlin,dc=de“;
$password = "geheimgeheim";

$resource = ldap_connect("ldaps://login-dc-01.login.htw-berlin.de");
$success = ldap_bind($resource, $user, $password);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant