diff options
author | Günther Deschner <gd@samba.org> | 2005-06-24 14:15:31 +0000 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2005-06-24 14:15:31 +0000 |
commit | 338125f7dfdc746e51a6ea7ce6be8328b9cade8c (patch) | |
tree | 53458facee637a3aaacaa67180a62295df313866 | |
parent | 5cb7b1453a5acc57cf4c938d307083c9671a37ed (diff) | |
download | samba-338125f7dfdc746e51a6ea7ce6be8328b9cade8c.tar.gz samba-338125f7dfdc746e51a6ea7ce6be8328b9cade8c.tar.xz samba-338125f7dfdc746e51a6ea7ce6be8328b9cade8c.zip |
r7876: Now that we have "net rpc share migrate security" completly remove the
share-acl from "net rpc share migrate shares".
God, how ugly does this syntax get.
Guenther
-rw-r--r-- | source/utils/net_rpc.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/source/utils/net_rpc.c b/source/utils/net_rpc.c index cd87d668fd6..cf45216b6e8 100644 --- a/source/utils/net_rpc.c +++ b/source/utils/net_rpc.c @@ -2850,18 +2850,15 @@ rpc_share_migrate_shares_internals(const DOM_SID *domain_sid, const char *domain /* finally add the share on the dst server */ - printf("migrating: [%s], path: %s, comment: %s, %s share-ACLs\n", - netname, path, remark, opt_acls ? "including" : "without" ); - - if (opt_verbose && opt_acls) - display_sec_desc(ctr_src.share.info502[i].info_502_str.sd); + printf("migrating: [%s], path: %s, comment: %s, without share-ACLs\n", + netname, path, remark); result = cli_srvsvc_net_share_add(cli_dst, mem_ctx, netname, type, remark, ctr_src.share.info502[i].info_502.perms, ctr_src.share.info502[i].info_502.max_uses, ctr_src.share.info502[i].info_502.num_uses, path, password, level, - opt_acls? ctr_src.share.info502[i].info_502_str.sd : NULL); + NULL); if (W_ERROR_V(result) == W_ERROR_V(WERR_ALREADY_EXISTS)) { printf(" [%s] does already exist\n", netname); |