summaryrefslogtreecommitdiffstats
path: root/source/rpcclient
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2005-06-16 09:36:53 +0000
committerGünther Deschner <gd@samba.org>2005-06-16 09:36:53 +0000
commit8e67f9796f60ad51e3abf270eec6fad583380c6a (patch)
tree6e864e48543753702fe7da2feae2d592d0ffc16a /source/rpcclient
parent45de16e17474a996f319edc042bccd3181ac7f5a (diff)
downloadsamba-8e67f9796f60ad51e3abf270eec6fad583380c6a.tar.gz
samba-8e67f9796f60ad51e3abf270eec6fad583380c6a.tar.xz
samba-8e67f9796f60ad51e3abf270eec6fad583380c6a.zip
r7632: Cleanup "net share migrate"-code.
* Allow to copy share security descriptors to already existing shares separatly. * Added abstraction function to enum all or a single share info Guenther
Diffstat (limited to 'source/rpcclient')
-rw-r--r--source/rpcclient/cmd_srvsvc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/rpcclient/cmd_srvsvc.c b/source/rpcclient/cmd_srvsvc.c
index bdb2f22b54c..1d173ffdff1 100644
--- a/source/rpcclient/cmd_srvsvc.c
+++ b/source/rpcclient/cmd_srvsvc.c
@@ -260,6 +260,11 @@ static void display_share_info_502(SRV_SHARE_INFO_502 *info502)
printf("\tpath:\t%s\n", path);
printf("\tpassword:\t%s\n", passwd);
+ printf("\ttype:\t0x%x\n", info502->info_502.type);
+ printf("\tperms:\t%d\n", info502->info_502.perms);
+ printf("\tmax_uses:\t%d\n", info502->info_502.max_uses);
+ printf("\tnum_uses:\t%d\n", info502->info_502.num_uses);
+
if (info502->info_502_str.sd)
display_sec_desc(info502->info_502_str.sd);