summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-12-06 03:22:44 +0000
committerTim Potter <tpot@samba.org>2000-12-06 03:22:44 +0000
commita1f4e6e9273d5cf98cfed330c02d9a41886edf44 (patch)
tree7af3e4422d4eb276ac9c72995f1c119605c0bf69
parentbd54bcb3976b585e285a18e607db5beb04d09e11 (diff)
downloadsamba-a1f4e6e9273d5cf98cfed330c02d9a41886edf44.tar.gz
samba-a1f4e6e9273d5cf98cfed330c02d9a41886edf44.tar.bz2
samba-a1f4e6e9273d5cf98cfed330c02d9a41886edf44.zip
Print debug if domain_client_validate() cannot fetch the trust account
password (say for example if the tdb file format has changed). (-: (This used to be commit 447fbb38a857a7e97cf2a99022576521c71a4512)
-rw-r--r--source3/smbd/password.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 48e4172ace..f759f3b781 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -1444,7 +1444,8 @@ BOOL domain_client_validate( char *user, char *domain,
*/
if (!secrets_fetch_trust_account_password(lp_workgroup(), trust_passwd, NULL))
{
- return False;
+ DEBUG(0, ("domain_client_validate: could not fetch trust account password for domain %s\n", lp_workgroup()));
+ return False;
}
/*