Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ldap media wiki proxy restricted groups problem

Empfohlene Antworten

zu euer info:

ich brauche den proxy user, habe kein ldap zugriff als admin oder so, sondern nur über dem proxy user, und bis ich den part s.u. eingebaut habe funktionierte alles super....

$wgAuth = new LdapAuthenticationPlugin();

$wgLDAPDomainNames = array( "IT" );

$wgLDAPServerNames = array( "IT"=>"ldap.swk99.de" );

$wgLDAPProxyAgent = array( "IT"=>"cn=GPSII,ou=proxy-user,ou=EMEA,o=SERVICES" );

$wgLDAPProxyAgentPassword = array( "IT"=>"12345" );

$wgLDAPSearchAttributes = array( "IT"=>"cn" );

$wgLDAPBaseDNs = array( "IT"=>"o=AUTH" );

$wgLDAPEncryptionType = array( "IT"=>"clear" );

$wgLDAPLowerCaseUsername = array( "IT"=>true );

$wgLDAPDisableAutoCreate = array( "IT" => false );

$wgLDAPUseLocal = false;

$wgLDAPAddLDAPUsers = false;

$wgLDAPUpdateLDAP = false;

$wgLDAPMailPassword = false;

$wgLDAPRetrievePrefs = array( "IT"=>"true" );

$wgMinimalPasswordLength = 1;

$wgLDAPDebug = 3;

die beiden Gruppen die reinkommen sollen sind:

ou=IT,ou=CONTRACTORS,o=AUTH

und

ou=IT,ou=EMPLOYEES,o=AUTH

um Sie einzuschließen habe ich das hier hinzugefügt:

$wgLDAPGroupUseFullDN = array( "IT"=>true; );

$wgLDAPRequiredGroups = array( "IT"=>array( "ou=IT,ou=CONTRACTORS,o=AUTH","ou=IT,ou=EMPLOYEES, o=AUTH" ));

$wgLDAPGroupUseFullDN = array( "IT"=>true );

$wgLDAPGroupObjectclass = array( "IT"=>"organizationalUnit" );

$wgLDAPGroupAttribute = array( "IT"=>"inetOrgPerson" );

$wgLDAPGroupSearchNestedGroups = array( "IT"=>true );

$wgLDAPGroupNameAttribute = array( "IT"=>"ou" );

ich bin mir nicht sicher...falls ihr noch was braucht....schreibt einfach! der fehler ist, dass wenn ich das s.o. eingefügt habe kann keiner mehr rein, auch leute aus der gruppe....und debug geht nicht richtig, obwohl ich das $wgLDAPDebug = 3; im pluginaufruf und das hier im MediaWiki eingefügt habe:

error_reporting(E_ALL);

ini_set("display_errors", 1);

$wgShowExceptionDetails = true;

greetz & thx4all

PS: structure ldap: unter o=AUTH sind ca. 5 andere Gruppen wie die ou=CONTRACTORS...und dieser Gruppe wiederum sind Gruppen wie ou=IT und darunter sind dann die Users die reinkommen sollen!

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.