Searched refs:lud (Results 1 - 22 of 22) sorted by relevance

/netbsd-current/external/bsd/openldap/dist/clients/tools/
H A Dldapurl.c66 do_uri_create( LDAPURLDesc *lud )
70 if ( lud->lud_scheme == NULL ) {
71 lud->lud_scheme = "ldap";
74 if ( lud->lud_port == -1 ) {
75 if ( strcasecmp( lud->lud_scheme, "ldap" ) == 0 ) {
76 lud->lud_port = LDAP_PORT;
78 } else if ( strcasecmp( lud->lud_scheme, "ldaps" ) == 0 ) {
79 lud->lud_port = LDAPS_PORT;
81 } else if ( strcasecmp( lud->lud_scheme, "ldapi" ) == 0 ) {
82 lud
120 LDAPURLDesc *lud; local
176 LDAPURLDesc lud = { 0 }; local
[all...]
H A Dcommon.c1213 LDAPURLDesc *lud = *ludp; local
1216 if ( lud->lud_dn != NULL && lud->lud_dn[ 0 ] != '\0' &&
1217 ( lud->lud_host == NULL || lud->lud_host[0] == '\0' ) )
1227 len_proto = strlen( lud->lud_scheme );
1229 if ( ldap_dn2domain( lud->lud_dn, &domain )
1235 lud->lud_dn );
1284 lud->lud_scheme, hosts[ i ] );
1303 urls[ nurls ] = ldap_url_desc2str( lud );
[all...]
/netbsd-current/external/bsd/openldap/dist/libraries/libldap/
H A Durltest.c49 LDAPURLDesc *lud; local
80 rc = ldap_url_parse( url, &lud );
86 fprintf( stdout, "PROTO: %s\n", lud->lud_scheme );
89 fprintf( stdout, "PATH: %s\n", lud->lud_host );
93 fprintf( stdout, "HOST: %s\n", lud->lud_host );
94 if ( lud->lud_port != 0 ) {
95 fprintf( stdout, "PORT: %d\n", lud->lud_port );
99 if ( lud->lud_dn && lud->lud_dn[ 0 ] ) {
100 fprintf( stdout, "DN: %s\n", lud
[all...]
/netbsd-current/external/bsd/openldap/dist/servers/lloadd/
H A Dlload-config.h37 LloadListener *lload_config_check_my_url( const char *url, LDAPURLDesc *lud );
H A Ddaemon.c373 LDAPURLDesc *lud,
395 assert( lud );
402 if ( ldap_pvt_url_scheme2tls( lud->lud_scheme ) ) {
406 ldap_free_urldesc( lud );
410 if ( !lud->lud_port ) lud->lud_port = LDAP_PORT;
413 l.sl_is_tls = ldap_pvt_url_scheme2tls( lud->lud_scheme );
416 l.sl_is_proxied = ldap_pvt_url_scheme2proxied( lud->lud_scheme );
423 port = (unsigned short)lud->lud_port;
425 tmp = ldap_pvt_url_scheme2proto( lud
371 lload_open_listener( const char *url, LDAPURLDesc *lud, int *listeners, int *cur ) argument
705 LDAPURLDesc *lud; local
[all...]
H A Dconfig.c867 LDAPURLDesc *lud; local
871 c->line, &lud, LDAP_PVT_URL_PARSE_DEF_PORT ) ) {
879 if ( ( l = lload_config_check_my_url( c->line, lud ) ) ) {
888 if ( lload_open_new_listener( c->line, lud ) ) {
1079 LDAPURLDesc *lud = NULL; local
1085 rc = ldap_url_parse_ext( uri->bv_val, &lud, LDAP_PVT_URL_PARSE_DEF_PORT );
1093 if ( ldap_pvt_url_scheme2tls( lud->lud_scheme ) ) {
1107 proto = ldap_pvt_url_scheme2proto( lud->lud_scheme );
1110 if ( lud->lud_host == NULL || lud
1305 LDAPURLDesc *lud = NULL; local
[all...]
H A Dproto-lload.h108 LDAP_SLAPD_F (int) lload_open_new_listener( const char *urls, LDAPURLDesc *lud );
/netbsd-current/external/bsd/openldap/dist/libraries/librewrite/
H A Dxmap.c168 LDAPURLDesc *lud; local
207 rc = ldap_url_parse( url, &lud );
214 assert( lud != NULL );
216 map->lm_args = ( void * )lud;
221 ldap_free_urldesc( lud );
370 LDAPURLDesc *lud = ( LDAPURLDesc * )map->lm_args; local
374 assert( lud != NULL );
380 ld = ldap_init( lud->lud_host, lud->lud_port );
386 snprintf( filter, sizeof( filter ), lud
[all...]
/netbsd-current/external/bsd/openldap/dist/contrib/slapd-modules/allop/
H A Dallop.c77 LDAPURLDesc *lud; local
92 if ( ldap_url_parse( argv[ 1 ], &lud ) != LDAP_URL_SUCCESS ) {
96 scope = lud->lud_scope;
101 if ( lud->lud_dn == NULL || lud->lud_dn[ 0 ] == '\0' ) {
111 ber_str2bv( lud->lud_dn, 0, 0, &dn );
115 ldap_free_urldesc( lud );
/netbsd-current/external/bsd/openldap/dist/servers/slapd/overlays/
H A Dconstraint.c73 LDAPURLDesc *lud; member in struct:constraint
132 if (cp->lud)
133 ldap_free_urldesc(cp->lud);
351 err = ldap_url_parse(c->argv[3], &ap.lud);
360 if (ap.lud->lud_host != NULL) {
364 ldap_free_urldesc(ap.lud);
369 for ( i=0; ap.lud->lud_attrs[i]; i++);
373 for ( i=0; ap.lud->lud_attrs[i]; i++) {
375 if ( slap_str2ad( ap.lud->lud_attrs[i], &ap.attrs[i], &text ) ) {
378 "%s <%s>: %s\n", c->argv[0], ap.lud
[all...]
H A Ddynlist.c559 LDAPURLDesc *lud = NULL; local
570 if ( ldap_url_parse( url->bv_val, &lud ) != LDAP_URL_SUCCESS ) {
575 if ( lud->lud_host != NULL ) {
583 if ( lud->lud_dn == NULL ) {
592 ber_str2bv( lud->lud_dn, 0, 0, &dn );
599 o.ors_scope = lud->lud_scope;
608 /* if ( lud->lud_attrs != NULL ),
612 } else if ( lud->lud_attrs == NULL ) {
616 for ( i = 0; lud->lud_attrs[i]; i++)
620 for ( i = 0, j = 0; lud
2105 LDAPURLDesc *lud = NULL; local
[all...]
H A Dpcache.c610 LDAPURLDesc *lud = NULL; local
628 rc = ldap_url_parse( url, &lud );
634 if ( lud->lud_host != NULL ) {
639 if ( lud->lud_attrs != NULL ) {
645 if ( strcmp( lud->lud_scheme, "ldap" ) != 0 ) {
651 if ( lud->lud_dn == NULL || lud->lud_dn[ 0 ] == '\0' ) {
656 switch ( lud->lud_scope ) {
668 if ( lud->lud_filter == NULL || lud
[all...]
/netbsd-current/external/bsd/openldap/dist/tests/progs/
H A Dslapd-tester.c930 LDAPURLDesc *lud; local
934 if ( ldap_url_parse( line, &lud ) != LDAP_URL_SUCCESS ) {
939 if ( lud->lud_dn == NULL || lud->lud_exts != NULL ) {
941 ldap_free_urldesc( lud );
945 luds[filter] = lud;
996 LDAPURLDesc *lud; local
998 if ( ldap_url_parse( &line[1], &lud ) != LDAP_URL_SUCCESS ) {
1003 if ( lud->lud_dn == NULL || lud
[all...]
/netbsd-current/external/bsd/openldap/dist/contrib/slapd-modules/nssov/
H A Dnssov.c693 LDAPURLDesc *lud; local
700 rc = ldap_url_parse(c->argv[2], &lud);
706 if (strcasecmp(lud->lud_scheme,"ldap")) {
711 if (( lud->lud_host && *lud->lud_host ) ||
712 lud->lud_attrs || lud->lud_exts ) {
716 ber_str2bv( lud->lud_dn,0,0,&base);
720 if ( lud->lud_filter ) {
722 ber_str2bv( lud
[all...]
/netbsd-current/external/bsd/openldap/dist/servers/slapd/
H A Dsasl.c1029 LDAPURLDesc *lud = NULL; local
1047 if ( ldap_url_parse( uri, &lud ) != LDAP_URL_SUCCESS ) {
1054 if ( strcasecmp( lud->lud_scheme, "ldap" )) {
1057 fname, lineno, lud->lud_scheme );
1061 if (( lud->lud_host && lud->lud_host[0] ) || lud->lud_exts
1062 || !lud->lud_dn ) {
1069 if ( lud->lud_attrs ) {
1070 if ( lud
[all...]
H A Ddaemon.c1519 LDAPURLDesc *lud; local
1534 rc = ldap_url_parse( url, &lud );
1548 if( ldap_pvt_url_scheme2tls( lud->lud_scheme ) ) {
1551 ldap_free_urldesc( lud );
1555 if(! lud->lud_port ) lud->lud_port = LDAP_PORT;
1558 l.sl_is_tls = ldap_pvt_url_scheme2tls( lud->lud_scheme );
1560 if(! lud->lud_port ) {
1561 lud->lud_port = l.sl_is_tls ? LDAPS_PORT : LDAP_PORT;
1565 l.sl_is_proxied = ldap_pvt_url_scheme2proxied( lud
[all...]
H A Dslap-config.h224 Listener *config_check_my_url(const char *url, LDAPURLDesc *lud);
H A Dconfig.c2564 Listener *config_check_my_url( const char *url, LDAPURLDesc *lud )
2581 if ( !lud->lud_host || !lud->lud_host[0] ||
2582 !strncasecmp("localhost", lud->lud_host,
2584 !strcasecmp( global_host, lud->lud_host )) {
2590 if ( strcasecmp( lud->lud_scheme,
2593 if ( lud->lud_port != lu2->lud_port )
2601 if ( !lud->lud_host || !lud->lud_host[0] ) {
2608 if ( !strcasecmp( lud
[all...]
H A Dbconfig.c2288 LDAPURLDesc *lud; local
2312 if ( ldap_url_parse( c->argv[2], &lud )) {
2346 Listener *l = config_check_my_url( c->argv[2], lud );
2349 ldap_free_urldesc( lud );
2365 ldap_free_urldesc( lud );
2972 LDAPURLDesc *lud = NULL; local
2990 if ( ldap_url_parse( url, &lud ) ) {
2995 *l = config_check_my_url( url, lud );
3028 if ( lud != NULL ) {
3029 ldap_free_urldesc( lud );
[all...]
H A Dsyncrepl.c7060 LDAPURLDesc *lud; local
7079 if ( ldap_url_parse( si->si_bindconf.sb_uri.bv_val, &lud )) {
7106 lud ) == NULL )
7126 ldap_free_urldesc( lud );
/netbsd-current/external/bsd/openldap/dist/contrib/slapd-modules/autogroup/
H A Dautogroup.c603 LDAPURLDesc *lud = NULL; local
657 if ( ldap_url_parse( bv->bv_val, &lud ) != LDAP_URL_SUCCESS ) {
664 agf->agf_scope = lud->lud_scope;
666 if ( lud->lud_dn == NULL ) {
669 ber_str2bv( lud->lud_dn, 0, 0, &dn );
679 if ( lud->lud_filter != NULL ) {
680 ber_str2bv( lud->lud_filter, 0, 1, &agf->agf_filterstr);
681 agf->agf_filter = str2filter( lud->lud_filter );
688 if ( lud->lud_attrs != NULL ) {
691 for ( i=0 ; lud
[all...]
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-ldap/
H A Dconfig.c1562 LDAPURLDesc *tmpludp, *lud; local
1576 urlrc = ldap_url_parselist_ext( &lud, c->argv[ 1 ], ", \t", LDAP_PVT_URL_PARSE_NONE );
1624 for ( i = 0, tmpludp = lud;
1645 for ( i = 0, tmpludp = lud;
1652 for ( i = 0, tmpludp = lud;
1696 if ( lud ) {
1697 ldap_free_urllist( lud );

Completed in 343 milliseconds