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

380 Commits

Author SHA1 Message Date
Günther Deschner
40dd6ce3ac Revert "s3-waf: make use of LIBCLI_CLDAP subsystem"
Metze, we need to cleanup deps to idtree and cli-ldap first.

Guenther

This reverts commit ac4497edae.

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 22 23:53:25 CET 2011 on sn-devel-104
2011-02-22 23:53:25 +01:00
Stefan Metzmacher
ac4497edae s3-waf: make use of LIBCLI_CLDAP subsystem
metze
2011-02-22 21:04:23 +01:00
Günther Deschner
c399c28fb9 s3-waf: add replacetort binary.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 22 15:42:58 CET 2011 on sn-devel-104
2011-02-22 15:42:58 +01:00
Andrew Tridgell
f0a4d3a9d5 s3-waf: build bin/smbclient3 for top level build
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:10 +01:00
Andrew Tridgell
a3aa71ea3a s3-waf: no need to add suffix3 to smbpasswd
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:10 +01:00
Andrew Tridgell
84b235fbb2 s3-waf: convert some subsystems into private libraries
put some commonly used subsystems into private libraries to reduce the
install size

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
e3e1cd86e9 s3-waf: cope with both toplevel and source3 build
this fixes the remaining subsystem differences for the two builds

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
cf3225d6c3 s3-waf: find swat files for both toplevel and source3 build
this finds the right swat files in both cases

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
666d019110 s3-waf: rename CHARSET to CHARSET3
and add an alias CHARSET when not using a toplevel build

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
21f81703ca s3-waf: use bld.env.suffix3 for differentiating toplevel build
this uses bld.env.suffix3 to mean "3" for a toplevel build, and blank
otherwise. This allows us to change the overlapping binaries to have a
'3' suffix

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
5fc565feac s3-waf: LIBADS depends on krb5
needed for krb5.h when using an in-tree heimdal

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
c6c49d8ec4 s3-waf: make version and build directory conditional
we don't need these when doing a toplevel build

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
effc76db10 s3-waf: cope with location of include.h for toplevel build
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
fecbe61028 s3-waf: added some more krb5 dependencies
this is needed when not using a system krb5, for finding krb5.h

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
ba52f83a3f s3-waf: renamed samba-util to samba-util3
also added alias samba-util when not using a toplevel build

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
9aa85b6e30 s3-waf: use common libcli/nbt build rules
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
b59aa08261 s3-waf: rename 'errors' to 'errors3'
and add an alias 'errors' if not doing a toplevel build

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
3e8a4bfc08 s3-waf: renamed tdb-wrap to tdb-wrap3
allow for a common name 'tdb-wrap'

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
81992c9ce4 s3-waf: rename POPT_SAMBA to POPT_SAMBA3
This renames the POPT_SAMBA subsystem to POPT_SAMBA3. It also adds an
alias 'POPT_SAMBA' if we are not doing a toplevel build.

This allows us to use the common dependency 'POPT_SAMBA' in other waf
rules.

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
6a788b9d1e s3-waf: added a krb5 dependency
LIBMSRPC depends on krb5.h

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Bartlett
8afc271e2a lib/util/charset Use top level iconv.c in source3
The two files were very similar already, the only change required was
to adopt the s3 module registration fucntion name.

(NTSTATUS wasn't used as the charset code does not otherwise use that
type).

Andrew Bartlett

Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-02-18 18:41:00 +11:00
Andrew Bartlett
cfeceedfab librpc make ndr-standard a common library 2011-02-18 18:41:00 +11:00
Andrew Bartlett
177ddcb084 librpc push NDR_SECURITY and NDR_DCERPC to the top level wscript files
There isn't any reson to keep these private to source3 and source4 and
more, and doing so creates problems for the top level build.

Andrew Bartlett
2011-02-18 18:41:00 +11:00
Andrew Bartlett
92faeaeea8 charset Remove use of {isupper,islower,toupper,tolower}_w functions
These now call the common _m functions that consider UTF16 code points.

This removes the code which will make up a 'lame' table in memory, as
this can just as correctly be handled by running the algorithm at runtime (which is to call toupper() and tolower() on characters < 128).

When used, a top level waf build will always locate the correct table
- in the build tree or outside - due to relinking the installed
binary.

Andrew Bartlett
2011-02-18 17:00:34 +11:00
Andrew Bartlett
e4c2f5c474 s3-waf use lib/util/wscript_build, and avoid duplicate subsystems 2011-02-18 16:46:42 +11:00
Andrew Tridgell
c8b2b10976 s3-waf: use SAMBA3_*() build rules in source3/build
this brings the s3 waf build much closer to the proposed s3build top
level build, using the same bld.SAMBA3_*() rules

There are a few renames of subsystems in here, with a 3 suffix where
it would create a conflict.

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18 16:46:41 +11:00
Günther Deschner
0e156e7d62 s3-waf: move libsmb/clikrb5.c and libads/kerberos.c into KRBCLIENT.
This avoids two duplicates...

Guenther
2011-02-17 00:52:43 +01:00
Günther Deschner
bc83400d81 nsswitch: make wb_reqtrans a common subsystem.
Guenther
2011-02-17 00:52:42 +01:00
Günther Deschner
743b13b8e0 s3-waf: make most of the nsswitch common.
Guenther
2011-02-17 00:52:42 +01:00
Günther Deschner
0085d6e21a s3-waf: fix the build.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 15 15:24:11 CET 2011 on sn-devel-104
2011-02-15 15:24:10 +01:00
Günther Deschner
a32f0ff2f0 s3-waf: TLDAP is only needed by pdb_ads (and smbtorture).
Guenther
2011-02-15 12:09:22 +01:00
Günther Deschner
3722f65359 librpc: make NDR_KRB5PAC a shared library (libndr-krb5pac.so).
Simo, please check.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Feb 14 18:54:38 CET 2011 on sn-devel-104
2011-02-14 18:54:38 +01:00
Günther Deschner
89db591b2a s3-waf: add UTIL_TEVENT subsystem (as in ../lib/util/wscript)
Guenther
2011-02-14 13:38:53 +01:00
Günther Deschner
13e820cd10 s3-waf: try to fix the netbsd build and add -lintl to the 'net' binary.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Sat Feb 12 00:48:11 CET 2011 on sn-devel-104
2011-02-12 00:48:10 +01:00
Günther Deschner
59c8839dec s3-waf: move all error mappings to errors subsystem.
Guenther
2011-02-11 14:14:23 +01:00
Günther Deschner
3eb7e125ab waf: pure cosmetic reformatting of the two samba-util object lists (to ease comparing).
Guenther
2011-02-11 14:14:23 +01:00
Günther Deschner
1bad50f648 s3-waf: rework the way SMBLDAP subsystem is built a little.
Guenther
2011-02-11 12:22:41 +01:00
Günther Deschner
7a558ea27c s3-waf: fix the build after auth changes.
Andrews, please check.

Guenther
2011-02-10 12:58:06 +01:00
Günther Deschner
56fe080d87 lib/compression: add shared wscript_build.
Guenther
2011-02-08 14:05:36 +01:00
Günther Deschner
34722c72f6 pam: share pam errors in a common location.
Guenther
2011-02-08 14:05:36 +01:00
Günther Deschner
7637e1df8e s3-waf: fix the build after winreg and rpc services changes.
Andreas, please check.

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Feb  7 13:18:41 CET 2011 on sn-devel-104
2011-02-07 13:18:41 +01:00
Günther Deschner
ac4127a9f4 s3-auth: add copy_netr_SamBaseInfo().
Guenther

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-02-04 16:57:32 +01:00
Günther Deschner
d57ddc64c5 s3-waf: remove RPCCLI_LSA subsystem.
Guenther
2011-02-02 20:01:00 +01:00
Günther Deschner
ee5de71796 s3-waf: remove RPCCLI_SAMR subsystem.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb  2 18:54:38 CET 2011 on sn-devel-104
2011-02-02 18:54:38 +01:00
Günther Deschner
175fbe0bfc s3-waf: fix the build after libnet changes.
Guenther
2011-02-02 18:11:19 +01:00
Günther Deschner
fbbe321d19 s3-waf: fix the build after linux netlink changes.
Volker, please check.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb  1 23:21:50 CET 2011 on sn-devel-104
2011-02-01 23:21:50 +01:00
Günther Deschner
eb5d884b15 s3-waf: these libs are not private libs.
Guenther
2011-01-31 10:04:42 +01:00
Günther Deschner
dd35fe181c waf: share libndr.so between samba3 and samba4.
Guenther
2011-01-25 11:42:46 +01:00
Günther Deschner
5e89574dce s3-waf: remove RPCCLI_SPOOLSS subsystem.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Jan 21 16:06:40 CET 2011 on sn-devel-104
2011-01-21 16:06:40 +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