summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2008-02-29Add vfs_aio_forkVolker Lendecke3-0/+784
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 b0e52cecf2009d4c7f29412dadf17910e54e4327)
2008-02-29Fix creation of replacetort.Michael Adam1-0/+1
Forgot to git add Makefile.in before doing git commit --amend in previous commit... Michael (This used to be commit 7cf645cdae8ce17705036951538991b0a9dbefaf)
2008-02-29libreplace: add snprintf.c to test code for getifaddrs - needed on some systems.Michael Adam1-0/+4
Michael (cherry picked from commit 0aff54a12e20d5e91fcdec7aaec103fb9a371a23) (This used to be commit 77b7d7c0417e498340d1c9364fbbb8671c175477)
2008-02-29libreplace: ifdef out ip6 code if unsupported.Michael Adam1-0/+2
Michael (cherry picked from commit 54cc0df4dbf6d63a9b94e1ac6af4ec7f7803bc30) (This used to be commit 1ff0b616a9cb029040031f797b52112d4973e1eb)
2008-02-29libreplace: fix rep_freeifaddrs to not segfault on NULL input.Michael Adam1-6/+7
Michael (cherry picked from commit 0cbb87453beb52c6b0bc3a48791f49678f4030c5) (This used to be commit 34d906ef44d1a5c3452097a9cac438d721fe35c1)
2008-02-29libreplace: fix silly crashbug in getifaddrs_test().Michael Adam1-1/+3
Michael (cherry picked from commit 523626908d25f974fd1ae6d7306b1d4bc8414162) (This used to be commit 0906120a6e4fe0eb66f3c3fd99c625b30672cb2b)
2008-02-29libreplace: add missing newline in output of getifaddrs test.Michael Adam1-1/+1
Michael (cherry picked from commit f8243cfc47c7414bab7f249d0e5d1c85e8ca7d64) (This used to be commit 3c1843f931b896dd3bb142346ecb44c0fb9202d6)
2008-02-29libreplace: add missing semicolon to getifaddrs.Michael Adam1-1/+1
Michael (cherry picked from commit 29818a07de826fd687003ff25865d77939ecaa9a) (This used to be commit 1d906d346ed90b87895772a64c7613324ef8b682)
2008-02-29libreplace: try and fix rep_getifaddrs() for Tru64.Michael Adam1-21/+16
Don't fail when there is no address assigned to the interface. Put NULL into the ifaddrs structure instead. Michael (cherry picked from commit ee170c85e0e76411bd752de5fe51db6940dab929) (This used to be commit 650cc1da4b4404880389c583dbb07ce86df48576)
2008-02-29libreplace: use the new getifaddrs test also for autoconf.Michael Adam2-33/+16
Michael (cherry picked from commit a2a506ff0eae2a64ebe2ddbb81a6c2a5fa7fe3da) (This used to be commit c5932414fdf0b568cbfe6cdefaec41c8afc8ca6b)
2008-02-29libreplace: add extended getifaddrs test that prints out the interfaces.Michael Adam3-7/+100
Michael cherry-picked from libreplace-part of 9d2bab09aac22c00fe23f1e1265a2dbd0901e9ce and adapted replacetort creation (This used to be commit 52d79ad4872a20cf55f31aba97629c2561bfc16c)
2008-02-29Trying to fix libnetapi examples Makefile.in.Günther Deschner1-14/+19
Guenther (This used to be commit 405ef74d7e9ef614ea39b7cfd1d57307d9490545)
2008-02-29libnetjoin: add fallback to level 24 samr setinfo so that libnet can join NT4.Günther Deschner1-0/+19
Guenther (This used to be commit bc2d3d51449831146a9faf6e809e7a91d174659c)
2008-02-29libnetjoin: Trying to avoid confusion between acct_flags, acb_info andGünther Deschner1-12/+14
access_desired. Guenther (This used to be commit 63894e5c93ef0663fc58bcc191777cd1aca7e21c)
2008-02-28Fix samr querydispinfo w.r.t. lsa_AsciiStringLarge.Günther Deschner2-4/+13
Thanks metze for the fix. Guenther (This used to be commit dcffb885bc5d16e795b71d95e0790d3d7d70cf3c)
2008-02-28Re-run make idl.Günther Deschner5-43/+117
Guenther (This used to be commit 7d88cb2e8db8789b923d8f9979b5c9f65664d3eb)
2008-02-28samr.idl: windows uses lsa_AsciiStringLarge in QueryDisplayInfoStefan Metzmacher1-1/+1
Tested with nt4 and w2k3. metze (This used to be commit 490d0c52bb117561227cbc59a15b15b688814fe2)
2008-02-28lsa.idl: strlen_m*() also for the lsa_AsciiString* versionsStefan Metzmacher1-4/+4
We already did this before b994f899b42d294c0418bdc82660a2f7510667d6. 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 c445a17a91827c6c95b3a1cda9b78f5cdd41aa55)
2008-02-28lsa.idl: use strlen_m_term() in lsa_StringLarge to support NULL stringsStefan Metzmacher1-1/+1
metze (This used to be commit d98ac73122d44f3a92531b4ebbe09401652b89c7)
2008-02-28lsa.idl: add lsa_AsciiStringLargeStefan Metzmacher1-0/+6
metze (This used to be commit bf5da9ea08f28f37aecc0674bd9322f0f0cbd82e)
2008-02-28lsa.idl: don't use ascstr_noterm anymoreStefan Metzmacher1-3/+3
metze (This used to be commit 1937d19623029cc4ac0f2c4b336b6460399fa509)
2008-02-28Remove DomainControllerAddressType which we now have in IDL.Günther Deschner1-5/+0
Guenther (This used to be commit 0a012c12d643e627ea1bad2a2ad6214f78918fa7)
2008-02-28Fix memleak in netsamlogon_cache_get().Günther Deschner1-0/+1
Guenther (This used to be commit b736c77dc6c36dcdb601903fadf0ef7f163052a3)
2008-02-28winbind: use a struct element for WBFLAG_PAM_UNIX_NAMEStefan Metzmacher4-17/+9
To not conflict with WBFLAG_PAM_INFO3_TEXT. This should fix pam_winbind. metze (This used to be commit 1b8ed6c0ffb2548442bb7e9d848117ce9b1c65c0)
2008-02-28While we are at it: add _wkssvc_NetrUnjoinDomain2 implementation.Günther Deschner1-4/+64
This can be tested with e.g. "netdom remove SAMBAHOST" from windows. Guenther (This used to be commit 53121e62ea32ff3a984533dca044b67cf5b2c55b)
2008-02-28Re-enable _wkssvc_NetrJoinDomain2 remote join implementation now that we are ↵Günther Deschner1-6/+13
ready for it. "netdom join SAMBAHOST" from a windows workstation nicely demonstrates it. Guenther (This used to be commit 3bcaa3582a101abc17f7c21128e01024af877577)
2008-02-28Remove original copy of now redundant join code.Günther Deschner3-718/+1
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 a5c6347644f2aa138a8e67ffe6c167847df941d0)
2008-02-28libnetjoin: Merge in comments, debugs and missing code from original join code.Günther Deschner1-3/+117
Guenther (This used to be commit 09e6010159cb9c2a5d86861889b8c2a07bd39a8d)
2008-02-28Fix macro name (no 's' in ifr_addr).Gerald W. Carter1-1/+1
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 37c87acc9d48c1fb5d4806374ca8e992300db1ff)
2008-02-28Only set DEBUGLEVEL to 0 in libnetapi when not set already.Günther Deschner1-1/+3
Guenther (This used to be commit 3ace1601ac5b5d87d6bfd8aa0afe0c75858b6990)
2008-02-28Add some more error handling in libnetjoin.Günther Deschner1-0/+10
Guenther (This used to be commit 892b2bc0cf1692c5707d322d0eb711b8245a3a96)
2008-02-28Use libnetapi_get_error_string() in "net dom" commands.Günther Deschner1-2/+2
Guenther (This used to be commit 58048f0c575d6ac5b770873e308d4a1a9ce68123)
2008-02-28Remove smbmount.Karolin Seeger9-1643/+4
Karolin (This used to be commit 5fbd98f7065268ae134108310119078ad8f62322)
2008-02-28Convert cli_read to use cli_pullVolker Lendecke1-163/+15
(This used to be commit 719527f55e88f0c5fdceda5c807475aba299c79f)
2008-02-28Add async cli_pull supportVolker Lendecke2-27/+440
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 844a163458c7585e4306a21ffdae5d08e03d6e4d)
2008-02-28Add infrastructure to support async SMB requestsVolker Lendecke5-1/+577
(This used to be commit f5356825698a02df2d400b51dd95d1f857c83e81)
2008-02-28Add basic infrastructure for general async requestsVolker Lendecke4-1/+159
(This used to be commit ae254cb61f4b9331755848c47ebc34e90dd80390)
2008-02-28Fix the build - don't use SMB_TRANS_ENC_GSS withoutJeremy Allison1-6/+2
KRB5. Jeremy. (This used to be commit d16c295642c3df49be02440427ded0cd9b4179f5)
2008-02-28Don't define SMB_TRANS_ENC_GSS if we don't have KRB5.Jeremy Allison1-1/+6
Jeremy. (This used to be commit 6f2b33f6072629be393f88d4450fa6631ef672f6)
2008-02-28Some fixes for net ads join (uninitialized vars).Günther Deschner1-9/+8
Guenther (This used to be commit 735235e32bf41a7564ce2d585c1dae187b00bf6b)
2008-02-28Use libnet_Join() for "net ads join".Günther Deschner1-150/+33
Guenther (This used to be commit 9a7a2777e4ea1a2b5d7c800af8522b38cf22c511)
2008-02-28Add cli_setup_packet_bufVolker Lendecke1-22/+32
This is == cli_setup_packet but takes an explicit buffer argument (This used to be commit f64b46dc278899c3449cfd3dbb614aadcf5614d3)
2008-02-28Make cli_struct a talloc parentVolker Lendecke1-2/+2
(This used to be commit e69244a5c8c7c6b7c1897adc4b4b1cfdfc7a7999)
2008-02-28Nicen error output in net_ads_leave.Günther Deschner1-2/+3
Guenther (This used to be commit b0d1db95e5d7590f9c67be7bf5cb78adfee16635)
2008-02-28Add WERR_TIME_SKEW to werror mapping tables.Günther Deschner1-0/+2
Guenther (This used to be commit 74767be627d48eb1a8deea3784847159b536a0fb)
2008-02-28Add explicit buf arg to cli_check_sign_macVolker Lendecke3-4/+4
(This used to be commit ffc1c8cc03e6bad40ed2be91392074b4f038a1bf)
2008-02-28Add explicit buf arg to cli_encrypt_message and cli_calculate_sign_macVolker Lendecke4-8/+9
(This used to be commit db6ae9ed2326e6cd68475375d049084cf1d5a98c)
2008-02-28Re-arrange dns update block during "net ads join" a little.Günther Deschner1-20/+22
Guenther (This used to be commit 5d30e9f9fef98de7764ae53d3cbe659b78ae9fce)
2008-02-28Fix one dsgetdcname call in wkssvc rpc server.Günther Deschner1-2/+2
Guenther (This used to be commit a69b918784b037aa17d2dd88a33bd99930631c9b)
2008-02-28Remove unused display_ds_domain_controller_info() function.Günther Deschner2-75/+2
Guenther (This used to be commit 24a5098b1c3452b2d7088cab6ecdd1d75810e403)