1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

70657 Commits

Author SHA1 Message Date
Volker Lendecke
47d07df37f s3: Fix a potential memleak in secrets_fetch_trusted_domain_password 2011-02-06 16:44:56 +01:00
Volker Lendecke
843825f567 s3: Fetch the machinepw via ldapi in pdb_ads 2011-02-06 16:44:56 +01:00
Volker Lendecke
8c367162f0 s3: In pdb_ads, cope with artificial samu structs 2011-02-06 16:44:56 +01:00
Volker Lendecke
08f2a8562f s3: Use strlcpy in pdb_ads_connect 2011-02-06 16:44:56 +01:00
Volker Lendecke
8af7400d55 s3: Fix some nonempty blank lines 2011-02-06 16:44:56 +01:00
Matthieu Patou
56b1cff70e s4 torture: add new rpc torture tests for backup key remote protocol
Signed-off-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Feb  5 13:01:42 CET 2011 on sn-devel-104
2011-02-05 13:01:42 +01:00
Stefan Metzmacher
f464955534 s4:selftest: skip samba4.rpc.backupkey for now
metze
2011-02-05 12:16:46 +01:00
Stefan Metzmacher
49cfb2ebdf s3:Makefile.in: use waf directly to build smbtorture4 and ndrdump4
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Feb  5 11:53:05 CET 2011 on sn-devel-104
2011-02-05 11:53:05 +01:00
Jeremy Allison
df34e804fc Fix try_chown code. Use new vfs_chown_fsp() which always trys fd first.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Feb  5 03:33:59 CET 2011 on sn-devel-104
2011-02-05 03:33:58 +01:00
Jeremy Allison
ece94989b8 Move the "oplock file with byte range locks" check to the correct place, where we're making oplock decisions.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Feb  5 01:18:14 CET 2011 on sn-devel-104
2011-02-05 01:18:14 +01:00
Günther Deschner
f60398d7b2 s3-winbindd: let winbind try to use samlogon validation level 6. (bug #7945)
The benefit of this that it makes us more robust to secure channel resets
triggered from tools outside the winbind process. Long term we need to have a
shared tdb secure channel store though as well.

Guenther

Signed-off-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Feb  4 18:11:04 CET 2011 on sn-devel-104
2011-02-04 18:11:04 +01:00
Günther Deschner
ac4127a9f4 s3-auth: add copy_netr_SamBaseInfo().
Guenther

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-02-04 16:57:32 +01:00
Stefan Metzmacher
e9c45a3973 s3:lib/addrchange: set ctx->sock to -1 after close
The makes the code more consistent with similar destructors.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Feb  4 15:52:55 CET 2011 on sn-devel-104
2011-02-04 15:52:55 +01:00
Stefan Metzmacher
d8d5a3fb3a s3:lib/addrchange: remove unused pointer
metze
2011-02-04 15:04:58 +01:00
Stefan Metzmacher
ff935ddf8b s3:lib/addrchange: let addrchange_done() retry and ignore unknown message types
Messages like RTM_NEWLINK should be just ignored.

metze
2011-02-04 15:04:58 +01:00
Stefan Metzmacher
902fbd91a1 s3:winbindd: fix segfaults on addrchange errors and make DEBUG() statements more usefull
metze
2011-02-04 15:04:57 +01:00
Stefan Metzmacher
17c01a5e90 s3:rpc_server/netlogon: reject validation level 6 without ads support
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Feb  4 10:06:26 CET 2011 on sn-devel-104
2011-02-04 10:06:26 +01:00
Andrew Tridgell
13470f11ee charcnv: removed call to setlocale() (bug 7519)
We don't need this setlocale() call, and it can break applications
that use our libraries

Thanks to Milan Crha for pointing this out

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Fri Feb  4 06:51:01 CET 2011 on sn-devel-104
2011-02-04 06:51:01 +01:00
Stefan Metzmacher
1e42aa6b3a replace: Try to fix broken sys/capabilites.h on Linux.
As this is more or less a broken header we need to include linux/types.h
before sys/capabilities.h to avoid redefinitions.

Systems like ClearOS 5.2 need linux/types.h very early.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Feb  3 05:26:12 CET 2011 on sn-devel-104
2011-02-03 05:26:11 +01:00
Stefan Metzmacher
5f18925e69 Revert "replace: Try to fix broken sys/capabilites.h on Linux."
This reverts commit c2207e9b2c.

This still doesn't build for me on ClearOS 5.2.

metze
2011-02-03 04:32:43 +01:00
Stefan Metzmacher
c1c3cb0a23 s3:libnet_dssync_passdb: remove useless DEBUG statements
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Feb  3 04:20:54 CET 2011 on sn-devel-104
2011-02-03 04:20:54 +01:00
Jeremy Allison
3b4738b2fd Fix value overflow (one too many 'f's ).
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Feb  3 03:35:32 CET 2011 on sn-devel-104
2011-02-03 03:35:32 +01:00
Stefan Metzmacher
91e1c8dc38 s3:lib: allow_trailing_dollar should only allow '$'
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Feb  3 00:33:48 CET 2011 on sn-devel-104
2011-02-03 00:33:48 +01:00
Jeremy Allison
40850b3b27 Fix a couple of missing checks on talloc returns.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Feb  2 22:23:46 CET 2011 on sn-devel-104
2011-02-02 22:23:46 +01:00
Günther Deschner
885887ac1b s3-waf: no need to call pidl with --samba3-ndr-client anymore.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb  2 21:38:23 CET 2011 on sn-devel-104
2011-02-02 21:38:23 +01:00
Günther Deschner
2534e01a3a s3-build: remove --samba3-ndr-client from build_idl.sh script.
Guenther
2011-02-02 20:53:15 +01:00
Günther Deschner
d57ddc64c5 s3-waf: remove RPCCLI_LSA subsystem.
Guenther
2011-02-02 20:01:00 +01:00
Günther Deschner
ad15128d78 s3-build: remove RPCCLI_LSA subsystem.
Guenther
2011-02-02 20:01:00 +01:00
Günther Deschner
387d1543ed s3-winbind: prefer dcerpc_lsa_X functions in winbindd/winbindd_rpc.c.
Guenther
2011-02-02 20:00:59 +01:00
Günther Deschner
04ac046a46 s3-winbind: prefer dcerpc_lsa_X functions in winbindd/winbindd_samr.c.
Guenther
2011-02-02 20:00:59 +01:00
Günther Deschner
a85b20a164 s3-winbind: prefer dcerpc_lsa_X functions in winbindd/winbind_cm.c
Guenther
2011-02-02 20:00:56 +01:00
Günther Deschner
586b2ee826 s3-epmap: use correct dcerpc client header in dcerpc_ep.c
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb  2 19:50:02 CET 2011 on sn-devel-104
2011-02-02 19:50:02 +01:00
Günther Deschner
00478b0559 s3-net: prefer dcerpc_lsa_X functions in "net rpc".
Guenther
2011-02-02 19:03:36 +01:00
Günther Deschner
eab00491f3 s3-net: prefer dcerpc_lsa_X functions in "net rpc rights".
Guenther
2011-02-02 19:03:26 +01:00
Günther Deschner
8055bc82b0 s3-net: use status variable in "net rpc rights".
Guenther
2011-02-02 19:03:20 +01:00
Günther Deschner
32064346f0 s3-net: prefer dcerpc_lsa_X functions in net_util.c
Guenther
2011-02-02 19:03:13 +01:00
Günther Deschner
63de60c2bc s3-net: prefer dcerpc_lsa_X functions in "net rpc join".
Guenther
2011-02-02 19:03:06 +01:00
Günther Deschner
61d18b7f08 s3-net: prefer dcerpc_lsa_X functions in "net rpc audit".
Guenther
2011-02-02 19:03:00 +01:00
Günther Deschner
d38d743166 s3-net: use status variable in "net rpc audit".
Guenther
2011-02-02 19:02:54 +01:00
Günther Deschner
fe6c5353a0 s3-rpcclient: prefer dcerpc_lsa_X functions.
Guenther
2011-02-02 19:02:48 +01:00
Günther Deschner
204eeacfc5 s3-rpcclient: prefer dcerpc_lsa_X functions.
Guenther
2011-02-02 19:02:41 +01:00
Günther Deschner
36cd79f14b s3-rpcclient: prefer dcerpc_lsa_X functions.
Guenther
2011-02-02 19:02:35 +01:00
Günther Deschner
707d572f62 s3-rpcclient: use status variable.
Guenther
2011-02-02 19:02:29 +01:00
Günther Deschner
fcaba0fb59 s3-libsmb: prefer dcerpc_lsa_X functions.
Guenther
2011-02-02 19:02:23 +01:00
Günther Deschner
95cf60a2e5 s3-libnet: prefer dcerpc_lsa_X functions.
Guenther
2011-02-02 19:02:16 +01:00
Günther Deschner
e32b50894b s3-libnetapi: prefer dcerpc_lsa_X functions.
Guenther
2011-02-02 19:02:09 +01:00
Günther Deschner
ee5de71796 s3-waf: remove RPCCLI_SAMR subsystem.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb  2 18:54:38 CET 2011 on sn-devel-104
2011-02-02 18:54:38 +01:00
Günther Deschner
364ef35afd s3-build: remove RPCCLI_SAMR subsytem.
Guenther
2011-02-02 18:11:19 +01:00
Günther Deschner
50170d7fd5 s3-net: prefer dcerpc_samr_X functions in net_rpc_join_newstyle.
Guenther
2011-02-02 18:11:19 +01:00
Günther Deschner
b53c0c8c85 s3-net: use status variable in net_rpc_join_newstyle.
Guenther
2011-02-02 18:11:19 +01:00