i***@vsign.de
2014-02-11 09:24:50 UTC
Hi there,
I'm looking for an option to add a new entry via a link or a formula on a
HTML template.
In my particularly case its about a new contact entry. Beside the RDN, I
need to define instanceType, nTSecurityDescriptor, objectCategory and
objectClass in order to create a new entry. But that seam to be only
possible via the table editor, which is not really convenient option for
normal users.
My idea was to predefine these entry already in a HTML form/template, but
didn't work out... I tried that with the following code:
<form name="Person">
<input type="hidden" name="instanceType" value="4"/>
<input type="hidden" name="nTSecurityDescriptor" value=""/>
<input type="hidden" name="objectCategory"
value="CN=Person,CN=Schema,CN=Configuration,DC=gall,DC=lan"/>
<input type="hidden" name="objectClass" value="contact"/>
<input type="hidden" name="objectClass" value="organizationalPerson"/>
<input type="hidden" name="objectClass" value="person"/>
<input type="hidden" name="objectClass" value="top"/>
<input type="submit" name="Submit" value="Speichern"/>
<input type="reset"/>
</form>
I have the feeling, the form doesn't define the right OU, where the entry
remaining name 'ou=Contacts,dc=local,dc=lan'
As I understand that, jxplorer tries to overwrite the organizational unit
(OU). So somehow does the HTML form not address a new entry.
Any help/ideas how to realize my approach?
Regards
Valentin
I'm looking for an option to add a new entry via a link or a formula on a
HTML template.
In my particularly case its about a new contact entry. Beside the RDN, I
need to define instanceType, nTSecurityDescriptor, objectCategory and
objectClass in order to create a new entry. But that seam to be only
possible via the table editor, which is not really convenient option for
normal users.
My idea was to predefine these entry already in a HTML form/template, but
didn't work out... I tried that with the following code:
<form name="Person">
<input type="hidden" name="instanceType" value="4"/>
<input type="hidden" name="nTSecurityDescriptor" value=""/>
<input type="hidden" name="objectCategory"
value="CN=Person,CN=Schema,CN=Configuration,DC=gall,DC=lan"/>
<input type="hidden" name="objectClass" value="contact"/>
<input type="hidden" name="objectClass" value="organizationalPerson"/>
<input type="hidden" name="objectClass" value="person"/>
<input type="hidden" name="objectClass" value="top"/>
<input type="submit" name="Submit" value="Speichern"/>
<input type="reset"/>
</form>
I have the feeling, the form doesn't define the right OU, where the entry
Unable to perform Modify operation.
javax.naming.directory.SchemaViolationException: [LDAP: error code 65 -
00002014: objectclass: cannot delete all structural objectclasses!];javax.naming.directory.SchemaViolationException: [LDAP: error code 65 -
remaining name 'ou=Contacts,dc=local,dc=lan'
As I understand that, jxplorer tries to overwrite the organizational unit
(OU). So somehow does the HTML form not address a new entry.
Any help/ideas how to realize my approach?
Regards
Valentin