WHATSNEW: Add net command changes
authorKai Blin <kai@samba.org>
Tue, 26 May 2009 07:29:35 +0000 (09:29 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 26 May 2009 07:46:23 +0000 (09:46 +0200)
(cherry picked from commit ce18ba7e24b5578672d2f2ffaab97ef708421067)

WHATSNEW.txt

index 64ffe3ff64718e1876b13d68a97d265041d3a7fc..6a779670abd2a859e0815e5946579d718bc601ab 100644 (file)
@@ -32,6 +32,8 @@ o The code has been cleaned up and the major basic interfaces are shared with
   Samba4 now.
 o An asynchronous API has been added.
 
+net Command Changes:
+o parameter syntax made more consistent
 
 General Changes
 ===============
@@ -99,6 +101,38 @@ these two versions.
 An asynchronous API has been added.
 
 
+net Command Changes
+===================
+
+The net command now accepts the common command line parameters most other Samba
+command line utilities use, with a couple of remaining differences:
+
+-l still gives long output for net commands supporting the --long flag. This was
+more useful than the common --log-base parameter.
+
+-i still tells net to read data from stdin (like --stdin) instead of toggling
+the common --scope flag.
+
+-S still tells net the server to connect to (like --server) instead of
+negotiating the common --signing flag. As -S is probably used by most scripts
+doing net rpc commands, this would have been a high-impact change for little
+gain.
+
+This change was mainly done to unify the authentification options. Here, one
+flag changed it's meaning and one useful flag was added.
+
+-N used to be the short version of --ntname. It now matches the Samba default of
+--no-pass. Use this to stop net from prompting for a password if you want
+anonymous authentication.
+
+-A --authentication-file now takes an authentication file with the username and
+password you want net to use, avoiding a password prompt as with plain -U user
+or having to give a password on the command line as in -U user%pass.
+
+Last but not least net now always falls back to your local unix username if no
+-U is specified and a username is needed. net rpc commands will now prompt for a
+password unless one is specified using either -U user%pass or -A auth_file
+
 ######################################################################
 Changes
 #######