1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

778 Commits

Author SHA1 Message Date
Günther Deschner
8a88a14267 Remove unused marshalling for SAMR_QUERY_ALIASMEM.
Guenther
(This used to be commit 1b1f9ee2e931a9c2608e4fd4bc37b877c52b1dcb)
2008-02-05 10:06:04 +01:00
Günther Deschner
30857dbf26 Remove unused marshalling for SAMR_ADD_ALIASMEM.
Guenther
(This used to be commit 27e0b6a1aa94294588b2c18ed7929edb0289e746)
2008-02-05 10:01:35 +01:00
Günther Deschner
6a0897b363 Remove unused marshalling for SAMR_DEL_ALIASMEM.
Guenther
(This used to be commit 99d80ada6d72bea427cece3e759206eb067bc206)
2008-02-05 09:58:30 +01:00
Günther Deschner
0bffd59a4c Remove unused marshalling for SAMR_CONNECT.
Guenther
(This used to be commit 2b1bc8ab68a0ed8fb77030d421618cf4a664f5e3)
2008-02-05 09:39:25 +01:00
Günther Deschner
a1c2242f3f Remove unused marshalling for LSA_QUERY_SEC_OBJ.
Guenther
(This used to be commit 9b2aeeb36903591ea55cfdfe22f32d69703daaf1)
2008-02-04 22:12:41 +01:00
Günther Deschner
d93631f96f Remove unused marshalling for SAMR_CONNECT_4.
Guenther
(This used to be commit 86d00328aead337026a1550ee888ee3f646f62b2)
2008-02-04 19:17:41 +01:00
Günther Deschner
944f11af5b Remove unused marshalling for SAMR_ADD_GROUPMEM.
Guenther
(This used to be commit 83d1b7429ea902742c9c1f42fca57fb1757fc2b4)
2008-02-04 18:45:25 +01:00
Günther Deschner
c01a62c4d6 Remove unused marshalling for SAMR_DEL_GROUPMEM.
Guenther
(This used to be commit a65c89c80627280247e25b695eec081386cc4fb6)
2008-02-04 18:32:50 +01:00
Günther Deschner
00073422d5 Remove unused marshalling for SAMR_SET_SEC_OBJ.
Guenther
(This used to be commit 90982cf43ab549a19b4d45860504bb7db57c7c8a)
2008-02-02 13:37:20 +01:00
Günther Deschner
33d5becfad Remove unused marshalling for SAMR_QUERY_SEC_OBJ.
Guenther
(This used to be commit b15512f8ccbc6c645b8be95827862a58a1a7fab2)
2008-02-02 13:37:19 +01:00
Günther Deschner
b708005a71 Remove unused marshalling for SAMR_CREATE_USER.
Guenther
(This used to be commit 69e8a83093149201c36ffc2b7fadfa469aabf7bd)
2008-02-01 16:29:21 +01:00
Günther Deschner
42f61160f9 Remove unused marshalling for SAMR_CREATE_DOM_GROUP.
Guenther
(This used to be commit 2882d48dfed2cd9783833d010d126d7b3cfb4899)
2008-02-01 16:29:20 +01:00
Günther Deschner
d3b25867f5 Remove unused marshalling for SAMR_CREATE_DOM_ALIAS.
Guenther
(This used to be commit 2e56289889b705d003a170fafa69163ce5841f3b)
2008-02-01 16:29:20 +01:00
Günther Deschner
a3b00a3244 Remove unused marshalling for SAMR_OPEN_USER.
Guenther
(This used to be commit f34c0e7ada8ce625ee20e3d776e41dabbad71ce5)
2008-02-01 12:30:25 +01:00
Günther Deschner
e8c794fabe Remove unused marshalling for SAMR_OPEN_ALIAS.
Guenther
(This used to be commit c00d629d4e557e5efd7c339904e228ca76504e7a)
2008-02-01 12:30:07 +01:00
Günther Deschner
331c1ad49b Remove unused marshalling for SAMR_OPEN_GROUP.
Guenther
(This used to be commit 9660a341b6b32609b28770130e974d674ab31215)
2008-02-01 12:29:45 +01:00
Günther Deschner
481a7f9572 Remove unused marshalling for SAMR_OPEN_DOMAIN.
Guenther
(This used to be commit ebf9caa004899281d0fb44cac2e2494d322810bd)
2008-02-01 12:29:26 +01:00
Günther Deschner
c4bb59afb4 Remove rpccli_samr_delete_dom_user().
Guenther
(This used to be commit 1b620ea648a20dc54c9c8bc21affbdbb2174ebea)
2008-02-01 10:17:49 +01:00
Günther Deschner
dc7c06d52d Remove rpccli_samr_delete_dom_alias().
Guenther
(This used to be commit eac804b9a37a5ca150de51136f0daa84bb79e1c2)
2008-02-01 10:15:53 +01:00
Günther Deschner
f69bf4050d Remove rpccli_samr_delete_dom_group().
Guenther
(This used to be commit 882537f26f44103a4882c388844c5b24d4903e9c)
2008-02-01 10:14:23 +01:00
Günther Deschner
5334b364c2 Remove rpccli_samr_close and use pidl generated function instead.
Guenther
(This used to be commit 64f0889401855ab76953bfae5db4fe4df19ad8a5)
2008-01-31 11:09:11 +01:00
Günther Deschner
5a89a4674e Finally delete rpccli_ds_enum_domain_trusts() completly.
Guenther
(This used to be commit c420e42adfea9908a93d3eea5688488e5a9062a2)
2008-01-29 15:23:38 +01:00
Günther Deschner
a6ce6c5649 Remove hand-written rpccli_netlogon_dsr_getdcnameex[2].
Guenther
(This used to be commit 3ded8b9b7eee18a3f903e264adfb7fea6a3c0c5f)
2008-01-25 21:43:55 +01:00
Günther Deschner
05ff7fd46e Use generated DSSETUP client & server rpc functions and remove the hand-written ones.
Guenther
(This used to be commit d5ebfccebb1f1b56b45673a506fcdb414103c43b)
2008-01-25 15:30:43 +01:00
Günther Deschner
242a57b624 Remove rpccli_samr_get_dom_pwinfo() and rpccli_samr_get_usrdom_pwinfo().
Guenther
(This used to be commit 29690d18608ab2d694c23ed7656348c8c71f204e)
2008-01-25 15:24:27 +01:00
Andreas Schneider
691c4b1a41 Windows 2008 (Longhorn) auth2 flag fixes.
Interop fixes for AD specific flags. Original patch from Todd Stetcher.
(This used to be commit 5aadfcdaacd6f136eab9e107a88b8544e6d2105f)
2008-01-23 14:55:22 -08:00
Jeremy Allison
a0186fb78d Forward ported version of Matt Geddes <musicalcarrion@gmail.com>
patch for adding acct_flags to rpccli_samr_create_dom_user().
Jerry please test.
Jeremy.
(This used to be commit 7d94f97947b7edfcf3ec52f0125e4593d6d54c05)
2008-01-23 13:54:02 -08:00
Günther Deschner
c920764b19 Apply const to rpccli_lsa_query_info_policy() and rpccli_lsa_query_info_policy2().
Guenther
(This used to be commit 7a3fe68bef7acde9d9f8a7a44ce7e9432f3c5a95)
2008-01-15 16:40:22 +01:00
Günther Deschner
862e1685b8 Remove old lsa set info policy call.
Guenther
(This used to be commit b37b2b77edec72fc3f53b3461aa1c210e4366c1b)
2008-01-14 17:16:06 +01:00
Günther Deschner
08946cc546 Remove some more hand written LSA rpc.
(rpccli_lsa_open_trusted_domain,
rpccli_lsa_query_trusted_domain_info,
cli_lsa_query_domain_info_policy).

Guenther
(This used to be commit 5bfb33f1c5a16d10f77cb76962df4a949626a062)
2008-01-14 15:29:52 +01:00
Günther Deschner
c939441411 Start removing hand-written lsa marshalling code (namely
rpccli_lsa_open_trusted_domain_by_name,
rpccli_lsa_query_trusted_domain_info_by_sid and
rpccli_lsa_query_trusted_domain_info_by_name).

Guenther
(This used to be commit f2fb3473455f20e7314a9d33f5a1c923d3057d97)
2008-01-14 15:29:43 +01:00
Volker Lendecke
533d6f617e Remove static zeros
(This used to be commit dbcc213710a9af31b6094d4741a6f68f573dcdad)
2007-12-28 17:02:34 +01:00
Günther Deschner
8ded1df767 Kill fstring in getdcname & getanydcname return.
Guenther
(This used to be commit b7383818168863a7ba43c2456f8c44e96e76707a)
2007-12-21 15:12:40 +01:00
Michael Adam
68e65b2981 Fix a debug message: add missing space.
Michael
(This used to be commit 6a7f2a59fc370e226ddacb195059155f28c6c157)
2007-12-18 07:58:37 +01:00
Michael Adam
d9682dfb59 Do not close netlogon pipe in get_schannel_session_key_common().
This removes one forgotten call of cli_rpc_pipe_close(netlogon_pipe).
Correction of e77c4022cfbb868e608edcb06b676658b0e201ad.

Michael
(This used to be commit 7f6593cddef048dd05140b05d306c708d8134f0e)
2007-12-17 23:27:53 +01:00
Volker Lendecke
900288a2b8 Replace sid_string_static by sid_string_dbg in DEBUGs
(This used to be commit bb35e794ec129805e874ceba882bcc1e84791a09)
2007-12-15 22:09:36 +01:00
Michael Adam
7cf5c17f12 Refactoring out get_schannel_session_key logic.
Refactor the actual retrieval of the session key through the
established netlogon pipe out of get_schannel_session_key()
and get_schannel_session_key_auth_ntlmssp() into a new
function get_schannel_session_key_common().
(To avoid code duplication.)

Michael
(This used to be commit e77c4022cfbb868e608edcb06b676658b0e201ad)
2007-12-13 10:15:19 +01:00
Michael Adam
31f221ed93 Rename get_trust_pw() to get_trust_pw_hash().
Michael
(This used to be commit 0cde7ac9cb39a0026a38ccf66dbecefc12931074)
2007-12-13 10:15:19 +01:00
Michael Adam
f793c99ca5 Let get_trust_pw() determine the machine_account_name to use.
Up to now each caller used its own logic.

This eliminates code paths where there was a special treatment
of the following situation: the domain given is not our workgroup
(i.e. our own domain) and we are not a DC (i.e. it is not a typical
trusted domain situation). In situation the given domain name was
previously used as the machine account name, resulting in an account
name of DOMAIN\\DOMAIN$, which does not seem very reasonable to me.
get_trust_pw would not have obtained a password in this situation
anyways.

I hope I have not missed an important point here!

Michael
(This used to be commit 6ced4a7f88798dc449a667d63bc29bf6c569291f)
2007-12-13 10:15:17 +01:00
Günther Deschner
0439fdd777 Replace "unknown" with access_mask when calling samr_CreateUser2().
Guenther
(This used to be commit cfc6e7a2e657ee55364b739d9fe0093e4f7c8b27)
2007-12-11 15:26:09 +01:00
Jeremy Allison
7faee02d0d Remove the char[1024] strings from dynconfig. Replace
them with malloc'ing accessor functions. Should save a
lot of static space :-).
Jeremy.
(This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
2007-12-10 11:30:37 -08:00
Günther Deschner
82089a2e84 Fix winreg callers.
Guenther
(This used to be commit 677d9e6d86997a1ae10266e9bab3b18c3fdd2890)
2007-12-03 18:43:19 +01:00
Jeremy Allison
d2cf97aeba Remove the explicit TALLOC_CTX * from cli_struct.
Make us very explicit about how long a talloc ctx
should last.
Jeremy.
(This used to be commit ba9e2be2b5a59684e854609f9d82ea1633448c62)
2007-11-29 13:24:54 -08:00
Jeremy Allison
6b6655edd9 Remove pstrings from everything except srv_spoolss_nt.c.
Jeremy.
(This used to be commit 0002a9e96b0ef78316295a6eb94ff29b64e2f988)
2007-11-27 14:35:30 -08:00
Jeremy Allison
66298d8080 More pstring elimination.
Jeremy.
(This used to be commit 15074de938539e7a9c527d9a6d81792adc2ac3d0)
2007-11-20 17:18:16 -08:00
Stefan Metzmacher
f9578af966 ndr: change NTSTAUS into enum ndr_err_code (samba3 callers)
lib/messages_local.c
rpc_client/ndr.c
smbd/notify_internal.c
utils/net_rpc_registry.c

metze
(This used to be commit c2645d2164c05976a98bafed980b6029baf89977)
2007-11-09 21:23:16 +01:00
Jeremy Allison
922db25272 Fix a mismatched interface where we were using
uint32 instead of enum lsa_SidType.
Jeremy.
(This used to be commit 2df8252ff76406bfe57cd76e9927b5056e89e6ae)
2007-10-25 18:29:49 -07:00
Jeremy Allison
30191d1a57 RIP BOOL. Convert BOOL -> bool. I found a few interesting
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
(This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-18 17:40:25 -07:00
Gerald (Jerry) Carter
e5a951325a [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10 15:34:30 -05:00
Gerald Carter
5221ebb299 r25407: Revert Longhorn join patch as it is not correct for the 3.2 tree.
The translate_name() used by cli_session_setup_spnego() cann rely
Winbindd since it is needed by the join process (and hence before
Winbind can be run).
(This used to be commit 00a93ed336c5f36643e6e33bd277608eaf05677c)
2007-10-10 12:31:03 -05:00