1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

2238 Commits

Author SHA1 Message Date
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
781776d864 Use rpccli_samr_QueryDisplayInfo() all over the place.
Guenther
(This used to be commit 66b79add35)
2008-02-08 00:10:55 +01:00
Günther Deschner
1c788bc365 Use rpccli_samr_GetGroupsForUser() all over the place.
Guenther
(This used to be commit d1c669920e)
2008-02-07 14:25:18 +01:00
Günther Deschner
ba9cda7ad9 Use rpccli_samr_QueryAliasInfo() in net.
Guenther
(This used to be commit 5bf6c8b6d8)
2008-02-07 13:37:59 +01:00
Günther Deschner
1500538ae8 Use rpccli_samr_SetGroupInfo() in net.
Guenther
(This used to be commit 5909e9f971)
2008-02-07 11:03:35 +01:00
Günther Deschner
32ca0e8147 Use rpccli_samr_SetAliasInfo() in net.
Guenther
(This used to be commit 18c52030bb)
2008-02-07 10:56:24 +01:00
Günther Deschner
99bff2fc72 Use rpccli_samr_QueryDomainInfo() in net_rpc_sh_acct.c.
Guenther
(This used to be commit 65e978eacc)
2008-02-06 02:09:23 +01:00
Günther Deschner
b0374e6b34 Use rpccli_samr_QueryDomainInfo() in net rpc.
Guenther
(This used to be commit 82073db9f7)
2008-02-06 02:09:04 +01:00
Günther Deschner
fc681ec581 Use rpccli_samr_RemoveMemberFromForeignDomain() in net.
Guenther
(This used to be commit 91c48ae15b)
2008-02-05 13:19:47 +01:00
Günther Deschner
2823c1eab1 Use rpccli_samr_QueryGroupMember() all over the place.
Guenther
(This used to be commit 1793ed10df)
2008-02-05 13:19:47 +01:00
Günther Deschner
2e73c54fe3 Use rpccli_samr_GetMembersInAlias() in net and rpcclient.
Guenther
(This used to be commit 3f48f9e671)
2008-02-05 10:05:53 +01:00
Günther Deschner
f22e45c8a2 Use rpccli_samr_AddAliasMember() in net.
Guenther
(This used to be commit 390597c96c)
2008-02-05 10:01:27 +01:00
Günther Deschner
698edf4d80 Use rpccli_samr_DeleteAliasMember() in net.
Guenther
(This used to be commit b04bf5c125)
2008-02-05 09:58:23 +01:00
Günther Deschner
270ba9c238 Use rpccli_samr_Connect2() all over the place.
Guenther
(This used to be commit bdf8d56262)
2008-02-04 22:12:40 +01:00
Günther Deschner
babf5d5f5c Use rpccli_samr_AddGroupMember() in net.
Guenther
(This used to be commit e2635fa1e4)
2008-02-04 18:45:25 +01:00
Günther Deschner
db5054fd99 Use rpccli_samr_DeleteGroupMember() in net.
Guenther
(This used to be commit 4e1496894b)
2008-02-04 18:32:34 +01:00
Volker Lendecke
88c27f83d4 Convert receive_smb_raw to NTSTATUS
(This used to be commit ba771bd858)
2008-02-02 11:03:23 +01:00
Günther Deschner
ddbe4ea6b7 Use rpccli_samr_CreateUser2() all over the place.
Guenther
(This used to be commit 701af69118)
2008-02-01 16:29:20 +01:00
Günther Deschner
cc1350a353 Use rpccli_samr_CreateDomainGroup() in net and rpcclient.
Guenther
(This used to be commit 7b7b10adca)
2008-02-01 16:29:20 +01:00
Günther Deschner
99ebfd810f Use rpccli_samr_CreateDomAlias() in net and rpcclient.
Guenther
(This used to be commit 1248ec89d2)
2008-02-01 16:29:20 +01:00
Günther Deschner
37b56c0113 Use rpccli_samr_OpenUser() all over the place.
Guenther
(This used to be commit da90eb7653)
2008-02-01 12:30:15 +01:00
Günther Deschner
2c7428e64e Use rpccli_samr_OpenAlias() in net and rpcclient.
Guenther
(This used to be commit f66facc0f8)
2008-02-01 12:29:58 +01:00
Günther Deschner
482eaa8e5c Use rpccli_samr_OpenGroup() all over the place.
Guenther
(This used to be commit d019fc69a9)
2008-02-01 12:29:35 +01:00
Günther Deschner
42960f817a Use rpccli_samr_OpenDomain() all over the place.
Guenther
(This used to be commit e4e9d72724)
2008-02-01 12:29:10 +01:00
Günther Deschner
e4a64da293 Use rpccli_samr_DeleteUser() in net and rpcclient.
Guenther
(This used to be commit 5bd8f7067d)
2008-02-01 10:17:38 +01:00
Günther Deschner
e33db782d2 Use rpccli_samr_DeleteDomAlias() in net and rpcclient.
Guenther
(This used to be commit bbed3aed51)
2008-02-01 10:15:39 +01:00
Günther Deschner
8303e8cf80 Use rpccli_samr_DeleteDomainGroup() in net and rpcclient.
Guenther
(This used to be commit 8cc094ddb5)
2008-02-01 10:14:10 +01:00
Günther Deschner
5334b364c2 Remove rpccli_samr_close and use pidl generated function instead.
Guenther
(This used to be commit 64f0889401)
2008-01-31 11:09:11 +01:00
Kai Blin
a8209904a5 ntlm_auth: Parse configfile after parsing it's location, not before.
(This used to be commit cf671ca35b)
2008-01-31 09:42:18 +01:00
Günther Deschner
5ab43ae0d8 Eliminate remote tree of dsgetdcname (which will happen in libnetapi then).
Guenther
(This used to be commit fd490d236b)
2008-01-29 15:09:56 +01:00
Günther Deschner
92183450f1 Trying to avoid defining new SAMR acct creation flags when we already have them with different
names. Matt, Jeremy, please check.

Guenther
(This used to be commit d4a9e46edf)
2008-01-25 01:04:30 +01:00
Günther Deschner
108fc52c6b Add dump-domain-list command for debugging winbindd's domain_list.
Guenther
(This used to be commit 10fa43f284)
2008-01-24 16:21:53 +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 5aadfcdaac)
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 7d94f97947)
2008-01-23 13:54:02 -08:00
Kai Blin
b133f5ac0a ntlm_auth: Get rid of statics in manage_squid_ntlmssp_request
(This used to be commit 97768628f5)
2008-01-19 13:16:24 +01:00
Kai Blin
4b05fd29e6 ntlm_auth: Rewrite manage_client_ntlmssp_request without statics.
(This used to be commit af43842622)
2008-01-19 13:16:24 +01:00
Kai Blin
40db1a1625 nltm_auth: Use struct ntlm_auth_state in helper functions.
Now rewriting the helpers one after the other can start.
(This used to be commit 2479a0c3ad)
2008-01-19 13:16:24 +01:00
Kai Blin
83f30d72e0 ntlm_auth: Prepare for a deeper rewrite of the helper functions
(This used to be commit f8243d1913)
2008-01-19 13:16:24 +01:00
Kai Blin
f22a29e1bd ntlm_auth: Dynamically allocate the read buffer.
This ports over my changes from Samba4
(This used to be commit 4a475baf26)
2008-01-19 13:16:23 +01:00
Kai Blin
805caafd44 util_str: Don't return memory from talloc_tos(), use mem_ctx instead.
(This used to be commit ab0ee6e9a6)
2008-01-19 02:20:16 +01: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 7a3fe68bef)
2008-01-15 16:40:22 +01:00
Volker Lendecke
2b14428330 Fix some warnings -- Jeremy, please check
(This used to be commit b66ac8567c)
2008-01-15 11:01:18 +01:00
Günther Deschner
36a7316bfc Some more minor cleanup for "net rpc audit".
Guenther
(This used to be commit 558ce4ec3e)
2008-01-14 18:39:15 +01:00
Günther Deschner
662d61e742 Fix all callers of old rpccli_lsa_set_info_policy() call.
Guenther
(This used to be commit be8071779f)
2008-01-14 17:17:20 +01:00
Günther Deschner
cb1a090577 Use pidl generated rpccli_lsa_QueryTrustedDomainInfoBySid when vampiring trusted
domain secrets.

Guenther
(This used to be commit aa3de6f9f5)
2008-01-14 15:33:42 +01:00
Michael Adam
801eeaec09 Add and modify comments in net_conf.c
Michael
(This used to be commit b3afc8391d)
2008-01-13 23:45:57 +01:00
Michael Adam
a6bf13ce97 Add explicit creation of shares to net conf import function.
It has been removed from libnet_conf_set_parameter().

Michael
(This used to be commit b5c533b06c)
2008-01-13 23:30:08 +01:00
Michael Adam
1ee6d3e1ee Introduce a libnet_conf context created by libnet_conf_open().
The libnet_conf_ctx stores the information necessary to interoperate
with the configuration. It is created by calling libnet_conf_open()
and destroyed by calling libnet_conf_close(). The context is passed
to all the libnet_conf functions. It currently stores the token to
access the registry. Later, it could store more data, e.g. the server
to connect to, credentials, and so on. For support of other backends
than registry or support of remote configuration, only the open
function will have to be changed.

In net_conf, the calls to the actual net_conf functions is wrapped
into a function that calls libnet_conf_open()/_close(). Thus an
individual variant of net_conf_runfunction2() and functable2 is
used to cope with functions being called by the wrapper with the
additional libnet_conf_ctx argument.

Michael
(This used to be commit c2a9346faa)
2008-01-13 02:14:34 +01:00
Jeremy Allison
43717a16e2 Fix CID 476. Ensure a valid pac_data pointer is always passed to
ads_verify_ticket as it's always derefed.
Jeremy.
(This used to be commit 0599d57eff)
2008-01-11 23:53:27 -08:00
Jeremy Allison
bd317be33b Stop Coverity complaining about uninitialized variables.
Jeremy.
(This used to be commit 041f1d298c)
2008-01-11 23:41:17 -08:00