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

20742 Commits

Author SHA1 Message Date
Stefan Metzmacher
e4f2183684 r19145: talloc_reference() can fail!
metze
2007-10-10 12:15:16 -05:00
Günther Deschner
44e228ac79 r19143: getdcname on the NETLOGON pipe returns WERROR, not NTSTATUS.
Guenther
2007-10-10 12:15:16 -05:00
Stefan Metzmacher
db40552d94 r19137: that looks nicer:-)
metze
2007-10-10 12:15:16 -05:00
Stefan Metzmacher
0523ad2493 r19135: fix bugs...
- passing mem_ctx as ldb_context is a bad idea!
- naming a static function talloc_ is also bad and misleading

metze
2007-10-10 12:15:15 -05:00
Volker Lendecke
c879ed3d1e r19133: More C++ warnings -- Merge across? 2007-10-10 12:15:15 -05:00
Volker Lendecke
26f2cb71eb 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
2007-10-10 12:15:15 -05:00
Stefan Metzmacher
21516dc5ac r19130: fix the logic for the AC_PROG_CC_C99 check
metze
2007-10-10 12:15:14 -05:00
Volker Lendecke
70038e8f7b r19127: Fix bug 4152 2007-10-10 12:15:14 -05:00
Volker Lendecke
90bfa34610 r19126: Fix some uninitialized variable warnings 2007-10-10 12:15:14 -05:00
Andrew Tridgell
65e1500ae6 r19125: merge from samba4 2007-10-10 12:15:14 -05:00
Stefan Metzmacher
7ba9fddacb r19124: merge from samba4:
pass LDFLAGS from configure to Makefile

metze
2007-10-10 12:15:14 -05:00
Stefan Metzmacher
04031a9fca r19121: try to get rid of the difference between in system/iconv.h
between samba 3 and 4.

metze
2007-10-10 12:15:13 -05:00
Stefan Metzmacher
380e647534 r19119: try to be more portable...
metze
2007-10-10 12:15:13 -05:00
Jeremy Allison
5efd4b04b8 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.
2007-10-10 12:15:13 -05:00
Jeremy Allison
a0b4e5d118 r19104: Fix from Björn JACKE <bjoern@j3e.de>
"here's a small fix for gdb_backtrace."
Jeremy.
2007-10-10 12:15:13 -05:00
Jeremy Allison
8e55964708 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
2007-10-10 12:15:13 -05:00
Stefan Metzmacher
0a516c3026 r19102: fix typo, thanks derrell!
metze
2007-10-10 12:15:13 -05:00
Stefan Metzmacher
2f146ec683 r19101: add sys_recv() wrapper
metze
2007-10-10 12:15:12 -05:00
Stefan Metzmacher
5faf816885 r19100: merge from samba4:
export MAKE_TEST_ENABLE_PCAP=yes enables
SOCKET_WRAPPER_PCAP_FILE support
in make test

metze
2007-10-10 12:15:12 -05:00
Stefan Metzmacher
b894e33023 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
2007-10-10 12:15:12 -05:00
Stefan Metzmacher
4906e60151 r19096: - fix the build with included popt
- and fix some whitespaces

metze
2007-10-10 12:15:12 -05:00
Günther Deschner
a0d19e1ebe r19095: Fix some compile warnings.
Guenther
2007-10-10 12:15:12 -05:00
Günther Deschner
e99696c970 r19094: Fix debug statement.
Guenther
2007-10-10 12:15:11 -05:00
Stefan Metzmacher
6db1f57f45 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
2007-10-10 12:15:11 -05:00
Stefan Metzmacher
cd4b1cf0e7 r19090: - the LIBREPLACE_C99 isn't needed in aclocal.m4
- including the ldb configure tests via aclocal.m4 is wrong

metze
2007-10-10 12:15:11 -05:00
Stefan Metzmacher
c7788f6c71 r19089: normalize KRB5_LIBS too
metze
2007-10-10 12:15:11 -05:00
Stefan Metzmacher
52ffc8b12c r19088: filter out -Wl,-rpath combinations with /usr/lib too
metze
2007-10-10 12:15:11 -05:00
Stefan Metzmacher
9900abf8ab r19087: normalize vars before printing them
metze
2007-10-10 12:15:10 -05:00
Stefan Metzmacher
035579b62c r19086: fix --disable-pie together with -C
metze
2007-10-10 12:15:10 -05:00
Stefan Metzmacher
98154fd433 r19085: merge from samba4:
- source and destination address handling
- tcp handling

metze
2007-10-10 12:15:10 -05:00
Volker Lendecke
6c4d68d849 r19083: Fix objectclass 2007-10-10 12:15:09 -05:00
Volker Lendecke
682b490c23 r19080: Fix a potential NULL dereference 2007-10-10 12:15:09 -05:00
Volker Lendecke
7b6738522a r19079: talloc_array can fail 2007-10-10 12:15:09 -05:00
Volker Lendecke
2b3b9ce2a1 r19078: talloc_strdup can fail 2007-10-10 12:15:09 -05:00
Volker Lendecke
6bc2cce645 r19077: Fix an uninitialized variable 2007-10-10 12:15:09 -05:00
Volker Lendecke
c247cf3fba r19076: ldb_dn_copy_partial can fail 2007-10-10 12:15:09 -05:00
Volker Lendecke
0ab5d7692c r19075: Fix a potential NULL dereference 2007-10-10 12:15:08 -05:00
Volker Lendecke
d234f39c79 r19073: mapping_dn can fail 2007-10-10 12:15:08 -05:00
Volker Lendecke
ba18c58f1f r19072: Fix a potential NULL dereference. Simo/Tridge, not merging yet to 4_0, I'd
like you to comment.

Volker
2007-10-10 12:15:08 -05:00
Simo Sorce
df148a5def r19071: Backport to SAMBA_3_0 as well 2007-10-10 12:15:08 -05:00
Volker Lendecke
d18e9f1da9 r19070: If there's an error in the data struct, there's no point to continue with
asn1_pop_tag.

Volker
2007-10-10 12:15:07 -05:00
Volker Lendecke
6a8937ed03 r19067: Fix a potential NULL dereference 2007-10-10 12:15:07 -05:00
Volker Lendecke
c53e2e5475 r19066: Fix a memleak 2007-10-10 12:15:07 -05:00
Volker Lendecke
45628f71cf r19065: No functional change, just a trivial simplification 2007-10-10 12:15:07 -05:00
Volker Lendecke
27b063078d r19064: This code block is already #ifdef'ed by WITH_ADS which should imply
HAVE_KRB5. If WITH_ADS does not imply KRB5, we have to fix that.

Lets see what the build farm thinks about this.

Volker
2007-10-10 12:15:07 -05:00
Stefan Metzmacher
9cb182507c r19062: try to fix the valgrind noise in the build-farm
metze
2007-10-10 12:15:07 -05:00
Volker Lendecke
f8c4578f91 r19060: Attempt to fix the valgrind suppressions for "fort" 2007-10-10 12:15:06 -05:00
Jim McDonough
21abbeaee9 r19058: Implement "user cannot change password", and complete "user must change
password at next logon" code.  The "password last set time" of zero now
means "user must change password", because that's how windows seems to
use it.  The "can change" and "must change" times are now calculated
based on the "last set" time and policies.

We use the "can change" field now to indicate that a user cannot change
a password by putting MAX_TIME_T in it (so long as "last set" time isn't
zero).  Based on this, we set the password-can-change bit in the
faked secdesc.
2007-10-10 12:15:06 -05:00
Jeremy Allison
ec526e1b88 r19054: Callers of gencache may not have the rights to
open read/write. Allow them to fallback to read-only.
Jeremy
2007-10-10 12:15:06 -05:00
Volker Lendecke
3bf313240c r19046: It does not do much yet, but activate RPC-SAMBA3-SPOOLSS 2007-10-10 12:15:06 -05:00