summaryrefslogtreecommitdiff
path: root/src/main/java/com/c2kernel/lookup/LDAPLookupUtils.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/c2kernel/lookup/LDAPLookupUtils.java')
-rw-r--r--src/main/java/com/c2kernel/lookup/LDAPLookupUtils.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/c2kernel/lookup/LDAPLookupUtils.java b/src/main/java/com/c2kernel/lookup/LDAPLookupUtils.java
index 8df365b..d8a4394 100644
--- a/src/main/java/com/c2kernel/lookup/LDAPLookupUtils.java
+++ b/src/main/java/com/c2kernel/lookup/LDAPLookupUtils.java
@@ -274,7 +274,8 @@ final public class LDAPLookupUtils
{
String name = LDAPDN.explodeDN(dn,true)[0];
LDAPAttributeSet attrs = new LDAPAttributeSet();
- attrs.add(new LDAPAttribute("objectclass","top"));
+ //No idea why this worked, or why it suddenly stopped working when we moved to maven
+ //attrs.add(new LDAPAttribute("objectclass","top"));
attrs.add(new LDAPAttribute("objectclass","organization"));
attrs.add(new LDAPAttribute("o",name));
LDAPLookupUtils.addEntry(ld,new LDAPEntry(dn,attrs));