net: Use samba default command line arguments.
authorKai Blin <kai@samba.org>
Thu, 14 May 2009 09:39:01 +0000 (11:39 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 26 May 2009 07:39:54 +0000 (09:39 +0200)
commit8cfd3e53820c28b0258a12caca1055c51345d4e3
tree98b74f53e504cd147ffbb775414b676630b53625
parent192a2ae30dea7463cc0e13500e80352144cfa1a0
net: Use samba default command line arguments.

Attention:

The meaning of the -N flag changed.
To get the old meaning for net groupmap set, use the long option --ntname
The long option for using kerberos changed from --kerberos to --use-kerberos

net rpc commands will now prompt for a password if none is given.

As a benefit, net will now accept an authentication file like other samba
command line tools. So no need to specify the password on the command line in
scripts anymore.

This should fix bug #6357

Signed-off-by: Kai Blin <kai@samba.org>
(cherry picked from commit fb262f79fab00374023e59476e8d05a1015a7041)
(cherry picked from commit c039bc15ba597d955d0ccbf5642388b0a03ba40b)
source3/utils/net.c
source3/utils/net.h
source3/utils/net_ads.c
source3/utils/net_dom.c
source3/utils/net_help.c
source3/utils/net_proto.h
source3/utils/net_rpc.c
source3/utils/net_rpc_join.c
source3/utils/net_rpc_samsync.c
source3/utils/net_rpc_shell.c
source3/utils/net_util.c