1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

2220 Commits

Author SHA1 Message Date
Günther Deschner
34722c72f6 pam: share pam errors in a common location.
Guenther
2011-02-08 14:05:36 +01:00
Andreas Schneider
f1d5cea322 s3-rpc_server: Added a winreg based svcctl registry init.
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:01 +01:00
Andreas Schneider
96565db5f6 s3-services: Migrated svcctl registry functions to winreg.
This is a bigger commit. It moves the relevant function to
svc_winreg_glue. We need to use them in the same commit else we have
problems with prototypes in proto.h.

Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:01 +01:00
Andreas Schneider
1adbbeef32 s3-registry: Remove obsolete reg_eventlog.
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:01 +01:00
Andreas Schneider
22ea293381 s3-rpc_server: Added a winreg based eventlog registry init.
This enumerates the keys first and only creates them if they don't exist
yet.

Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:00 +01:00
Andreas Schneider
9c7607d3d3 s3-rpc_client: Added winreg query dword helper.
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:31:59 +01:00
Andreas Schneider
12cd4002e6 s3-rpc_client: Added dcerpc_winreg_int_openkey().
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:31:59 +01:00
Andrew Tridgell
a20ce625a2 s3-torture: switch source3 to using top level samba4 build for smbtorture
this is in preparation for removing the source4/ build

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07 15:03:40 +11: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
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
Günther Deschner
ad15128d78 s3-build: remove RPCCLI_LSA subsystem.
Guenther
2011-02-02 20:01:00 +01:00
Günther Deschner
364ef35afd s3-build: remove RPCCLI_SAMR subsytem.
Guenther
2011-02-02 18:11:19 +01:00
Günther Deschner
91e6dad749 s3-dssync-passdb: add basic routines and net function.
Guenther
2011-02-02 15:45:20 +01:00
Andreas Schneider
e3bdfd2d46 s3-smbd: Added a function to setup rpc services.
Move the complete setup of the rpc service to its own file and use
callbacks to register at the endpoint mapper.
2011-02-02 12:44:20 +01:00
Andreas Schneider
20afe97177 s3-librpc: Added dcerpc register endpoint functions. 2011-02-02 12:44:20 +01:00
Andreas Schneider
84995397a7 s3-epmapper: Added a endpoint mapper skeleton. 2011-02-02 12:44:20 +01:00
Volker Lendecke
f71c032f16 s3: test addrchange 2011-02-01 15:11:06 +01:00
Volker Lendecke
80acca1ebf s3: Add support for AF_NETLINK addr notifications
Via an AF_NETLINK socket, the Linux kernel can inform us when IP addresses are
added or dropped.

This will first be used in winbind, it was triggered by clustering with ctdb.
When winbind is connected to a domain controller and ctdb decides to move away
the IP address that winbind used locally for the connection to the DC, the next
request will run into a timeout. winbind sends out its request, but the
response will never arrive: The IP is gone.

It will also be interesting for more reliable online/offline detection, but
this is something for future winbind refactoring.
2011-02-01 15:11:06 +01:00
Volker Lendecke
e6e7c724ad s3: On FreeBSD, compile zfsacl if sunacl.h is around
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Jan 30 12:17:49 CET 2011 on sn-devel-104
2011-01-30 12:17:48 +01:00
Günther Deschner
c9f4fad75c idl: add file_id idl.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Jan 25 12:27:00 CET 2011 on sn-devel-104
2011-01-25 12:27:00 +01:00
Günther Deschner
39ea30de0f s3-build: remove source4 include path for autoconf build as well.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Jan 24 17:40:56 CET 2011 on sn-devel-104
2011-01-24 17:40:56 +01:00
Günther Deschner
24c51a7d2a s3-build: remove RPCCLI_SPOOLSS subsystem.
Guenther
2011-01-21 15:20:22 +01:00
Stefan Metzmacher
528bcedbc5 s3:build: don't use librpc/gen_ndr/cli_echo.[ch] anymore
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Jan 17 09:34:12 CET 2011 on sn-devel-104
2011-01-17 09:34:12 +01:00
Günther Deschner
a556896d1e s3-build: remove RPCCLI_WINREG subsystem.
Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>

Autobuild-User: Andreas Schneider <asn@samba.org>
Autobuild-Date: Thu Jan 13 15:06:36 CET 2011 on sn-devel-104
2011-01-13 15:06:36 +01:00
Günther Deschner
7e959004d7 s3-build: remove RPCCLI_SRVSVC subsystem.
Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13 14:14:04 +01:00
Günther Deschner
aa4efa154f s3-build: remove RPCCLI_NETLOGON subsystem.
Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13 14:09:38 +01:00
Günther Deschner
5ad7d6aaa8 s3-build: remove RPCCLI_SVCCTL subsystem.
Guenther

Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13 12:12:04 +01:00
Günther Deschner
6f39c3b526 s3-build: remove RPCCLI_DRSUAPI subsystem.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Jan 11 23:01:24 CET 2011 on sn-devel-104
2011-01-11 23:01:24 +01:00
Günther Deschner
a76dde61bc s3-build: remove RPCCLI_INITSHUTDOWN subsystem.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Jan 11 17:59:21 CET 2011 on sn-devel-104
2011-01-11 17:59:21 +01:00
Günther Deschner
2a05561e35 s3-build: remove RPCCLI_EVENTLOG subsystem.
Guenther
2011-01-11 17:12:04 +01:00
Günther Deschner
e5c4f69d40 s3-build: remove RPCCLI_WKSSVC subsystem.
Guenther
2011-01-11 17:11:48 +01:00
Günther Deschner
5c9eca6fc4 s3-build: fix classic build after libcli netlogon changes.
Guenther
2011-01-07 15:02:24 +01:00
Volker Lendecke
3e0915f271 s3: Make nmbd socket dir configurable
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Jan  7 14:14:19 CET 2011 on sn-devel-104
2011-01-07 14:14:19 +01:00
Günther Deschner
7ee75c9548 lib/addns: move DNS client library to the main directory.
Guenther
2011-01-06 16:42:56 +01:00
Günther Deschner
577b4e527c s3-build: no need to compile librpc/gen_ndr/cli_dfs.c anymore.
Guenther
2011-01-06 14:35:18 +01:00
Stefan Metzmacher
899adcaec9 s3:build: don't use cli_dssetup.c any more
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Jan  4 22:21:48 CET 2011 on sn-devel-104
2011-01-04 22:21:48 +01:00
Stefan Metzmacher
62aa019a1b s3:build: don't use cli_epmapper.c anymore
metze
2011-01-04 21:28:58 +01:00
Stefan Metzmacher
e1e8693525 s3:build: don't use cli_ntsvcs.c any more.
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Jan  4 17:23:17 CET 2011 on sn-devel-104
2011-01-04 17:23:17 +01:00
Stefan Metzmacher
fbcbeabd65 s3:build: don't use cli_wbint.c any more
metze
2011-01-04 16:37:19 +01:00
Andreas Schneider
8ece780d1b s3-build: Remove broken RPC modules support.
With the current module support for rpc we're not able to call the init
functions with the rpc callback structure. So init functions and
shutdown functions aren't called. These init functions are needed to
setup pre requirements like migrating the printer databases and register
at the endpoint mapper. The shutdown functions cleanup memory and
deregister from the endpoint mapper.
2011-01-04 11:23:21 +01:00
Volker Lendecke
3ae7ef73b0 s3: Test smbsock_any_connect 2010-12-22 16:39:15 +01:00
Volker Lendecke
49cd92b218 s3: Add an async smbsock_connect
This connects to 445 and after 5 milliseconds also to 139. It treats a netbios
session setup failure as equivalent as a TCP connect failure. So if 139 is
faster but fails the nb session setup, the 445 still has the chance to succeed.
2010-12-22 16:39:15 +01:00
Volker Lendecke
fd49ed238c s3: "make etags" should not grow TAGS infinitely... 2010-12-19 23:25:07 +01:00
Volker Lendecke
a881d6ab86 wb_reqtrans is not used in libwbclient 2010-12-19 23:25:06 +01:00
Volker Lendecke
c0a7c9f991 Move wbc_async.[ch] to its only user: smbtorture3 2010-12-19 23:25:06 +01:00
Stefan Metzmacher
c0ac1cebfb s3:libsmb: add cli_np_tstream.c
This abstracts a named pipe over smb as a tstream,
which will make it easier to implement the dcerpc
layer in a more generic way.

metze
2010-12-15 15:26:05 +01:00
Günther Deschner
a43a1d9226 s3-selftest: support differing VFSLIBDIR in autoconf and waf build.
With this change make test in the s3 waf build (w/o s4 smbtorture yet) works!

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Dec 13 13:06:05 CET 2010 on sn-devel-104
2010-12-13 13:06:05 +01:00
Björn Jacke
4f27a64407 s3/smbtorture: use $MAKE to build to make sure we use the make that makes our build 2010-11-26 02:14:09 +01:00
Andrew Tridgell
f10dd12b14 s3-test: try to avoid a problem of CFLAGS propogating to the torture build
CFLAGS is set by s3 to include -D_SAMBA_BUILD_=3. We need to ensure
this does not propogate to the smbtorture4 build

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Nov 24 14:40:16 CET 2010 on sn-devel-104
2010-11-24 14:40:16 +01:00
Günther Deschner
9df126d324 libaddns: add dns_errstr().
Guenther
2010-11-22 11:25:18 +01:00