summaryrefslogtreecommitdiffstats
path: root/source3/utils/net_rap.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-rap: include svcctl.h where needed.Günther Deschner2010-08-061-0/+1
| | | | Guenther
* s3-net: fix the build.Günther Deschner2010-05-261-1/+1
| | | | Guenther
* s3-net: fix crash in rap_share_add().Günther Deschner2010-05-051-1/+1
| | | | Guenther
* s3: fix some build warnings.Günther Deschner2010-04-261-3/+3
| | | | Guenther
* s3: use generated rap header.Günther Deschner2010-04-261-3/+4
| | | | Guenther
* s3 net: Fix compile warningsKai Blin2010-01-191-4/+6
|
* s3/net: split up some printable stings to ease i18nBjörn Jacke2010-01-181-4/+4
| | | | | | If we put strings like "Usage:" into separate _() macros and not the whole "Usage:..." string we can cover much more messages by only one single translation. The drawback is that the message in the sources looks less pretty.
* s3 net: i18n support for net rapKai Blin2009-08-071-225/+228
|
* Further fix for 6449Volker Lendecke2009-06-081-1/+1
| | | | Thanks to TAKAHASHI Motonobu <monyo@samba.gr.jp> for reporting!
* Fix a valgrind error in "net rap user add"Volker Lendecke2009-06-081-0/+1
|
* Fix bug 6449Volker Lendecke2009-06-081-1/+1
| | | | Thanks to TAKAHASHI Motonobu <monyo@samba.gr.jp> for reporting!
* net: Fix net rap printq info documentation (bug #5892)Kai Blin2008-11-171-4/+5
| | | | | | | | Carsten Dumke <carsten@cdumke.de> reported and provided a patch for v3.0 and v3.2. (See 0a7fb721cdc) This fixes the same issue in v3.3 and also changes the auto-generated usage information to give better help about net rap printq info.
* Fixed typo in source/utils/net_rap.cJoe Smith2008-11-041-1/+1
|
* net: Make share type lookup a function.Kai Blin2008-09-261-9/+2
|
* Fix a build failure on host sunXVolker Lendecke2008-08-071-1/+1
| | | | (This used to be commit 30b5be872501dc87380fd10084aacda13a308ac8)
* net: Rename functable3 to functable, get rid of old functablesKai Blin2008-06-101-20/+20
| | | | (This used to be commit bb7c5fc4ec77db4073d3beccf12af12910b6bd07)
* net: Make "net rap" use functable3Kai Blin2008-06-101-208/+470
| | | | (This used to be commit 7a2364518c4200befb419f2bcbf3afd425fd7a6f)
* A few cleanups from Chere Zhou <chere.zhou@isilon.com>.Jeremy Allison2008-05-271-0/+2
| | | | | | | | | | Jeremy. Conflicts: source/utils/net_rap.c source/utils/net_rpc.c (This used to be commit ac0c2fb6e8c3d1b14a6e7490857a414a5fac6bb5)
* net: The top level help function for net cmd is always net_cmd_usageKai Blin2008-05-201-5/+5
| | | | (This used to be commit f7d0903a58b0b0fc248a613937a101f15baa5311)
* net: Split out "net share"Kai Blin2008-05-201-1/+1
| | | | (This used to be commit 25d4c6f692cf50d675a1de7c6eaeed271f349289)
* net: Split out "net file"Kai Blin2008-05-201-1/+1
| | | | (This used to be commit 84a116be9c849900678e6e0a4b012e819e697c78)
* net: Split out "net group"Kai Blin2008-05-201-1/+1
| | | | (This used to be commit 3ddd9c09e3b51df01ac34a9a1537e8954d2b1167)
* net: Split out "net user"Kai Blin2008-05-201-1/+1
| | | | (This used to be commit 4ca08a5acc90c77d56f8f3e38443f23f43f034e8)
* net: more whitespace cleanupKai Blin2008-05-101-81/+81
| | | | (This used to be commit ef0184d580500734fc7af51e1c790b075180a3d0)
* net: Remove globalsKai Blin2008-05-101-134/+131
| | | | (This used to be commit 1e9319cf88b65a2a8d4f5099a1fe5297e405ed2e)
* Add error message to net rap file and net rap file userKarolin Seeger2007-11-191-0/+8
| | | | (This used to be commit 759d6bcbec07434667ab8dd9a09f37fbe243c208)
* Add net rap file userKarolin Seeger2007-10-181-6/+18
| | | | (This used to be commit 2972c97e5e676964585de930601f083c19080735)
* r25197: Change net_make_ipc_connection() and net_make_ipc_connection_ex() toMichael Adam2007-10-101-27/+27
| | | | | | | return NTSTATUS to allow for better error propagation. Michael (This used to be commit 46093004a788dae83a4ddb888ca5d72f555c236c)
* 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)
* r22973: Apparently, 3.0.25 broke smb4k badly ;-)Alexander Bokovoy2007-10-101-2/+6
| | | | | | | | | smb4k uses 'net rap server domain' to list servers in domain. Previously we just ignored all arguments in net_rap_server() but now we don't as 'net rap server name' has added an explicit check on arguments. Allow 'net rap server domain' to aid smb4k. Any other arguments will cause help message. (This used to be commit 8f78b6ce3a635110ba7afe32f3536097d51cb4fc)
* r19184: W2k3 returns its name for the GetServerInfo RAP call. Do the same.Volker Lendecke2007-10-101-1/+29
| | | | | | | Implement 'net rap server name'. Volker (This used to be commit 919385ed2a2a07e848bc0baaac9ed3d1964d4386)
* r14214: Fix Coverity Bug # 57Volker Lendecke2007-10-101-0/+4
| | | | (This used to be commit 32364d8f01c75bd00ee1bef49c687d6dd3299d1f)
* r12986: Use d_fprintf(stderr, ...) for any error message in net.Lars Müller2007-10-101-1/+1
| | | | | | | | | All 'usage' messages are still printed to stdout. Fix some compiler warnings for system() calls where we didn't used the return code. Add appropriate error messages and return with the error code we got from system() or NT_STATUS_UNSUCCESSFUL. (This used to be commit f650e3bdafc4c6bcd7eb4bcf8b6b885b979919eb)
* r6275: Implement RAP version of enumusers/enumgroups level 0. No, I've not ↵Volker Lendecke2007-10-101-7/+11
| | | | | | | | | | | gone mad, this is to test future changes to enumeration functions... This can successfully list users from nt4 and w2k3sp1. Volker (This used to be commit c73f2656fd89e227a8a3e2ab20f7393ff2c515c7)
* r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison2007-10-101-1/+1
| | | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy. (This used to be commit 620f2e608f70ba92f032720c031283d295c5c06a)
* 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)
* BUG 1055; patch from SATOH Fumiyasu <fumiya@miraclelinux.com>; formatting ↵Gerald Carter2004-02-111-3/+4
| | | | | | fixes for 'net share' (This used to be commit 44db163b3001d8dc50b64bac7fd12be1147e14b7)
* Fix bug #4 for net rap. Allow more than 50 chars for long form listings of ↵Jim McDonough2003-05-091-2/+2
| | | | | | users and groups. (This used to be commit dcc6d9e76c737400aaffdd4f261fd0f191aaeea8)
* Merge of Jelmer's usage updates for net.Tim Potter2003-04-141-1/+3
| | | | (This used to be commit 6a5b88c95b3fd17431cda79e9aa2a593fef85100)
* Jeremy merged across my string parinoia fixes, but forgot to enable them! :-)Andrew Bartlett2003-03-181-2/+2
| | | | | | | | | | | This patch catches up on the rest of the work - as much string checking as is possible is done at compile time, and the rest at runtime. Lots of code converted to pstrcpy() etc, and other code reworked to correctly call sizeof(). Andrew Bartlett (This used to be commit c5b604e2ee67d74241ae2fa07ae904647d35a2be)
* Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett2003-01-031-3/+3
| | | | | | | warnings. (Adds a lot of const). Andrew Bartlett (This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
* updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell2002-07-151-43/+10
| | | | (This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
* Lots more net consistency work:Jim McDonough2002-04-051-13/+2
| | | | | | | | | - Added net_help.c for unified help when possible - Added net rpc user listing, delete, info commands - Unified net user command to autodetect ads/rpc/rap (try in that order) - Added generic routine for detecting rpc (protocol > PROTOCOL_NT1) - I'm sure I forgot something. (This used to be commit 9daa5788c822cf1ad20dc703e7f03b9ee82987bf)
* Cleanups to make auto-detection of method on net user smoother.Jim McDonough2002-04-041-5/+10
| | | | (This used to be commit 84ab1042a65e3c41a76f4726914140d505ef4625)
* Re-implemented net ads user and net ads group to use the newJim McDonough2002-03-291-8/+4
| | | | | | ads_process_results function. Also made sure net rap user and net ads user display the same thing, to make auto-transport-detection smoother. (This used to be commit 4cf42c07ec5deb14921fabfbd52a8a3345a730c9)
* Some help cleanups. Formatting and consistency issues. Line up text ↵Jim McDonough2002-03-151-51/+19
| | | | | | nicely, and make 'net help rap user' the same as 'net rap user help'...stuff like that (This used to be commit 17775dae28c724b11cc73f2aeac5f07f9656046c)
* Removed version number from file header.Tim Potter2002-01-301-1/+0
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
* More help/messages/formatting cleanup.Jim McDonough2001-12-141-37/+40
| | | | (This used to be commit 882e5e3bb815e02407ecf6f689ffe5bb618845e8)
* Restoration of at least some help function and format. First round of ↵Jim McDonough2001-12-141-259/+221
| | | | | | cleanup. Printq function cannot exactly mimic windows output using d_printf...oh well. Add some more command-specific options back into help. (This used to be commit e135320e0547581c7d38126647a91b874d152622)