No known key found for this signature in database
GPG Key ID: B4C3BF012D9B26BE
1 changed files with
3 additions and
2 deletions
-
src/main/java/de/hsfulda/informatik/LdapSync.java
|
|
@ -31,10 +31,11 @@ public class LdapSync { |
|
|
|
public LdapSync() throws IOException, LDAPException, GeneralSecurityException { |
|
|
|
// lade Konfiguration |
|
|
|
properties.load(new FileReader("ldap-sync.properties")); |
|
|
|
System.out.print("Abfrage der Benutzer im eDirectory..."); |
|
|
|
|
|
|
|
this.userDefinedMappings = parseUserDefinedMappings(properties.getProperty("sync.src.map", "")); |
|
|
|
|
|
|
|
System.out.print("Abfrage der Benutzer im eDirectory..."); |
|
|
|
|
|
|
|
// lade Daten des Remote-Systems |
|
|
|
final AccountSource remote = new AccountSource( |
|
|
|
properties.getProperty("sync.src.host"), |
|
|
@ -85,7 +86,7 @@ public class LdapSync { |
|
|
|
continue; |
|
|
|
} |
|
|
|
|
|
|
|
System.out.println("Benutzerdefinierte Zuordnung '" + uid + "' -> " + uidNumber); |
|
|
|
System.out.println("-> Benutzerdefinierte Zuordnung '" + uid + "' -> " + uidNumber); |
|
|
|
mappingsMap.put(uid, uidNumber); |
|
|
|
} else { |
|
|
|
System.out.println("Fehler beim Parsen der Zuordnung '" + mapping + "'"); |
|
|
|