1N/A * Portions Copyright 1998 Sun Microsystems, Inc. All rights reserved. 1N/A * Use is subject to license terms. 1N/A#
pragma ident "%Z%%M% %I% %E% SMI" 1N/A * Copyright (c) 1993 Regents of the University of Michigan. 1N/A * All rights reserved. 1N/Astatic char copyright[] =
"@(#) Copyright (c) 1993 Regents of the University of Michigan.\nAll rights reserved.\n";
1N/A * The bind request looks like this: 1N/A * BindRequest ::= SEQUENCE { 1N/A * name DistinguishedName, -- who 1N/A * authentication CHOICE { 1N/A * simple [0] OCTET STRING -- passwd 1N/A * all wrapped up in an LDAPMessage sequence. 1N/A /* Code controls if any */ 1N/A /* Otherwise, is there any global server ctrls ? */ 1N/A * ldap_simple_bind - bind to the ldap server (and X.500). The dn and 1N/A * password of the entry to which to bind are supplied. The message id 1N/A * of the request initiated is returned. 1N/A * ldap_simple_bind( ld, "cn=manager, o=university of michigan, c=us", 1N/A /* create a message to send */ 1N/A#
endif /* !NO_CACHE */ 1N/A /* send the message */ 1N/A * ldap_simple_bind - bind to the ldap server (and X.500) using simple 1N/A * authentication. The dn and password of the entry to which to bind are 1N/A * supplied. LDAP_SUCCESS is returned upon success, the ldap error code 1N/A * ldap_simple_bind_s( ld, "cn=manager, o=university of michigan, c=us",