Günther Deschner
e7b2be804b
Remove last caller of rpccli_ds_enum_domain_trusts().
...
I added an alias in rpcclient's netlogon command table.
Guenther
(This used to be commit 1a900e08e92484407d69661517f08e675a3c352a)
2008-01-29 15:20:59 +01:00
Günther Deschner
4fd374f063
Add cmd_netlogon_dsr_getforesttrustinfo and deregisterdnsrecords to rpcclient.
...
Guenther
(This used to be commit 227f5755c8844dbff8d66adec3d7fd94b583358f)
2008-01-25 21:44:02 +01:00
Günther Deschner
504813e445
Use rpccli_netr_DsRGetDCNameEx and rpccli_netr_DsRGetDCNameEx2 in rpcclient.
...
Guenther
(This used to be commit 2caed3f816d29bd7dfa36df3ddd6aeba5bbfa252)
2008-01-25 21:43:49 +01:00
Volker Lendecke
b679dda6c9
Fix bogus uninitialized variable warnings
...
(This used to be commit 71d6580c837adcc2cddcdff561f6fb09701501ee)
2008-01-25 21:20:39 +01:00
Günther Deschner
a059d24488
Add cmd_netlogon_dsr_enumtrustdom() to rpcclient.
...
Guenther
(This used to be commit cb44c901c1bc66da9f3636020401238ce0005105)
2008-01-25 17:21:57 +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
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 d4a9e46edf7336f673c001c559af96eb0ecf9f6f)
2008-01-25 01:04:30 +01:00
Günther Deschner
96b41578a7
Add cmd_netlogon_gettrustrid() to rpcclient.
...
Guenther
(This used to be commit 231a4d051f24af7cf5bf13d7dd613f33dc06f21a)
2008-01-24 23:41: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 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
Volker Lendecke
587cf54c61
strtok -> strtok_r
...
(This used to be commit fd34ce437057bb34cdc37f4b066e424000d36789)
2008-01-23 15:08:04 +01:00
Günther Deschner
a92eb76688
Finally enable pidl generated SAMR & NETLOGON headers and clients.
...
Guenther
(This used to be commit f7100156a7df7ac3ae84e45a47153b38d9375215)
2008-01-17 16:54:46 +01:00
Günther Deschner
e021eb6d7b
Use NDR_PRINT_UNION_STRING instead of NDR_PRINT_UNION_DEBUG in rpcclient.
...
Guenther
(This used to be commit 2c045a8c817b4ec200830c4f8b508c1cd4c4d9aa)
2008-01-15 23:07:10 +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 7a3fe68bef7acde9d9f8a7a44ce7e9432f3c5a95)
2008-01-15 16:40:22 +01:00
Günther Deschner
c6f2bbb59f
Fix rpcclient display_trust_dom_info().
...
Guenther
(This used to be commit 54bdd22a07e885f896a8f784bc12096f65afac75)
2008-01-14 15:39:51 +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
463fd6b3a8
Use some more pidl generated LSA rpc in rpcclient.
...
Guenther
(This used to be commit 153e4dd162423a846dbd4a9a1be1fd747792bdbf)
2008-01-14 15:29:36 +01:00
Michael Adam
f3603d5a5a
Convert add_sid_to_array() add_sid_to_array_unique() to return NTSTATUS.
...
Michael
(This used to be commit 6b2b9a60ef857ec31da5fea631535205fbdede4a)
2008-01-09 01:47:10 +01:00
Jeremy Allison
9baa97a46e
Add general '-e' option to enable smb encryption
...
on tools.
Jeremy.
(This used to be commit 757653966fc1384159bd2d57c5670cd8af0cae96)
2008-01-05 00:23:35 -08: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
Günther Deschner
5eca35e0ca
Add cmd_wkssvc_enumeratecomputernames to rpcclient.
...
Guenther
(This used to be commit 289151393a43c7f0c2baafdd79d1163fc80aad6a)
2007-12-19 11:15:05 +01:00
Michael Adam
1394b91888
Fix an error when accessing unallocated sid in error path.
...
Michael
(This used to be commit 2a0585d3093265a499c9fef60d500059f79b4112)
2007-12-18 16:33:35 +01:00
Volker Lendecke
2e07c2ade8
s/sid_to_string/sid_to_fstring/
...
least surprise for callers
(This used to be commit eb523ba77697346a365589101aac379febecd546)
2007-12-15 22:47:30 +01:00
Volker Lendecke
7b01537679
Replace sid_string_static with sid_string_tos
...
In utils/ I was a bit lazy...
(This used to be commit 60e830b0f4571bd5d9039f2edd199534f2a4c341)
2007-12-15 22:09:36 +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
Jeremy Allison
5b3459e340
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
...
(This used to be commit 0c21c5fa84e18d78801ab79abd726e5588902476)
2007-12-07 09:57:19 -08:00
Günther Deschner
b2fac35adf
Allow to set custom message in wkssvc messagebuffer.
...
Guenther
(This used to be commit 4c03cbdc816842f1d657fdc8499e3ad9a459f0d7)
2007-12-07 11:56:48 +01:00
Günther Deschner
61dbd449b8
Fix build with new werror based pidl rpc.
...
Guenther
(This used to be commit 0e8fdfac8a7754c105f01bd21816a7940c20e878)
2007-12-07 11:54:01 +01:00
Günther Deschner
783afeb5fa
Add cmd_wkssvc_messagebuffersend().
...
Guenther
(This used to be commit 71e512efabe833a850cce3ed827415b5d1c032d5)
2007-12-07 11:43:00 +01:00
Günther Deschner
09c4b72a57
Add getjoininformation to rpcclient.
...
Guenther
(This used to be commit 699f6b1bc332b1e2834f5c384440b2501838c43f)
2007-12-07 11:42:24 +01:00
Jeremy Allison
e2ae63bcf7
Make all the tools use the proper accessor functions.
...
Jeremy.
(This used to be commit 6d61bb87975839adb25c304e5e5041f91b12d236)
2007-12-06 18:58:01 -08:00
Jeremy Allison
1b92ea5559
Remove pstrings from client/client.c by doing a large rewrite.
...
Mostly compiles....
Jeremy.
(This used to be commit c87f3eba9aa52f4ab25d77e2167262bf5c43b1a6)
2007-12-06 17:16:33 -08:00
Günther Deschner
7bfe569b7d
Allow to set level in cmd_wkssvc_wkstagetinfo().
...
Guenther
(This used to be commit 2c287ce0507a019aaa4d8dec74bc5c515ec2e3c7)
2007-12-06 19:17:57 +01:00
Günther Deschner
6b37d8e627
Fix wkssvc callers.
...
Guenther
(This used to be commit b734cd8aab163d794b969c4e1e721e81a8b4d44c)
2007-12-03 18:43:19 +01:00
Günther Deschner
f942b8852d
Fix dfs callers.
...
Guenther
(This used to be commit 0a8759d0118715ef1546ae5fc404a26f874f2d80)
2007-12-03 18:43:19 +01:00
Günther Deschner
9cc7b8e2a0
Reanimate rpcclient wkssvc command.
...
Guenther
(This used to be commit 1d615e3ac397106f47c51ace36c01a8f6e1d5d13)
2007-12-03 13:08:20 +01:00
Volker Lendecke
f4e4df66e7
Fix some C++ warnings
...
I think were are actually bugs.
(This used to be commit 1be19f07889ae09f79030f1ff8f2cf5e9a3d9dc5)
2007-12-01 10:43:11 -08:00
Michael Adam
ddcaaae4ff
Give rpcclient a talloc stackframe.
...
Michael
(This used to be commit 3330394d2d5d58576d9ddb52f60a3e27f31d5198)
2007-11-28 15:24:53 +01:00
Volker Lendecke
1011b32678
Remove some statics
...
(This used to be commit 1fab16ffb888cd4ec18e52d9da33976a67a5d104)
2007-11-27 14:18:47 +01:00
Jeremy Allison
c049b8157d
More trivial pstring removal.
...
Jeremy.
(This used to be commit bac3bb2f6e9e15b3a9a6a6511c484f8509918ca1)
2007-11-20 15:31:37 -08:00
Jeremy Allison
d4307679b9
Change all occurrences of zero_addr(&ss,AF_INET) to
...
zero_addr(&ss). All current uses were always of the
AF_INET form, so simplify the call. If in the future
we need to zero an addr to AF_INET6 this can be
done separately.
Jeremy.
(This used to be commit 2e92418a138bf2738b77b7e0fcb2fa37ad84fc0c)
2007-10-27 20:29:36 -07:00
Jeremy Allison
f88b7a076b
This is a large patch (sorry). Migrate from struct in_addr
...
to struct sockaddr_storage in most places that matter (ie.
not the nmbd and NetBIOS lookups). This passes make test
on an IPv4 box, but I'll have to do more work/testing on
IPv6 enabled boxes. This should now give us a framework
for testing and finishing the IPv6 migration. It's at
the state where someone with a working IPv6 setup should
(theorecically) be able to type :
smbclient //ipv6-address/share
and have it work.
Jeremy.
(This used to be commit 98e154c3125d5732c37a72d74b0eb5cd7b6155fd)
2007-10-24 14:16:54 -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
Jelmer Vernooij
277c1baee9
r25572: Fix warnings (values are always true).
...
(This used to be commit 2c77c3c58e75d6a9c08d723976c37d899a53c99a)
2007-10-10 12:31:15 -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
Gerald Carter
3529156971
r25400: Windows 2008 (Longhorn) Interop fixes for AD specific auth2 flags,
...
and client fixes. Patch from Todd Stetcher <todd.stetcher@isilon.com>.
(This used to be commit 8304ccba7346597425307e260e88647e49081f68)
2007-10-10 12:31:02 -05:00
Michael Adam
c97fe37ea3
r25294: Tidy up callers of unistr2_to_ascii() to pass sizeof(target_area) to
...
the maxeln parameter instead of sizeof(target_area) - 1 (or even
sizeof(fstring) - 1 in some places.
I hope these were really all there were.
Michael
(This used to be commit 9a28be220df622322857dfe102fa35e108f932dc)
2007-10-10 12:30:58 -05:00