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
is supposed to be created. As result I get the following error message: 

> Unable to perform Modify operation. 

And these details information: 

> javax.naming.directory.SchemaViolationException: [LDAP: error code 65 -
00002014: objectclass: cannot delete all structural objectclasses!];
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

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Jxplorer-users mailing list
Jxplorer-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jxplorer-users

Reply via email to