Home | History | Annotate | Download | only in overlays

Lines Matching refs:ldap_url

498 	char *ldap_url = NULL;
508 ldap_url = ch_malloc( 1 + strlen( LDAP_PREFIX ) + strlen( realm ) );
509 sprintf( ldap_url, "%s%s", LDAP_PREFIX, realm );
510 return ldap_url;
540 if ( ldap_url ) {
543 nu = ch_malloc( strlen( ldap_url ) + 2 + strlen( LDAP_PREFIX ) +
547 sprintf( nu, "%s %s", ldap_url, line );
549 sprintf( nu, "%s %s%s", ldap_url, LDAP_PREFIX, line );
551 ch_free( ldap_url );
552 ldap_url = nu;
554 ldap_url = ch_malloc( 1 + strlen( line ) + strlen( LDAP_PREFIX ) );
556 strcpy( ldap_url, line );
558 sprintf( ldap_url, "%s%s", LDAP_PREFIX, line );
565 return ldap_url;
663 char *ldap_url = NULL;
752 ldap_url = get_ldap_url( realm, isfile );
753 if ( !ldap_url ) {
761 rc = ldap_initialize( &ld, ldap_url );
765 op->o_log_prefix, ldap_url, ldap_err2string( rc ) );
790 op->o_log_prefix, ldap_url, ldap_err2string( rc ) );
798 op->o_log_prefix, ldap_url, ldap_err2string( rc ) );
868 op->o_log_prefix, ldap_url );
875 op->o_log_prefix, ldap_url, ldap_err2string( rc ), tries );
890 if ( ldap_url ) ch_free( ldap_url );