summaryrefslogtreecommitdiffstats
path: root/source3/rpcclient/cmd_samr.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-rpcclient: pass struct ndr_interface_table downAndrew Bartlett2012-01-181-35/+35
| | | | | | | | | This will allow the target service (as determined from the IDL) to be passed to GSSAPI (rather than the current, incorrect, "cifs"). Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array()Andrew Bartlett2011-06-091-1/+1
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_ARRAY isn't standard talloc.
* s3-talloc Change TALLOC_ARRAY() to talloc_array()Andrew Bartlett2011-06-091-2/+2
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
* s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett2011-05-181-2/+2
| | | | | | | strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
* More simple const fixups.Jeremy Allison2011-05-051-1/+1
|
* s3-rpcclient: include rpc_client/cli_pipe.h globally in rpcclient.hGünther Deschner2011-03-311-1/+0
| | | | Guenther
* s3-rpc_client: Move client pipe functions to own header.Andreas Schneider2011-02-281-0/+1
|
* s3:rpcclient/cmd_samr: remove useless ';'Stefan Metzmacher2011-02-011-1/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Feb 1 19:19:24 CET 2011 on sn-devel-104
* s3-rpcclient: prefer dcerpc_samr_X functions.Günther Deschner2011-02-011-500/+880
| | | | Guenther
* s3-rpc_client: Rename get_query_dispinfo_params.Andreas Schneider2011-01-211-1/+1
|
* libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett2010-10-121-1/+1
| | | | | | | | | | | | | | This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
* samr: for correctness, rename samr_RidTypeArray to samr_RidAttrArray.Günther Deschner2010-10-071-2/+2
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Oct 7 12:04:32 UTC 2010 on sn-devel-104
* s3-util: use shared dom_sid_dup.Günther Deschner2010-09-201-1/+2
| | | | Guenther
* s3-auth Change type of num_sids to uint32_tAndrew Bartlett2010-09-111-1/+1
| | | | | | | | | | | | | | size_t is overkill here, and in struct security_token in the num_sids is uint32_t. This includes a change to the prototype of add_sid_to_array() and add_sid_to_array_unique(), which has had a number of consequnetial changes as I try to sort out all the callers using a pointer to the number of sids. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-lsa: separate out init_lsa headers.Günther Deschner2010-08-251-0/+1
| | | | Guenther
* s3:rpcclient: we also need some ndr_pull functionsStefan Metzmacher2010-08-081-0/+1
| | | | metze
* s3-security: use shared SECINFO_DACL define.Günther Deschner2010-06-031-1/+1
| | | | Guenther
* s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett2010-05-211-4/+4
| | | | | | | | | | This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
* s3-rpc_client: move protos to init_samr.hGünther Deschner2010-05-181-0/+1
| | | | Guenther
* s3-rpc_client: move protos to cli_samr.hGünther Deschner2010-05-181-0/+1
| | | | Guenther
* s3-secdesc: remove "typedef struct sec_desc_buf SEC_DESC_BUF".Günther Deschner2010-05-181-1/+1
| | | | Guenther
* s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner2009-11-261-0/+1
| | | | | | samba. Guenther
* Revert "s3: Do not directly reference the ndr_table_* in rpcclient"Volker Lendecke2009-11-081-101/+35
| | | | This reverts commit 70c698fd547c4bc19cf77693608bbb34acac40b5.
* s3: Do not directly reference the ndr_table_* in rpcclientVolker Lendecke2009-11-081-35/+101
|
* s3/s4 - Adapt the IDL changes on various locationsMatthias Dieter Wallnöfer2009-10-081-12/+9
|
* s3-rpcclient: allow to set query size for samr enum calls.Günther Deschner2009-06-081-16/+32
| | | | Guenther
* s3-rpcclient: use get_domain_handle() fn in enum domain users & groups.Günther Deschner2009-05-251-12/+10
| | | | Guenther
* s3-secdesc: use SEC_FLAG_MAXIMUM_ALLOWED instead of SEC_RIGHTS_MAXIMUM_ALLOWED.Günther Deschner2009-04-211-2/+2
| | | | Guenther
* Rework Samba3 to use new libcli/auth code (partial)Andrew Bartlett2009-04-141-0/+1
| | | | | | | | | | | This commit is mostly to cope with the removal of SamOemHash (replaced by arcfour_crypt()) and other collisions (such as changed function arguments compared to Samba3). We still provide creds_hash3 until Samba3 uses the credentials code in netlogon server Andrew Bartlett
* s3: remove POLICY_HND.Günther Deschner2009-03-181-28/+28
| | | | Guenther
* s3-rpcclient: more uses of is_valid_policy_hnd in spoolss and samr commands.Günther Deschner2009-02-251-25/+7
| | | | Guenther
* s3-samr: avoid all init_samr_user* functions.Günther Deschner2009-01-061-10/+12
| | | | Guenther
* s3-rpcclient: add setuserinfo to set passwords using level 18,21,23,24,25,26.Günther Deschner2008-12-051-0/+237
| | | | Guenther
* s3-samr: fix rpcclient after idl change.Günther Deschner2008-12-051-3/+2
| | | | Guenther
* s3-rpcclient: add get_domain_handle for samr commands.Günther Deschner2008-12-051-104/+64
| | | | Guenther
* s3-samr: use samr_DomainServerState in client tools.Günther Deschner2008-12-021-2/+2
| | | | Guenther
* s3: fix various samr callers.Günther Deschner2008-10-151-16/+16
| | | | Guenther
* Cope with changed signature of http_timestring().Jelmer Vernooij2008-10-111-8/+8
|
* Refactoring: rpcclient uses ndr_syntax_id instead of pipe_idxVolker Lendecke2008-07-211-33/+33
| | | | (This used to be commit 85db87c451dacf80e9575c04e9e08c625b3f1199)
* rpcclient: add samr chgpasswd command.Günther Deschner2008-06-251-0/+93
| | | | | Guenther (This used to be commit b90ae343722eb73c5874d875aa439e4ef92ed06a)
* rename rpccli_samr_chgpasswd3 to rpccli_samr_chgpasswd_user3.Günther Deschner2008-06-251-6/+6
| | | | | Guenther (This used to be commit b1209a039b45985e0b28777e04cba5bcc3de061e)
* rename rpccli_samr_chgpasswd_user to rpccli_samr_chgpasswd_user2.Günther Deschner2008-06-251-1/+1
| | | | | Guenther (This used to be commit 5b4650d56c04be0c498413f17afb2cf6d0e7d548)
* rpcclient: Add tiny fix for cmd_samr_get_dispinfo_idx().Günther Deschner2008-04-241-2/+3
| | | | | Guenther (This used to be commit c15b5d73badafdc93066197aefaaaa72e37a8b99)
* rpcclient: Add getdispinfoidx command.Günther Deschner2008-04-221-0/+62
| | | | | Guenther (This used to be commit 7d8461d080c92a83bd7a8d168fdf1fe98e8bec9a)
* Introduce rpccli_set_timeout()Volker Lendecke2008-04-201-2/+3
| | | | | Reduce dependency on "cli" member of rpc_pipe_client struct (This used to be commit 2e4c1ba38963cffe4c3f25ab24bc28975f2fc291)
* Remove some dead code in rpcclient.Günther Deschner2008-04-041-23/+0
| | | | | Guenther (This used to be commit c7ae1a9b53ef578cf4dfdf8e05915817c69896b5)
* Move rpccli_try_samr_connects out of rpcclient.Günther Deschner2008-04-041-75/+78
| | | | | Guenther (This used to be commit f550cdb6f240830ee1e3a2dfe5f4128bca0cf836)
* Re-add support for the samr parameters string.Günther Deschner2008-03-311-1/+15
| | | | | | | (dialin settings, terminal server settings, etc.) Guenther (This used to be commit c4f248df8e34c6a028bf8d789fe9763b0ea063fe)
* Add my copyright.Günther Deschner2008-02-271-0/+1
| | | | | Guenther (This used to be commit d078a8757182d84dfd3307a2e1b751cf173aaa97)
* Fix off-by-one bugs in subcommand argument passing.Tim Potter2008-02-181-4/+4
| | | | (This used to be commit d85a2782a483e563a8b68924d4897a145bc25896)