Volker Lendecke
18206a4cb5
Add vfs_aio_fork
...
This is used for two purposes:
First, I'm using it to test the async I/O code. In the forked process it is
pretty easy to delay a reply for a random amount of time. See the
BUILD_FARM_HACKS snippet.
Second, there are systems around that claim to have Posix AIO but which is
broken. This might be some help for those systems.
Also add tests how to pass file descriptors
(This used to be commit b0e52cecf2
)
2008-02-29 09:47:53 +01:00
Michael Adam
bab27a2ff2
Fix creation of replacetort.
...
Forgot to git add Makefile.in before doing git commit --amend
in previous commit...
Michael
(This used to be commit 7cf645cdae
)
2008-02-29 09:40:09 +01:00
Michael Adam
71f74cfc67
libreplace: add snprintf.c to test code for getifaddrs - needed on some systems.
...
Michael
(cherry picked from commit 0aff54a12e
)
(This used to be commit 77b7d7c041
)
2008-02-29 09:32:11 +01:00
Michael Adam
a73f4bc27f
libreplace: ifdef out ip6 code if unsupported.
...
Michael
(cherry picked from commit 54cc0df4db
)
(This used to be commit 1ff0b616a9
)
2008-02-29 09:32:05 +01:00
Michael Adam
5827e84d88
libreplace: fix rep_freeifaddrs to not segfault on NULL input.
...
Michael
(cherry picked from commit 0cbb87453b
)
(This used to be commit 34d906ef44
)
2008-02-29 09:31:57 +01:00
Michael Adam
b6578dc7fe
libreplace: fix silly crashbug in getifaddrs_test().
...
Michael
(cherry picked from commit 523626908d
)
(This used to be commit 0906120a6e
)
2008-02-29 09:31:50 +01:00
Michael Adam
3be85e76a8
libreplace: add missing newline in output of getifaddrs test.
...
Michael
(cherry picked from commit f8243cfc47
)
(This used to be commit 3c1843f931
)
2008-02-29 09:31:39 +01:00
Michael Adam
539c4df84b
libreplace: add missing semicolon to getifaddrs.
...
Michael
(cherry picked from commit 29818a07de
)
(This used to be commit 1d906d346e
)
2008-02-29 09:31:29 +01:00
Michael Adam
39cae1d5b7
libreplace: try and fix rep_getifaddrs() for Tru64.
...
Don't fail when there is no address assigned to the interface.
Put NULL into the ifaddrs structure instead.
Michael
(cherry picked from commit ee170c85e0
)
(This used to be commit 650cc1da4b
)
2008-02-29 09:31:19 +01:00
Michael Adam
ca237a3ad3
libreplace: use the new getifaddrs test also for autoconf.
...
Michael
(cherry picked from commit a2a506ff0e
)
(This used to be commit c5932414fd
)
2008-02-29 09:31:02 +01:00
Michael Adam
d24f3b8a93
libreplace: add extended getifaddrs test that prints out the interfaces.
...
Michael
cherry-picked from libreplace-part of 9d2bab09aa
and adapted replacetort creation
(This used to be commit 52d79ad487
)
2008-02-29 09:30:40 +01:00
Günther Deschner
808348a8ca
Trying to fix libnetapi examples Makefile.in.
...
Guenther
(This used to be commit 405ef74d7e
)
2008-02-29 02:49:27 +01:00
Günther Deschner
53d55794df
libnetjoin: add fallback to level 24 samr setinfo so that libnet can join NT4.
...
Guenther
(This used to be commit bc2d3d5144
)
2008-02-29 01:27:52 +01:00
Günther Deschner
29222fa551
libnetjoin: Trying to avoid confusion between acct_flags, acb_info and
...
access_desired.
Guenther
(This used to be commit 63894e5c93
)
2008-02-29 01:25:45 +01:00
Günther Deschner
700438dbbd
Fix samr querydispinfo w.r.t. lsa_AsciiStringLarge.
...
Thanks metze for the fix.
Guenther
(This used to be commit dcffb885bc
)
2008-02-28 23:37:47 +01:00
Günther Deschner
de39bd20c1
Re-run make idl.
...
Guenther
(This used to be commit 7d88cb2e8d
)
2008-02-28 23:37:18 +01:00
Stefan Metzmacher
c7d0b8f3ba
samr.idl: windows uses lsa_AsciiStringLarge in QueryDisplayInfo
...
Tested with nt4 and w2k3.
metze
(This used to be commit 490d0c52bb
)
2008-02-28 23:31:22 +01:00
Stefan Metzmacher
5e7cc85a12
lsa.idl: strlen_m*() also for the lsa_AsciiString* versions
...
We already did this before b994f899b4
.
This is needed to handle NULL strings, where strlen() would crash...
Maybe we should add a strlen_a() and strlen_a_term() later...
metze
(This used to be commit c445a17a91
)
2008-02-28 23:30:22 +01:00
Stefan Metzmacher
364ce40643
lsa.idl: use strlen_m_term() in lsa_StringLarge to support NULL strings
...
metze
(This used to be commit d98ac73122
)
2008-02-28 23:30:07 +01:00
Stefan Metzmacher
48bffb0f34
lsa.idl: add lsa_AsciiStringLarge
...
metze
(This used to be commit bf5da9ea08
)
2008-02-28 23:29:46 +01:00
Stefan Metzmacher
f610e1fa52
lsa.idl: don't use ascstr_noterm anymore
...
metze
(This used to be commit 1937d19623
)
2008-02-28 23:29:35 +01:00
Günther Deschner
a29b042204
Remove DomainControllerAddressType which we now have in IDL.
...
Guenther
(This used to be commit 0a012c12d6
)
2008-02-28 23:15:30 +01:00
Günther Deschner
bddceee09a
Fix memleak in netsamlogon_cache_get().
...
Guenther
(This used to be commit b736c77dc6
)
2008-02-28 23:15:11 +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
37bca2ea57
While we are at it: add _wkssvc_NetrUnjoinDomain2 implementation.
...
This can be tested with e.g. "netdom remove SAMBAHOST" from windows.
Guenther
(This used to be commit 53121e62ea
)
2008-02-28 22:07:30 +01:00
Günther Deschner
781e1ab4a1
Re-enable _wkssvc_NetrJoinDomain2 remote join implementation now that we are ready for it.
...
"netdom join SAMBAHOST" from a windows workstation nicely demonstrates it.
Guenther
(This used to be commit 3bcaa3582a
)
2008-02-28 20:06:09 +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
2306574570
libnetjoin: Merge in comments, debugs and missing code from original join code.
...
Guenther
(This used to be commit 09e6010159
)
2008-02-28 19:49:07 +01:00
Gerald W. Carter
8f58ae97f0
Fix macro name (no 's' in ifr_addr).
...
Interface detection on Solaris still failing due to items pointed out here:
http://lists.samba.org/archive/samba-technical/2007-November/056701.html
(This used to be commit 37c87acc9d
)
2008-02-28 11:58:05 -06:00
Günther Deschner
77a2531810
Only set DEBUGLEVEL to 0 in libnetapi when not set already.
...
Guenther
(This used to be commit 3ace1601ac
)
2008-02-28 17:25:33 +01:00
Günther Deschner
15f6e27bd5
Add some more error handling in libnetjoin.
...
Guenther
(This used to be commit 892b2bc0cf
)
2008-02-28 17:05:38 +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
Karolin Seeger
8471efe308
Update WHATSNEW.
...
Karolin
(This used to be commit 01596c9335
)
2008-02-28 15:53:43 +01:00
Karolin Seeger
e1b32594c7
Remove smbmount.
...
Karolin
(This used to be commit 5fbd98f706
)
2008-02-28 15:53:43 +01:00
Karolin Seeger
707012ab5f
Add mount.cifs as a wrapper for mount.cifs.
...
Karolin
(This used to be commit be5ee4999e
)
2008-02-28 15:53:43 +01:00
Volker Lendecke
95222d115a
Convert cli_read to use cli_pull
...
(This used to be commit 719527f55e
)
2008-02-28 15:27:55 +01:00
Volker Lendecke
525aac775e
Add async cli_pull support
...
This is the big (and potentially controversial) one. It took a phone call to
explain to metze what is going on inside cli_pull_read_done, but I would really
like everybody to understand this function. It is a very good and reasonably
complex example of async programming. If we want more asynchronism in s3, this
is what we will have to deal with :-)
Make use of it in the smbclient "get" command.
Volker
(This used to be commit 844a163458
)
2008-02-28 15:27:55 +01:00
Volker Lendecke
1d41b5bd2a
Add infrastructure to support async SMB requests
...
(This used to be commit f535682569
)
2008-02-28 15:27:55 +01:00
Volker Lendecke
93e06129ab
Add basic infrastructure for general async requests
...
(This used to be commit ae254cb61f
)
2008-02-28 15:27:55 +01:00
Jeremy Allison
6e2e0e2ce7
Fix the build - don't use SMB_TRANS_ENC_GSS without
...
KRB5.
Jeremy.
(This used to be commit d16c295642
)
2008-02-28 06:01:09 -08:00
Jeremy Allison
a763f4b79f
Don't define SMB_TRANS_ENC_GSS if we don't have KRB5.
...
Jeremy.
(This used to be commit 6f2b33f607
)
2008-02-28 05:54:50 -08: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
Volker Lendecke
be4a76a861
Add cli_setup_packet_buf
...
This is == cli_setup_packet but takes an explicit buffer argument
(This used to be commit f64b46dc27
)
2008-02-28 14:20:17 +01:00
Volker Lendecke
57a9fba097
Make cli_struct a talloc parent
...
(This used to be commit e69244a5c8
)
2008-02-28 14:20:17 +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
11b81cb8e4
Add WERR_TIME_SKEW to werror mapping tables.
...
Guenther
(This used to be commit 74767be627
)
2008-02-28 14:10:53 +01:00
Karolin Seeger
830b70ab51
Add missing full stops and blank lines.
...
Karolin
(This used to be commit cd784938b7
)
2008-02-28 13:32:34 +01:00
Volker Lendecke
b9f7dd2909
Add explicit buf arg to cli_check_sign_mac
...
(This used to be commit ffc1c8cc03
)
2008-02-28 13:12:34 +01:00
Volker Lendecke
4b5169f590
Add explicit buf arg to cli_encrypt_message and cli_calculate_sign_mac
...
(This used to be commit db6ae9ed23
)
2008-02-28 13:12:34 +01:00