summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-11-30 22:54:42 +0100
committerMichael Adam <obnox@samba.org>2008-12-01 04:37:22 +0100
commit1048c2ccbea1ce76719a6ac320ec9104e896db8f (patch)
tree01f76bee6711d1ede763160021ceaef2215fd335 /source3
parent82ee6d2f7d254a704574744bf9f25dcb0e2ab7cf (diff)
downloadsamba-1048c2ccbea1ce76719a6ac320ec9104e896db8f.tar.gz
samba-1048c2ccbea1ce76719a6ac320ec9104e896db8f.tar.bz2
samba-1048c2ccbea1ce76719a6ac320ec9104e896db8f.zip
s3:winbindd/nss_info: add debugging to nss_init()
Michael
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/nss_info.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/winbindd/nss_info.c b/source3/winbindd/nss_info.c
index c35df4fbed..7df1eeeb01 100644
--- a/source3/winbindd/nss_info.c
+++ b/source3/winbindd/nss_info.c
@@ -158,6 +158,9 @@ static bool parse_nss_parm( const char *config, char **backend, char **domain )
continue;
}
+ DEBUG(10, ("parsed backend = '%s', domain = '%s'\n",
+ backend, domain));
+
/* validate the backend */
if ( (nss_backend = nss_get_backend( backend )) == NULL ) {
@@ -197,6 +200,10 @@ static bool parse_nss_parm( const char *config, char **backend, char **domain )
nss_domain->domain));
}
+ DEBUG(10, ("nss_init: nss domain initialized: "
+ "domain = '%s', backend = '%s'\n",
+ domain, backend));
+
/* cleanup */
SAFE_FREE( backend );