summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-03-12 02:10:35 +0100
committerMichael Adam <obnox@samba.org>2008-03-12 02:12:34 +0100
commitb371db93bba1fd1753966a7270f0d6936d5863f2 (patch)
treeb8cebd8243fb7cab44d98ea024e0ada54d94b416
parent6476313b6d4ad8b33e63f8b7bf9bf6a7384d23ec (diff)
downloadsamba-b371db93bba1fd1753966a7270f0d6936d5863f2.tar.gz
samba-b371db93bba1fd1753966a7270f0d6936d5863f2.tar.bz2
samba-b371db93bba1fd1753966a7270f0d6936d5863f2.zip
init_srv_share_info_ctr: Add debug messages.
Michael (This used to be commit 8b2cc36ffcb3bccb760ec7cb0a22558eab56070d)
-rw-r--r--source3/rpc_server/srv_srvsvc_nt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_srvsvc_nt.c b/source3/rpc_server/srv_srvsvc_nt.c
index 6421efdf8f..2658e5a37a 100644
--- a/source3/rpc_server/srv_srvsvc_nt.c
+++ b/source3/rpc_server/srv_srvsvc_nt.c
@@ -505,7 +505,10 @@ static WERROR init_srv_share_info_ctr(pipes_struct *p,
/* Count the number of entries. */
for (snum = 0; snum < num_services; snum++) {
if (lp_browseable(snum) && lp_snum_ok(snum) && (all_shares || !is_hidden_share(snum)) ) {
+ DEBUG(10, ("counting service %s\n", lp_servicename(snum)));
num_entries++;
+ } else {
+ DEBUG(10, ("NOT counting service %s\n", lp_servicename(snum)));
}
}