Home
last modified time | relevance | path

Searched refs:ldversion (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/cmd/ldap/common/
H A Dcommon.c220 static int ldversion = -1; /* use default */ variable
617 ldversion = atoi (optarg);
618 if ( ldversion != LDAP_VERSION2 && ldversion != LDAP_VERSION3 ) {
621 ldaptool_progname, ldversion, LDAP_VERSION2,
695 ldversion = LDAP_VERSION3;
877 if (ldversion == LDAP_VERSION2 && ldapauth == LDAP_AUTH_SASL) {
878 fprintf( stderr, gettext("Incompatible with version %d\n"), ldversion);
1148 if ( ldversion == -1 ) { /* not set with -V */
1149 ldversion = LDAP_VERSION2; /* local db only supports v2 */
1162 if ( ldversion == -1 ) { /* not set with -V and not using local db */
[all …]
/titanic_41/usr/src/cmd/idmap/idmap/
H A Dnamemaps.c192 int ldversion, ldap_rc; in idmap_open_ad_conn() local
205 ldversion = LDAP_VERSION3; in idmap_open_ad_conn()
206 (void) ldap_set_option(adh->ad, LDAP_OPT_PROTOCOL_VERSION, &ldversion); in idmap_open_ad_conn()
/titanic_41/usr/src/lib/libadutils/common/
H A Dadutils.c584 int ldversion, rc; in open_conn() local
612 ldversion = LDAP_VERSION3; in open_conn()
613 (void) ldap_set_option(adh->ld, LDAP_OPT_PROTOCOL_VERSION, &ldversion); in open_conn()
H A Daddisc.c839 int rc, ldversion; in ldap_lookup_init() local
858 ldversion = LDAP_VERSION3; in ldap_lookup_init()
860 &ldversion); in ldap_lookup_init()
/titanic_41/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_ads.c331 int ldversion = LDAP_VERSION3, status, timeoutms = 5 * 1000; in smb_ads_ldap_ping() local
338 ldversion = LDAP_VERSION3; in smb_ads_ldap_ping()
339 (void) ldap_set_option(ld, LDAP_OPT_PROTOCOL_VERSION, &ldversion); in smb_ads_ldap_ping()