check in work in progress.

Please see README.
This commit is contained in:
leitner
2002-01-14 16:14:31 +00:00
commit 2d32361380
34 changed files with 1522 additions and 0 deletions

12
bindrequest.c Normal file
View File

@@ -0,0 +1,12 @@
#include <unistd.h>
#include "ldap.h"
int main() {
char buf[1024];
int s=100;
int len=fmt_ldapbindrequest(buf+s,3,"","");
int hlen=fmt_ldapmessage(0,1,0,len);
fmt_ldapmessage(buf+s-hlen,1,0,len);
write(1,buf+s-hlen,len+hlen);
return 0;
}