summaryrefslogtreecommitdiffstats
path: root/source3/utils/net_help.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett2011-05-181-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
* s3 net: Add a few missing gettext calls.Kai Blin2010-01-051-2/+2
| | | | | Many many thanks to Adi Roiban from #ubuntu-translators for helping me find and fix my problems with the translations.
* s3 net: i18n support for net helpKai Blin2009-07-301-2/+2
|
* Revert "net: Use samba default command line arguments."Kai Blin2009-07-221-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.
* net: Use samba default command line arguments.Kai Blin2009-05-251-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>
* net: Rename functable3 to functable, get rid of old functablesKai Blin2008-06-101-3/+3
| | | | (This used to be commit bb7c5fc4ec77db4073d3beccf12af12910b6bd07)
* net: Autogenerate "net help" output from net's functable.Kai Blin2008-06-101-63/+28
| | | | (This used to be commit 0feb40bc8408412336c667df4f8bf57c77446ca7)
* net: The top level help function for net cmd is always net_cmd_usageKai Blin2008-05-201-7/+7
| | | | (This used to be commit f7d0903a58b0b0fc248a613937a101f15baa5311)
* net: Move help for "net status" to net_status.cKai Blin2008-05-201-9/+0
| | | | (This used to be commit d26681b169a533f838f74d48af072b57afc9f8df)
* net: Move printer help to net_rpc where it's used.Kai Blin2008-05-201-32/+0
| | | | (This used to be commit 2ee3d1aefab8dada5bd05a92b72776554617b7f9)
* net: Split out "net share"Kai Blin2008-05-201-40/+1
| | | | (This used to be commit 25d4c6f692cf50d675a1de7c6eaeed271f349289)
* net: Split out "net afs"Kai Blin2008-05-201-1/+1
| | | | (This used to be commit 3f10527f79dddff703d31588cad3e9f37176565b)
* net: Split out "net file"Kai Blin2008-05-201-18/+1
| | | | (This used to be commit 84a116be9c849900678e6e0a4b012e819e697c78)
* net: Split out "net group"Kai Blin2008-05-201-23/+1
| | | | (This used to be commit 3ddd9c09e3b51df01ac34a9a1537e8954d2b1167)
* net: Split out "net user"Kai Blin2008-05-201-23/+1
| | | | (This used to be commit 4ca08a5acc90c77d56f8f3e38443f23f43f034e8)
* net: Move "net join" handling into a separate file.Kai Blin2008-05-201-12/+1
| | | | (This used to be commit d0237a736858a48494583ce7f960ea980768aa6c)
* net: Split out common help functions.Kai Blin2008-05-201-32/+0
| | | | (This used to be commit efc863e3758501a4c62dc9762eb0aded2dad01ff)
* net: more whitespace cleanupKai Blin2008-05-201-5/+5
| | | | (This used to be commit 1813e545a99545575babe126386c8caca00aab8f)
* net: more whitespace cleanupKai Blin2008-05-101-2/+2
| | | | (This used to be commit ef0184d580500734fc7af51e1c790b075180a3d0)
* net: Remove globalsKai Blin2008-05-101-25/+25
| | | | (This used to be commit 1e9319cf88b65a2a8d4f5099a1fe5297e405ed2e)
* Add general '-e' option to enable smb encryptionJeremy Allison2008-01-051-0/+1
| | | | | | on tools. Jeremy. (This used to be commit 757653966fc1384159bd2d57c5670cd8af0cae96)
* Add "net dom" command suite to "net".Günther Deschner2007-11-301-0/+1
| | | | | Guenther (This used to be commit a41f9aef843378b1f85f9b3d672d00f3399fa342)
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r23593: Mention "net conf" in top level net usage.Michael Adam2007-10-101-2/+3
| | | | | Michael (This used to be commit ae7e3c9708a16fe70acf609d9a9370a9e3f2ab37)
* r23207: merge net help test fix from SAMBA_3_0_26Gerald Carter2007-10-101-0/+1
| | | | (This used to be commit dbee1088bb06a4ccb440d372102eb5c105cc4294)
* r19883: Fix bug 4248 -- thanks to Pascal Terjan :-)Volker Lendecke2007-10-101-1/+0
| | | | (This used to be commit 66c20f2592ee2ff37de44cc7f3ab23b440f7d840)
* r16344: Allow to set passwords directly when creating users via "net rpc userGünther Deschner2007-10-101-1/+1
| | | | | | | | add" (as the documentation says, and currently onle "net ads user add" did). Fixes #3843. Guenther (This used to be commit 5d776d5fabded9b713080789aefc6058510b51f6)
* r15646: Implement an setdomainsid command as wellSimo Sorce2007-10-101-1/+2
| | | | (This used to be commit 51df47c772f8bdd5a2c3a1e9814e625406e79b5f)
* r13316: Let the carnage begin....Gerald Carter2007-10-101-3/+6
| | | | | Sync with trunk as off r13315 (This used to be commit 17e63ac4ed8325c0d44fe62b2442449f3298559f)
* r12031: Added net idmap to common help list.John Terpstra2007-10-101-2/+3
| | | | (This used to be commit 3f11401335c0257d0f00678f80c992b5fca5e180)
* r7636: Docu for "net rpc share migrate security" is now valid.Günther Deschner2007-10-101-2/+2
| | | | | Guenther (This used to be commit a11bb4476c8607a497ed09d2411ee8ef3f458390)
* r6820: Remove claim that password can be set with account creation (RPC).John Terpstra2007-10-101-1/+1
| | | | (This used to be commit 2529d615a6fcd09e494b445ee7a4acec78005ac2)
* r5776: Fix typo (found by lieschen).Günther Deschner2007-10-101-1/+1
| | | | | Guenther (This used to be commit 5c578d14ba1036354a339b0804c4500805b25747)
* r5650: add help lines for net rpc group addmem and delmem commandsHerb Lewis2007-10-101-0/+2
| | | | | | partial fix for Bug 2417 - we need to look for other missing commands (This used to be commit bd4405b41592e064428bfa0dab8f216692f0fec6)
* r5316: Get 'net afskey' into a subcommand of its own, 'net afs key'.Volker Lendecke2007-10-101-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)
* r4972: Fix a warning and some debugging-outputs.Günther Deschner2007-10-101-1/+1
| | | | | Guenther (This used to be commit 1eabfa050b661168b42892c2d841c7891e59cf5f)
* r4868: Add "net rpc user RENAME"-command.Günther Deschner2007-10-101-0/+3
| | | | | | | Note that Samba3 does not yet support it server-side. Guenther (This used to be commit b2c8220931733593fd312fc25b6c73f440b4567a)
* r4311: 'Document' the -L switch when adding groups with "net rpc group".Günther Deschner2007-10-101-0/+1
| | | | | Guenther (This used to be commit 4eec06b461c295f90c2ec01a0eef1e173eab22b3)
* r2942: Add client-side support of triggering ads printer publishing over msrpcGünther Deschner2007-10-101-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)
* r2935: This is a long-standing one in my patch-queue: A pair of net commandsVolker Lendecke2007-10-101-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)
* r2835: Since we always have -I. and -I$(srcdir) in CFLAGS, we can get rid ofTim Potter2007-10-101-1/+1
| | | | | | '..' from all #include preprocessor commands. This fixes bugzilla #1880 where OpenVMS gets confused about the '.' characters. (This used to be commit 7f161702fa4916979602cc0295919b541912acd6)
* r2477: Document "--destination" for "net rpc [printer|share] migrate".Günther Deschner2007-10-101-1/+3
| | | | | Guenther (This used to be commit 4aa670385f81ab3d90a2c5dd8ba6e0190f947452)
* r1966: further work on and cleanup of the net-migration-tool.Günther Deschner2007-10-101-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)
* r1692: first commit :)Günther Deschner2007-10-101-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)
* Beautify the net status help message a bitVolker Lendecke2003-12-011-4/+4
| | | | | Volker (This used to be commit e9391e206a8cdbcc08597a33b557b86f9a5d73ce)
* I needed a decently parseable format of smbstatus. Looking at smbstatus codeVolker Lendecke2003-12-011-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)
* Implement 'net rpc group list [global|local|builtin]*' for a select listing ofVolker Lendecke2003-11-281-0/+2
| | | | | | | the respective user databases. Volker (This used to be commit 39e4ee0c5be9f8d5a26b03ae17865b8e576b0b62)
* Implement "net rpc group members": Get members of a domain group inVolker Lendecke2003-11-261-0/+1
| | | | | | | human-readable format. Volker (This used to be commit 4e3a2eb8e04c3a669d94e38d81e994606fa6ef9d)
* Formatting fixups for help output.Tim Potter2003-09-101-2/+2
| | | | (This used to be commit c030d1401950b6efcbdf30ad899c25a61efb1814)