diff options
author | Günther Deschner <gd@samba.org> | 2005-06-16 09:36:53 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:57:17 -0500 |
commit | 75545d578eb8f3450021c8eec4b1158dd95f44ef (patch) | |
tree | 0f022a460cffb5d2fd095d19691b2765f6998b26 /source3/rpcclient | |
parent | b162a396fecb08cc02addf17aed30fbc5e813f5b (diff) | |
download | samba-75545d578eb8f3450021c8eec4b1158dd95f44ef.tar.gz samba-75545d578eb8f3450021c8eec4b1158dd95f44ef.tar.bz2 samba-75545d578eb8f3450021c8eec4b1158dd95f44ef.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
(This used to be commit 97097497ae42d7a03286bbe16bcffb8224137688)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_srvsvc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/rpcclient/cmd_srvsvc.c b/source3/rpcclient/cmd_srvsvc.c index bdb2f22b54..1d173ffdff 100644 --- a/source3/rpcclient/cmd_srvsvc.c +++ b/source3/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); |