The input format for a BIND request is as follows:
BIND msgid: integer[suffix: dn]+ dn: binddn method: integer credlen: integer cred: credentialsThe msgid parameter is a unique identifier for the operation. The method parameter will be one of the LDAP authentication methods listed in <ldap.h>. The only credential currently supported is a clear-text password (used with a simple bind).