Andrew Bartlett
6c1ce36ec9
selftest pass in srcdir into Samba3 target module
2011-02-22 16:20:10 +11:00
Andrew Bartlett
b73cfabdf5
smbtorture Remove random file name before we start RW2
2011-02-22 16:20:10 +11:00
Andrew Bartlett
a82d9e4e72
s3-selftest convert tests.sh to python
...
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-22 16:20:10 +11:00
Andrew Bartlett
0b066b88df
selftest split $PERL into multiple arguments for Test::More check
2011-02-22 16:20:10 +11:00
Andrew Bartlett
a056792294
selftest move selftesthelpers to a top level helper script
2011-02-22 16:20:09 +11:00
Andrew Bartlett
56c28d1cfb
s3-tests use $PREFIX to ensure tests don't work outside the test area
...
Andrew Bartlett
2011-02-22 14:50:14 +11:00
Andrew Bartlett
1650da8a99
Add tests for various s3 auth modes
2011-02-22 14:50:14 +11:00
Andrew Tridgell
c43eb39098
build: added WHYNEEDED=TARGET:DEPENDENCY
...
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-22 03:35:58 +01:00
Andrew Tridgell
0e0ea4efe3
build: enhanced the symbolcheck code
...
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-22 02:51:10 +01:00
Andrew Tridgell
949427c208
python: use os.environ[] instead of os.putenv()
...
using os.putenv() causes too much confusion, as it doesn't update
os.getenv()
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:10 +01:00
Andrew Tridgell
01047e0ba8
s4-waf: fixed make test for toplevel
...
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-22 02:51:10 +01:00
Andrew Tridgell
1bf4ff2ab2
s4-waf: added --enable-s3build configure option
...
this enables the build of the s3 binaries in the toplevel build
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:10 +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
a94f7768d9
build: we don't need the special case for s3build any more
...
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
a12239b131
s4-waf: rename smbpasswd library to smbpasswdparser
...
this removes a conflict with the s3 smbpasswd binary
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
7634fb6393
s4-waf: rename 'param' to 'pyparam'
...
we will use 'param' for the s3 libparam.so
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
15c0440349
s3-waf: work around broken cups-config --libs output
...
"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-22 02:51:09 +01:00
Andrew Tridgell
f180e1ab7c
s3build: use source3/wscript for s3 configure rules
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
de71662908
s3-waf: added support for in-tree heimdal in source3 waf build
...
this sets up the right defines for a in-tree heimdal build
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
0234ac4e3c
s3-waf: use Logs.warn() not print for configure warnings
...
this highlights the warning for the user
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
76e3af95c3
s3-waf: make pieces of the source3 waf wscript depends on toplevel_build
...
this will allow the toplevel build to use source3/wscript for
configure options
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
ff8762e7fe
s3build: recurse into source3/
...
we can now use common build rules
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 Tridgell
efc932112c
libcli/nbt: allow use of the waf build for nbt in source3
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
acdfe48ebe
s4-ndr: added NDR_WBINT to ndr_tables
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:08 +01:00
Andreas Schneider
8fce37331e
s3-rpc_server: Let enpoint mapper listen on port 135.
...
*** This is my commit #500 ***
Endpoint Mapper is disabled by default. The next steps are to setup a
tcpip and ncalrpc listener for each service and register it at epm.
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Tue Feb 22 00:07:45 CET 2011 on sn-devel-104
2011-02-22 00:07:45 +01:00
Andreas Schneider
0abe7c68c5
s3-rpc_server: Added event and msg ctx to _rpc_ep_register.
2011-02-21 23:00:02 +01:00
Andreas Schneider
df5d26521a
s3-rpc_server: Added port option to _rpc_ep_register.
2011-02-21 23:00:02 +01:00
Andreas Schneider
a99e670cd2
s3-rpc_server: Added function to setup tcpip listener!
2011-02-21 23:00:02 +01:00
Andreas Schneider
fc46ea981f
s3-rpc_server: Rename srv_rpc_register.c.
2011-02-21 23:00:02 +01:00
Andreas Schneider
116144a4d0
s3-rpc_server: Rename srv_rpc_register.
2011-02-21 23:00:02 +01:00
Andreas Schneider
184702a43d
s3-rpc_server: Pass tevent_context to dcerpc endpoints.
2011-02-21 23:00:02 +01:00
Andreas Schneider
02b356d7a8
s3-rpc_server: Create a common ncacn listen state.
2011-02-21 23:00:02 +01:00
Andreas Schneider
98fcbd0975
s3-rpc_server: Rename named_pipe_read_packet().
...
This is not named pipe specific.
2011-02-21 23:00:02 +01:00
Andreas Schneider
59f7bcbc39
s3-librpc: Only register NCACN_NP.
...
This is the only transport we support at the moment.
2011-02-21 23:00:02 +01:00