trying to create a sidebar gadget with the ldap request function, but could not find very good or any useful documentation on this. im, who does not have much experience with javascript, and knows little about how ldap requests work, so any information will be useful in general.
information:
- host: abcde
- port: 389
- ou: people
- o: x_y_z
- c: us
first fragment:
var sSearchURL = "ldap://a.b.c.d.e:389/o=x_y_z,c=us";
var URLsuffix = "dc=" + form.SearchData.value;
document.location = sSearchURL URLsuffix;
another snippet:
var ldap = GetObject('LDAP:');
var ad = ldap.OpenDSObject('LDAP://a.b.c.d.e:389/o=x_y_z',
'cn=Administrator,ou=People,o=rootname', 'password', 0);
source
share