Günther Deschner
832adaa5ab
Fix "net rpc trustdom establish" for win2k8 trusts.
...
When establishing trusts to a windows 2008 dc, the NetServerEnum2 RAP call fails
with some exotic RAP failure. Let's just try a netlogon getdcname call in
that case to convince ourselve we're talking to a proper machine.
Rafael, looks ok?
Guenther
(This used to be commit b12edbeffe
)
2008-04-02 12:29:24 +02:00
Günther Deschner
99d3590455
Fix NETLOGON credential chain with Windows 2008 all over the place.
...
In order to avoid receiving NT_STATUS_DOWNGRADE_DETECTED from a w2k8
netr_ServerAuthenticate2 reply, we need to start with the AD netlogon negotiate
flags everywhere (not only when running in security=ads). Only for NT4 we need
to do a downgrade to the returned negotiate flags.
Tested with w2k8, w2ksp4, w2k3r2 and nt4sp6.
Guenther
(This used to be commit 0970369ca0
)
2008-04-02 11:12:47 +02:00
Günther Deschner
003472ae23
Fix SRVSVC NetShareInfo level 502 client-side.
...
Guenther
(This used to be commit 8b4eac0ab1
)
2008-04-01 00:26:32 +02:00
Volker Lendecke
7f71d1e8bd
Fix a segfault (an uninitialized variable)
...
(This used to be commit 75eb30884a
)
2008-03-29 13:28:37 +01:00
Günther Deschner
9e328fe942
Zero initial return_authenticator in net rpc samdump.
...
Guenther
(This used to be commit 73ead752c5
)
2008-03-29 00:49:09 +01:00
Michael Adam
fb6fb69966
net: add a "net registry" subcommand to locally access the registry.
...
The interface is like that of net rpc registry.
Access is direct local access to the registry tdb through reg_api.
Michael
(This used to be commit 3250068eb9
)
2008-03-28 16:19:35 +01:00
Günther Deschner
fae5873cad
Fix blob used in pull_netr_AcctLockStr().
...
Thanks metze.
Guenther
(This used to be commit 565a30ac32
)
2008-03-28 09:59:01 +01:00
Günther Deschner
3d62b269c5
Re-add support for display and vampire of account policies in "net".
...
Guenther
(This used to be commit c61499ce02
)
2008-03-27 21:55:42 +01:00
Günther Deschner
20d77db81f
Minor fix for net rpc samdump.
...
Guenther
(This used to be commit 2f5e25be27
)
2008-03-27 21:04:31 +01:00
Michael Adam
65b4a93c4a
net_conf: fix non-testmode import function.
...
Michael
(This used to be commit cd17cc745a
)
2008-03-27 00:32:09 +01:00
Michael Adam
0bdcc557ee
net_conf: reformat - re-indent one function call.
...
Michael
(This used to be commit 9ef9d4c4e7
)
2008-03-26 14:55:06 +01:00
Michael Adam
3253cffced
net_conf: add casts to avoid compiler warnings.
...
Michael
(This used to be commit 1c6b9a0ac3
)
2008-03-26 14:55:06 +01:00
Michael Adam
0234cc8bdd
net_conf: rename "ctx" to "mem_ctx" for clarity.
...
There are also smbconf contexts arount...
Michael
(This used to be commit 5171df66eb
)
2008-03-26 14:55:06 +01:00
Michael Adam
c2acc30bcb
net_conf: use talloc_stackframe() instead of talloc_init().
...
Michael
(This used to be commit ab4fd03705
)
2008-03-26 14:55:06 +01:00
Michael Adam
ca2f9297c2
net_conf: fix import function by using the new text backend of smbconf.
...
Originally, lp_load() was used to import files to registry.
This had several bugs. Most notably, options explicitly set to
default values were silently dropped, and all parametric options
were ignored.
This new implementation reads config from the text backend and
stuffs everything verbatim in to the registry backend.
Michael
(This used to be commit e41c6650f8
)
2008-03-26 14:55:06 +01:00
Karolin Seeger
dec89a9322
Fix usage message for 'net idmap dump'.
...
Karolin
(This used to be commit c967b62dd3
)
2008-03-25 12:00:42 +01:00
Volker Lendecke
3b9680264a
Fix Coverity ID 479
...
(This used to be commit 70b33397ba
)
2008-03-23 18:28:23 +01:00
Volker Lendecke
7af3ebdac0
Fix Coverity ID 480
...
(This used to be commit 45677e8694
)
2008-03-23 18:28:23 +01:00
Michael Adam
6f7cfeddd6
libsmbconf: add a "path" variable to the conf context.
...
This is passed to the module init routines.
In case of the registry, this is the path of the
basekey in registry, that is to be used, defaulting
to KEY_SMBCONF (HKLM\software\samba\smbconf), when
NULL is given. This is the only case currently used.
In order to support other keys, registry initialization
for smbconf has to be changed to support different keys.
Michael
(This used to be commit 96434d9dc7
)
2008-03-21 18:19:24 +01:00
Michael Adam
fececde181
libsmbconf: add backend specific init function.
...
Hide generic init function taking smbconf_ops argument
from public api.
Michael
(This used to be commit b3f6920ccb
)
2008-03-21 02:25:56 +01:00
Michael Adam
23b1d721b8
libsmbconf: rename smbconf_close() to smbconf_shutdown().
...
Michael
(This used to be commit 797b26ad3f
)
2008-03-21 02:25:56 +01:00
Michael Adam
adf5bf554c
libsmbconf: rename smbconf_open() to smbconf_init().
...
That's more appropriate.
Michael
(This used to be commit d7bd9bb8aa
)
2008-03-21 02:25:56 +01:00
Michael Adam
153ed797e6
libsmbconf: change the API to always take the smbconf_ctx parameter first.
...
..for consistency. Exception: the open/init function, where the smbconf_ctx
is created from the given talloc context.
Michael
(This used to be commit 304dba6cb2
)
2008-03-21 02:25:55 +01:00
Günther Deschner
d8acf19987
Move svc_status_string() out of rpc_client/cli_svcctl.c
...
Guenther
(This used to be commit 2860ae2eb2
)
2008-03-20 01:26:37 +01:00
Günther Deschner
2ee6451212
No need to compose CLI_SERVER_NAME_SLASH in "net rpc service" anymore.
...
Guenther
(This used to be commit b5291d4773
)
2008-03-20 01:24:55 +01:00
Kai Blin
b6ab1c4061
ntlm_auth: Improve compliance to the Squid helper protocol
...
This fixes bug #4235 .
Patch from Pawel Worach <pawel.worach@gmail.com> with some linebreaks
added by me.
Also fix one BH message that the original patch didn't fix.
(This used to be commit 098380760d
)
2008-03-19 23:49:43 +01:00
Günther Deschner
e8bd75ec73
Bind Group Policy processing closer to the samba registry.
...
Guenther
(This used to be commit e9c56250eb
)
2008-03-18 21:31:24 +01:00
Michael Adam
37e04236bb
testparm: only check for %u und passwd program when passwd program is given.
...
Michael
(This used to be commit af12b24c4f
)
2008-03-18 15:52:45 +01:00
Michael Adam
7ec398b188
testparm: correctly check for empty lp_passwd_prog().
...
Michael
(This used to be commit 0567f50698
)
2008-03-18 15:52:45 +01:00
Michael Adam
010669351a
testparm: fix irritating indentation.
...
Michael
(This used to be commit a74f07243d
)
2008-03-18 15:52:45 +01:00
Michael Adam
6c575d114b
testparm: fix a segfault triggered by setting "unix password sync = yes".
...
(introduced by pstring removal 0411635511
)
Michael
(This used to be commit 46a021f27c
)
2008-03-18 15:52:45 +01:00
Volker Lendecke
c5356479c1
Some simplifications
...
(This used to be commit b59b436997
)
2008-03-17 21:10:16 +01:00
Marc VanHeyningen
e06aa46b9f
Coverity fixes
...
(This used to be commit 3fc85d2259
)
2008-03-17 20:52:25 +01:00
Michael Adam
6274929b1e
libsmbconf: rename all occurrences of libnet_conf_ to smbconf_ .
...
Michael
(This used to be commit 097af0309d
)
2008-03-17 18:03:02 +01:00
Volker Lendecke
3ff8a21ca3
In smbstatus, mark locking.tdb and sessionid.tdb as CLEAR_IF_FIRST
...
This is needed to inform ctdb that it's not a persistent database, with the
O_RDONLY the tdb backend ignores this.
Merge from 491f902098d33f in 3-0-ctdb
(This used to be commit 065938ccb7
)
2008-03-17 14:56:45 +01:00
Volker Lendecke
c82e848628
Add "net idmap aclmapset"
...
This is a merge from 3-0-ctdb that goes along with 1daad835
, the option
nfs4:sidmap option
(This used to be commit f5e26d28be
)
2008-03-17 14:56:45 +01:00
Günther Deschner
0bdba8d59a
Fix typo.
...
Guenther
(This used to be commit e12721f73d
)
2008-03-15 12:56:09 +01:00
Charles
3634d98784
The attached patch removes some global variables, and make them local to main().
...
(This used to be commit 50cab87d3e
)
2008-03-11 19:49:08 +01:00
Günther Deschner
cfa16eaca0
Use rpccli_srvsvc_NetFileEnum in net and rpcclient.
...
Guenther
(This used to be commit 348af272f7
)
2008-03-10 17:08:55 +01:00
Günther Deschner
b7b89bf808
Convert "net" to use rpccli_srvsvc_NetShare* interfaces everywhere.
...
Guenther
(This used to be commit 3b21ee3738
)
2008-03-10 16:19:25 +01:00
Günther Deschner
758ceaaaaf
Use rpccli_srvsvc_NetShareAdd in net.
...
Guenther
(This used to be commit 6686d97617
)
2008-03-10 14:46:27 +01:00
Günther Deschner
0f64ce0179
Use rpccli_srvsvc_NetShareGetInfo in 2 places in "net".
...
Guenther
(This used to be commit 2ce76ce2bc
)
2008-03-10 05:17:09 +01:00
Günther Deschner
d09f0d281c
Use rpccli_srvsvc_NetShareEnumAll in smbtree.
...
Guenther
(This used to be commit 0cf761f604
)
2008-03-10 05:05:37 +01:00
Charles
ad7c3455ff
Fix return code.
...
(This used to be commit 98b6433660
)
2008-03-09 19:52:29 +01:00
Charles
5b8823e49a
smbget: Make global variables static.
...
(This used to be commit c430b7831d
)
2008-03-09 13:50:56 +01:00
Günther Deschner
8e1fe6379d
Use rpccli_srvsvc_NetShareDel in net.
...
Guenther
(This used to be commit 10d457152e
)
2008-03-07 23:51:34 +01:00
Günther Deschner
5259a7a808
Enable libnetjoin debugging for now but avoid printing passwords.
...
The gen_ndr needs proper fixing still.
Guenther
(This used to be commit 966d7244d7
)
2008-03-07 18:31:13 +01:00
Jelmer Vernooij
63036a6f33
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
...
(This used to be commit 3482cd9b0e
)
2008-03-05 19:42:15 +01:00
Jelmer Vernooij
d41d580c60
Fix formatting.
...
(This used to be commit e2345ce90c
)
2008-03-05 17:30:18 +01:00
Charles
a7af17ef80
Add --update option to smbget.
...
(This used to be commit 3cfa35fca6
)
2008-03-05 15:20:29 +01:00
Günther Deschner
f7b4485fbe
Move talloc_init to the right place in "net ads join".
...
Guenther
(This used to be commit 8cd07c1fa8
)
2008-03-04 11:04:36 +01:00
Stefan Metzmacher
76de025c72
winbind: use a struct element for WBFLAG_PAM_UNIX_NAME
...
To not conflict with WBFLAG_PAM_INFO3_TEXT.
This should fix pam_winbind.
metze
(This used to be commit 1b8ed6c0ff
)
2008-02-28 23:00:42 +01:00
Günther Deschner
27310f0768
Remove original copy of now redundant join code.
...
Jerry, I checked this very carefully that nothing got lost. The only thing I need to
re-add still is the normalized DN handling for account precreation in "net ads join".
Guenther
(This used to be commit a5c6347644
)
2008-02-28 19:54:35 +01:00
Günther Deschner
4a8e6c9a91
Use libnetapi_get_error_string() in "net dom" commands.
...
Guenther
(This used to be commit 58048f0c57
)
2008-02-28 17:05:38 +01:00
Günther Deschner
642f46dcf9
Some fixes for net ads join (uninitialized vars).
...
Guenther
(This used to be commit 735235e32b
)
2008-02-28 14:29:44 +01:00
Günther Deschner
e5775b4fae
Use libnet_Join() for "net ads join".
...
Guenther
(This used to be commit 9a7a2777e4
)
2008-02-28 14:19:36 +01:00
Günther Deschner
4d55efe4ab
Nicen error output in net_ads_leave.
...
Guenther
(This used to be commit b0d1db95e5
)
2008-02-28 14:11:21 +01:00
Günther Deschner
bbe6d400e7
Re-arrange dns update block during "net ads join" a little.
...
Guenther
(This used to be commit 5d30e9f9fe
)
2008-02-28 13:04:30 +01:00
Günther Deschner
0d8985f2da
Let dsgetdcname() return a struct netr_DsRGetDCNameInfo.
...
Guenther
(This used to be commit b1a4b21f8c
)
2008-02-28 12:40:55 +01:00
Günther Deschner
42e301570b
Use libnet_Unjoin() for "net ads leave".
...
Guenther
(This used to be commit 11a19e88e2
)
2008-02-28 12:09:06 +01:00
Günther Deschner
c3ef76593b
Some cosmetics for net_derive_salting_principal().
...
Guenther
(This used to be commit 6f8e83b430
)
2008-02-28 11:38:00 +01:00
Günther Deschner
7269a504fd
Add my copyright.
...
Guenther
(This used to be commit d078a87571
)
2008-02-27 19:38:48 +01:00
Karolin Seeger
79fa62a1bf
Fix some typos.
...
Karolin
(This used to be commit 71f05a1f96
)
2008-02-26 10:26:10 +01:00
Volker Lendecke
44b2ba6880
Fix a C++ warning
...
(This used to be commit c4cab9e1c1
)
2008-02-23 11:04:13 +01:00
Jeremy Allison
29d70de83c
Fix "used uninitialized" errors.
...
Jeremy.
(This used to be commit 06d15d8a9f
)
2008-02-22 16:19:59 -08:00
Günther Deschner
3c3944ee38
Use rpccli_svcctl_QueryServiceStatus() in net.
...
Guenther
(This used to be commit 1cc0e9b7e5
)
2008-02-19 03:13:18 +01:00
Günther Deschner
87bccd70ca
Use rpccli_svcctl_ControlService() in net.
...
Guenther
(This used to be commit 49375f0b4d
)
2008-02-19 03:12:54 +01:00
Günther Deschner
cea7718db8
Use rpccli_svcctl_StartServiceW() in net.
...
Guenther
(This used to be commit 5ca4358c1a
)
2008-02-19 03:12:29 +01:00
Günther Deschner
f40f80008d
Use rpccli_svcctl_OpenServiceW() in net.
...
Guenther
(This used to be commit 1537a2ff36
)
2008-02-18 12:58:44 +01:00
Günther Deschner
0ca295bb32
Use rpccli_svcctl_OpenSCManagerW() in net.
...
Guenther
(This used to be commit 275ce92e27
)
2008-02-18 12:10:54 +01:00
Günther Deschner
50e31b9346
Remove whitespace, no code changes.
...
Guenther
(This used to be commit d752d52f1a
)
2008-02-18 11:51:17 +01:00
Günther Deschner
965774fa8f
Fix some more callers of PAC_DATA.
...
Guenther
(This used to be commit ea609d1b0e
)
2008-02-17 02:12:00 +01:00
Günther Deschner
b7f483e6bd
Convert "net rpc vampire/samdump" to pidl generated functions.
...
Guenther
(This used to be commit f53393677d
)
2008-02-15 14:13:11 +01:00
Günther Deschner
f21cdab938
Use rpccli_lsa_RemoveAccountRights() in net and rpcclient.
...
Guenther
(This used to be commit 78200d8892
)
2008-02-14 15:28:26 +01:00
Günther Deschner
7b5ef3569f
Use rpccli_lsa_EnumAccountRights in net and rpcclient.
...
Guenther
(This used to be commit 6e9195329d
)
2008-02-14 15:09:21 +01:00
Günther Deschner
96aa5dea8e
Use rpccli_lsa_AddAccountRights in net and rpcclient.
...
Guenther
(This used to be commit e94ded74d6
)
2008-02-14 14:40:26 +01:00
Günther Deschner
2b84f4119d
Use rpccli_lsa_EnumAccounts() in net and rpcclient.
...
Guenther
(This used to be commit bdbcfa4419
)
2008-02-14 01:32:56 +01:00
Günther Deschner
a2c0ca84d5
Remove const on policy handle in net rpc.
...
Volker, are you ok with that?
Guenther
(This used to be commit f1c7fa19e4
)
2008-02-13 14:17:29 +01:00
Günther Deschner
0ba3d44f73
Use rpccli_lsa_EnumTrustDom all over the place.
...
Guenther
(This used to be commit a25e7ffbca
)
2008-02-13 00:29:37 +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
68855a99d0
Use rpccli_samr_SetUserInfo2() in place of rpccli_samr_set_userinfo().
...
Guenther
(This used to be commit 1b48b9d73d
)
2008-02-12 20:29:13 +01:00
Günther Deschner
bc742a06a2
Remove all callers of rpccli_samr_setuserinfo2 and replace with
...
rpccli_samr_SetUserInfo (see the opcode mixup in rpc_samr.h).
Guenther
(This used to be commit bdc4918503
)
2008-02-12 18:53:59 +01:00
Günther Deschner
b1c6104fa4
Use every
...
(This used to be commit d9cec295bf
)
2008-02-12 18:21:52 +01:00
Günther Deschner
4c42f7999a
Use rpccli_samr_QueryUserInfo in net and winbindd.
...
Guenther
(This used to be commit a9ff676090
)
2008-02-12 18:16:56 +01:00
Günther Deschner
b88982a5c8
Use rpccli_samr_EnumDomainUsers in net and rpcclient.
...
Guenther
(This used to be commit bcf2cd324c
)
2008-02-12 11:36:33 +01:00
Günther Deschner
cf20a28dd6
Use rpccli_samr_EnumDomainAliases() in net and rpcclient.
...
Guenther
(This used to be commit d034d34faa
)
2008-02-12 11:10:59 +01:00
Volker Lendecke
885b16cd77
Remove a bogus comment
...
(This used to be commit 599bb7e470
)
2008-02-12 11:09:54 +01:00
Günther Deschner
90631dd2c2
Removing unused ACCT_-flags.
...
Guenther
(This used to be commit d1e5a5a7f9
)
2008-02-12 09:48:47 +01:00
Günther Deschner
7b50295400
Use rpccli_lsa_LookupPrivDisplayName() in net and rpcclient.
...
Guenther
(This used to be commit be932cbdfa
)
2008-02-11 19:16:05 +01:00
Günther Deschner
976fba87eb
Use rpccli_lsa_EnumPrivs() in net and rpcclient.
...
Guenther
(This used to be commit bb24cccfc8
)
2008-02-11 10:49:30 +01:00
Günther Deschner
7e4423288a
Use rpccli_samr_LookupNames() in net rpc.
...
Guenther
(This used to be commit 38b6351534
)
2008-02-08 15:30:35 +01:00
Günther Deschner
084e28d885
Use rpccli_samr_LookupNames() in net.
...
Guenther
(This used to be commit a513ae630c
)
2008-02-08 15:30:35 +01:00
Karolin Seeger
1af4ee51ad
Fix typo.
...
Karolin
(This used to be commit ae9d386bcc
)
2008-02-08 14:08:49 +01:00
Günther Deschner
e3757bcd1b
Use rpccli_samr_LookupRids() in net and rpcclient.
...
Guenther
(This used to be commit 72fc4ffa38
)
2008-02-08 12:07:06 +01:00
Günther Deschner
9b62cea7da
Use rpccli_lsa_QueryInfoPolicy() in net.
...
Guenther
(This used to be commit 5ddfa6cbe9
)
2008-02-08 10:26:58 +01:00
Günther Deschner
7520439dca
Use rpccli_lsa_QueryInfoPolicy() all over the place.
...
Guenther
(This used to be commit ce22abcea3
)
2008-02-08 10:26:20 +01:00
Günther Deschner
ab38d3dd44
Fix "net rpc audit" after query info policy idl fix.
...
Guenther
(This used to be commit 5c042793ea
)
2008-02-08 09:48:16 +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
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
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