1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
Commit Graph

2224 Commits

Author SHA1 Message Date
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
Günther Deschner
c79ce2ffa3 As long as DsGetDcName is not part of libnetapi, lowercase the fn name.
Guenther
(This used to be commit 19a980f520)
2008-01-11 15:32:20 +01:00
Günther Deschner
efcf285e27 Fix libnetapi error string callers.
Guenther
(This used to be commit 1ad7a0a361)
2008-01-11 15:28:24 +01:00
Günther Deschner
83b1751615 Remove unused string.
Guenther
(This used to be commit 88d6683872)
2008-01-10 13:02:10 +01:00
Volker Lendecke
b43719d0fb Attempt to fix the compile of source/utils/net_dns.c
Jeremy, please check!
(This used to be commit 66d3012bf4)
2008-01-09 12:10:55 +01:00
Jeremy Allison
7ca33d1112 Move the DNS tsig update to using struct sockaddr_storage
from struct in_addr. Still only does IPv4 updates but now
it'll be easy to add IPv6 when we have time.
Jeremy.
(This used to be commit ac3a433bef)
2008-01-08 13:11:12 -08:00
Günther Deschner
62c91987d9 Use ads_get_upn() in net_derive_salting_principal().
Guenther
(This used to be commit a3b348b113)
2008-01-08 14:07:18 +01:00
Jeremy Allison
af2a75ba61 Add -e to smbget.
Jeremy.
(This used to be commit 0475bdcf44)
2008-01-05 00:51:50 -08:00
Jeremy Allison
a41972e801 Fix -e for smbcquotas.
Jeremy.
(This used to be commit f97b1247c1)
2008-01-05 00:50:03 -08:00
Jeremy Allison
160fefc71a Fix args to cli_force_encryption.
Jeremy.
(This used to be commit 7b0826aeec)
2008-01-05 00:41:48 -08:00
Jeremy Allison
9baa97a46e Add general '-e' option to enable smb encryption
on tools.
Jeremy.
(This used to be commit 757653966f)
2008-01-05 00:23:35 -08:00
Jeremy Allison
3d40b197b0 Add missing patch to allow smbcacls to do krb5 auth, bug #5175
from Tom Maher <tmaher@watson.org>.
Jeremy.
(This used to be commit 54ee718957)
2008-01-04 17:15:04 -08:00
Jeremy Allison
68b2965108 Fix the build.
Jeremy.
(This used to be commit 25a0084af5)
2008-01-04 13:24:24 -08:00
Jeremy Allison
9254bb4ef1 Refactor the crypto code after a very helpful conversation
with Volker. Mostly making sure we have data on the incoming
packet type, not stored in the smb header.
Jeremy.
(This used to be commit c4e5a50504)
2008-01-04 12:56:23 -08:00
Michael Adam
517ad5318d Fix spacing - spaces mixed with tabs.
Michael
(This used to be commit a4ef828102)
2008-01-04 21:16:48 +01:00