""
is specified and the LDAP_BINDDN variable has not been set, then an unauthenticated bind is performed.
""
is specified and the LDAP_BINDPW variable has not been set, then an unauthenticated bind is performed.
Passwords that have been encoded by using the PWENCODE procedure can
be used to bind to the server. For more
information, see the PWENCODE Procedure in Base SAS Procedures Guide.OPT_REFERRALS_OFF | instructs the server to not chase referrals. Specifying this option overrides the default value of OPT_REFERRALS_ON. |
SUBTREE_SEARCH_SCOPE | sets the scope of the search to include all subtrees. This is the default value. |
BASE_SEARCH_SCOPE | sets the scope of the search to include only the base. This value overrides the default value of SUBTREE_SEARCH_SCOPE. |
ONELEVEL_SEARCH_SCOPE | sets the scope of the search to include the base and one additional level. This value overrides the default value of SUBTREE_SEARCH_SCOPE. |
server="alpair01.unx.com";port=8010; base="sasComponent=sasPublishSubscribe,cn=SAS,o=Alphalite Airways,c=US"; bindDN=""; Pw=""; call LDAPS_OPEN(lHandle, server, port, base, bindDN, Pw, rc);
server = "alpair02.unx.com"; base = "o=Alphalite Airways,c=US"; bindDN ="cn=John Doe,o=Alphalite Airways,c=us"; bindPW ="myPass1"; option= "OPT_REFERRALS_OFF"; call LDAPS_OPEN(lHandle, server,8001,base,bindDN,bindPW,rc, option);