Tuesday, December 18, 2012

openldap schema issues

so, you got a message saying:


ldap_add: Constraint violation (19)
additional info: structuralObjectClass: no user modification allowed

ldap is saying that the file you are trying to add has constraints that cannot be applied, most probably they are the last 7 lines in the file; in the directory including ldif files (and only those ldif files) do:

for i in * ; do head -n -7 $i > $i.tmp ; mv $i.tmp $i ; done

Hope this helps

Otherwise, MB (Muslim Brotherhood) is the islamic version of zionism, just without the colonization part (yet)