summaryrefslogtreecommitdiff
path: root/source3/rpcclient/cmd_samr.c
AgeCommit message (Collapse)AuthorFilesLines
2012-05-10s3: Fix Coverity ID 242717 Uninitialized scalar variableVolker Lendecke1-1/+2
In an error path we are closing domain_pol without opening it
2012-05-10s3: Fix Coverity ID 242718 Uninitialized scalar variableVolker Lendecke1-1/+2
In an error path we are closing user_pol without opening it
2012-05-10s3: Fix Coverity ID 242719 Uninitialized scalar variableVolker Lendecke1-1/+2
In an error path we are closing domain_pol without opening it
2012-05-10s3: Fix Coverity ID 242720 Uninitialized scalar variableVolker Lendecke1-1/+2
In an error path we are closing domain_pol without opening it
2012-05-10s3: Fix Coverity ID 242721 Uninitialized scalar variableVolker Lendecke1-1/+2
In an error path we are closing domain_pol without opening it
2012-05-10s3: Fix Coverity ID 242722 Uninitialized scalar variableVolker Lendecke1-1/+1
In an error path we are closing domain_handle without opening it
2012-01-18s3-rpcclient: pass struct ndr_interface_table downAndrew Bartlett1-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>
2011-06-09s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array()Andrew Bartlett1-1/+1
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_ARRAY isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_ARRAY() to talloc_array()Andrew Bartlett1-2/+2
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
2011-05-18s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett1-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
2011-05-05More simple const fixups.Jeremy Allison1-1/+1
2011-03-31s3-rpcclient: include rpc_client/cli_pipe.h globally in rpcclient.hGünther Deschner1-1/+0
Guenther
2011-02-28s3-rpc_client: Move client pipe functions to own header.Andreas Schneider1-0/+1
2011-02-01s3:rpcclient/cmd_samr: remove useless ';'Stefan Metzmacher1-1/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Feb 1 19:19:24 CET 2011 on sn-devel-104
2011-02-01s3-rpcclient: prefer dcerpc_samr_X functions.Günther Deschner1-500/+880
Guenther
2011-01-21s3-rpc_client: Rename get_query_dispinfo_params.Andreas Schneider1-1/+1
2010-10-12libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett1-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
2010-10-07samr: for correctness, rename samr_RidTypeArray to samr_RidAttrArray.Günther Deschner1-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
2010-09-20s3-util: use shared dom_sid_dup.Günther Deschner1-1/+2
Guenther
2010-09-11s3-auth Change type of num_sids to uint32_tAndrew Bartlett1-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>
2010-08-25s3-lsa: separate out init_lsa headers.Günther Deschner1-0/+1
Guenther
2010-08-08s3:rpcclient: we also need some ndr_pull functionsStefan Metzmacher1-0/+1
metze
2010-06-03s3-security: use shared SECINFO_DACL define.Günther Deschner1-1/+1
Guenther
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett1-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>
2010-05-18s3-rpc_client: move protos to init_samr.hGünther Deschner1-0/+1
Guenther
2010-05-18s3-rpc_client: move protos to cli_samr.hGünther Deschner1-0/+1
Guenther
2010-05-18s3-secdesc: remove "typedef struct sec_desc_buf SEC_DESC_BUF".Günther Deschner1-1/+1
Guenther
2009-11-26s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner1-0/+1
samba. Guenther
2009-11-08Revert "s3: Do not directly reference the ndr_table_* in rpcclient"Volker Lendecke1-101/+35
This reverts commit 70c698fd547c4bc19cf77693608bbb34acac40b5.
2009-11-08s3: Do not directly reference the ndr_table_* in rpcclientVolker Lendecke1-35/+101
2009-10-08s3/s4 - Adapt the IDL changes on various locationsMatthias Dieter Wallnöfer1-12/+9
2009-06-08s3-rpcclient: allow to set query size for samr enum calls.Günther Deschner1-16/+32
Guenther
2009-05-25s3-rpcclient: use get_domain_handle() fn in enum domain users & groups.Günther Deschner1-12/+10
Guenther
2009-04-21s3-secdesc: use SEC_FLAG_MAXIMUM_ALLOWED instead of SEC_RIGHTS_MAXIMUM_ALLOWED.Günther Deschner1-2/+2
Guenther
2009-04-14Rework Samba3 to use new libcli/auth code (partial)Andrew Bartlett1-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
2009-03-18s3: remove POLICY_HND.Günther Deschner1-28/+28
Guenther
2009-02-25s3-rpcclient: more uses of is_valid_policy_hnd in spoolss and samr commands.Günther Deschner1-25/+7
Guenther
2009-01-06s3-samr: avoid all init_samr_user* functions.Günther Deschner1-10/+12
Guenther
2008-12-05s3-rpcclient: add setuserinfo to set passwords using level 18,21,23,24,25,26.Günther Deschner1-0/+237
Guenther
2008-12-05s3-samr: fix rpcclient after idl change.Günther Deschner1-3/+2
Guenther
2008-12-05s3-rpcclient: add get_domain_handle for samr commands.Günther Deschner1-104/+64
Guenther
2008-12-02s3-samr: use samr_DomainServerState in client tools.Günther Deschner1-2/+2
Guenther
2008-10-15s3: fix various samr callers.Günther Deschner1-16/+16
Guenther
2008-10-11Cope with changed signature of http_timestring().Jelmer Vernooij1-8/+8
2008-07-21Refactoring: rpcclient uses ndr_syntax_id instead of pipe_idxVolker Lendecke1-33/+33
(This used to be commit 85db87c451dacf80e9575c04e9e08c625b3f1199)
2008-06-25rpcclient: add samr chgpasswd command.Günther Deschner1-0/+93
Guenther (This used to be commit b90ae343722eb73c5874d875aa439e4ef92ed06a)
2008-06-25rename rpccli_samr_chgpasswd3 to rpccli_samr_chgpasswd_user3.Günther Deschner1-6/+6
Guenther (This used to be commit b1209a039b45985e0b28777e04cba5bcc3de061e)
2008-06-25rename rpccli_samr_chgpasswd_user to rpccli_samr_chgpasswd_user2.Günther Deschner1-1/+1
Guenther (This used to be commit 5b4650d56c04be0c498413f17afb2cf6d0e7d548)
2008-04-24rpcclient: Add tiny fix for cmd_samr_get_dispinfo_idx().Günther Deschner1-2/+3
Guenther (This used to be commit c15b5d73badafdc93066197aefaaaa72e37a8b99)
2008-04-22rpcclient: Add getdispinfoidx command.Günther Deschner1-0/+62
Guenther (This used to be commit 7d8461d080c92a83bd7a8d168fdf1fe98e8bec9a)