Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SAMR lookupdomain rpc client patches from amber palekar <amber@nu3.net> | Tim Potter | 2003-04-04 | 1 | -0/+44 |
| | |||||
* | Revoke some of the popt patch from metze I applied earlier today. It added | Jelmer Vernooij | 2003-03-24 | 1 | -1/+2 |
| | | | | some double options and broke some parameters. | ||||
* | Patch from metze to generalise POPT_COMMON_SAMBA, with some minor changes | Jelmer Vernooij | 2003-03-24 | 1 | -145/+11 |
| | |||||
* | Applied waider's patch to return DOS error codes for pipes that | Tim Potter | 2003-03-17 | 10 | -192/+217 |
| | | | | support it. | ||||
* | Patch from Ronan Waide: | Martin Pool | 2003-03-11 | 1 | -1/+1 |
| | | | | | > when doing "enumdomusers", rpcclient prints each one preceded by the > word "group" instead of "user" | ||||
* | safe_strcpy() -> fstrcpy() fix, and a cleanup to how rpcclient calls the | Andrew Bartlett | 2003-03-07 | 2 | -9/+4 |
| | | | | IP address resolving code. | ||||
* | Use PRINTER_ALL_ACCESS instead of MAXIMUM_ALLOWED_ACCESS in setprinter | Tim Potter | 2003-03-05 | 1 | -1/+1 |
| | | | | command. From Ronan Waide <waider@waider.ie>. | ||||
* | More const fixes and flow on fixes from yesterday's const-fest. | Tim Potter | 2003-02-25 | 7 | -56/+56 |
| | |||||
* | Fixed up some const related compiler warnings. | Tim Potter | 2003-02-25 | 4 | -36/+36 |
| | |||||
* | Added enumdomusers command. | Tim Potter | 2003-02-21 | 1 | -0/+75 |
| | |||||
* | Fix for only specifying one command with -c | Tim Potter | 2003-02-21 | 1 | -1/+4 |
| | |||||
* | Remove obsolete files | Jelmer Vernooij | 2003-02-20 | 3 | -3038/+0 |
| | |||||
* | Add -V option (to print out version) to utilities where possible | Jelmer Vernooij | 2003-02-18 | 2 | -0/+2 |
| | | | | (pdbedit already has a -V option..) | ||||
* | Doxygen janitor. No other changes. | Martin Pool | 2003-02-18 | 1 | -0/+9 |
| | |||||
* | cmd_lsa_lookup_sids: Check return code from string_to_sid; skip SIDs | Martin Pool | 2003-02-18 | 1 | -2/+5 |
| | | | | which are not valid. | ||||
* | Dummy commit, I can't get through to samba-cvs@samba.org. It can't really | Volker Lendecke | 2003-02-17 | 1 | -1/+0 |
| | | | | | | | | | | | remember under what mail address I have to post. My last commit to this file made it compile again, my fingers were a bit too fast to really type this message. Sorry for this confusion, Volker | ||||
* | cmd_srvsvc.c | Volker Lendecke | 2003-02-17 | 1 | -3/+3 |
| | |||||
* | Typo: /mized/mixed/ | Martin Pool | 2003-02-17 | 1 | -1/+1 |
| | |||||
* | Don't pstrcpy into an fstring. (Harmless in this case since it comes | Martin Pool | 2003-02-17 | 1 | -3/+10 |
| | | | | from an environment variable.) | ||||
* | Start reworking rpcclient to use popt rather than next_token to parse | Martin Pool | 2003-02-17 | 1 | -103/+69 |
| | | | | | | | | | command lines. This makes the code much simpler and also stops trivial syntax errors from causing a crash. Also fix support for semicolon-separated commands in -c, which is promised by the manual but apparently never working due to an off-by-one error. | ||||
* | Match Samba 2.2 by chosing the correct desired access, and getting cupsaddsmb | Andrew Bartlett | 2003-02-12 | 1 | -1/+1 |
| | | | | | | back working again. Andrew Bartlett | ||||
* | added the 'lsaenumacctwithright' command to rpcclient. This allows you | Andrew Tridgell | 2003-02-10 | 1 | -2/+47 |
| | | | | | to lookup what SIDs have a particular privilege (that is how privileges are stored). | ||||
* | Use new interface for cli_samr_query_dispinfo(). | Tim Potter | 2003-01-29 | 1 | -6/+22 |
| | |||||
* | Remove NULL buffer checks before rpcstr_pull() as they're now done | Tim Potter | 2003-01-29 | 1 | -63/+38 |
| | | | | inside this function. | ||||
* | added LsaRemoveAccountRights | Andrew Tridgell | 2003-01-28 | 1 | -1/+40 |
| | | | | | this now gives us complete remove privileges control in the client libs, so we are in good shape for starting on the server side. | ||||
* | cleaned up the lsa_enum_acct_rights function and added a | Andrew Tridgell | 2003-01-28 | 1 | -0/+39 |
| | | | | | | lsa_add_acct_rights function. This allows us to add privileges remotely to accounts using rpcclient. | ||||
* | revert accidentally committed changes | Jim McDonough | 2003-01-21 | 2 | -86/+4 |
| | |||||
* | Properly display popt errors. Also fix debug to be -d for consistency with ↵ | Jim McDonough | 2003-01-21 | 2 | -4/+86 |
| | | | | other progs. | ||||
* | reverted this patch till I sort out the craziness with UNIHDR | Andrew Tridgell | 2003-01-17 | 1 | -2/+2 |
| | |||||
* | This removes the 3rd argument from init_unistr2(). There were 240 | Andrew Tridgell | 2003-01-17 | 1 | -2/+2 |
| | | | | | | | | | | | | | | calls to init_unistr2() in the code and every one of them got the 3rd argument incorrect, so I thought it best just to remove the argument. The incorrect usage was caused by callers using strlen() to determine the length of the string. The 3rd argument to init_unistr2() was supposed to be the character length, not the byte length of the string, so for non-english this could come out wrong. I also removed the bogus 'always allocate at least 256 bytes' hack. There may be some code that relies on this, but if there is then the code is broken and needs fixing. | ||||
* | allow a couple of LSA functions to take a username instead of a SID, | Andrew Tridgell | 2003-01-16 | 1 | -3/+44 |
| | | | | | They still accept a SID, it just can be tedious to have to type SIDs instead of names all the time. | ||||
* | * removed unused variable from rpcclient code | Gerald Carter | 2003-01-15 | 1 | -3/+2 |
| | | | | | * added container option to net command (patch from SuSE) * Makefile patch for examples/VFS from SuSE | ||||
* | added cli_lsa_enum_account_rights() call. Note that this is in | Andrew Tridgell | 2003-01-15 | 1 | -0/+48 |
| | | | | | | | | | | | principal similar to the existing cli_lsa_enum_privsaccount() call, except that cli_lsa_enum_account_rights() doesn't require a call to open_account first. There is also the minor matter that cli_lsa_enum_account_rights() works whereas cli_lsa_enum_privsaccount() doesn't! this call can be used to find what privileges an account or group has. This is a first step towards proper privileges support in Samba. | ||||
* | A couple more fstring/pstring issues - and move from sizeof(fstring) to | Andrew Bartlett | 2003-01-11 | 2 | -34/+32 |
| | | | | | | | | sizeof(var) in slprintf statements, so as to ensure we don't get mixups there. Also remove fstrcpy() into a variable that is about to be printed into anyway. Andrew Bartlett | ||||
* | Display an error message when the server cannot be resolved when running at | Tim Potter | 2003-01-08 | 1 | -1/+1 |
| | | | | debug level 0. | ||||
* | BIG patch... | Andrew Bartlett | 2003-01-02 | 3 | -10/+10 |
| | | | | | | | | | | | | | | | | This patch makes Samba compile cleanly with -Wwrite-strings. - That is, all string literals are marked as 'const'. These strings are always read only, this just marks them as such for passing to other functions. What is most supprising is that I didn't need to change more than a few lines of code (all in 'net', which got a small cleanup of net.h and extern variables). The rest is just adding a lot of 'const'. As far as I can tell, I have not added any new warnings - apart from making all of tdbutil.c's function const (so they warn for adding that const string to struct). Andrew Bartlett | ||||
* | the shutdown call does not have a 16 bit flags, but 2 byte representing booleans | Simo Sorce | 2002-12-30 | 1 | -19/+16 |
| | | | | | | | | this commit change the structure and code to reflect this some test revelead I'm right. some other revelead currently the abort shutdown does not work against my test machine even if it returns successfully ... need investigation | ||||
* | Finish adding strings to all talloc_init() calls. | Jeremy Allison | 2002-12-23 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | Forward port the change to talloc_init() to make all talloc contexts | Jeremy Allison | 2002-12-20 | 2 | -3/+3 |
| | | | | | named. Ensure we can query them. Jeremy. | ||||
* | make querygroup in rpcclient working, same fix as per 2.2 tree | Simo Sorce | 2002-12-08 | 1 | -4/+2 |
| | |||||
* | Removed global_myworkgroup, global_myname, global_myscope. Added liberal | Jeremy Allison | 2002-11-12 | 1 | -6/+6 |
| | | | | | | dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy. | ||||
* | Add getdata and getdataex commands | Jim McDonough | 2002-11-11 | 1 | -38/+187 |
| | |||||
* | deldriver fix | Gerald Carter | 2002-11-09 | 1 | -6/+11 |
| | |||||
* | Add enumdataex command | Jim McDonough | 2002-11-08 | 1 | -0/+80 |
| | |||||
* | Implement enumdata command | Jim McDonough | 2002-11-08 | 1 | -2/+85 |
| | |||||
* | Add enumkey command (EnumPrinterKey api) | Jim McDonough | 2002-11-08 | 1 | -0/+76 |
| | |||||
* | Merge of scalable printing code fix... Needs testing. | Jeremy Allison | 2002-11-07 | 1 | -1/+1 |
| | | | | | | | Also tidied up some of Richard's code (I don't think he uses the compiler flags -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual like I do :-) :-). Jeremy. | ||||
* | Merge of get_dc_list() api change. This was slightly more intrusive | Tim Potter | 2002-11-06 | 1 | -5/+4 |
| | | | | than the version in APPLIANCE so watch out for boogs. | ||||
* | Added new error codes. Fix up connection code to retry in the same way | Jeremy Allison | 2002-10-17 | 1 | -1/+1 |
| | | | | | that app-head does. Jeremy. | ||||
* | Update popt help message and use popt-common | Jelmer Vernooij | 2002-10-05 | 1 | -12/+7 |
| |