summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-02-18lib/util/charset Use top level iconv.c in source3Andrew Bartlett10-796/+106
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-18s4-idl: rename s4 server_id.idl to server_id4.idlAndrew Tridgell14-14/+14
this avoids a conflict with the new s3 server_id.idl Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18librpc make ndr-standard a common libraryAndrew Bartlett3-23/+11
2011-02-18librpc push NDR_SECURITY and NDR_DCERPC to the top level wscript filesAndrew Bartlett3-23/+21
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-18nsswitch: depend on dlAndrew Tridgell1-1/+1
The previous merge in this area didn't preserve the 'dl' depedency, which may be required on some platforms. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18charset Remove use of {isupper,islower,toupper,tolower}_w functionsAndrew Bartlett8-167/+24
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-18s3-libads Remove MIT-specific krb5_princ_realm macro calls.Andrew Bartlett2-55/+30
When compiled against heimdal, we need to use a more elegant API. Andrew Bartlett
2011-02-18s3-waf use lib/util/wscript_build, and avoid duplicate subsystemsAndrew Bartlett1-20/+3
2011-02-18lib/util Make UTIL_LDB conditional on an s4 buildAndrew Bartlett1-1/+2
This allows this file to be used in common.
2011-02-18s3-waf: use SAMBA3_*() build rules in source3/buildAndrew Tridgell10-275/+274
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-18build: put links for libs in the right directoryAndrew Tridgell1-1/+1
when a library is declared as libdir/libname, still put the symlink in bin/shared Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Feb 18 06:03:57 CET 2011 on sn-devel-104
2011-02-18s4-util: removed the valgrind_strlen() routineAndrew Tridgell2-18/+0
this was for a bug in valgrind from 7 years ago. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18libutil: make waf rules usable by s3 waf buildAndrew Tridgell1-38/+39
we need samba-util to be s4 only for now, because of the debug system differences Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18waf: improved error message for bad paths in SAMBA_LIBRARY()Andrew Tridgell1-1/+7
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18waf: support building libraries with a directory prefixAndrew Tridgell3-4/+13
SAMBA_LIBRARY('libsmb/smbclient') can now be built, which distinguishes it from the binary 'smbclient' Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18s3-waf: fixed the include paths for samba public librariesAndrew Tridgell1-4/+8
this fixes the extra global includes for the s3 waf build to be conditional on whether talloc, tevent and tdb are system libraries or not. This fixes a problem where in-tree includes could be used with system libraries Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18charset: allow s3 waf build to use lib/util/charsetAndrew Tridgell1-5/+6
the only conflict is with 'CHARSET' itself, which now builds conditionally on _SAMBA_BUILD_==4 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18waf: added SAMBA3_*() build rules to samba3.pyAndrew Tridgell1-2/+72
these provide samba build rule wrappers for Samba3 specific subsystems Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18waf: give a more sensible error on symlink_bin with missing directoryAndrew Tridgell1-0/+2
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18lib/util/charset use get_dyn_CODEPAGEDIR(), which is in commonAndrew Bartlett1-2/+2
This is provided by the s3 and s4 dynconfig implementations. Andrew Bartlett
2011-02-18lib/util/charset split codepoints.c into it's own subsystemAndrew Bartlett1-3/+6
2011-02-18lib/util/charset use a path to dynconfig.h that works in s3 and s4Andrew Bartlett1-1/+1
2011-02-18lib/util/charset add functions isupper_m and islower_mAndrew Bartlett2-0/+19
2011-02-18s4-auth: rename 'auth' subsystem to 'auth4'Andrew Tridgell10-34/+34
this prevents conflicts with the s3 auth modules. The auth modules in samba3 may appear in production smb.conf files, so it is preferable to rename the s4 modules for minimal disruption. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18build: remember the flags used for undefined variable errorsAndrew Tridgell1-2/+2
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18s3build: added NMBDSOCKETDIR to dynconfigAndrew Tridgell3-1/+5
this is needed for the s3 top level build Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18s4-dsdb: operational module does not need auth any moreAndrew Tridgell2-3/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18s3-includes: force _SAMBA_BUILD_=3 in source3 includes.hAndrew Tridgell1-0/+5
this allows a common set of cflags for a top level combined build Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18uid-wrapper: handle uwrap_enabled() as a macroAndrew Tridgell1-0/+2
some s3 code defines uwrap_enabled() as a macro. Detect this, and don't redeclare the functions Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18build: fixed passing of includes= for modulesAndrew Tridgell1-0/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18build: added subdir option for module buildingAndrew Tridgell1-0/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18build: added allow_undefined_symbols options for libraries and modulesAndrew Tridgell2-2/+10
the s4 build uses linker flags to disallow undefined symbols in libraries. To accomodate s3 libraries in the top level build we need to be able to disable this on a per-library basis. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18build: make ADD_LDFLAGS() returns the flags that were addedAndrew Tridgell1-1/+3
this will be used by the s3 top level build to work out how to undo the effects of -Wl,-no-undefined Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18waf: library_flags() doesn't only operate on conf objectsAndrew Tridgell1-7/+8
use a better name for the first argument Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18s3-build: allow waf build of s3 IDL files from any top directoryAndrew Tridgell1-3/+6
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18waf: added subdir= option in SAMBA_*() rulesAndrew Tridgell1-0/+9
this allows you to prepend a subdirectory to the source rules, after variable substitution. This is useful for the s3 waf build when it is in s3build/
2011-02-18waf: use Utils.WafError() instead of sys.exit(1)Andrew Tridgell1-2/+1
better to raise an expection than just exiting
2011-02-17tevent: Fix a commentVolker Lendecke1-2/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Feb 17 18:16:18 CET 2011 on sn-devel-104
2011-02-17s4-smbtorture: add more complex spoolss_EnumPrinterDataEx test.Günther Deschner1-0/+721
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Feb 17 16:46:28 CET 2011 on sn-devel-104
2011-02-17s3-lsa: support trust objects in _lsa_QuerySecurity().Günther Deschner1-0/+1
Guenther
2011-02-17s3-lsa: in _lsa_QuerySecurity() query the sd from the lsa policy handle.Günther Deschner1-6/+4
Guenther
2011-02-17s3-lsa: only proceed in _lsa_EnumTrustedDomainsEx when backend has trusted ↵Günther Deschner2-1/+10
domain support. Guenther
2011-02-17s3-passdb: add PDB_CAP_TRUSTED_DOMAINS_EX.Günther Deschner1-2/+3
Guenther
2011-02-17s3-cluster remove more CLUSTER_SUPPORT #ifdef stuffAndrew Bartlett1-4/+0
2011-02-17s3-cluster Always fill in the clustering vnn elementAndrew Bartlett4-36/+0
This avoids this structure being partially uninitialised. Adnrew Bartlett
2011-02-17s3: add server_id.idl and use only autogenerated code.Günther Deschner9-87/+34
Volker, Tridge and other clustering gurus, please check. It is ok to get rid of ifdef CLUSTER_SUPPORT here, right ? Why was unique_id not marshalled at all ? Guenther
2011-02-17s4:scripting/python/modules.c - remove a really unnecessary variableMatthias Dieter Wallnöfer1-1/+0
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Feb 17 16:01:44 CET 2011 on sn-devel-104
2011-02-17s3-waf: add check for "struct sigevent" and some of its members.Günther Deschner1-0/+11
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Feb 17 12:01:58 CET 2011 on sn-devel-104
2011-02-17s3-waf: add check for "struct utimbuf".Günther Deschner1-0/+5
Guenther
2011-02-17s3: increase the log level for missing PIDs on SIGCHLDDavid Disseldorp1-1/+2
Since the fix for bso#7836, the parent smbd is responsible for maintaining an up-to-date printcap cache. It does this by forking a child process to asynchronously fetch printcap data from CUPS. When the child process exits after fetching all printcap data, the parent smbd is sent SIGCHLD. This triggers smbd_sig_chld_handler() which looks for the exited process PID on a "children" list. Child smbd process PIDs are added to the "children" list to ensure cleanup on unclean shutdown and log level change notification messages. Printcap update process PIDs are not added to the list as they do not maintain any state that requires cleanup, nor do they wait on tevent for messages. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Feb 17 11:11:45 CET 2011 on sn-devel-104