1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
Commit Graph

23710 Commits

Author SHA1 Message Date
Jeremy Allison
e01cbcb28e Fix for AIX interface code from Kyle Stemen <kstemen@centeris.com>
Jeremy.
(This used to be commit 4d4ab9aeb9)
2007-10-24 12:44:38 -07:00
Stefan Metzmacher
6a6c549cdc handle wellknown sids in winbindd_passwd.c
metze
(This used to be commit 251bd4ea4c)
2007-10-24 16:14:29 +02:00
Stefan Metzmacher
cd8a2b5ffe [crash fix] don't use already free'ed memory
(found by "make valgrindtest" and my "start winbindd on make test" patch)

metze
(cherry picked from commit fe21e48489852720a05b305b251e4f5cbb200f7a)
(cherry picked from commit 26d8a1ad20)
(This used to be commit a128a8805e)
2007-10-24 15:36:53 +02:00
Stefan Metzmacher
176a837cc4 ignore source/cscope.out
metze
(This used to be commit 49b2b8784b)
2007-10-24 11:19:29 +02:00
Andrew Tridgell
e5830c1365 added a syncops VFS module for filesystems which do not guarantee meta-data operations are immediately committed to disk in stable form. Essential for clustered Samba setups
(This used to be commit 8b19cb17b9)
2007-10-23 20:43:27 +10:00
James Peach
e5fe5a569f Reorder pthread mutex check so that it doesn't output its result
in the middle of the output for the winbind nss check.
(This used to be commit 1eddefa72c)
2007-10-22 22:03:40 -07:00
Simo Sorce
5e8086e9a2 r25573: Add my (C) as well
(cherry picked from commit a024e27e71)
(This used to be commit 37ee6f498b)
2007-10-22 08:46:11 +02:00
Stefan Metzmacher
3d9a578064 r25571: split up child_dispatch_table into domain, idmap and locator tables
metze
(cherry picked from commit abbb36a37c)
(This used to be commit 5af1b45ed3)
2007-10-22 08:46:11 +02:00
Stefan Metzmacher
6ded271f77 r25570: move code of the locator child into its own file
metze
(This used to be commit 56640908a6)
2007-10-22 08:46:10 +02:00
Stefan Metzmacher
58e049efa3 r25569: move more idmap stuff into winbindd_idmap.c
metze
(cherry picked from commit 953229f040)
(This used to be commit 590954407b)
2007-10-22 08:46:10 +02:00
Stefan Metzmacher
1e9e1b6fca r25568: move idmap related functions into their own file.
the final goal is to have 3 child dispatch tables
'domain', 'idmap' and 'locator' instead of one.

metze
(cherry picked from commit 97c63f1b95)
(This used to be commit a1c354866c)
2007-10-22 08:46:10 +02:00
Stefan Metzmacher
e5cedc7611 r25567: make do_async() non static
metze
(cherry picked from commit badc714d7f)
(This used to be commit d623b2fa71)
2007-10-22 08:46:09 +02:00
Gerald (Jerry) Carter
6a8dfad25c Fix compile error caused by unknown variable.
(This used to be commit dfef16ac43)
2007-10-21 13:44:29 -05:00
Gerald (Jerry) Carter
6a1a83a850 Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
(This used to be commit 33f690b3de)
2007-10-21 12:39:15 -05:00
Gerald (Jerry) Carter
69c6f16e31 Correct VERSION and version.c to use SAMBA_VERSION_VENDOR_PATCH
which is used by mkversion.sh.
(This used to be commit a62c7f9350)
2007-10-21 12:32:06 -05:00
Volker Lendecke
d1db41c059 Don't segfault if locking.tdb can't be opened
Thanks to Steve Langasek <vorlon@debian.org>
(This used to be commit 67328bd27b)
2007-10-21 19:26:26 +02:00
Volker Lendecke
611479fd44 Fix two type-punned warnings
(This used to be commit 04d660bbb3)
2007-10-21 08:47:30 +02:00
Stefan Metzmacher
669d43af31 fix move to OPT_LOG_STDOUT
metze
(This used to be commit 97f47e3913)
2007-10-20 10:12:55 +02:00
Volker Lendecke
8f391ae471 Fix an incompatible pointer type warning
(This used to be commit 3c50caa962)
2007-10-19 16:46:13 -05:00
Gerald (Jerry) Carter
bffd569392 Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
(This used to be commit 23d3db0c22)
2007-10-19 15:54:32 -05:00
Michael Adam
23f6c371c9 Streamline logic, reducing the amount of indentation.
Michael
(This used to be commit aae3d04e30)
2007-10-19 15:54:23 -05:00
Gerald (Jerry) Carter
80b7bcb5fb Add test for "struct in6_addr" to the HAVE_IPV6 configure test.
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 620785df4e)
2007-10-19 13:09:26 -07:00
Gerald (Jerry) Carter
61c4666a89 Move the test for the AIX specific interface code to the end.
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 641d0968da)
2007-10-19 13:09:00 -07:00
Gerald (Jerry) Carter
6095280304 Fix a crash in resolve_hosts() caused by an out-of-bounds array reference.
(This used to be commit bafcede2c2)
2007-10-19 13:08:44 -07:00
Gerald (Jerry) Carter
13bf4c4bb7 Fix a crash in resolve_hosts() caused by an out-of-bounds array reference.
(This used to be commit fd28d09a95)
2007-10-19 15:08:40 -05:00
Jeremy Allison
9a85533914 Fix the popt / bool issues. Some places we used BOOL
where we meant int. Fix this. Thanks to metze for
pointing this out.
Jeremy.
(This used to be commit 793a9d24a1)
2007-10-19 11:38:36 -07:00
Günther Deschner
61e482cfdf Merge Tridge's fix for the winbind 32/64bit padding.
Guenther
(This used to be commit 36578b22f1)
2007-10-19 13:03:49 +02:00
Stefan Metzmacher
7f82fbad50 fix startup of smbd, nmbd, winbindd
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 9cb1937fe8)
2007-10-19 10:34:06 +02: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 f35a266b3c)
2007-10-18 17:40:25 -07:00
Stefan Metzmacher
789856f63f remove reference to removed code
see commit 9e5ad21e67

metze
(This used to be commit ea3173a945)
2007-10-18 16:52:26 +02:00
Karolin Seeger
4d910553dc Add net rap file user
(This used to be commit 2972c97e5e)
2007-10-18 13:12:58 +02:00
Stefan Metzmacher
c595c8311b don't skip some tests which samba3 passes (at least on my laptop)
metze
(This used to be commit d70ddad2e8)
2007-10-18 11:05:56 +02:00
Stefan Metzmacher
801c0314b1 make gdb_backtrace executable
metze
(This used to be commit f694df1919)
2007-10-18 11:05:47 +02:00
Stefan Metzmacher
dfd5323bda remove configure checks which are now in libreplace
metze
(This used to be commit 50d5eec508)
2007-10-18 10:55:59 +02:00
Stefan Metzmacher
df50ee886f [libreplace] fix the standalone build of libreplace
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 1eefa0264b)
2007-10-18 10:54:37 +02:00
Volker Lendecke
7ed90852c5 r16050: Set the session key "SystemLibraryDTC" on ntlmssp binds. We only do 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 25cc1e7ff1)
(This used to be commit b474600973)
2007-10-18 09:25:09 +02:00
Jeremy Allison
bb126d1f49 Reformatting fix for new coding guidelines. BOOL ->bool.
Jeremy.
(This used to be commit 315215e20e)
2007-10-17 12:10:12 -07:00
Stefan Metzmacher
fa12678f4e delete empty file lib/replace/system/getaddrinfo.h
metze
(This used to be commit 354bdd38e8)
2007-10-17 15:21:48 +02:00
Volker Lendecke
e405187b0d r17064: lsa_GetUserName needs to return the name for S-1-5-7 on an anonymous 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 5cfe482841)
(This used to be commit 15935bad1d)
2007-10-17 13:38:44 +02:00
Stefan Metzmacher
ba7a979e53 fix crash bug in pidl generated client code, this
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 cb98869fa1)
2007-10-17 10:35:51 +02:00
Jeremy Allison
2b2168bff6 Improve IPv4 detection.
Jeremy.
(This used to be commit 2ef50e325c)
2007-10-16 16:01:13 -07:00
Jeremy Allison
cadb72dd99 Move #defined for getaddrinfo into network.h (as other
defines). Allows RHEL4 compile to work.
Jeremy.
(This used to be commit 0ffdf4fdee)
2007-10-16 15:15:23 -07:00
Jeremy Allison
9125bcf77b Added in missing def for AI_ADDRCONFIG.
Jeremy.
(This used to be commit 3ef3c3afc3)
2007-10-16 12:22:58 -07:00
Jeremy Allison
ce77126e68 Fix access control code to be IPv6/v4 protocol independent.
Make unix_wild_match() talloc, not pstring based.
Next will be name resolution code, and client code.
Jeremy.
(This used to be commit f6a01b82c5)
2007-10-16 11:33:37 -07:00
Simo Sorce
b111d543a5 Fix default domains support using compat syntax.
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 8c770c367c)
2007-10-16 14:16:03 -04:00
Jeremy Allison
b851ff28f9 Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit 5c8adce3f3)
2007-10-15 16:12:01 -07:00
Jeremy Allison
666f50b01f Move to protocol independent code in most of lib/util_sock.c
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 4a56b697b6)
2007-10-15 16:11:48 -07:00
Jeremy Allison
48cd61d30e Fix warning messages for unused variables.
Jeremy.
(This used to be commit 406737cd9a)
2007-10-15 15:52:30 -07:00
Alexander Bokovoy
d76717fe15 Correctly free memory in regfio paths
(This used to be commit 97f9a90b82)
2007-10-15 17:41:09 -05:00
Günther Deschner
06ae5243f3 Add WERR_SERVICE_ALREADY_RUNNING.
Guenther
(This used to be commit 357f003849)
2007-10-15 19:10:19 +02:00