Andreas Schneider
61c53ebbc1
s3-waf: Link msgtest only against needed subsystems.
2012-01-25 11:58:28 +01:00
Andreas Schneider
7d10eb7430
s3-waf: Link maketest only against needed subsystems.
2012-01-25 11:58:28 +01:00
Andreas Schneider
1fb2ef78c4
s3-waf: Link smbconftort only against needed subsystems.
2012-01-25 11:58:28 +01:00
Andreas Schneider
74d24fa08f
s3-waf: Link nmblookup only against needed subsystems.
2012-01-25 11:58:28 +01:00
Andreas Schneider
e9b64f0ac0
s3-waf: Link nmblookup only against needed subsystems.
2012-01-25 11:58:28 +01:00
Andreas Schneider
1fa80f0f29
s3-waf: Link smbget only against needed subsystems.
2012-01-25 11:58:28 +01:00
Andreas Schneider
6f6fb03180
s3-waf: Link pdbedit only against needed subsystems.
2012-01-25 11:58:28 +01:00
Andreas Schneider
dd1b548152
s3-waf: Link smbpasswd only against needed subsystems.
2012-01-25 11:58:28 +01:00
Andreas Schneider
ff8a1f7384
s3-waf: Link smbtree only against needed subsystems.
2012-01-25 11:58:28 +01:00
Andreas Schneider
a07b711bc5
s3-waf: Link smbstatus only against needed subsystems.
2012-01-25 11:58:28 +01:00
Andreas Schneider
05864b08cc
s3-waf: Link smbstatus only against needed subsystems.
2012-01-25 11:58:28 +01:00
Andreas Schneider
47da01a487
s3-waf: Link smbta-util only against needed subsystems.
2012-01-25 11:58:28 +01:00
Andreas Schneider
cd035436df
s3-waf: Link testparm only against needed subsystems.
2012-01-25 11:58:28 +01:00
Andreas Schneider
3e4e84a8ff
s3-waf: Link smbspool only against needed subsystems.
2012-01-25 11:58:28 +01:00
Andreas Schneider
0871a1b212
s3-waf: Link profiles only against needed subsystems.
2012-01-25 11:58:28 +01:00
Andreas Schneider
1d6841decd
s3-waf: Link net only against needed subsystems.
2012-01-25 11:58:28 +01:00
Andreas Schneider
84e2a6e632
s3-waf: Link smbclient only against needed subsystems.
2012-01-25 11:58:28 +01:00
Andreas Schneider
2d667bac3f
s3-waf: Link rpcclient only against needed subsystems.
2012-01-25 11:58:28 +01:00
Andreas Schneider
17000133f8
s3-waf: Link swat only against needed subsystems.
2012-01-25 11:58:28 +01:00
Andreas Schneider
dd91f0be88
s3-waf: Add missing dependencies to PASSCHANGE.
2012-01-25 11:58:28 +01:00
Andreas Schneider
feab59eb1a
s3-waf: Add missing dependencies to LOCKING.
2012-01-25 11:58:27 +01:00
Andreas Schneider
2edf42a8db
s3-waf: Link winbindd only against needed subsystems.
2012-01-25 11:58:27 +01:00
Andreas Schneider
005d370a8a
s3-waf: Link nmbd only against needed subsystems.
2012-01-25 11:58:27 +01:00
Andreas Schneider
9b71a80316
s3-waf: Link libcli_lsa3 only against needed subsystems.
2012-01-25 11:58:27 +01:00
Andreas Schneider
f83efa73aa
s3-waf: Link errors3 only against needed subsystems.
2012-01-25 11:58:27 +01:00
Andreas Schneider
7b9716d20d
s3-waf: Link tdb-wrap3 only against needed subsystems.
2012-01-25 11:58:27 +01:00
Andreas Schneider
3ee8b7ac54
s3-waf: Link trusts_util only against needed subsystems.
2012-01-25 11:58:27 +01:00
Andreas Schneider
abc0f11350
s3-waf: Remove dead subsystem LIBNBT.
2012-01-25 11:58:27 +01:00
Andreas Schneider
9321db0c74
s3-waf: Link LIBNET_DSSYNC only against needed subsystems.
2012-01-25 11:58:27 +01:00
Andreas Schneider
0f4031e52f
s3-waf: Link LIBNET only against needed subsystems.
2012-01-25 11:58:27 +01:00
Andreas Schneider
72e3252902
s3-waf: Link smbd_base only against needed subsystems.
2012-01-25 11:58:27 +01:00
Andreas Schneider
2efb390ab1
s3-waf: Link libsmb only against needed subsystems.
2012-01-25 11:58:27 +01:00
Andreas Schneider
b1d5dc9195
s3-waf: Link LIBNTLMSSP only against needed subsystems.
2012-01-25 11:58:27 +01:00
Andreas Schneider
a445051449
s3-waf: Remove LIBSMB_ERR completely.
2012-01-25 11:58:27 +01:00
Andreas Schneider
00aa8ef7ff
s3-waf: Link samba3core against needed subsystems.
2012-01-25 11:58:27 +01:00
Andreas Schneider
f6c3eab2a6
s3-waf: Don't link param_service against USER_UTIL twice.
2012-01-25 11:58:27 +01:00
Andreas Schneider
6822baa292
s3-waf: Link param only against needed subsystems.
2012-01-25 11:58:27 +01:00
Andreas Schneider
f77680de22
s3-waf: Add missing depcendencies to smbconf.
2012-01-25 11:58:27 +01:00
Andreas Schneider
b111375b4c
s3-waf: Remove unneeded PARAM_UTIL dependency.
2012-01-25 11:58:26 +01:00
Andreas Schneider
823d32dabd
s3-waf: Replace LIBMSRPC_GEN just with ndr-standard.
...
There is no need to link against dssetup and spoolss.
2012-01-25 11:58:26 +01:00
Andreas Schneider
8b72c6bfaa
s3-waf: Link nss_wins only against needed subsystems.
2012-01-25 11:58:26 +01:00
Andreas Schneider
37e8286a8b
s3-waf: Link smbclient only against needed subsystems.
2012-01-25 11:58:26 +01:00
Andreas Schneider
7945deb238
s3-waf: Link netapi only against needed subsystems.
2012-01-25 11:58:26 +01:00
Andreas Schneider
390734acca
lib: Remove dead mszip code.
...
RIP, long live zlib.
2012-01-25 11:58:26 +01:00
Andrew Bartlett
1b6356298c
s3-libsmb Use the gse_krb5 gensec module as client
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-18 16:23:22 +01:00
Andrew Bartlett
60e1aa701c
s3-build: Rework object lists to allow gse gensec module
...
This also allows the spnego_parse_krb5_wrap() function to be shared.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-18 16:23:22 +01:00
Günther Deschner
e75c436fe6
s3-passdb: trying to decouple passdb and secrets a little.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Jan 18 14:46:18 CET 2012 on sn-devel-104
2012-01-18 14:46:18 +01:00
Günther Deschner
91c04ea04f
s3-waf: fix compile of pdb_ldap as shared module by moving ldap schema helpers to libpdb.so
...
These helpers are used in other parts of Samba as well (like in idmap and in the
net provision code).
Guenther
2012-01-13 09:29:07 +01:00
Volker Lendecke
6f9442a705
s3: Move the share_mode_lock handling to its own file
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-01-12 23:59:22 +01:00
Andreas Schneider
ad6d8a526e
s3-waf: link SECRETS3 only against samba3util.
2012-01-12 15:55:46 +01:00
Andreas Schneider
9bafbf9994
s3-waf: Create a smaller samba3util subsystem.
2012-01-12 15:55:46 +01:00
Andrew Bartlett
138121c516
s3-libsmb: split out auth_generic client functions into auth_generic.c
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-11 09:04:56 +01:00
Günther Deschner
aa3fcbbd75
s3-waf: rpcclient does not need libads.so.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Jan 9 12:06:06 CET 2012 on sn-devel-104
2012-01-09 12:06:05 +01:00
Volker Lendecke
0d0141893e
s3: Add a test excercising the share mode cleanup routine
2012-01-05 13:09:36 +01:00
Stefan Metzmacher
cbb67e9e2e
s3:smbd: remove unused sconn_server_id()
...
metze
2011-12-16 13:19:33 +01:00
Stefan Metzmacher
715933a3d3
s3:smbd: split ID_CACHE_* message handling into parent and child parts
...
metze
2011-12-15 08:16:31 +01:00
Andrew Bartlett
c9d929af8b
s4-lsarpc handle more info levels in SetInfoTrustedDomain calls
...
This uses the very helpful conversion functions written for the s3 lsa server
and places these in common.
Andrew Bartlett
2011-12-12 12:57:07 +01:00
Jelmer Vernooij
05bc4de083
Revert making public of the samba-module library.
...
This library was tiny - containing just two public functions than were
themselves trivial. The amount of overhead this causes isn't really worth the
benefits of sharing the code with other projects like OpenChange. In addition, this code
isn't really generically useful anyway, as it can only load from the module path
set for Samba at configure time.
Adding a new library was breaking the API/ABI anyway, so OpenChange had to be
updated to cope with the new situation one way or another. I've added a simpler
(compatible) routine for loading modules to OpenChange, which is less than 100 lines of code.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Dec 3 08:36:33 CET 2011 on sn-devel-104
2011-12-03 08:36:30 +01:00
Gregor Beck
789aa9aab2
s3:registry: do not use regdb functions during db upgrade
...
It is importante to not use the database backend implementation
in the upgrade. Otherwise this would only work as long as this
is the newset version. In future versions of the registry, this
(then) intermediate upgrade step would change in behaviour and not
work as expected any more.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-12-03 03:48:31 +01:00
Jeremy Allison
ecd0e86928
Update the waf build system to link with the new PIDL locking code.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Dec 3 00:14:54 CET 2011 on sn-devel-104
2011-12-03 00:14:54 +01:00
Volker Lendecke
1c46fb5c3e
s3: Use autogenerated open_files.idl
2011-12-02 22:43:05 +01:00
Stefan Metzmacher
f60b768df4
s3:smb2cli: remove unused smb2cli_negprot()
...
metze
2011-11-24 19:02:32 +01:00
Stefan Metzmacher
349977e1a0
s3:smb2cli: replace smb2cli_base.c code with the more generic smbXcli_base.c code
...
metze
2011-11-24 19:02:30 +01:00
Günther Deschner
ad728b25eb
s3-waf: remove version from libpdb.so for now.
...
Guenther
2011-11-21 12:55:04 +01:00
Andrew Bartlett
9524e2fce1
param: calculate server role from security, and security from server role
...
This allows smb.conf files from either the samba3 or samba4 tradition
to come to the same value of server role, using the information in the
smb.conf file.
This is important so that tools like 'net getlocalsid' work against a
Samba4 AD installation (yes, users have tried this).
Andrew Bartlett
Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
2011-11-17 00:34:08 +01:00
Günther Deschner
693781db89
s3-waf: create a smbldap.so library.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Nov 16 14:03:05 CET 2011 on sn-devel-104
2011-11-16 14:03:05 +01:00
Günther Deschner
28f8ccbe8b
s3: move smbldap_util to pdb_ldap_util.
...
Guenther
2011-11-16 12:26:26 +01:00
Günther Deschner
6e67073900
waf: convert NDR_NBT into shared library.
...
Guenther
2011-11-03 18:35:09 +01:00
Günther Deschner
72879f491f
nbt: merge in LIBCLI_NDR_NETLOGON helper into NDR_NBT.
...
Guenther
2011-11-03 18:35:08 +01:00
Günther Deschner
e426f37b64
librpc: only let NDR_NBT depend on NDR_NBT_BUF.
...
Guenther
2011-11-03 18:35:08 +01:00
Günther Deschner
1c72d3b513
s3-waf: convert libcli_netlogon3 into a private library.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Nov 2 18:34:55 CET 2011 on sn-devel-104
2011-11-02 18:34:54 +01:00
Günther Deschner
54f7667f49
s3-waf: move trusts_util.c code into a private library.
...
Guenther
2011-11-02 16:59:32 +01:00
Günther Deschner
973e047a94
s3-waf: convert libnet_keytab into a private library.
...
Guenther
2011-11-02 16:59:32 +01:00
Günther Deschner
1926114358
s3-waf: fix libgpo.so library name.
...
Guenther
2011-11-02 16:59:32 +01:00
Andrew Bartlett
87354c9a6d
lib/util Split samba-modules library into public and private parts
...
This will allow OpenChange to get at the symbols it needs, without
exposing any more of this as a public API than we must.
Andrew Bartlett
2011-10-28 13:10:28 +02:00
Andrew Bartlett
f31fd31b71
s3-torture run t_strappend tests as LOCAL-sprintf_append
2011-10-28 13:10:28 +02:00
Andreas Schneider
32fb9017ea
s3-waf: Don't link uid_wrapper more than once.
...
The uid_wrapper is linked in globally by default if enabled.
2011-10-27 13:32:02 +02:00
Andrew Bartlett
50e7a8767f
torture: Remove unused smbiconv
...
smbiconv is not used in any test script, and has only had changes
since being introduced by Jelmer to keep it building.
It is also not installed on the system. I have also checked with
Jelmer, who approved the removal.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-25 17:58:33 +02:00
Stefan Metzmacher
1fa7300037
libcli/smb: move smb_signing.[ch] to the toplevel
...
metze
2011-10-25 01:47:21 +02:00
Stefan Metzmacher
7ebd4337ac
libcli/smb: move source3/libsmb/read_smb.* to the toplevel
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Oct 24 10:18:06 CEST 2011 on sn-devel-104
2011-10-24 10:18:06 +02:00
Stefan Metzmacher
75d146d3ed
libcli/smb: move smb_seal.c to the toplevel
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Oct 21 10:22:39 CEST 2011 on sn-devel-104
2011-10-21 10:22:39 +02:00
Andrew Bartlett
1af128bd2b
build: compile (but do not install) netapi examples
...
The only example not yet built is the GTK domain join gui.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Oct 21 01:31:55 CEST 2011 on sn-devel-104
2011-10-21 01:31:55 +02:00
Andrew Bartlett
06d138a7d9
s3-netapi Compile (but do not install) netapi tests
2011-10-20 12:17:07 +02:00
Günther Deschner
ce45ae122e
s3-waf: make sure we always compile (not install) our libsmbclient testcode.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Oct 19 20:42:52 CEST 2011 on sn-devel-104
2011-10-19 20:42:51 +02:00
Andrew Tridgell
d226acd97a
libsmbclient: add ABI checking and pc file
...
this gives us ABI checking for libsmbclient so that the waf build will
prevent ABI breakage, and a public version number. The addition of the
pc file makes this library available via pkgconfig, including querying
of the version number
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-10-18 11:24:55 +11:00
Günther Deschner
b96a9e1c5b
s3-waf: make sure we always build example pdb modules with --enable-developer.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Oct 17 17:39:36 CEST 2011 on sn-devel-104
2011-10-17 17:39:36 +02:00
Günther Deschner
235f78aa95
s3-waf: make sure we always build example auth modules with --enable-developer.
...
Guenther
2011-10-17 15:54:17 +02:00
Volker Lendecke
2a2dd6ff5e
s3: Before adding KDC's to the krb5.conf, cldap ping them
...
Some Kerberos libraries don't do proper failover. This fixes the situation
where a KDC exists in DNS but is not reachable for some reason.
Ported to master by Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Oct 17 11:25:37 CEST 2011 on sn-devel-104
2011-10-17 11:25:36 +02:00
Günther Deschner
69da026fd2
s3-waf: install passdb headers.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Oct 14 13:37:38 CEST 2011 on sn-devel-104
2011-10-14 13:37:38 +02:00
Gregor Beck
502f0b8edc
s3:net: add command registry check
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12 22:45:53 +02:00
Günther Deschner
49eba95b2b
s3-waf: make sure we build example vfs modules with --enable-developer.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Oct 11 21:22:55 CEST 2011 on sn-devel-104
2011-10-11 21:22:55 +02:00
Stefan Metzmacher
85da480c64
s3:wscript: add 'gssapi' dependecy to 'errors3'
...
metze
2011-10-11 12:43:04 +02:00
Andrew Bartlett
fe02752ed6
auth: move gensec_start.c to the top level
...
This does not change who uses gensec for now, but makes it possible to
write new gensec modules outside source4/
Andrew Bartlett
2011-10-11 13:41:36 +11:00
Andrew Bartlett
078db8f6c9
build: build wbinfo only once in the waf build
...
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Sat Oct 8 04:52:03 CEST 2011 on sn-devel-104
2011-10-08 04:52:03 +02:00
Andrew Bartlett
820fe8acca
build: remove double-setting of build_public_headers
...
The top level build already sets this, so we do not need to set it twice.
Andrew Bartlett
2011-10-08 03:19:25 +02:00
Andrew Bartlett
50c8d3813c
build: s3 public headers appear to be correct now
...
The build now passes without this setting, so remove it to ensure we
do this check in future.
Andrew Bartlett
2011-10-08 03:19:25 +02:00
Stefan Metzmacher
f6eb85c952
s3:msdfs: implement setup_dfs_referral() on top of SMB_VFS_GET_DFS_REFERRALS()
...
metze
2011-10-08 01:43:38 +02:00
Andrew Bartlett
36b2227eca
ldb: use ldb directly rather than via a copy
...
This avoids needing to manually sync the two files, which due to the
top level build must be API compatible at all times anyway.
The most important recent change was:
commit e3b76bd620
Author: Andrew Tridgell <tridge@samba.org>
Date: Thu Jul 28 15:51:31 2011 +1000
ldb: fixed a search expression parse bug
However, as we always control the search expression in the callers to
this code, no backport to other releases is required.
Andrew Bartlett
2011-10-07 17:45:20 +11:00
Andrew Bartlett
055f017b36
build: Reduce build systems to just top level waf and autoconf
...
The s3-waf build system is a key component of the top level build, but
with this commit is is no longer available directly. This reduces the
number of build system combinations in master as we prepare for the
Samba 4.0 release.
Andrew Bartlett
2011-10-07 17:42:03 +11:00
Stefan Metzmacher
ceb831c2cc
s3:lib: remove unused/empty modules.c
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Oct 6 15:23:45 CEST 2011 on sn-devel-104
2011-10-06 15:23:45 +02:00
Volker Lendecke
1184e7de59
s3: Use the uid_wrapper
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
2011-10-06 12:15:27 +02:00
Andrew Bartlett
7d33ec3dfe
lib/util: consolidate module loading into common code
...
This creates a samba-modules private libary that handles the details.
Andrew Bartlett
2011-10-06 07:18:07 +02:00
Günther Deschner
e30e7a6ec0
s3-waf: remove explicit linking to SMBLDAP subsystem.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Oct 4 14:39:57 CEST 2011 on sn-devel-104
2011-10-04 14:39:57 +02:00
Richard Sharpe
595cc42a46
Add the new test_nttrans_fsctl.c to waf
...
Autobuild-User: Richard Sharpe <sharpe@samba.org>
Autobuild-Date: Sat Oct 1 19:36:53 CEST 2011 on sn-devel-104
2011-10-01 19:36:53 +02:00
Matthias Dieter Wallnöfer
caacdb0cf1
s3:wscript_build - add dependency on "tdb-wrap3" for libnet dssync
...
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Fri Sep 30 16:40:12 CEST 2011 on sn-devel-104
2011-09-30 16:40:12 +02:00
Andrew Bartlett
deede4616e
build: Add dep on tdb-wrap3 to get tdb headers
...
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
2011-09-30 15:07:26 +02:00
Michael Adam
4d30fd8c51
s3:dbwrap_tool: add popt support and standard samba options
2011-09-20 06:28:28 +02:00
Günther Deschner
bd5445ee4f
waf: restore libsmbclient handling.
...
This is a temporary solution to get libsmbclient installed properly as a library
(including symlinks and proper symbols). I was not able to make the old internal
library name 'libsmb/smbclient' work together with "realname" and/or "link_name".
Maybe one of the waf gurus has more ideas here.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Sep 15 15:31:59 CEST 2011 on sn-devel-104
2011-09-15 15:31:59 +02:00
Sumit Bose
456aee80f5
s3-lsa: Add conversion for auth info structs
...
struct lsa_TrustDomainInfoAuthInfo and struct
trustAuthInOutBlob can store the same information for different usage. The added
routines can convert one struct into the other.
Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Sep 12 15:52:17 CEST 2011 on sn-devel-104
2011-09-12 15:52:17 +02:00
Andrew Bartlett
3346af1675
build: netapi does not depend on TOKEN_UTIL
...
This means we avoid dupliate symbols between libgpo and netapi.
Andrew Bartlett
2011-09-08 19:33:13 +10:00
Amitay Isaacs
78c2eca811
build: Replace mkbuildoptions-waf awk script with waf target
2011-09-07 12:16:40 +02:00
Stefan Metzmacher
0ed0a66956
libcli/smb: move smb2_signing.c to the toplevel
...
metze
2011-09-05 13:17:32 +02:00
Günther Deschner
fb8d63bf82
s3-waf: convert libgpo into a private library.
...
Guenther
2011-08-31 18:20:41 +02:00
Stefan Metzmacher
3b9feedd48
s3-build: move libsmb/clisigning.c to LIBSMB_SRC
...
It's only needed in the client library.
metze
2011-08-30 22:21:36 +02:00
Vicentiu Ciorbaru
283da12a73
s3-net: Added the command rpc conf to the net binary.
...
The net binary now has an extra item linked to it, the
net_rpc_conf.c module.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-08-22 13:59:24 +02:00
Andreas Schneider
177db0a880
s3-id_cache: Move id caches mgmt out of smbd
...
We must leave the MSG_IDMAP_KILL operation in SMBD as it uses smbd
specific internal globals and makes sense only in the context of a smbd
daemon.
The rest is moved under lib/ as we need to deal with id cache cleanups
in other daemons too (like lsasd).
Signed-off-by: Simo Sorce <idra@samba.org>
2011-08-21 09:08:25 -04:00
Andreas Schneider
5de61e655c
s3-waf: Fix build with lsasd.
...
Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Simo Sorce <idra@samba.org>
2011-08-21 09:05:04 -04:00
Simo Sorce
3451f423d6
s3-prefork: Add common utilities for daemons
...
Daemons using the prefork infrastructure may want to use these utils to
configure and manage a pool of children.
Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Simo Sorce <idra@samba.org>
2011-08-21 09:05:04 -04:00
Jelmer Vernooij
12e1fdf089
wafsamba: Require public libraries to have a pc file specified, or explicitly specified that they don't need one.
2011-08-21 03:22:05 +02:00
Andrew Bartlett
043c521932
build: link pys3param against pytalloc-util not pytalloc
...
pytalloc is the python module, pytalloc-util is the library that we can depend on
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Aug 15 09:54:02 CEST 2011 on sn-devel-104
2011-08-15 09:54:02 +02:00
Amitay Isaacs
6d139d6b0f
s3-param: Add python wrapper for s3 parameters
...
This provids a get_context() method to return s3 context as s4 context type.
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-08-13 12:30:50 +10:00
Simo Sorce
4fef4fe498
s3-prefork: implement prefork framework
...
Primarily built for forked off rpc service daemons, but not tied to rpc
services and generic enough to be used elsewhere easily.
Signed-off-by: Andreas Schneider <asn@samba.org>
2011-08-10 18:14:03 +02:00
Andrew Bartlett
dd49eb87ce
build: rename rpcommon to dcerpc-binding an make a public library
...
OpenChange needs this library.
Andrew Bartlett
2011-08-08 13:34:06 +02:00
Andrew Bartlett
af5f494bd2
build: provide tevent-util as a public library
...
This is needed so that OpenChange can get at _tevent_req_nterr(), which is referenced
by generated PIDL output.
Andrew Bartlett
2011-08-08 13:34:06 +02:00
Andrew Bartlett
d69843c908
s3-ntlmssp Add hooks to optionally call into GENSEC in auth_ntlmssp
...
This allows the current behaviour of the NTLMSSP code to be unchanged
while adding a way to hook in an alternate implementation via an auth
module.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-03 18:48:03 +10:00
Simo Sorce
2e8a85ec72
s3:smbd - Move printing queue stuff
...
This way we can properly deal with pcap updates in the background queue process
if it is enabled (on by default) and not perform these actions in the main
smbd process.
Signed-off-by: Günther Deschner <gd@samba.org>
2011-08-02 15:28:03 +02:00
Günther Deschner
51481c5912
s3-secrets: add lsa_secret passdb api.
...
Guenther
2011-07-31 22:37:26 +02:00
Michael Adam
0b5c4a601a
s3:dbwrap: move all .c and .h files of dbwrap to lib/dbwrap/
...
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Fri Jul 29 13:34:22 CEST 2011 on sn-devel-104
2011-07-29 13:34:22 +02:00
Michael Adam
d4c93ca721
s3-waf: replace the dbwrap_util library by a dbwrap library that contains the dbwrap core
2011-07-29 12:23:13 +02:00
Michael Adam
1abdd9b2bb
s3:dbwrap: move db_open() to a file dbwrap_open.c of its own.
...
Also start new folder lib/dbwrap/ where dbwrap_open.c is stored and
make the fallbacke implementation functoins non-static and create a
dbwrap_private.h header file that contains their prototypes.
2011-07-29 12:23:13 +02:00
Andrew Tridgell
356a2cc0b0
s3-waf: the passdb subsystem needs to be called pdb
...
the 'pdb' name is builtin to the passdb module loading code as a fixed
string. We need to call the subsystem pdb so that external passdb
modules end up in bin/modules/pdb/ where they can be found by the
Samba3 module loader
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-07-28 15:20:51 +10:00
Jelmer Vernooij
3ce1894ff8
s3-build: Only define ldb3 when not in standalone build.
...
This prevents errors about it by 'make SYMBOLCHECK=1' if there is a
system ldb present.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Jul 26 18:21:48 CEST 2011 on sn-devel-104
2011-07-26 18:21:48 +02:00
Jelmer Vernooij
ac57cfda9d
libsamba-util: Build in libbitmap.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Jul 26 14:45:27 CEST 2011 on sn-devel-104
2011-07-26 14:45:26 +02:00
Jelmer Vernooij
23cbfef542
cli_smb_common: Lowercase name.
2011-07-26 13:31:08 +02:00
Jelmer Vernooij
08785dd73d
cli_cldap: Lowercase name.
2011-07-26 13:31:08 +02:00
Jelmer Vernooij
8a6bc7331b
cli_spools: Lowercase name.
2011-07-26 13:31:08 +02:00
Jelmer Vernooij
0397b2ef30
charset: Make name lowercase everywhere.
2011-07-23 22:08:10 +02:00
Andreas Schneider
15e017deb0
s3-waf: Don't link LIBNTLMSSP twice.
...
It is already linked in libsmb.
2011-07-13 14:09:35 +02:00
Günther Deschner
f4add4fbf5
s3-waf: split out LIBCLI_WINREG_INTERNAL as LIBCLI_WINREG was pulling in rpc server code in undesired places.
...
Andreas, please check.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Jul 8 18:34:44 CEST 2011 on sn-devel-104
2011-07-08 18:34:43 +02:00
Andrew Bartlett
cda8686940
lib/param: Merge struct loadparm_service into common
...
This is handled by a common header and a .c file that is included into
both loadparm.c files.
In the process, _lp functions were renamed to lp__ to allow the common
function definition declarations to be used by source3 and source4
(which have different macro definitions).
The only parameter to change type is 'strict_locking' which was a
bool, and is now an int, to accommodate the 'Auto' value from source3.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Jul 8 12:35:56 CEST 2011 on sn-devel-104
2011-07-08 12:35:56 +02:00
Andrew Bartlett
6e6aaacedb
lib/util Move bitmap.c to lib/util
2011-07-08 11:23:23 +02:00
Stefan Metzmacher
ef64048038
s3:wscript_build: remove unused variable
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Jul 8 02:43:22 CEST 2011 on sn-devel-104
2011-07-08 02:43:21 +02:00
Stefan Metzmacher
67ac266ae8
s3:torture: add SMB2-BASIC
...
Based on the initial patch from Volker Lendecke <vl@samba.org>.
metze
2011-07-08 01:22:22 +02:00
Stefan Metzmacher
fdd6c4e673
s3:libsmb: add smb2cli_query_directory*()
...
Based on the initial patch from Volker Lendecke <vl@samba.org>.
metze
2011-07-08 01:22:21 +02:00
Stefan Metzmacher
548f7d3f36
s3:libsmb: add smb2cli_write*()
...
Based on the initial patch from Volker Lendecke <vl@samba.org>.
metze
2011-07-08 01:22:21 +02:00
Stefan Metzmacher
22859b0e89
s3:libsmb: add smb2cli_read*()
...
Based on the initial patch from Volker Lendecke <vl@samba.org>.
metze
2011-07-08 01:22:21 +02:00
Stefan Metzmacher
d82be9588a
s3:libsmb: add smb2cli_flush*()
...
Based on the initial patch from Volker Lendecke <vl@samba.org>.
metze
2011-07-08 01:22:20 +02:00
Stefan Metzmacher
40ecdeb3fb
s3:libsmb: add smb2cli_close*()
...
Based on the initial patch from Volker Lendecke <vl@samba.org>.
metze
2011-07-08 01:22:20 +02:00
Stefan Metzmacher
2abc34cb4a
s3:libsmb: add smb2cli_create*()
...
Based on the initial patch from Volker Lendecke <vl@samba.org>.
metze
2011-07-08 01:22:20 +02:00
Stefan Metzmacher
f21720773f
s3:libsmb: add smb2cli_tcon*() and smb2cli_tdis*()
...
Based on the initial patch from Volker Lendecke <vl@samba.org>.
metze
2011-07-08 01:22:19 +02:00