diff options
author | Christopher R. Hertel <crh@samba.org> | 1998-07-31 22:39:15 +0000 |
---|---|---|
committer | Christopher R. Hertel <crh@samba.org> | 1998-07-31 22:39:15 +0000 |
commit | 28900ea26ff1c8d41328bba30206db7fe91e2184 (patch) | |
tree | 3aae83c6ce3cc0395ddbac76b5ca96791ebd68c4 /source3/passdb | |
parent | e6b86850912ea480bf656f05928cf5325b74c3db (diff) | |
download | samba-28900ea26ff1c8d41328bba30206db7fe91e2184.tar.gz samba-28900ea26ff1c8d41328bba30206db7fe91e2184.tar.bz2 samba-28900ea26ff1c8d41328bba30206db7fe91e2184.zip |
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)
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/ldap.c | 12 |
1 files changed, 6 insertions, 6 deletions
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); |