summaryrefslogtreecommitdiff
path: root/source3/utils/net_rap.c
AgeCommit message (Collapse)AuthorFilesLines
2011-05-04Fix simple uses of safe_strcpy -> strlcpy. Easy ones where we just remove -1.Jeremy Allison1-2/+2
2011-03-18s3-net: make sure we set correct default user flags in rap_user_add().Günther Deschner1-1/+1
Guenther
2011-03-15s3-libsmb: only include rap client when needed.Günther Deschner1-0/+1
Guenther
2010-08-06s3-rap: include svcctl.h where needed.Günther Deschner1-0/+1
Guenther
2010-05-26s3-net: fix the build.Günther Deschner1-1/+1
Guenther
2010-05-05s3-net: fix crash in rap_share_add().Günther Deschner1-1/+1
Guenther
2010-04-26s3: fix some build warnings.Günther Deschner1-3/+3
Guenther
2010-04-26s3: use generated rap header.Günther Deschner1-3/+4
Guenther
2010-01-19s3 net: Fix compile warningsKai Blin1-4/+6
2010-01-18s3/net: split up some printable stings to ease i18nBjörn Jacke1-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.
2009-08-07s3 net: i18n support for net rapKai Blin1-225/+228
2009-06-08Further fix for 6449Volker Lendecke1-1/+1
Thanks to TAKAHASHI Motonobu <monyo@samba.gr.jp> for reporting!
2009-06-08Fix a valgrind error in "net rap user add"Volker Lendecke1-0/+1
2009-06-08Fix bug 6449Volker Lendecke1-1/+1
Thanks to TAKAHASHI Motonobu <monyo@samba.gr.jp> for reporting!
2008-11-17net: Fix net rap printq info documentation (bug #5892)Kai Blin1-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.
2008-11-04Fixed typo in source/utils/net_rap.cJoe Smith1-1/+1
2008-09-26net: Make share type lookup a function.Kai Blin1-9/+2
2008-08-07Fix a build failure on host sunXVolker Lendecke1-1/+1
(This used to be commit 30b5be872501dc87380fd10084aacda13a308ac8)
2008-06-10net: Rename functable3 to functable, get rid of old functablesKai Blin1-20/+20
(This used to be commit bb7c5fc4ec77db4073d3beccf12af12910b6bd07)
2008-06-10net: Make "net rap" use functable3Kai Blin1-208/+470
(This used to be commit 7a2364518c4200befb419f2bcbf3afd425fd7a6f)
2008-05-27A few cleanups from Chere Zhou <chere.zhou@isilon.com>.Jeremy Allison1-0/+2
Jeremy. Conflicts: source/utils/net_rap.c source/utils/net_rpc.c (This used to be commit ac0c2fb6e8c3d1b14a6e7490857a414a5fac6bb5)
2008-05-20net: The top level help function for net cmd is always net_cmd_usageKai Blin1-5/+5
(This used to be commit f7d0903a58b0b0fc248a613937a101f15baa5311)
2008-05-20net: Split out "net share"Kai Blin1-1/+1
(This used to be commit 25d4c6f692cf50d675a1de7c6eaeed271f349289)
2008-05-20net: Split out "net file"Kai Blin1-1/+1
(This used to be commit 84a116be9c849900678e6e0a4b012e819e697c78)
2008-05-20net: Split out "net group"Kai Blin1-1/+1
(This used to be commit 3ddd9c09e3b51df01ac34a9a1537e8954d2b1167)
2008-05-20net: Split out "net user"Kai Blin1-1/+1
(This used to be commit 4ca08a5acc90c77d56f8f3e38443f23f43f034e8)
2008-05-10net: more whitespace cleanupKai Blin1-81/+81
(This used to be commit ef0184d580500734fc7af51e1c790b075180a3d0)
2008-05-10net: Remove globalsKai Blin1-134/+131
(This used to be commit 1e9319cf88b65a2a8d4f5099a1fe5297e405ed2e)
2007-11-19Add error message to net rap file and net rap file userKarolin Seeger1-0/+8
(This used to be commit 759d6bcbec07434667ab8dd9a09f37fbe243c208)
2007-10-18Add net rap file userKarolin Seeger1-6/+18
(This used to be commit 2972c97e5e676964585de930601f083c19080735)
2007-10-10r25197: Change net_make_ipc_connection() and net_make_ipc_connection_ex() toMichael Adam1-27/+27
return NTSTATUS to allow for better error propagation. Michael (This used to be commit 46093004a788dae83a4ddb888ca5d72f555c236c)
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-10r22973: Apparently, 3.0.25 broke smb4k badly ;-)Alexander Bokovoy1-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)
2007-10-10r19184: W2k3 returns its name for the GetServerInfo RAP call. Do the same.Volker Lendecke1-1/+29
Implement 'net rap server name'. Volker (This used to be commit 919385ed2a2a07e848bc0baaac9ed3d1964d4386)
2007-10-10r14214: Fix Coverity Bug # 57Volker Lendecke1-0/+4
(This used to be commit 32364d8f01c75bd00ee1bef49c687d6dd3299d1f)
2007-10-10r12986: Use d_fprintf(stderr, ...) for any error message in net.Lars Müller1-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)
2007-10-10r6275: Implement RAP version of enumusers/enumgroups level 0. No, I've not ↵Volker Lendecke1-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)
2007-10-10r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison1-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)
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)
2004-02-11BUG 1055; patch from SATOH Fumiyasu <fumiya@miraclelinux.com>; formatting ↵Gerald Carter1-3/+4
fixes for 'net share' (This used to be commit 44db163b3001d8dc50b64bac7fd12be1147e14b7)
2003-05-09Fix bug #4 for net rap. Allow more than 50 chars for long form listings of ↵Jim McDonough1-2/+2
users and groups. (This used to be commit dcc6d9e76c737400aaffdd4f261fd0f191aaeea8)
2003-04-14Merge of Jelmer's usage updates for net.Tim Potter1-1/+3
(This used to be commit 6a5b88c95b3fd17431cda79e9aa2a593fef85100)
2003-03-18Jeremy merged across my string parinoia fixes, but forgot to enable them! :-)Andrew Bartlett1-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)
2003-01-03Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett1-3/+3
warnings. (Adds a lot of const). Andrew Bartlett (This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell1-43/+10
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-04-05Lots more net consistency work:Jim McDonough1-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)
2002-04-04Cleanups to make auto-detection of method on net user smoother.Jim McDonough1-5/+10
(This used to be commit 84ab1042a65e3c41a76f4726914140d505ef4625)
2002-03-29Re-implemented net ads user and net ads group to use the newJim McDonough1-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)
2002-03-15Some help cleanups. Formatting and consistency issues. Line up text ↵Jim McDonough1-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)