From 28900ea26ff1c8d41328bba30206db7fe91e2184 Mon Sep 17 00:00:00 2001 From: "Christopher R. Hertel" Date: Fri, 31 Jul 1998 22:39:15 +0000 Subject: As per a Andrew's message, I went through and removed the timestring() timestamps from several DEBUG messages. The timestamps are redundant now that DEBUG() provides them automatically. There are still a few more files to do, but I've got to get home for dinner. Chris -)----- (This used to be commit 60286ccecaa6028d687e6406755016455e3b3a26) --- source3/passdb/ldap.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source3/passdb/ldap.c') diff --git a/source3/passdb/ldap.c b/source3/passdb/ldap.c index 2e98cad4be..ea25f48605 100644 --- a/source3/passdb/ldap.c +++ b/source3/passdb/ldap.c @@ -39,8 +39,8 @@ static BOOL ldap_open_connection(LDAP **ldap_struct) { if ( (*ldap_struct = ldap_open(lp_ldap_server(),lp_ldap_port()) ) == NULL) { - DEBUG(0,("%s: The LDAP server is not responding !\n",timestring())); - return(False); + DEBUG( 0, ( "The LDAP server is not responding !\n" ) ); + return( False ); } DEBUG(2,("ldap_open_connection: connection opened\n")); return (True); @@ -55,7 +55,7 @@ static BOOL ldap_connect_anonymous(LDAP *ldap_struct) { if ( ldap_simple_bind_s(ldap_struct,lp_ldap_root(),lp_ldap_rootpasswd()) ! = LDAP_SUCCESS) { - DEBUG(0,("%s: Couldn't bind to the LDAP server !\n", timestring() )); + DEBUG( 0, ( "Couldn't bind to the LDAP server !\n" ) ); return(False); } return (True); @@ -69,7 +69,7 @@ static BOOL ldap_connect_system(LDAP *ldap_struct) { if ( ldap_simple_bind_s(ldap_struct,lp_ldap_root(),lp_ldap_rootpasswd()) ! = LDAP_SUCCESS) { - DEBUG(0,("%s: Couldn't bind to the LDAP server !\n", timestring() )); + DEBUG( 0, ( "Couldn't bind to the LDAP server!\n" ) ); return(False); } DEBUG(2,("ldap_connect_system: succesful connection to the LDAP server\n")); @@ -83,7 +83,7 @@ static BOOL ldap_connect_user(LDAP *ldap_struct, char *user, char *password) { if ( ldap_simple_bind_s(ldap_struct,lp_ldap_root(),lp_ldap_rootpasswd()) ! = LDAP_SUCCESS) { - DEBUG(0,("%s: Couldn't bind to the LDAP server !\n", timestring() )); + DEBUG( 0, ( "Couldn't bind to the LDAP server !\n" ) ); return(False); } DEBUG(2,("ldap_connect_user: succesful connection to the LDAP server\n")); @@ -104,7 +104,7 @@ static BOOL ldap_search_one_user(LDAP *ldap_struct, char *filter, LDAPMessage ** if (rc ! = LDAP_SUCCESS ) { - DEBUG(0,("%s: Problem during the LDAP search\n",timestring())); + DEBUG( 0, ( "Problem during the LDAP search\n" ) ); return(False); } return (True); -- cgit