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

2361 Commits

Author SHA1 Message Date
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
Christian Ambach
9aab4149af s3:idmap: add a new ID mapping module autorid
This is an initial implementation of the idmap_autorid module.
It works similar to the idmap_rid module but requires less
configuration. It will automatically pick ranges for each domain,
so you do not have to bother any more about adding an idmap
configuration for all of the domains in the forest.

This is very easy to use and to configure and much more
deterministic and faster than idmap_tdb, the typical choice
of Samba users up to now.
2010-11-08 13:39:51 +01:00
Abhidnya P Chirmule
2cfee006e1 s3: Add a vfs_time_audit module
This warns if a file system is slow

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Oct 28 08:56:44 UTC 2010 on sn-devel-104
2010-10-28 08:56:44 +00:00
Kai Blin
c320c1ab98 lib/util: Add tevent WERROR wrappers
Signed-off-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Oct 23 07:35:28 UTC 2010 on sn-devel-104
2010-10-23 07:35:28 +00:00
Jeremy Allison
e1cfca1e2e Make getpwnam_alloc() static to lib/username.c, and ensure all username lookups go
through Get_Pwnam_alloc(), which is the correct wrapper function. We were using
it *some* of the time anyway, so this just makes us properly consistent.

Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Oct 20 16:02:12 UTC 2010 on sn-devel-104
2010-10-20 16:02:12 +00:00
Günther Deschner
ab01d6139f nsstest: no need for two copies of the same tool.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Oct 20 15:05:34 UTC 2010 on sn-devel-104
2010-10-20 15:05:33 +00:00
Andrew Bartlett
a879a4610d libcli/auth Merge source4/libcli/security and util_sid.c into the common code
This should ensure we only have one copy of these core functions
in the tree.

Andrew Bartlett

Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-10-14 02:35:05 +00:00
Andrew Bartlett
949541cc6f libcli/security Move source3/lib/util_seaccess.c into the common code
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-10-14 02:35:05 +00:00
Andrew Bartlett
deb7c02436 s3 Replace is_sid_in_token() with security_token_has_sid() from common code
The two routines are identical, so there is no need to keep both.

Andrew Bartlett

Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-10-14 02:35:04 +00:00
Volker Lendecke
220aa311d1 s3: Add a little test for the echo responder 2010-10-08 21:11:45 +02:00
Andrew Tridgell
312d0977a2 s3-build: use the simpler "make bin/smbtorture" for s4 torture
and the same for bin/ndrdump

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Oct  6 12:58:21 UTC 2010 on sn-devel-104
2010-10-06 12:58:21 +00:00
Günther Deschner
0ff7e0c998 samba: share readline wrappers among all buildsystems.
Guenther
2010-10-01 22:30:22 +02:00
Günther Deschner
b38d0542e1 samba: share select wrappers.
Guenther
2010-10-01 22:30:22 +02:00
Jelmer Vernooij
f70a98605e s3: Add subunit-test target. 2010-10-01 18:49:40 +02:00
Volker Lendecke
66731461a6 tdb: add restore
Based on an idea by Simon McVittie, largely rewritten
2010-09-23 12:19:09 -07:00
Simo Sorce
4cdee9b0ed s3-dcerpc: add spnego server helpers
squashed: add michlistMIC signature checks

Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:54:23 -07:00
Simo Sorce
2c9f420d75 s3-dcerpc: move client spnego stuff in /librpc/crypto
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:54:22 -07:00
Simo Sorce
28c22d04fb s3-dcerpc: add server helpers for gssapi auth
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:54:19 -07:00
Simo Sorce
bbf535764b s3-dcerpc: add server helpers for ntlmssp auth
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:53:42 -07:00
Simo Sorce
0e5eb82a6f s3-dcerpc: move crypto stuff in /librpc/crypto
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23 10:36:54 -07:00
Björn Jacke
82c0e79b8d s3: fix tdbdump build on Solaris and other boxes
needed to fix up aea64ef275
2010-09-23 09:29:52 -07:00
Günther Deschner
ea228cdf7c s3-build: move epmapper client to LIBMSRPC.
Guenther
2010-09-23 08:07:11 -07:00
Günther Deschner
a11d6c77e4 s3-build: fix the build of split_tokens.
Guenther
2010-09-23 00:15:22 -07:00
Günther Deschner
34008ef6b3 s3-build: fix the build of test_lp_load.
Guenther
2010-09-23 00:15:22 -07:00
Günther Deschner
099394a8f7 s3-build: strip down dependencies of smbta-util.
Guenther
2010-09-23 00:15:21 -07:00
Volker Lendecke
aea64ef275 s3: tdbdump does not use our libs 2010-09-23 02:59:39 +02:00
Gregor Beck
47313afe97 s3-registry: handle registration entries (.reg) files
Signed-off-by: Michael Adam <obnox@samba.org>
2010-09-22 06:30:00 +02:00
Gregor Beck
f760494228 s3-lib: add srprs, primitives to build simple recursive parsers
Signed-off-by: Michael Adam <obnox@samba.org>
2010-09-22 06:29:59 +02:00
Gregor Beck
e5bbc2be05 s3-lib: add cbuf, a talloced character buffer
Signed-off-by: Michael Adam <obnox@samba.org>
2010-09-22 06:29:59 +02:00
Michael Adam
08cf13a3df s3:registry: remove now (finally) obsolete reg_util_registry.{c,h} 2010-09-21 06:53:33 +02:00
Andrew Bartlett
80ca590d38 s3-lib/util Remove unused smb_uuid_unpack()
Andrew Bartlett

Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-20 16:15:11 -07:00
Andrew Bartlett
d7bc452a89 s3: Replace sid_binstring and sid_guidstring with PIDL-based alternatives
This reduces the manual marshalling of these structures by removing
the duplication here.

Andrew Bartlett

Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-20 16:15:03 -07:00
Michael Adam
0f7e503d21 s3:registry: move higher level function reg_open_path to new module reg_api_util
The reg_api.c code should just export functions that direclty relate to winreg
api calls.
2010-09-20 19:58:01 +02:00
Günther Deschner
91e8f8ded2 s3-registry: move regf based reg_api calls into own file.
Guenther
2010-09-20 02:27:41 +02:00
Günther Deschner
9e058c6e72 s3-rpcclient: add some winreg commands.
Guenther
2010-09-19 02:47:11 +02:00
Volker Lendecke
0858b7546e s3: Add the PAC info3 struct to the netsamlogon_cache in ntlm_auth 2010-09-16 12:02:57 -07:00
Jelmer Vernooij
32976e2eaa s3: Add convenience make target buildfarm-test. 2010-09-16 00:15:29 +00:00
Jelmer Vernooij
bad0041390 s3-selftest: Move Samba3-specific script to source3/selftest. 2010-09-16 00:15:29 +00:00
Simo Sorce
738c843e99 s3-rpc_server: Renamed rpc_ncacn_np_internal.c.
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-15 12:53:42 +02:00
Simo Sorce
7b1748d959 s3-rpc_client: Added a tstream based transport.
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15 12:53:41 +02:00
Simo Sorce
3c26e95840 s3-rpc_server: Added initial generic RPC server infrastructure.
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15 12:53:41 +02:00
Simo Sorce
d2a027ea94 s3-printing: Added a printer list database.
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15 12:53:40 +02:00
Günther Deschner
2d23ddb68d s3-build: only link in prs parser where needed.
Guenther
2010-09-15 08:25:23 +02:00
Andrew Bartlett
f20bba97d8 s3-privs Move source3/ privileges implmentation into common
Andrew Bartlett

Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:06 +10:00
Günther Deschner
33fdf8dac2 s3-build: use proper RPC_X_OBJ target names.
Guenther
2010-09-10 13:20:13 +02:00
Günther Deschner
7b1efc7282 s3-build: only link LIBNDR_XATTR_OBJ where needed.
Guenther
2010-09-10 11:29:26 +02:00
Günther Deschner
a1392ee9a0 s3-build: link ndr_notify only where needed.
Guenther
2010-09-10 11:27:52 +02:00
Günther Deschner
ed239fc784 s3-build: link ndr_named_pipe_auth only where needed.
Guenther
2010-09-10 11:24:28 +02:00
Simo Sorce
b31f75d8f6 s3-dcerpc: add krb5 helpers
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:27:48 +02:00
Simo Sorce
b9772a4886 s3-auth: Add helper function to retrieve the unix user from a kerberos ticket
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:17:06 +02:00
Günther Deschner
c5ffecb136 s3-build: further rationalise LIBMSRPC_OBJ and remove RPC_CLIENT_OBJ.
Guenther
2010-08-26 00:17:10 +02:00
Günther Deschner
d6949f58fa s3-build: remove RPC_CLIENT_OBJ1.
Guenther
2010-08-26 00:17:10 +02:00
Günther Deschner
a52fde4f94 s3-build: use LIBMSRPC_OBJ instead of single files.
Guenther
2010-08-26 00:17:10 +02:00
Günther Deschner
4991af46d7 s3-build: only link in samr util code where needed.
Guenther
2010-08-26 00:17:09 +02:00
Günther Deschner
ecf32c851a s3-build: remove RPC_PARSE_OBJ.
Guenther
2010-08-26 00:17:09 +02:00
Günther Deschner
88720f80c5 s3-build: only link in epmapper client code where needed.
Guenther
2010-08-26 00:17:08 +02:00
Günther Deschner
ff5ab04882 s3-build: only link in netlogon client code where needed.
Guenther
2010-08-26 00:17:08 +02:00
Günther Deschner
0ed16e94c3 s3: separate out cli schannel functions that depend on cli_netlogon.
Guenther
2010-08-26 00:16:57 +02:00
Günther Deschner
064826c4d1 s3-build: only link in samr client code where needed.
Guenther
2010-08-25 23:07:39 +02:00
Günther Deschner
1895d669c2 s3-build: only link in lsa client code where needed.
Guenther
2010-08-25 23:07:17 +02:00
Günther Deschner
562c5999ec s3-build: only link in srvsvc client code where needed.
Guenther
2010-08-25 23:06:59 +02:00
Günther Deschner
0ae0ca062b s3-build: only link in wkssvc client code where needed.
Guenther
2010-08-25 23:06:37 +02:00
Günther Deschner
2190386518 s3-build: only link in svcctl client code where needed.
Guenther
2010-08-25 23:06:15 +02:00
Günther Deschner
9a195fd233 s3-build: only link in dssetup client code where needed.
Guenther
2010-08-25 23:05:54 +02:00
Günther Deschner
5c8b54820b s3-build: only link in initshutdown client code where needed.
Guenther
2010-08-25 23:05:32 +02:00
Günther Deschner
f97ff9d440 s3-build: only link in echo client code where needed.
Guenther
2010-08-25 23:05:03 +02:00
Günther Deschner
0f10349f14 s3-build: only link in dfs client code where needed.
Guenther
2010-08-25 23:04:42 +02:00
Günther Deschner
a66bb0d8ec s3-build: only link in drsuapi client code where needed.
Guenther
2010-08-25 23:04:21 +02:00
Günther Deschner
4dbb682bc5 s3-build: only link in ntsvcs client code where needed.
Guenther
2010-08-25 23:03:54 +02:00
Günther Deschner
50df1c6f87 s3-build: only link in winreg client code where needed.
Guenther
2010-08-25 23:03:23 +02:00
Günther Deschner
2af95fc88b s3-build: only link in eventlog client code where needed.
Guenther
2010-08-25 22:56:59 +02:00
Günther Deschner
dc663295d1 s3-build: only link in spoolss client code where needed.
Shrinks a lot of binaries by 1 MB each.

Guenther
2010-08-25 22:56:29 +02:00
Michael Adam
3add3aa17d s3:smbd: add a nfs backend for sysquotas.
This module is based on the Solaris/FreeBSD implementation
of NFS quotas in the quotas.c module.

It implements the SMB_USER_QUOTA_TYPE query of the
get_quotas call. The other types and the set_quota call
are not implemented.
2010-08-25 14:05:51 +02:00
Andreas Schneider
2eff142cce s3-build: Use a wrapper script to run the tests.
This fixes the buildfarm and returns the correct exit code of selftest.
2010-08-25 12:39:52 +02:00
Andreas Schneider
0d9460a368 s3-build: Add a test-buildfarm target to stay UNIX Makefile compatible. 2010-08-22 23:04:28 +02:00
Stefan Metzmacher
922f33521e s3:Makefile.in: use python with -u to disable stdin/out caching
metze
2010-08-20 18:09:23 +02:00
Simo Sorce
0a89722671 s3-ads: Remove unused function and file 2010-08-17 06:48:56 -04:00
Stefan Metzmacher
745f63fd1e s3:rpc_client: remove unused cli_do_rpc_ndr* functions
metze
2010-08-16 14:30:18 +02:00
Stefan Metzmacher
dd16d3b2d6 s3:rpc_client: remove unused rpc_pipe_open_local()
metze
2010-08-16 14:30:17 +02:00
Andreas Schneider
3d447e0160 s3-test: Try to fix the build farm subunit parsing. 2010-08-15 13:17:36 +02:00
Michael Adam
a7ba9064d6 s3:idmap_ldap: add idmap_rw_ops to idmap_ldap_context and init in db_init() 2010-08-14 02:10:57 +02:00
Michael Adam
5a82cffb8b s3:idmap_tdb: add idmap_rw_ops to idmap_tdb_context and initialize them in init_db 2010-08-14 02:10:57 +02:00
Michael Adam
e82ef14008 s3:idmap_tdb2: add rw_ops to idmap_tdb2_context and initialize in idmap_tdb2_db_init 2010-08-14 02:10:56 +02:00
Michael Adam
3b56f7f6b5 s3:winbind: remove the method REMOVE_MAPPING from winbind's API
Michael
2010-08-14 02:10:34 +02:00
Michael Adam
474020b1ae s3:winbind: remove the method SET_MAPPING from winbind's API
Michael
2010-08-14 02:10:33 +02:00
Michael Adam
66e67c1bad s3:winbind: remove SET_HWM from winbind's API. 2010-08-14 02:10:31 +02:00
Michael Adam
a8492d2a92 s3:test: add a new "valgrindtestenv" target, similar to gdbtestenv
this runs the daemins in xterm under valgrind instead of in gdb
2010-08-14 01:54:37 +02:00
Michael Adam
1bc1fbe5fd s3:gdbtestenv: also start an xterm with nmbd. and start winbindd before smbd. 2010-08-14 01:52:41 +02:00
Michael Adam
40090d9b24 s3:gdbtestenv: also set the xterm's window title appropriately 2010-08-14 01:51:39 +02:00
Michael Adam
e051f3bd62 s3:gdbtestenv: print the server's name in the icontitle instead of "server" 2010-08-14 01:48:09 +02:00
Günther Deschner
f00b61c7d4 s3-selftest: move make test to selftest.
The old "make test" can be still called as "make oldtest".

Guenther
2010-08-13 18:30:50 +02:00
Günther Deschner
2c99eef355 s3-build: remove pointless RPC_PARSE_OBJ2.
Guenther
2010-08-13 16:04:41 +02:00
Björn Jacke
5390baeb6b tdb: add TDB_DEPS variable filled with required libraries
This is required for Solaris, which needs to link in librt to make use of
fdatasync().
2010-08-13 14:57:44 +02:00
Günther Deschner
37177f1c05 s3-build: pointless to link in libads and dcutils into smbcacls.
Guenther
2010-08-13 13:55:52 +02:00
Günther Deschner
3f76555ebe s3-build: separate out libads_printer.
Guenther
2010-08-13 12:02:06 +02:00
Stefan Metzmacher
56a6a972f2 s3:Makefile: link in dcerpc client stubs
metze
2010-08-12 14:31:23 +02:00
Stefan Metzmacher
2c0e296dd7 s3:rpc_client: add dcerpc_binding_handle backend
metze
2010-08-12 14:31:21 +02:00
Andrew Bartlett
1e83b36afb libcli/auth Move some source3/ NTLMSSP functions to the common code.
libcli/auth Use true and false rather than True and False in common code

Andrew Bartlett

Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-10 11:56:33 +02:00
Günther Deschner
e7a6a3ec0d s3: avoid global include of ads.h.
Guenther
2010-08-05 00:32:02 +02:00
Günther Deschner
31c484edb9 s3-printing: move AD related printing components to an own file.
Guenther
2010-08-05 00:32:02 +02:00
Simo Sorce
0b24e8e869 s3-dcerpc: Add SPNEGO incapsulation for KRB5 auth 2010-07-30 14:55:27 -04:00
Simo Sorce
135a82e78f s3-decrpc: Introduce gssapi support for dcerpc krb5 auth 2010-07-28 12:24:44 -04:00
Andreas Schneider
db2a777b0e s3-printing: Added automatic migration of printing tdbs.
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:15 -04:00
Andreas Schneider
35e03ef5c2 s3-printing: Move all tdb upgrade functions to a separate file.
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:14 -04:00
Simo Sorce
95f587a565 s3-printing: Removed unused printfsp.c.
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:13 -04:00
Simo Sorce
38d6274864 s3-smbd: Added code to print via spoolss. 2010-07-27 10:27:12 -04:00
Volker Lendecke
75db0f0a63 s3: Early start of an async nbench
The current nbench implementations have the problem that they fork a child
per simulated client. With hundreds or thousands of clients this can put
quite some load on the client. This test (when finished) will read the
standard dbench client.txt and run completely async from within one
process.

Volker
2010-07-26 23:10:39 +02:00
Simo Sorce
e958b39042 s3-auth: Move auth_ntlmssp wrappers in their own file
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-20 15:52:31 +10:00
Simo Sorce
628b57ca37 s3-dcerpc: Move common cli/srv functions into a common file 2010-07-17 15:01:11 -04:00
Günther Deschner
feb21905cb s3-build: add LIBNDR_XATTR_OBJ.
Guenther
2010-07-17 00:37:08 +02:00
Simo Sorce
f4c6c7e7b8 Move the remnants of rpc_parse code under registry/
The registry code is the only last user of this code.
Move everything under registry/ and hope someone will get rid od
it completely from there in the future.

Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16 01:51:18 +02:00
Simo Sorce
67b6fe3dc3 s3-misc: Move smb_io_time() to regfio.c
This is the last file using this function and we do not want anyone
else to keep using hand marshalled stuff anyway.
So make it also private to that file.

Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16 01:51:18 +02:00
Simo Sorce
bd19c964d5 s3-dcerpc: Move common helpers into a common file
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16 01:51:17 +02:00
Simo Sorce
8246214e7e s3-dcerpc: Remove unused functions and headers
parse_rpc.c is dead, long live parse_rpc.c !

Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16 01:51:16 +02:00
Günther Deschner
ea66d8e4a5 s3-dcerpc: link against ../librpc/rpc/dcerpc_util.c
Guenther

Signed-off-by: Simo Sorce <idra@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13 14:44:09 +02:00
Andreas Schneider
5b5ee73ece s3-build: Add a gdbtestenv environment for Samba3.
This will open 3 xterms; smbd with gdb, winbind with gdb and a window to
run client commands.

Example: make gdbtestenv SMBD_OPTIONS="-d2"
2010-07-09 15:42:34 +02:00
Günther Deschner
8def236f18 s3-libgpo: remove handmarshalled PReg parser from registry CSE.
Guenther
2010-07-07 15:27:11 +02:00
Günther Deschner
5f92bd863c s3-registry: add preg.idl.
Guenther
2010-07-07 15:27:04 +02:00
Günther Deschner
2c1279f454 s3-build: some makefile cosmetics.
Guenther
2010-07-07 13:51:29 +02:00
Günther Deschner
2356496ac6 s3-build: add IDL_FILES variable.
Guenther
2010-07-07 13:51:29 +02:00
Günther Deschner
293d3eb545 s3-selftest: add "make testenv" target to Makefile.
Guenther
2010-07-06 20:07:32 +02:00
Andreas Schneider
bec184048e s3-winbind: Added a common rpc_enum_dom_groups function. 2010-07-05 15:59:09 +02:00
Andreas Schneider
692cc06f0c s3-winbind: Rename winbindd_rpc.c to winbindd_msrpc.c. 2010-07-05 15:59:08 +02:00
Andreas Schneider
e1c4b5bbe9 s3-winbind: Replace the passdb backend with a samr/lsa based backend. 2010-07-05 15:59:08 +02:00
Andreas Schneider
cc3d9dd042 s3-winbind: Added a skeleton for samr based functions.
The goal is to replace the passdb backend later.
2010-07-05 15:59:05 +02:00
Andreas Schneider
9fa7239907 s3-winbind: Initialize the server_info on winbindd start. 2010-07-05 15:59:05 +02:00
Günther Deschner
b37db757b6 s3-build: add idl_full to Makefile.
Guenther
2010-07-05 15:41:34 +02:00
Volker Lendecke
23790c9a8f s3: Add sconn_server_id() 2010-07-05 11:06:24 +02:00
Volker Lendecke
8c0fbc4107 s3: Fix bug 7336: Enable idmap_passdb module build as shared 2010-07-04 10:04:25 +02:00
Günther Deschner
786198e523 s3-registry: remove unused reg_util_marshalling code.
Guenther
2010-07-02 10:50:21 +02:00
Günther Deschner
6625aada81 s3-libsmb: move change_trust_account_password out of smbd into libsmb.
Guenther
2010-06-30 21:46:08 +02:00
Günther Deschner
fe90496ce5 s3-build: allow to build bin/ndrdump4 (just as bin/smbtorture4)
Jelmer, please check.

Guenther
2010-06-16 14:42:23 +02:00
Simo Sorce
cbda0369a8 s3:winbindd use common server context functions 2010-06-10 17:30:45 -04:00
Simo Sorce
5e576a53ab s3:lib make server contexts generic
Pair-programmed-with: Andreas Schneider <asn@samba.org>
2010-06-10 17:30:45 -04:00
Simo Sorce
22e9015e97 s3:rpc handles are used by all pipes, use better name 2010-06-07 17:25:48 -04:00
Andreas Schneider
15f64af8e3 s3-rpc: Create a file with all functions for a internal named pipe.
This makes it possible to use the samr rpc server in winbind without
linking in smbd.

Reviewed-by: Simo Sorce <idra@samba.org>
2010-06-04 12:12:50 -04:00
Andreas Schneider
3344adc340 s3-rpc: Seperate rpc_srv_register for plain connection.
This will make it possible to create plain rpc named pipe connnections.

Reviewed-by: Simo Sorce <idra@samba.org>
2010-06-04 12:12:43 -04:00
Andreas Schneider
9097bdddd0 s3-auth: Moved smbd user functions to a generic place.
Reviewed-by: Simo Sorce <idra@samba.org>
2010-06-04 12:12:37 -04:00
Björn Jacke
e8576ef9f4 ѕ3:Makefile: use PIC instead of PIE flags for shared libs
otherwise shared lib builds are broken on some platforms
2010-06-04 00:57:38 +02:00
Günther Deschner
4b342b73a6 s3-build: pure cosmetics, use better names for gen_ndr code pieces.
Guenther
2010-06-03 11:00:27 +02:00
Volker Lendecke
95863bfb5e s3: Add vfs_linux_xfs_sgid
http://oss.sgi.com/bugzilla/show_bug.cgi?id=280 shows an old Linux XFS bug that
still exists: Under certain circumstances the SGID bit is not inherited.
2010-06-02 12:30:51 +02:00
Andrew Bartlett
dfb206f47e s3:param Put 'server_role' functions in another file.
Andrew Bartlett

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-06-01 17:11:24 +10:00
Andrew Bartlett
62708fbd1b s3:ntlmssp Move ntlmssp_sign.c from source3 to common code.
This needs a small re-arrangement of the supporting code.

Andrew Bartlett

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-31 15:11:36 +02:00
Björn Jacke
a1b44f4335 s3: set pthread cflags in a more portable fashion
this avoids one place of a GNU make dependency.

Portable make sucks a bit as it has no way of defining variables for a limited
set of targets only. Manual duplication of target rules is the only way to
achieve what we need.

If someone actually knows a trick how to do this without target duplication,
let me know.
2010-05-30 16:25:28 +02:00
Björn Jacke
30c74cfa49 Revert "s3: Attempt to fix the non-gnumake build"
This reverts commit 086c6c0e9a, it broke some
builds. The following commit should also remove the gmake dependency.
2010-05-30 16:25:28 +02:00
Andrew Bartlett
539ef13bfe s3:lib split out global workgroup and netbios name functions.
Having these in their own file allows easier selective inclusion.

Andrew Bartlett

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-28 18:08:27 +02:00
Andrew Bartlett
6f279de0e6 s3:smbd split reload services/printers functions from server.c
This helps vfstest, as it previously had duplicate copies of these
functions.

Andrew Bartlett

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-28 18:08:26 +02:00
Andrew Bartlett
8bc32513da s3:smbd split smbd/server.c into smbd/server.c and smbd/server_exit.c
Andrew Bartlett

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-28 18:08:25 +02:00
Stefan Metzmacher
4afa54fd53 s3:Makefile.in: add npa_tstream.o to the build of smbd
metze
2010-05-27 07:13:58 +02:00
Günther Deschner
2807ab358e s3-samr: move chgpasswd.c out of smbd and into the samr server.
Guenther
2010-05-26 22:17:02 +02:00
Björn Jacke
9b1daa78cf s3:Makefile: add missing linker flags for smbfilter
this should fix the AIX build
2010-05-26 17:23:28 +02:00
Björn Jacke
60cba59ff8 s3:Makefile: fix a typo in flag variable name 2010-05-26 17:23:28 +02:00
Michael Adam
36b74e03cf s3:registry: rename lib/util_reg_api.c to registry/reg_util_marshalling.c 2010-05-25 10:35:27 +02:00
Michael Adam
773255ba50 s3:registry: rename reg_util.{c,h} to reg_util_internal.{c,h} 2010-05-25 10:35:27 +02:00
Michael Adam
e3f7fab668 s3:registry: move registry_create_admin_token() to new reg_util_token.c 2010-05-25 10:35:26 +02:00
Björn Jacke
4c659433c0 s3:Makefile: set PIE flags also for nss_winbind 2010-05-24 13:51:28 +02:00
Björn Jacke
5f0a2a15d8 s3:Makefile: position independency is also needed for shared libs 2010-05-24 12:25:02 +02:00
Björn Jacke
857ca4176a s3:build: don't use pieflags twice - ldflags already have them 2010-05-24 12:24:56 +02:00
Volker Lendecke
9d1a08032b s3: Next step to fix the build on OpenSolaris 2010-05-23 00:15:49 +02:00
Volker Lendecke
086c6c0e9a s3: Attempt to fix the non-gnumake build
Björn, please check!
2010-05-22 20:06:16 +02:00