1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

195 Commits

Author SHA1 Message Date
Jeremy Allison
bde2bcc8ef Fix bug 8088 - rpccli_samr_chng_pswd_auth_crap segfaults if any input blobs are null.
Correct fix - ensure we have enough length, and correctly null out
passed in structs if not.

Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Apr 19 00:17:08 CEST 2011 on sn-devel-104
2011-04-19 00:17:08 +02:00
Günther Deschner
9824e2e5ee s3-rpc_client: add and use rpc_client/rpc_client.h.
Guenther
2011-04-13 22:23:59 +02:00
Günther Deschner
6923cc8016 s3-rpc_client: fix dcerpc_try_samr_connects().
Only return when both results are ok.

Guenther
2011-01-21 16:10:15 +01:00
Günther Deschner
e873ce9b65 s3-rpc_client: no need to include gen_ndr/cli_samr.h anymore.
Guenther
2011-01-21 16:10:15 +01:00
Andreas Schneider
5db115a304 s3-rpc_client: Added dcerpc_try_samr_connects.
Autobuild-User: Andreas Schneider <asn@samba.org>
Autobuild-Date: Fri Jan 21 15:19:01 CET 2011 on sn-devel-104
2011-01-21 15:19:01 +01:00
Andreas Schneider
089c25cbbb s3-rpc_client: Rename get_query_dispinfo_params. 2011-01-21 14:34:18 +01:00
Andreas Schneider
e6475f2151 s3-rpc_client: Added dcerpc_samr_chgpasswd_user3. 2011-01-21 14:34:18 +01:00
Andreas Schneider
200772653a s3-rpc_client: Added dcerpc_samr_chng_pswd_auth_crap. 2011-01-21 14:34:18 +01:00
Andreas Schneider
3de564b9b6 s3-rpc_client: Added dcerpc_samr_chgpasswd_user2. 2011-01-21 14:34:17 +01:00
Andreas Schneider
78c4f72c31 s3-rpc_client: Added dcerpc_samr_chgpasswd_user. 2011-01-21 14:34:17 +01:00
Günther Deschner
e978a3d3f4 s3-lsa: separate out init_lsa headers.
Guenther
2010-08-25 22:50:39 +02:00
Andreas Schneider
898fd584a4 s3-rpc_client: Fixed a segfault in rpccli_samr_chng_pswd_auth_crap().
This fixes the WINBIND-WBCLIENT test. The test set
old_lm_hash_enc_blob.length to 0 and we don't check the length here. So
the memcpy segfaulted.
2010-07-18 15:09:24 +02:00
Günther Deschner
3f2719c202 s3-rpc_client: move protos to cli_samr.h
Guenther
2010-05-18 21:42:32 +02:00
Günther Deschner
1d2dd47d31 s3-crypto: only include crypto headers when crypto is done.
Guenther
2010-05-18 00:44:27 +02:00
Günther Deschner
3d679a3b5f s3-rpc: Avoid including every pipe's client and server stubs everywhere in samba.
Guenther
2009-11-26 20:03:17 +01:00
Matthias Dieter Wallnöfer
607ceff234 s3/s4 - Adapt the IDL changes on various locations 2009-10-08 09:50:19 +02:00
Andrew Bartlett
f28f113d8e Rework Samba3 to use new libcli/auth code (partial)
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-04-14 16:23:35 +10:00
Günther Deschner
531af136f9 s3: remove POLICY_HND.
Guenther
2009-03-18 23:22:29 +01:00
Günther Deschner
402733b518 rpc_client: add rpccli_samr_chgpasswd_user() call.
Guenther
(This used to be commit 10fd2baa83)
2008-06-25 23:58:50 +02:00
Günther Deschner
14d500c0e7 rename rpccli_samr_chgpasswd3 to rpccli_samr_chgpasswd_user3.
Guenther
(This used to be commit b1209a039b)
2008-06-25 23:58:50 +02:00
Günther Deschner
059293cbf4 rename rpccli_samr_chgpasswd_user to rpccli_samr_chgpasswd_user2.
Guenther
(This used to be commit 5b4650d56c)
2008-06-25 23:58:50 +02:00
Volker Lendecke
9048cafbea Move srv_name_slash from cli_state to rpc_pipe_client
(This used to be commit a9061e52e1)
2008-04-20 00:14:13 +02:00
Günther Deschner
29f44dc144 Move rpccli_try_samr_connects out of rpcclient.
Guenther
(This used to be commit f550cdb6f2)
2008-04-04 01:40:29 +02:00
Günther Deschner
fd62e5688b Use existing srv_name_slash.
Guenther
(This used to be commit 5f2b3145fc)
2008-03-12 16:35:41 +01:00
Günther Deschner
7269a504fd Add my copyright.
Guenther
(This used to be commit d078a87571)
2008-02-27 19:38:48 +01:00
Günther Deschner
c60460a549 Remove unused marshalling for SAMR_ENUM_DOM_ALIASES.
Guenther
(This used to be commit 7e1f33436a)
2008-02-13 11:18:36 +01:00
Günther Deschner
4843df31de Remove unused marshalling for SAMR_ENUM_DOM_GROUPS.
Guenther
(This used to be commit 6f269ec8c0)
2008-02-13 11:18:36 +01:00
Günther Deschner
7c0796a494 Remove unused marshalling for SAMR_LOOKUP_RIDS.
Guenther
(This used to be commit c6db963dac)
2008-02-13 10:56:56 +01:00
Günther Deschner
e2b3aad817 Collect all init_lsa_string varients in one place.
Guenther
(This used to be commit f4581e9f44)
2008-02-12 22:05:39 +01:00
Günther Deschner
a9cf5a0e9c The final SAM_USER_INFO massacre.
I compared those very thoroughly with the idl ones but couldn't find any bits
that were missing (except for the very obscure (and totally unused)
SAM_USER_INFO_17 structure which I think was totally wrong).

Guenther
(This used to be commit e7192818f7)
2008-02-12 21:11:03 +01:00
Günther Deschner
b69a590f6b Remove unused marshalling for SAMR_SET_USERINFO2.
Guenther
(This used to be commit d493f98cd1)
2008-02-12 18:54:03 +01:00
Günther Deschner
6f2a384b33 Remove unused marshalling for SAMR_QUERY_USERINFO.
Guenther
(This used to be commit daec00fd62)
2008-02-12 18:27:57 +01:00
Günther Deschner
c3f68ad29f Remove unused marshalling for SAMR_ENUM_DOM_USERS.
Guenther
(This used to be commit 4521f31a72)
2008-02-12 11:38:31 +01:00
Günther Deschner
400ac70117 Remove unused marshalling for SAMR_LOOKUP_NAMES.
Guenther
(This used to be commit 593768c3e9)
2008-02-08 15:30:35 +01:00
Günther Deschner
e1af5066d5 Remove unused marshalling for SAMR_QUERY_DISPINFO.
Guenther
(This used to be commit c09e619a58)
2008-02-08 00:17:54 +01:00
Günther Deschner
f564a5476b Remove unused marshalling for SAMR_QUERY_USERGROUPS.
Guenther
(This used to be commit 232a505535)
2008-02-07 14:25:29 +01:00
Günther Deschner
815ab1ac94 Remove unused marshalling for SAMR_QUERY_GROUPINFO.
Guenther
(This used to be commit 680dbd3ef6)
2008-02-07 14:13:09 +01:00
Günther Deschner
de3aec7026 Remove unused marshalling for SAMR_QUERY_ALIAS_INFO.
Guenther
(This used to be commit 03dff0194b)
2008-02-07 13:38:08 +01:00
Günther Deschner
bffbee263f Remove unused marshalling for SAMR_SET_GROUPINFO.
Guenther
(This used to be commit 2bcc01fd13)
2008-02-07 11:03:44 +01:00
Günther Deschner
009d09dcae Remove unused marshalling for SAMR_SET_ALIASINFO.
Guenther
(This used to be commit f56b5f976a)
2008-02-07 10:56:35 +01:00
Günther Deschner
83036e7fd2 Use rpccli_samr_ChangePasswordUser2 in rpccli_samr_chgpasswd_user() and friends.
Guenther
(This used to be commit a49220b5c8)
2008-02-07 10:07:01 +01:00
Günther Deschner
9c22a27aad Let rpccli_samr_chgpasswd3 use rpccli_samr_ChangePasswordUser3 internally.
Guenther
(This used to be commit ffbfd19ad7)
2008-02-07 10:07:00 +01:00
Günther Deschner
1430ab2dd3 Remove unused marshalling for SAMR_SET_DOMAIN_INFO.
Guenther
(This used to be commit c67581e1e4)
2008-02-06 02:10:18 +01:00
Günther Deschner
149fe79ad7 Remove unused marshalling for SAMR_QUERY_DOMAIN_INFO.
Guenther
(This used to be commit 28ef04437c)
2008-02-06 02:10:09 +01:00
Günther Deschner
80d1590cbb Remove unused marshalling for SAMR_QUERY_DOMAIN_INFO2.
Guenther
(This used to be commit d4dc2781ad)
2008-02-06 02:07:47 +01:00
Günther Deschner
a9333427d0 Remove unused marshalling for SAMR_REMOVE_SID_FOREIGN_DOMAIN.
Guenther
(This used to be commit 2e2b80bd03)
2008-02-05 13:19:47 +01:00
Günther Deschner
6e36f72ce6 Remove unused marshalling for SAMR_QUERY_USERALIASES.
Guenther
(This used to be commit fc55433aee)
2008-02-05 13:19:47 +01:00
Günther Deschner
23f76ed91f Remove unused marshalling for SAMR_QUERY_GROUPMEM.
Guenther
(This used to be commit 48e74f7752)
2008-02-05 13:19:47 +01:00
Günther Deschner
636229cc09 Remove marshalling for SAMR_LOOKUP_DOMAIN.
Guenther
(This used to be commit e03fd62917)
2008-02-05 10:10:06 +01:00
Günther Deschner
8a88a14267 Remove unused marshalling for SAMR_QUERY_ALIASMEM.
Guenther
(This used to be commit 1b1f9ee2e9)
2008-02-05 10:06:04 +01:00