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

17771 Commits

Author SHA1 Message Date
Jim McDonough
2395cd57f8 r19158: Remove root and nobody users from ldif, from Björn Jacke
(This used to be commit 17880d6cad)
2007-10-10 12:15:18 -05:00
Volker Lendecke
9e69c4fbea r19157: Fix the build
(This used to be commit 3fc328dade)
2007-10-10 12:15:18 -05:00
Volker Lendecke
9d8d4f24b1 r19156: Make enumprinters use the share iterators.
Volker
(This used to be commit 9b1759617c)
2007-10-10 12:15:18 -05:00
Jeremy Allison
80b4e7ae7d r19155: Fix debug message.
Jeremy.
(This used to be commit 42e5481ce4)
2007-10-10 12:15:17 -05:00
Volker Lendecke
e918cf3abf r19154: Trivial logic simplification: Get rid of two indentation levels. Survives the
consistency checks just checked into Samba4.

Volker
(This used to be commit c48bb4b37b)
2007-10-10 12:15:17 -05:00
Volker Lendecke
9315bcd1e3 r19151: Create some dummy printers in the build farm
(This used to be commit c26a20e6d5)
2007-10-10 12:15:16 -05:00
Jeremy Allison
10ada62bed r19148: Finish last nights patch - make offline
work again. Still under test.
Jeremy.
(This used to be commit 40a455db78)
2007-10-10 12:15:16 -05:00
Volker Lendecke
1362fd0b68 r19147: This is WRONG, but the way the VFS works this is the only fix to get rid of
this type-punned warning.

Volker
(This used to be commit d815b1a7e9)
2007-10-10 12:15:16 -05:00
Stefan Metzmacher
b61d1e665e r19145: talloc_reference() can fail!
metze
(This used to be commit e4f2183684)
2007-10-10 12:15:16 -05:00
Günther Deschner
adc299bd08 r19143: getdcname on the NETLOGON pipe returns WERROR, not NTSTATUS.
Guenther
(This used to be commit 44e228ac79)
2007-10-10 12:15:16 -05:00
Stefan Metzmacher
a6e45f0da5 r19137: that looks nicer:-)
metze
(This used to be commit db40552d94)
2007-10-10 12:15:16 -05:00
Stefan Metzmacher
3652a2360f r19135: fix bugs...
- passing mem_ctx as ldb_context is a bad idea!
- naming a static function talloc_ is also bad and misleading

metze
(This used to be commit 0523ad2493)
2007-10-10 12:15:15 -05:00
Volker Lendecke
695c6fbe00 r19133: More C++ warnings -- Merge across?
(This used to be commit c879ed3d1e)
2007-10-10 12:15:15 -05:00
Volker Lendecke
fd1cf23567 r19132: Fix some C++ warnings. Is there interest to have them in Samba4 as well?
I have some problems resolving the last 3 ones in attrib_handlers.c. In line
251 the function ldb_dn_explode_casefold is called with mem_ctx as the first
argument. Looking at ldb_dn_explode_casefold I see that the first argument it
expects is a struct ldb_context. I could certainly add a cast to (struct
ldb_context *) to that call, but I would assume that this is the wrong fix. Is
it possible that attrib_handlers.c:251 and :254 should have ldb and not
mem_ctx as the first argument?

Can anybody from Samba4 clarify this for me and apply the correct fix?

Thanks a lot.

Volker
(This used to be commit 26f2cb71eb)
2007-10-10 12:15:15 -05:00
Stefan Metzmacher
d898cbce90 r19130: fix the logic for the AC_PROG_CC_C99 check
metze
(This used to be commit 21516dc5ac)
2007-10-10 12:15:14 -05:00
Volker Lendecke
2941d46b82 r19127: Fix bug 4152
(This used to be commit 70038e8f7b)
2007-10-10 12:15:14 -05:00
Volker Lendecke
43141d64ca r19126: Fix some uninitialized variable warnings
(This used to be commit 90bfa34610)
2007-10-10 12:15:14 -05:00
Andrew Tridgell
803d33a326 r19125: merge from samba4
(This used to be commit 65e1500ae6)
2007-10-10 12:15:14 -05:00
Stefan Metzmacher
a0a47d8149 r19124: merge from samba4:
pass LDFLAGS from configure to Makefile

metze
(This used to be commit 7ba9fddacb)
2007-10-10 12:15:14 -05:00
Stefan Metzmacher
1b80624c57 r19121: try to get rid of the difference between in system/iconv.h
between samba 3 and 4.

metze
(This used to be commit 04031a9fca)
2007-10-10 12:15:13 -05:00
Stefan Metzmacher
a856a88ba4 r19119: try to be more portable...
metze
(This used to be commit 380e647534)
2007-10-10 12:15:13 -05:00
Jeremy Allison
4be3f7665c r19105: Ok - this is currently untested (but I'm testing it at
the moment) but winbindd isn't run in the build farm
so hopefully won't break anything too badly - I don't
want to lose this.

If winbindd starts offline then it falls back to using
MS-RPC backend. On going online it needs to reset the
backend and try and go to using the AD backend code if
possible, as the MS-RPC sequence number fetch just returns
1 as the sequence number if run against an AD DC.

In addition, the winbindd async child may end up
with the AD backend whilst the main winbindd - which
still contacts the DC for some non-async calls, is
left using MS-RPC. This can cause some trouble (as
you can imagine :-).

Attempt to ensure both main winbindd and async children
us AD backends on going online.

Jeremy.
(This used to be commit 5efd4b04b8)
2007-10-10 12:15:13 -05:00
Jeremy Allison
06e36b4e18 r19104: Fix from Björn JACKE <bjoern@j3e.de>
"here's a small fix for gdb_backtrace."
Jeremy.
(This used to be commit a0b4e5d118)
2007-10-10 12:15:13 -05:00
Jeremy Allison
05109131b0 r19103: From "Björn JACKE <bjoern@j3e.DE>":
The attached patch cleans up pam_winbind a tiny bit. Instead of making
exceptions for all pam implementations except for Linux' it's better
to make an exception for the only pam implementation which is
different from all the others. This is equivalent to what pam_smb_auth
does already.
-----------------
Jeremy
(This used to be commit 8e55964708)
2007-10-10 12:15:13 -05:00
Stefan Metzmacher
b25c065786 r19102: fix typo, thanks derrell!
metze
(This used to be commit 0a516c3026)
2007-10-10 12:15:13 -05:00
Stefan Metzmacher
0a32e31cbe r19101: add sys_recv() wrapper
metze
(This used to be commit 2f146ec683)
2007-10-10 12:15:12 -05:00
Stefan Metzmacher
4366ca702d r19100: merge from samba4:
export MAKE_TEST_ENABLE_PCAP=yes enables
SOCKET_WRAPPER_PCAP_FILE support
in make test

metze
(This used to be commit 5faf816885)
2007-10-10 12:15:12 -05:00
Stefan Metzmacher
f9449b752f r19099: merge socket wrapper changes from samba4
including SOCKET_WRAPPER_PCAP_FILE support

but I just noticed that samba don't use recv()/send()
on the socket, so the capture only contain connect()/close()

metze
(This used to be commit b894e33023)
2007-10-10 12:15:12 -05:00
Stefan Metzmacher
f6e72ba4a6 r19096: - fix the build with included popt
- and fix some whitespaces

metze
(This used to be commit 4906e60151)
2007-10-10 12:15:12 -05:00
Günther Deschner
04e7e6b457 r19095: Fix some compile warnings.
Guenther
(This used to be commit a0d19e1ebe)
2007-10-10 12:15:12 -05:00
Günther Deschner
a8281b19c7 r19094: Fix debug statement.
Guenther
(This used to be commit e99696c970)
2007-10-10 12:15:11 -05:00
Stefan Metzmacher
63a0d4aa5b r19093: speed up the samba3 build from 8mins to 5mins:-)
we now don't compile mostly each .c file twice.

- we use PICFLAG for all object files
- PICFLAG defaults to PIE_CFLAGS and is then overwritten
  if the system supports shared libraries

as we currently always use -fPIE if available
(and at least on linux -fPIE produces the same code as -fPIC)
it doesn't change anything in the resulting code.

"high performance" binaries can be build with
"--disable-pie --disable-shared" if someone really needs to...

metze
(This used to be commit 6db1f57f45)
2007-10-10 12:15:11 -05:00
Stefan Metzmacher
6bcb2ea271 r19090: - the LIBREPLACE_C99 isn't needed in aclocal.m4
- including the ldb configure tests via aclocal.m4 is wrong

metze
(This used to be commit cd4b1cf0e7)
2007-10-10 12:15:11 -05:00
Stefan Metzmacher
11d219f1a1 r19089: normalize KRB5_LIBS too
metze
(This used to be commit c7788f6c71)
2007-10-10 12:15:11 -05:00
Stefan Metzmacher
4e47aef017 r19088: filter out -Wl,-rpath combinations with /usr/lib too
metze
(This used to be commit 52ffc8b12c)
2007-10-10 12:15:11 -05:00
Stefan Metzmacher
eade80109b r19087: normalize vars before printing them
metze
(This used to be commit 9900abf8ab)
2007-10-10 12:15:10 -05:00
Stefan Metzmacher
4bc71f13c8 r19086: fix --disable-pie together with -C
metze
(This used to be commit 035579b62c)
2007-10-10 12:15:10 -05:00
Stefan Metzmacher
5b77d0a856 r19085: merge from samba4:
- source and destination address handling
- tcp handling

metze
(This used to be commit 98154fd433)
2007-10-10 12:15:10 -05:00
Volker Lendecke
d193fa1a4d r19083: Fix objectclass
(This used to be commit 6c4d68d849)
2007-10-10 12:15:09 -05:00
Volker Lendecke
e28ae1f5fd r19080: Fix a potential NULL dereference
(This used to be commit 682b490c23)
2007-10-10 12:15:09 -05:00
Volker Lendecke
407873df53 r19079: talloc_array can fail
(This used to be commit 7b6738522a)
2007-10-10 12:15:09 -05:00
Volker Lendecke
8f553d8d3c r19078: talloc_strdup can fail
(This used to be commit 2b3b9ce2a1)
2007-10-10 12:15:09 -05:00
Volker Lendecke
f27d5c7838 r19077: Fix an uninitialized variable
(This used to be commit 6bc2cce645)
2007-10-10 12:15:09 -05:00
Volker Lendecke
faaec2f04a r19076: ldb_dn_copy_partial can fail
(This used to be commit c247cf3fba)
2007-10-10 12:15:09 -05:00
Volker Lendecke
38c4955c2a r19075: Fix a potential NULL dereference
(This used to be commit 0ab5d7692c)
2007-10-10 12:15:08 -05:00
Volker Lendecke
638a16900c r19073: mapping_dn can fail
(This used to be commit d234f39c79)
2007-10-10 12:15:08 -05:00
Volker Lendecke
14502053e9 r19072: Fix a potential NULL dereference. Simo/Tridge, not merging yet to 4_0, I'd
like you to comment.

Volker
(This used to be commit ba18c58f1f)
2007-10-10 12:15:08 -05:00
Simo Sorce
a65c6b3914 r19071: Backport to SAMBA_3_0 as well
(This used to be commit df148a5def)
2007-10-10 12:15:08 -05:00
Volker Lendecke
8cd27dc1c3 r19070: If there's an error in the data struct, there's no point to continue with
asn1_pop_tag.

Volker
(This used to be commit d18e9f1da9)
2007-10-10 12:15:07 -05:00
Volker Lendecke
101428b7e5 r19067: Fix a potential NULL dereference
(This used to be commit 6a8937ed03)
2007-10-10 12:15:07 -05:00