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

815 Commits

Author SHA1 Message Date
Volker Lendecke
74baae782f s3: Add msg_channel
This is a tevent_based variant of messaging_register
2012-04-17 10:21:01 +02:00
Volker Lendecke
48a485b639 s3: Add a second ctdb connect library
The existing one is not async at all.
2012-04-17 10:21:01 +02:00
Volker Lendecke
bd9178506e s3: Add dbwrap_cache
This is a caching layer for the notify database and potentially for the brlock
database. It caches the parse_record operation as long as the underlying seqnum
does not change.
2012-04-17 10:21:00 +02:00
Volker Lendecke
1e1b6f79b3 s3: Add infrastructure for background jobs 2012-04-17 10:21:00 +02:00
Andrew Bartlett
e715460898 s3-libads: Remove ads_verify_ticket() as it is now unused
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03 17:47:32 +02:00
Andrew Bartlett
c7d29e8cda build: Reduce deps of ntlm_auth
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03 17:47:32 +02:00
Jelmer Vernooij
5ba8adadd3 s3-waf: Use samba3-util library instead of lots of tiny libs.
The smaller libraries are currently all trivial in size and don't have
any dependencies other than samba-util.

Having lots of small private libraries is a pain for packaging,
and there isn't much advantage in this.
2012-03-24 16:42:47 +01:00
Andrew Bartlett
04593da301 build: param must require cups to get the cups headers path in -I 2012-03-15 09:29:02 +11:00
Jelmer Vernooij
26d68c3c28 samba3util: Add ccan to dependency list now that str_checksum() uses a ccan function.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Mar 14 17:55:51 CET 2012 on sn-devel-104
2012-03-14 17:55:50 +01:00
Volker Lendecke
c9870a62f5 s3: Add a new set of andx chain handling routines
This is in preparation of getting rid of chain_reply.
2012-03-10 15:34:11 +01:00
Volker Lendecke
c5c67cacd9 s3: Add a test that makes a chained open break an oplock
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Wed Feb 29 01:13:03 CET 2012 on sn-devel-104
2012-02-29 01:13:01 +01:00
Matthias Dieter Wallnöfer
0c733221cf s3:wscript_build - fix TDB dependency for source3/lib/util.c
https://bugzilla.samba.org/show_bug.cgi?id=8708

Signed-off-by: Andrew Tridgell <tridge@samba.org>

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Feb 23 01:43:04 CET 2012 on sn-devel-104
2012-02-23 01:43:04 +01:00
Andrew Bartlett
2b511f0e92 s3-librpc: Use gensec_spnego for DCE/RPC authentication
This ensures that we use the same SPNEGO code on session setup and on
DCE/RPC binds, and simplfies the calling code as spnego is no longer
a special case in cli_pipe.c

A special case wrapper function remains to avoid changing the
application layer callers in this patch.

Andrew Bartlett

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-02-16 15:18:42 +01:00
Matthieu Patou
474c02acac s3-waf: add dependency on talloc or it won't build if talloc.h is not in the default include path
The problem occurs only if talloc, tdb and ldb are used as system
libraries and talloc is not installed in a default.

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Fri Feb 10 23:27:29 CET 2012 on sn-devel-104
2012-02-10 23:27:29 +01:00
Andreas Schneider
d03ef6ad91 s3-waf: Link against tdb_compat instead of tdb. 2012-02-07 11:11:47 +01:00
Andreas Schneider
3101d9bc2d s3-libsmb: Remove dead gssapi code.
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Wed Feb  1 23:29:44 CET 2012 on sn-devel-104
2012-02-01 23:29:44 +01:00
Andreas Schneider
8080dbad78 s3-lib: Fix util_cmdline which doesn't use popt.
This creates its own header file for util_cmdline so it doesn't need to
link against popt.
This should fix linking on FreeBSD.
2012-02-01 21:54:21 +01:00
Jelmer Vernooij
b7d5d01c35 s3/wscript: Fix dependency on gssapi, necessary when there is no system Kerberos.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Feb  1 02:43:11 CET 2012 on sn-devel-104
2012-02-01 02:43:11 +01:00
Simo Sorce
e6c39a292c s3-pdb: Break SECRETS3 dependency on PDB.
This is causing circular depdnendcies that bring libpdb in all code and this is
BAD.

This change 'protects' the sid and guid of the domain by adding a special key
that makes them effectively read only.

Limit this temporarily to the samba 4 build, once it gets some good testing the
samba4 ifdefs can be dropped.

fix pdb dependencies

Signed-off-by: Andreas Schneider <asn@samba.org>
2012-01-27 18:11:10 +01:00
Andreas Schneider
2dd696a5df s3-waf: Create a subsystem for SERVER_MUTEX.
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Fri Jan 27 12:55:01 CET 2012 on sn-devel-104
2012-01-27 12:55:01 +01:00
Andreas Schneider
022c560cea s3-waf: Add missing dependency of ntlmssp to wbclient. 2012-01-27 11:20:26 +01:00
Amitay Isaacs
5bdadd1501 build: Add missing dependencies on popt
This fixes compilation issues on freebsd where system popt is installed
under /usr/local.

Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Fri Jan 27 08:33:52 CET 2012 on sn-devel-104
2012-01-27 08:33:52 +01:00
Andrew Bartlett
e203b28777 s3-build: Remove FIXME, bigballofmud is no more 2012-01-26 07:06:06 +01:00
Andreas Schneider
67126ed08c s3-waf: Reduce dependencies of winbindd.
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Wed Jan 25 13:31:19 CET 2012 on sn-devel-104
2012-01-25 13:31:19 +01:00
Andreas Schneider
c85e60bd6a s3-waf: Reduce dependencies of smbd_base. 2012-01-25 11:58:30 +01:00
Andreas Schneider
6d06a310f3 s3-waf: Fix cups dependency in PRINTING. 2012-01-25 11:58:30 +01:00
Andreas Schneider
0dcc51ef80 s3-waf: Add missing dependency to LIBNET. 2012-01-25 11:58:30 +01:00
Andreas Schneider
c4b05ec6e7 s3-waf: Reduce libsmbclient dependencies. 2012-01-25 11:58:29 +01:00
Andreas Schneider
1a4e4f0871 s3-waf: Reduce libnetapi dependencies. 2012-01-25 11:58:29 +01:00
Andreas Schneider
63c7118ae0 s3-waf: Link vlp only against needed subsystems. 2012-01-25 11:58:29 +01:00
Andreas Schneider
2fa6c5e038 s3-waf: Link split_tokens only against needed subsystems. 2012-01-25 11:58:29 +01:00
Andreas Schneider
5b8a22ec95 s3-waf: Link dbwrap_torture only against needed subsystems. 2012-01-25 11:58:29 +01:00
Andreas Schneider
9f917c08e5 s3-waf: Link dbwrap_tool only against needed subsystems. 2012-01-25 11:58:29 +01:00
Andreas Schneider
de1836f586 s3-waf: Link test_lp_load only against needed subsystems. 2012-01-25 11:58:29 +01:00
Andreas Schneider
b295da29b1 s3-waf: Link rpc_open_tcp only against needed subsystems. 2012-01-25 11:58:29 +01:00
Andreas Schneider
27630134ac s3-waf: Link ntlm_auth only against needed subsystems. 2012-01-25 11:58:29 +01:00
Andreas Schneider
1ffc082100 s3-waf: Link versiontest only against needed subsystems. 2012-01-25 11:58:29 +01:00
Andreas Schneider
dc4924b0a0 s3-waf: Link smbfilter only against needed subsystems. 2012-01-25 11:58:29 +01:00
Andreas Schneider
e0da5c955f s3-waf: Link locktest2 only against needed subsystems. 2012-01-25 11:58:29 +01:00
Andreas Schneider
273401733a s3-waf: Link vfstest only against needed subsystems. 2012-01-25 11:58:29 +01:00
Andreas Schneider
9eaeb6ceed s3-waf: Link pdbtest only against needed subsystems. 2012-01-25 11:58:29 +01:00
Andreas Schneider
8438fba08a s3-waf: Link locktest only against needed subsystems. 2012-01-25 11:58:29 +01:00
Andreas Schneider
bbb91314a2 s3-waf: Link sharesec only against needed subsystems. 2012-01-25 11:58:29 +01:00
Andreas Schneider
89c514ab37 s3-waf: Link eventlogadm only against needed subsystems. 2012-01-25 11:58:29 +01:00
Andreas Schneider
ab51d6660e s3-waf: Link smbcquotas only against needed subsystems. 2012-01-25 11:58:29 +01:00
Andreas Schneider
07cc5abb01 s3-waf: Link smbcacls only against needed subsystems. 2012-01-25 11:58:28 +01:00
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