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.

everything fine until....grouprestriction ldap media wiki

Empfohlene Antworten

everything is fine until i tried today to integrate group restrictions, and the debug didnt work :( see below:

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( "BASF IT Services"=>"cn=GPSII,ou=proxy-user,ou=EMEA,o=SERVICES" );

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

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

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

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

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

$wgLDAPDisableAutoCreate = array( "BASF IT Services" => 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=BASF IT SERVICES GMBH,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: under o=AUTH are a few other groups like ou=CONTRACTORS...and under these groups are again groups like ou=IT and there are all the users i like to let in....hope it helped!!!

  • 3 Wochen später...

Hallo Björn,

mit den gleichen Problemen kämpfe ich auch gerade... hast du eine Lösung gefunden?

Dann wäre es Klasse wenn du sie hier beschreibst... ich komme nicht weiter.

Gruß, Werz

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.