]> git.sur5r.net Git - openldap/commitdiff
Zap LDAP_LIBUI
authorKurt Zeilenga <kurt@openldap.org>
Thu, 14 Sep 2000 07:22:01 +0000 (07:22 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 14 Sep 2000 07:22:01 +0000 (07:22 +0000)
configure
configure.in
include/portable.h.in
libraries/libldap/getfilter.c
libraries/libldap/kbind.c

index df54551360d660c8d2379c67073b4282abb191d5..0f5257b26a601250d6b3db441cc58fdffd4e140a 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # $OpenLDAP$
-# from OpenLDAP: pkg/ldap/configure.in,v 1.325 2000/09/12 19:19:16 kurt Exp  
+# from OpenLDAP: pkg/ldap/configure.in,v 1.326 2000/09/12 23:40:17 kurt Exp  
 
 # Copyright 1998-2000 The OpenLDAP Foundation.  All Rights Reserved.
 # 
@@ -15827,12 +15827,6 @@ if test "$ol_enable_syslog" = yes ; then
 #define LDAP_SYSLOG 1
 EOF
 
-fi
-if test "$ol_enable_libui" = yes ; then
-       cat >> confdefs.h <<\EOF
-#define LDAP_LIBUI 1
-EOF
-
 fi
 if test "$ol_enable_cache" = no ; then
        cat >> confdefs.h <<\EOF
index e21088b4230cd42307e11ca5d5fa59d330af30b5..f78443aecb772780155242cea8eb5baefefe73f4 100644 (file)
@@ -2156,10 +2156,6 @@ if test "$ol_enable_syslog" = yes ; then
        AC_DEFINE(LDAP_SYSLOG,1,
                [define this to add syslog code])
 fi
-if test "$ol_enable_libui" = yes ; then
-       AC_DEFINE(LDAP_LIBUI,1,
-               [define this for LDAP User Interface support])
-fi
 if test "$ol_enable_cache" = no ; then
        AC_DEFINE(LDAP_NOCACHE,1,
                [define this to remove -lldap cache support])
index 2f653160a5eaa4fd8c636ba97bfc11b50d9b89c1..85a78557fc7f1cea1b00bc7e1b4492cc7672fdf0 100644 (file)
 /* define this to add syslog code */
 #undef LDAP_SYSLOG
 
-/* define this for LDAP User Interface support */
-#undef LDAP_LIBUI
-
 /* define this to remove -lldap cache support */
 #undef LDAP_NOCACHE
 
index 9939ae88acd1dad6017747ad281a1200d344b2ed..e6570187ccb74dcd48b43f952e0e5a477f909cd3 100644 (file)
@@ -122,14 +122,13 @@ ldap_init_getfilter_buf( char *buf, ber_len_t buflen )
            nextflp->lfl_tag = LDAP_STRDUP( tag );
            nextflp->lfl_pattern = tok[ 0 ];
            if ( (rc = regcomp( &re, nextflp->lfl_pattern, 0 )) != 0 ) {
-#ifdef LDAP_LIBUI
                char error[512];
                regerror(rc, &re, error, sizeof(error));
                ldap_getfilter_free( lfdp );
-               fprintf( stderr, "bad regular expression %s, %s\n",
-                       nextflp->lfl_pattern, error );
+               Debug( LDAP_DEBUG_ANY, "ldap_init_get_filter_buf: "
+                       "bad regular expression %s, %s\n",
+                       nextflp->lfl_pattern, error, 0 );
                errno = EINVAL;
-#endif /* LDAP_LIBUI */
                LDAP_VFREE( tok );
                return( NULL );
            }
index 240c3f7b242a84fa44fec3205f28900e829ed611..1da20d716fe55209204b20a251188ba53d162f55 100644 (file)
@@ -243,10 +243,8 @@ ldap_get_kerberosv4_credentials(
        Debug( LDAP_DEBUG_TRACE, "ldap_get_kerberosv4_credentials\n", 0, 0, 0 );
 
        if ( (err = krb_get_tf_realm( tkt_string(), realm )) != KSUCCESS ) {
-#ifdef LDAP_LIBUI
-               fprintf( stderr, "krb_get_tf_realm failed (%s)\n",
-                   krb_err_txt[err] );
-#endif /* LDAP_LIBUI */
+               Debug( LDAP_DEBUG_ANY, "ldap_get_kerberosv4_credentials: "
+                       "krb_get_tf_realm failed: %s\n", krb_err_txt[err], 0, 0 );
                ld->ld_errno = LDAP_AUTH_UNKNOWN;
                return( NULL );
        }
@@ -261,10 +259,10 @@ ldap_get_kerberosv4_credentials(
        krbinstance = ld->ld_defconn->lconn_krbinstance;
 
        if ( (err = krb_mk_req( &ktxt, service, krbinstance, realm, 0 ))
-           != KSUCCESS ) {
-#ifdef LDAP_LIBUI
-               fprintf( stderr, "krb_mk_req failed (%s)\n", krb_err_txt[err] );
-#endif /* LDAP_LIBUI */
+           != KSUCCESS )
+       {
+               Debug( LDAP_DEBUG_ANY, "ldap_get_kerberosv4_credentials: "
+                       "krb_mk_req failed (%s)\n", krb_err_txt[err], 0, 0 );
                ld->ld_errno = LDAP_AUTH_UNKNOWN;
                return( NULL );
        }