summaryrefslogtreecommitdiff
path: root/source3/utils/net_help.c
AgeCommit message (Collapse)AuthorFilesLines
2011-05-18s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett1-1/+1
strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
2010-01-05s3 net: Add a few missing gettext calls.Kai Blin1-2/+2
Many many thanks to Adi Roiban from #ubuntu-translators for helping me find and fix my problems with the translations.
2009-07-30s3 net: i18n support for net helpKai Blin1-2/+2
2009-07-22Revert "net: Use samba default command line arguments."Kai Blin1-1/+0
This reverts commit fb262f79fab00374023e59476e8d05a1015a7041 and related commits c36031778e1983ddb11d3e1fcab35e738dbf94bc 72fd5fa6bb78a054fad5e5ebe19a0c0387a7d45b and 38cd0e086f50ce54d88a19aa5a6803469af90489 This change caused more trouble than it solved. We need to do this differently. Reverting so we don't accidently release this.
2009-05-25net: Use samba default command line arguments.Kai Blin1-0/+1
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>
2008-06-10net: Rename functable3 to functable, get rid of old functablesKai Blin1-3/+3
(This used to be commit bb7c5fc4ec77db4073d3beccf12af12910b6bd07)
2008-06-10net: Autogenerate "net help" output from net's functable.Kai Blin1-63/+28
(This used to be commit 0feb40bc8408412336c667df4f8bf57c77446ca7)
2008-05-20net: The top level help function for net cmd is always net_cmd_usageKai Blin1-7/+7
(This used to be commit f7d0903a58b0b0fc248a613937a101f15baa5311)
2008-05-20net: Move help for "net status" to net_status.cKai Blin1-9/+0
(This used to be commit d26681b169a533f838f74d48af072b57afc9f8df)
2008-05-20net: Move printer help to net_rpc where it's used.Kai Blin1-32/+0
(This used to be commit 2ee3d1aefab8dada5bd05a92b72776554617b7f9)
2008-05-20net: Split out "net share"Kai Blin1-40/+1
(This used to be commit 25d4c6f692cf50d675a1de7c6eaeed271f349289)
2008-05-20net: Split out "net afs"Kai Blin1-1/+1
(This used to be commit 3f10527f79dddff703d31588cad3e9f37176565b)
2008-05-20net: Split out "net file"Kai Blin1-18/+1
(This used to be commit 84a116be9c849900678e6e0a4b012e819e697c78)
2008-05-20net: Split out "net group"Kai Blin1-23/+1
(This used to be commit 3ddd9c09e3b51df01ac34a9a1537e8954d2b1167)
2008-05-20net: Split out "net user"Kai Blin1-23/+1
(This used to be commit 4ca08a5acc90c77d56f8f3e38443f23f43f034e8)
2008-05-20net: Move "net join" handling into a separate file.Kai Blin1-12/+1
(This used to be commit d0237a736858a48494583ce7f960ea980768aa6c)
2008-05-20net: Split out common help functions.Kai Blin1-32/+0
(This used to be commit efc863e3758501a4c62dc9762eb0aded2dad01ff)
2008-05-20net: more whitespace cleanupKai Blin1-5/+5
(This used to be commit 1813e545a99545575babe126386c8caca00aab8f)
2008-05-10net: more whitespace cleanupKai Blin1-2/+2
(This used to be commit ef0184d580500734fc7af51e1c790b075180a3d0)
2008-05-10net: Remove globalsKai Blin1-25/+25
(This used to be commit 1e9319cf88b65a2a8d4f5099a1fe5297e405ed2e)
2008-01-05Add general '-e' option to enable smb encryptionJeremy Allison1-0/+1
on tools. Jeremy. (This used to be commit 757653966fc1384159bd2d57c5670cd8af0cae96)
2007-11-30Add "net dom" command suite to "net".Günther Deschner1-0/+1
Guenther (This used to be commit a41f9aef843378b1f85f9b3d672d00f3399fa342)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23593: Mention "net conf" in top level net usage.Michael Adam1-2/+3
Michael (This used to be commit ae7e3c9708a16fe70acf609d9a9370a9e3f2ab37)
2007-10-10r23207: merge net help test fix from SAMBA_3_0_26Gerald Carter1-0/+1
(This used to be commit dbee1088bb06a4ccb440d372102eb5c105cc4294)
2007-10-10r19883: Fix bug 4248 -- thanks to Pascal Terjan :-)Volker Lendecke1-1/+0
(This used to be commit 66c20f2592ee2ff37de44cc7f3ab23b440f7d840)
2007-10-10r16344: Allow to set passwords directly when creating users via "net rpc userGünther Deschner1-1/+1
add" (as the documentation says, and currently onle "net ads user add" did). Fixes #3843. Guenther (This used to be commit 5d776d5fabded9b713080789aefc6058510b51f6)
2007-10-10r15646: Implement an setdomainsid command as wellSimo Sorce1-1/+2
(This used to be commit 51df47c772f8bdd5a2c3a1e9814e625406e79b5f)
2007-10-10r13316: Let the carnage begin....Gerald Carter1-3/+6
Sync with trunk as off r13315 (This used to be commit 17e63ac4ed8325c0d44fe62b2442449f3298559f)
2007-10-10r12031: Added net idmap to common help list.John Terpstra1-2/+3
(This used to be commit 3f11401335c0257d0f00678f80c992b5fca5e180)
2007-10-10r7636: Docu for "net rpc share migrate security" is now valid.Günther Deschner1-2/+2
Guenther (This used to be commit a11bb4476c8607a497ed09d2411ee8ef3f458390)
2007-10-10r6820: Remove claim that password can be set with account creation (RPC).John Terpstra1-1/+1
(This used to be commit 2529d615a6fcd09e494b445ee7a4acec78005ac2)
2007-10-10r5776: Fix typo (found by lieschen).Günther Deschner1-1/+1
Guenther (This used to be commit 5c578d14ba1036354a339b0804c4500805b25747)
2007-10-10r5650: add help lines for net rpc group addmem and delmem commandsHerb Lewis1-0/+2
partial fix for Bug 2417 - we need to look for other missing commands (This used to be commit bd4405b41592e064428bfa0dab8f216692f0fec6)
2007-10-10r5316: Get 'net afskey' into a subcommand of its own, 'net afs key'.Volker Lendecke1-1/+1
Implement 'net afs impersonate', generate a token for a specified user. You obviously need to be root for this operation. Volker (This used to be commit 5818b092e6e50d38238b0520329eb8912125c90a)
2007-10-10r4972: Fix a warning and some debugging-outputs.Günther Deschner1-1/+1
Guenther (This used to be commit 1eabfa050b661168b42892c2d841c7891e59cf5f)
2007-10-10r4868: Add "net rpc user RENAME"-command.Günther Deschner1-0/+3
Note that Samba3 does not yet support it server-side. Guenther (This used to be commit b2c8220931733593fd312fc25b6c73f440b4567a)
2007-10-10r4311: 'Document' the -L switch when adding groups with "net rpc group".Günther Deschner1-0/+1
Guenther (This used to be commit 4eec06b461c295f90c2ec01a0eef1e173eab22b3)
2007-10-10r2942: Add client-side support of triggering ads printer publishing over msrpcGünther Deschner1-0/+3
setprinter calls inside the net-tool. This is usefull to mimic the same queries a windows-client does. At least win2k returns WERR_IO_PENDING when printer is published via setprinter, samba returns WERR_OK but this does not hurt. Guenther (This used to be commit 69b745fb98b8054d1f52e8a3fe3b933fb04336db)
2007-10-10r2935: This is a long-standing one in my patch-queue: A pair of net commandsVolker Lendecke1-3/+10
(usersidlist/allowedusers) to scan a file server's share and list all users who have permission to connect there. Volker (This used to be commit f7f84aa1ded70af3882e4122f34d5c7eed746993)
2007-10-10r2835: Since we always have -I. and -I$(srcdir) in CFLAGS, we can get rid ofTim Potter1-1/+1
'..' from all #include preprocessor commands. This fixes bugzilla #1880 where OpenVMS gets confused about the '.' characters. (This used to be commit 7f161702fa4916979602cc0295919b541912acd6)
2007-10-10r2477: Document "--destination" for "net rpc [printer|share] migrate".Günther Deschner1-1/+3
Guenther (This used to be commit 4aa670385f81ab3d90a2c5dd8ba6e0190f947452)
2007-10-10r1966: further work on and cleanup of the net-migration-tool.Günther Deschner1-11/+17
It's now possible to migrate files preserving dos-attributes and correct timestamps. Also added some small docu- and syntax-fixes. Guenther (This used to be commit 0e990582a0416933a8671ca660d22e980f828402)
2007-10-10r1692: first commit :)Günther Deschner1-3/+40
* add IA64 to the architecture table of printer-drivers * add new "net"-subcommands: net rpc printer migrate {drivers|printers|forms|security|settings|all} [printer] net rpc share migrate {shares|files|all} [share] this is the first part of the migration suite. this will will (once feature-complete) allow to do 1:1 server-cloning in the best possible way by making heavy use of samba's rpc_client-functions. all migration-steps are implemented as rpc/smb-client-calls; net communicates via rpc/smb with two servers at the same time (a remote, source server and a destination server that currently defaults to the local smbd). this allows e. g. printer-driver migration including driverfiles, recursive mirroring of file-shares including file-acls, etc. almost any migration step can be called with a migrate-subcommand to provide more flexibility during a migration process (at the cost of quite some redundancy :) ). "net rpc printer migrate settings" is still in a bad condition (many open questions that hopefully can be adressed soon). "net rpc share migrate security" as an isolated call to just migrate share-ACLs will be added later. Before playing with it, make sure to use a test-server. Migration is a serious business and this tool-set can perfectly overwrite your existing file/print-shares. * along with the migration functions had to make I the following changes: - implement setprinter level 3 client-side - implement net_add_share level 502 client-side - allow security descriptor to be set in setprinterdata level 2 serverside guenther (This used to be commit 8f1716a29b7e85baf738bc14df7dabf03762f723)
2003-12-01Beautify the net status help message a bitVolker Lendecke1-4/+4
Volker (This used to be commit e9391e206a8cdbcc08597a33b557b86f9a5d73ce)
2003-12-01I needed a decently parseable format of smbstatus. Looking at smbstatus codeVolker Lendecke1-0/+10
tells me that this should not be expanded, so I implemented net status [sessions|shares] [parseable] Volker (This used to be commit 63d877c6b4786dcddf5f389842f798857be282c0)
2003-11-28Implement 'net rpc group list [global|local|builtin]*' for a select listing ofVolker Lendecke1-0/+2
the respective user databases. Volker (This used to be commit 39e4ee0c5be9f8d5a26b03ae17865b8e576b0b62)
2003-11-26Implement "net rpc group members": Get members of a domain group inVolker Lendecke1-0/+1
human-readable format. Volker (This used to be commit 4e3a2eb8e04c3a669d94e38d81e994606fa6ef9d)
2003-09-10Formatting fixups for help output.Tim Potter1-2/+2
(This used to be commit c030d1401950b6efcbdf30ad899c25a61efb1814)