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