diff options
author | Michael Adam <obnox@samba.org> | 2008-03-12 02:10:35 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-03-12 02:12:34 +0100 |
commit | b371db93bba1fd1753966a7270f0d6936d5863f2 (patch) | |
tree | b8cebd8243fb7cab44d98ea024e0ada54d94b416 /source3/rpc_server | |
parent | 6476313b6d4ad8b33e63f8b7bf9bf6a7384d23ec (diff) | |
download | samba-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)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_srvsvc_nt.c | 3 |
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))); } } |