summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2007-10-24Don't terminate on an invalid address family.Jeremy Allison1-1/+1
Jeremy. (This used to be commit d04a8a6cdcc505e0244882a9abb7174eadbf81a7)
2007-10-24We do support name lookups for host and service in our replacementJeremy Allison1-5/+0
code - remove the restrictions from the original Postgres code. Jeremy. (This used to be commit bc9008aa1dcb66890795f0ff2d3046da7df867d9)
2007-10-24This is a large patch (sorry). Migrate from struct in_addrJeremy Allison64-1489/+2235
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-24Fix for AIX interface code from Kyle Stemen <kstemen@centeris.com>Jeremy Allison1-9/+16
Jeremy. (This used to be commit 4d4ab9aeb9d85b4c98cbf8a8363a9cefecd4b365)
2007-10-24handle wellknown sids in winbindd_passwd.cStefan Metzmacher1-1/+2
metze (This used to be commit 251bd4ea4cdd0a751ed3b91562272221af148e37)
2007-10-24[crash fix] don't use already free'ed memoryStefan Metzmacher1-2/+2
(found by "make valgrindtest" and my "start winbindd on make test" patch) metze (cherry picked from commit fe21e48489852720a05b305b251e4f5cbb200f7a) (cherry picked from commit 26d8a1ad20c10da495970c584983fbd261b4946e) (This used to be commit a128a8805e172738334ec6854548f138c335058b)
2007-10-23added a syncops VFS module for filesystems which do not guarantee meta-data ↵Andrew Tridgell3-1/+217
operations are immediately committed to disk in stable form. Essential for clustered Samba setups (This used to be commit 8b19cb17b9ae9e1cd4a96df6e7dedb75aff7ee96)
2007-10-22Reorder pthread mutex check so that it doesn't output its resultJames Peach1-12/+13
in the middle of the output for the winbind nss check. (This used to be commit 1eddefa72cefd0c6836ddbe8eaef074ce732b0d9)
2007-10-22r25573: Add my (C) as wellSimo Sorce1-0/+1
(cherry picked from commit a024e27e7136deb87aeed995348a1c494a850ce6) (This used to be commit 37ee6f498b175b8f3b7e75eba8dd7c709327384c)
2007-10-22r25571: split up child_dispatch_table into domain, idmap and locator tablesStefan Metzmacher5-41/+87
metze (cherry picked from commit abbb36a37c1dba2218a6c7ec31739eba5f250127) (This used to be commit 5af1b45ed31043f952ec141d0f5f2973aec69d1a)
2007-10-22r25570: move code of the locator child into its own fileStefan Metzmacher3-64/+91
metze (This used to be commit 56640908a6367acfdfd53568a0d329c13330e5eb)
2007-10-22r25569: move more idmap stuff into winbindd_idmap.cStefan Metzmacher2-12/+12
metze (cherry picked from commit 953229f040580071f6ee09413f67f7edd3227728) (This used to be commit 590954407b5badfb9d6b8fb55077dc6a520fb816)
2007-10-22r25568: move idmap related functions into their own file.Stefan Metzmacher3-741/+779
the final goal is to have 3 child dispatch tables 'domain', 'idmap' and 'locator' instead of one. metze (cherry picked from commit 97c63f1b95190f3bcc1d9f34765934c97ffb720c) (This used to be commit a1c354866c04a305aa28a287dc6c72db1aa845a9)
2007-10-22r25567: make do_async() non staticStefan Metzmacher1-6/+6
metze (cherry picked from commit badc714d7f82f8d7c21ecfeab137efb57e970210) (This used to be commit d623b2fa710cfe7ef85b7e9dd84b274b081841ae)
2007-10-21Fix compile error caused by unknown variable.Gerald (Jerry) Carter1-1/+1
(This used to be commit dfef16ac4318b460a5bd29475eb395c1905a5cd8)
2007-10-21Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-testGerald (Jerry) Carter1-0/+13
(This used to be commit 33f690b3de03dc300590c3f69718f608b104a529)
2007-10-21Correct VERSION and version.c to use SAMBA_VERSION_VENDOR_PATCHGerald (Jerry) Carter2-4/+4
which is used by mkversion.sh. (This used to be commit a62c7f9350322ab435244eafe6053fd5ee618973)
2007-10-21Don't segfault if locking.tdb can't be openedVolker Lendecke1-0/+13
Thanks to Steve Langasek <vorlon@debian.org> (This used to be commit 67328bd27b1e881a4bcdd5160133afa9a267eaac)
2007-10-21Fix two type-punned warningsVolker Lendecke1-3/+3
(This used to be commit 04d660bbb371f859cc50a9f3ea7d358f74acfa8b)
2007-10-20fix move to OPT_LOG_STDOUTStefan Metzmacher1-1/+1
metze (This used to be commit 97f47e39139cef738a5f02980a0792417e0d365e)
2007-10-19Fix an incompatible pointer type warningVolker Lendecke1-2/+2
(This used to be commit 3c50caa9620899f982cd4a833356d965f47ec843)
2007-10-19Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-testGerald (Jerry) Carter5-31/+32
(This used to be commit 23d3db0c229fe5e1d69f890d87c2be39b356ffb5)
2007-10-19Streamline logic, reducing the amount of indentation.Michael Adam1-16/+15
Michael (This used to be commit aae3d04e30a0e6f21f661da3dc6a2835d31ce964)
2007-10-19Add test for "struct in6_addr" to the HAVE_IPV6 configure test.Gerald (Jerry) Carter5-13/+14
Also make use of "if defined(HAVE_IPV6)" rather than testing for AF_INET6 since this is not sufficient on HP-UX 11.11 to ensure a working IPv6 implementation. (This used to be commit 620785df4e57b72471ff0315e22e0d2f28a2b1a5)
2007-10-19Move the test for the AIX specific interface code to the end.Gerald (Jerry) Carter1-18/+18
This tests goes into an infinite loop on OS X so avoid it. Probably should also be only conditionaly be run on AIX in the first place. (This used to be commit 641d0968da73dca24a3ddaf93451de1200d3c09b)
2007-10-19Fix a crash in resolve_hosts() caused by an out-of-bounds array reference.Gerald (Jerry) Carter1-1/+2
(This used to be commit bafcede2c29813f8719fc3b54f94612e72c48043)
2007-10-19Fix a crash in resolve_hosts() caused by an out-of-bounds array reference.Gerald (Jerry) Carter1-1/+2
(This used to be commit fd28d09a95b31bdbc6babd13c5a4ed9fc9ef4bfd)
2007-10-19Fix the popt / bool issues. Some places we used BOOLJeremy Allison15-88/+205
where we meant int. Fix this. Thanks to metze for pointing this out. Jeremy. (This used to be commit 793a9d24a163cb6cf5a3a0aa5ae30e9f8cf4744a)
2007-10-19Merge Tridge's fix for the winbind 32/64bit padding.Günther Deschner2-3/+3
Guenther (This used to be commit 36578b22f12a7de21df5a795d7702c10d19b1f3d)
2007-10-19fix startup of smbd, nmbd, winbinddStefan Metzmacher3-20/+14
jra: POPT_ARG_VAL arguments need int values. I assume there're more places like this in the cmdline tools. Please fix this properly, as my commit is just a hack to get make test working again. in samba4 we have a workaround for this see smbd/server.c metze (This used to be commit 9cb1937fe8601e526b5c924930500e0a3b52abd5)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison446-5335/+5308
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-18remove reference to removed codeStefan Metzmacher1-4/+0
see commit 9e5ad21e6793981a01f63f2de1c4d496ade0bb54 metze (This used to be commit ea3173a9457f9095a70d401abfd1af8c913211a0)
2007-10-18Add net rap file userKarolin Seeger2-7/+22
(This used to be commit 2972c97e5e676964585de930601f083c19080735)
2007-10-18don't skip some tests which samba3 passes (at least on my laptop)Stefan Metzmacher1-3/+3
metze (This used to be commit d70ddad2e8fc2f533fb9211223c172c25878254e)
2007-10-18make gdb_backtrace executableStefan Metzmacher1-0/+0
metze (This used to be commit f694df1919fe98c5efef36c867a2be6527efa6ed)
2007-10-18remove configure checks which are now in libreplaceStefan Metzmacher1-62/+0
metze (This used to be commit 50d5eec508bd5b98b81825b4e20c06f698029fdf)
2007-10-18[libreplace] fix the standalone build of libreplaceStefan Metzmacher2-28/+34
all configure results which are used in replace.h or any system/*.h should be in the in the libreplace *.m4 files! metze (This used to be commit 1eefa0264bb1a304a30ec4c7c6e2392c627ee6a3)
2007-10-18r16050: Set the session key "SystemLibraryDTC" on ntlmssp binds. We only do ↵Volker Lendecke1-2/+22
INTEGRITY and PRIVACY, so no other cases to take care of so far... Andrew B., if you have time, could you take a look? This makes us survive the RPC-SAMBA3SESSIONKEY test. Volker (cherry picked from commit 25cc1e7ff15675b70001d1cb8d8584880650dd2e) (This used to be commit b4746009735bf66b2578b884973c505b0363a79d)
2007-10-17Reformatting fix for new coding guidelines. BOOL ->bool.Jeremy Allison1-264/+320
Jeremy. (This used to be commit 315215e20e1e470c5077122a2e250ecb3d45ce9b)
2007-10-17delete empty file lib/replace/system/getaddrinfo.hStefan Metzmacher1-0/+0
metze (This used to be commit 354bdd38e8714b789daffc897cd843a8d401be45)
2007-10-17r17064: lsa_GetUserName needs to return the name for S-1-5-7 on an anonymous ↵Volker Lendecke1-4/+16
login. Found that because I want to play around with setsharesecurity, for this I need the "whoami" call figuring out the SID of the currently connected user. Not activating this test yet until the build farm has picked up the new samba4 revision. Volker (cherry picked from commit 5cfe482841b77208b68376f9e2b8a4a62271f7c9) (This used to be commit 15935bad1d756d3896f0687108e60ca10a35a936)
2007-10-17fix crash bug in pidl generated client code, thisStefan Metzmacher7-84/+84
could have happend with [in,out,unique] pointers when the clients sends a valid pointer, but the server reponse with a NULL pointer (as samba-3.0.26a do for some calls). I've tested with midl to see how windows handles this situation and also the reverse case where the client sends NULL and the server reposnse with non-NULL. It appears that midl generated code just ignores this and only copies the result if both pointers are non-NULL. metze (This used to be commit cb98869fa189ce2a926a00fa9077a114f31a5d45)
2007-10-16Improve IPv4 detection.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 2ef50e325c2183385286b994216624dc3a309ff3)
2007-10-16Move #defined for getaddrinfo into network.h (as otherJeremy Allison2-84/+91
defines). Allows RHEL4 compile to work. Jeremy. (This used to be commit 0ffdf4fdeea88c21880c8bf69d8db56fb49effa7)
2007-10-16Added in missing def for AI_ADDRCONFIG.Jeremy Allison1-0/+4
Jeremy. (This used to be commit 3ef3c3afc3f56b0f4fdb384d55d2e712060fbedf)
2007-10-16Fix access control code to be IPv6/v4 protocol independent.Jeremy Allison3-175/+237
Make unix_wild_match() talloc, not pstring based. Next will be name resolution code, and client code. Jeremy. (This used to be commit f6a01b82c5a47957659df08ea84e335dfbba1826)
2007-10-16Fix default domains support using compat syntax.Simo Sorce1-14/+29
Without this fix idmap_rid can't be used with the compatible syntax. Includes fix to keep trusted domains working (This used to be commit 8c770c367c71d118651964fef63e2fd0fa4a05a5)
2007-10-15Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison2-1/+8
v3-2-test (This used to be commit 5c8adce3f368d51a67d74ae168a0f59a20e1d64c)
2007-10-15Move to protocol independent code in most of lib/util_sock.cJeremy Allison6-240/+314
We don't use gethostbyname any more except in one case where we're looking for host aliases (I don't know how to do that with getaddrinfo yet). New function should be getaddrinfo(). Next step will be fixing lib/access.c, and then changing libsmb/namequery.c to cope with IPv6 address returns. Jeremy. (This used to be commit 4a56b697b6adcf095e25895c4a9ba3192ed34124)
2007-10-15Fix warning messages for unused variables.Jeremy Allison1-1/+3
Jeremy. (This used to be commit 406737cd9a34ac498e5823b380e1768d41e16c1b)