summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-02-22s3-waf: add check for realpath() NULL arg.Günther Deschner1-0/+21
Guenther
2011-02-22s3-waf: add check for makedev().Günther Deschner1-0/+11
Guenther
2011-02-22s3-waf: add check for TIME_T_MAX.Günther Deschner1-0/+25
Guenther
2011-02-22s3-waf: add check for /proc/sys/kernel/core_pattern.Günther Deschner1-0/+3
Guenther
2011-02-22s4-descriptor: Fixed a typo in a comment and clarified it a bit.Nadezhda Ivanova1-2/+2
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Tue Feb 22 12:39:23 CET 2011 on sn-devel-104
2011-02-22s4-descriptor: Fixed some missing curly braces.Nadezhda Ivanova1-10/+13
2011-02-22s4:torture/rpc/netlogon.c - fix two build warnings by castsMatthias Dieter Wallnöfer1-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Feb 22 11:45:49 CET 2011 on sn-devel-104
2011-02-22selftest the raw.mux test is flaky:Andrew Bartlett1-0/+1
TESTING MULTIPLEXED LOCK/LOCK/UNLOCK establishing a lock the second lock will conflict with the first this will too, but we'll unlock while waiting unlock the first range recv the async reply async lock took 265.40 msec failed to trigger early lock retry UNEXPECTED(error): samba3.posix_s3.raw.mux.mux Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Feb 22 07:09:07 CET 2011 on sn-devel-104
2011-02-22s4-auth Move libcli/security/session.c to the top levelAndrew Bartlett14-32/+31
This code is now useful in common, as the elements of the auth_session_info structure have now been defined in common IDL. Andrew Bartlett
2011-02-22s3:auth: change num_groups to from size_t to uint32_tStefan Metzmacher11-26/+26
This will help with the change from UNIX_USER_TOKEN to security_unix_token metze
2011-02-22s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_infoAndrew Bartlett70-892/+892
These variables, of type struct auth_serversupplied_info were poorly named when added into 2001, and in good consistant practice, this has extended all over the codebase in the years since. The structure is also not ideal for it's current purpose. Originally intended to convey the results of the authentication modules, it really describes all the essential attributes of a session. This rename will reduce the volume of a future patch to replaced these with a struct auth_session_info, with auth_serversupplied_info confined to the lower levels of the auth subsystem, and then eliminated. (The new structure will be the output of create_local_token(), and the change in struct definition will ensure that this is always run, populating local groups and privileges). Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-02-22selftest: Improve gdb_backtrace to run in batch modeAndrew Bartlett1-2/+3
Following Tridge's advice, we need to have no input (/dev/null) and -batch for reliable opeation on big backtraces. We should also use --pid, and let gdb find the binary Andrew Bartlett
2011-02-22selftest pass in srcdir into Samba3 target moduleAndrew Bartlett3-6/+10
2011-02-22smbtorture Remove random file name before we start RW2Andrew Bartlett1-0/+4
2011-02-22s3-selftest convert tests.sh to pythonAndrew Bartlett17-422/+300
This should allow us a much better chance of invoking the subunit wrappers in the right way, at the right level. Andrew Bartlett
2011-02-22selftest split $PERL into multiple arguments for Test::More checkAndrew Bartlett1-2/+3
2011-02-22selftest move selftesthelpers to a top level helper scriptAndrew Bartlett2-138/+170
2011-02-22s3-tests use $PREFIX to ensure tests don't work outside the test areaAndrew Bartlett2-11/+12
Andrew Bartlett
2011-02-22Add tests for various s3 auth modesAndrew Bartlett5-5/+96
2011-02-22build: added WHYNEEDED=TARGET:DEPENDENCYAndrew Tridgell2-9/+40
you can now do: make WHYNEEDED=smbd/smbd:gensec and it will print: Checking why smbd/smbd needs to link to gensec target 'smbd/smbd' uses symbols set(['open_schannel_session_store']) from 'gensec' Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Feb 22 03:35:58 CET 2011 on sn-devel-104
2011-02-22build: enhanced the symbolcheck codeAndrew Tridgell1-14/+86
we can now work out why a binary needs a library, and we can find all the duplicate symbols (we currently have 1087 symbols defined in more than one place in Samba).
2011-02-22python: use os.environ[] instead of os.putenv()Andrew Tridgell8-13/+13
using os.putenv() causes too much confusion, as it doesn't update os.getenv() Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s4-waf: fixed make test for toplevelAndrew Tridgell1-2/+1
amazingly, os.putenv() is broken. If you do os.putenv('FOO', '1') and then do os.getenv('FOO') you don't get '1' Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s4-waf: added --enable-s3build configure optionAndrew Tridgell3-3/+17
this enables the build of the s3 binaries in the toplevel build Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s3-waf: build bin/smbclient3 for top level buildAndrew Tridgell1-1/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22build: we don't need the special case for s3build any moreAndrew Tridgell1-6/+0
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s3-waf: no need to add suffix3 to smbpasswdAndrew Tridgell1-1/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s4-waf: rename smbpasswd library to smbpasswdparserAndrew Tridgell4-4/+4
this removes a conflict with the s3 smbpasswd binary
2011-02-22s3-waf: convert some subsystems into private librariesAndrew Tridgell2-85/+90
put some commonly used subsystems into private libraries to reduce the install size Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s4-waf: rename 'param' to 'pyparam'Andrew Tridgell1-1/+1
we will use 'param' for the s3 libparam.so Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s3-waf: work around broken cups-config --libs outputAndrew Tridgell1-2/+5
"cups-config --libs" returns -lgssapi_krb5, which ties it to the system krb5 library. It should get this via the indirect dependency of libcups.so instead. Work around this by using 'cups' as the library and avoid using --libs in the cups-config command Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s3build: use source3/wscript for s3 configure rulesAndrew Tridgell1-0/+5
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s3-waf: added support for in-tree heimdal in source3 waf buildAndrew Tridgell1-3/+80
this sets up the right defines for a in-tree heimdal build Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s3-waf: use Logs.warn() not print for configure warningsAndrew Tridgell1-15/+15
this highlights the warning for the user Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s3-waf: make pieces of the source3 waf wscript depends on toplevel_buildAndrew Tridgell1-37/+40
this will allow the toplevel build to use source3/wscript for configure options Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s3build: recurse into source3/Andrew Tridgell1-0/+6
we can now use common build rules Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s3-waf: cope with both toplevel and source3 buildAndrew Tridgell1-4/+18
this fixes the remaining subsystem differences for the two builds Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s3-waf: find swat files for both toplevel and source3 buildAndrew Tridgell1-1/+2
this finds the right swat files in both cases Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s3-waf: rename CHARSET to CHARSET3Andrew Tridgell1-2/+3
and add an alias CHARSET when not using a toplevel build Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s3-waf: use bld.env.suffix3 for differentiating toplevel buildAndrew Tridgell1-7/+8
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-22s3-waf: LIBADS depends on krb5Andrew Tridgell1-1/+1
needed for krb5.h when using an in-tree heimdal Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s3-waf: make version and build directory conditionalAndrew Tridgell1-5/+6
we don't need these when doing a toplevel build Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s3-waf: cope with location of include.h for toplevel buildAndrew Tridgell1-1/+6
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s3-waf: added some more krb5 dependenciesAndrew Tridgell1-3/+3
this is needed when not using a system krb5, for finding krb5.h Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s3-waf: renamed samba-util to samba-util3Andrew Tridgell1-2/+3
also added alias samba-util when not using a toplevel build Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s3-waf: use common libcli/nbt build rulesAndrew Tridgell2-12/+7
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s3-waf: rename 'errors' to 'errors3'Andrew Tridgell1-2/+3
and add an alias 'errors' if not doing a toplevel build Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s3-waf: renamed tdb-wrap to tdb-wrap3Andrew Tridgell1-3/+3
allow for a common name 'tdb-wrap' Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s3-waf: rename POPT_SAMBA to POPT_SAMBA3Andrew Tridgell1-34/+45
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-22s3-waf: added a krb5 dependencyAndrew Tridgell1-1/+1
LIBMSRPC depends on krb5.h Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>