Browse Source

set seeAlso to originating DN

main
Dustin Frisch 1 year ago
parent
commit
2883c1ca01
No known key found for this signature in database GPG Key ID: B4C3BF012D9B26BE
  1. 1
      src/main/java/de/hsfulda/informatik/LdapSync.java

1
src/main/java/de/hsfulda/informatik/LdapSync.java

@ -128,6 +128,7 @@ public class LdapSync {
} }
e.addAttribute(new Attribute("homeDirectory", String.format(properties.getProperty("sync.dst.home"), cn))); e.addAttribute(new Attribute("homeDirectory", String.format(properties.getProperty("sync.dst.home"), cn)));
e.addAttribute(new Attribute("userPassword", "{SASL}" + cn)); e.addAttribute(new Attribute("userPassword", "{SASL}" + cn));
e.addAttribute(new Attribute("seeAlso", s.getDN()));
return e; return e;
}).collect(Collectors.toList()); }).collect(Collectors.toList());

Loading…
Cancel
Save