Derrell Lipman
db69ebcbce
Provide a libsmbclient interface for programs requiring threads
...
- This adds two functions: smbc_thread_posix() which provides access to the
internal threading implementation using pthread; and smbc_thread_impl()
where the user provides each of the functions required by Samba, to give
access to the thread implementation's native capabilities.
Derrell
2009-05-10 22:45:12 -04:00
Stefan Metzmacher
9dbb535aa5
tsocket: remove tsocket_context related stuff
...
It will be replaced by tdgram_context and tstream_context.
metze
2009-05-01 17:38:21 +02:00
Volker Lendecke
8cf75770cf
Add fncall_send/recv
2009-05-01 12:30:59 +02:00
Volker Lendecke
db2cc8c9f2
Add thread pool
...
Included if pthreads are found, can be disabled with --enable-pthreadpool=no
Tim, Steven, I haven't yet seen comments from you. You have been asking for
such a thing at SambaXP. Do you like this? :-)
2009-05-01 12:30:58 +02:00
Günther Deschner
eee446a948
s3-nss_wins: Fix unresolved ldb symbols in libnss_wins.so.
...
The objects for this module should probably be cleaned up once.
Guenther
2009-04-30 14:18:09 +02:00
Günther Deschner
c9ec012e12
s3-build: refactor LIBNET_OBJ.
...
Guenther
2009-04-24 09:53:09 +02:00
Jelmer Vernooij
2eff2de2f8
Move the security_descriptor utility code to the top-level.
2009-04-21 15:14:35 +02:00
Wilco Baan Hofman
171a361375
Fix ini parsing in the s3 gpext modules. Fix ini parser API. Make the build work
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:16:17 +02:00
Wilco Baan Hofman
3e010e3eb8
Adjust samba 3 to the new gpo API. Still untested code.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:16:17 +02:00
Jelmer Vernooij
7761850b1f
Move gpo_fetch to top-level.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:16:16 +02:00
Jelmer Vernooij
d2bd5895cf
Move gpo_sec to top-level.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:16:16 +02:00
Jelmer Vernooij
cecd142f2b
Move some libgpo files to root.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20 23:15:43 +02:00
Andrew Bartlett
baf7274fed
Make Samba3 use the new common libcli/auth code
...
This is particuarly in the netlogon client (but not server at this
stage)
2009-04-14 16:23:44 +10:00
Andrew Bartlett
f28f113d8e
Rework Samba3 to use new libcli/auth code (partial)
...
This commit is mostly to cope with the removal of SamOemHash (replaced
by arcfour_crypt()) and other collisions (such as changed function
arguments compared to Samba3).
We still provide creds_hash3 until Samba3 uses the credentials code in
netlogon server
Andrew Bartlett
2009-04-14 16:23:35 +10:00
Jeremy Allison
2ff80f0d76
Link in the threads functions, not yet used.
...
Jeremy.
2009-04-10 14:45:45 -07:00
Volker Lendecke
ccd293ba0e
Remove async_req
2009-04-08 23:11:59 +02:00
Günther Deschner
98d703a6b7
s3-eventlog: move rpc_server/srv_eventlog_lib.c out of rpc_server.
...
Guenther
2009-04-08 19:45:57 +02:00
Günther Deschner
621d40332a
s3-build: fix the build after tsocket changes.
...
Metze, please check.
Guenther
2009-04-03 00:30:58 +02:00
Michael Adam
1e92ddd405
s3:build: add targets to show how libraries will be built / linked
...
showlibtalloc, showlibtdb, ... and one overall showlibs target.
Michael
2009-04-01 10:41:35 +02:00
Michael Adam
99b486a056
s3:build: don't build the static libs unconditionally
...
Michael
2009-04-01 10:41:35 +02:00
Michael Adam
b79157f602
s3:build: add LIBSMBCLIENT_LIBS and LIBSMBSHAREMODES_LIBS to Makefile
...
for completeness
Michael
2009-04-01 10:41:34 +02:00
Michael Adam
993c87495b
s3:build: rename WINBIND_LIBS -> LIBWBCLIENT_LIBS for unification
...
Michael
2009-04-01 10:41:34 +02:00
Michael Adam
baf39de623
s3:build: unify linking of libwbclient with a @LIBWBCLIENT_TARGET@
...
just like for the libs configured with SMB_LIBRARY().
This makes @LIBWBCLIENT_STATIC@ vanish from the object collections.
Michael
2009-04-01 10:41:33 +02:00
Michael Adam
f9eb77477b
s3:build: first cut at fixing linking of shared/static libs internally
...
This is based on a patch from the debian packages
by Steve Langasek <vorlon@debian.org>.
It removes the static libs from the object collections.
For those libs that are set up with SMB_LIBRARY().
Michael
2009-04-01 10:41:33 +02:00
Michael Adam
d8425032cc
s3:build: fix build of pam_winbind.so with static linking
...
Static talloc libs were missing since conversion to talloc.
Michael
2009-03-31 16:55:40 +02:00
Michael Adam
9aab2631c6
s3:build: add a SHOWCFLAGS target for debugging how CFLAGS are assebled
...
Michael
2009-03-31 08:51:40 +02:00
Michael Adam
b2e8bc28a5
s3:build: line-wrap assignment of FLAGS for readability
...
Michael
2009-03-31 08:51:40 +02:00
Stefan Metzmacher
424370274a
s3:build: make it possible to pass down CTAGS_OPTIONS or ETAGS_OPTIONS
...
metze
2009-03-27 12:19:10 +01:00
Jelmer Vernooij
30a3dec549
Merge branch 'master' of ssh://git.samba.org/data/git/samba into displaysec
2009-03-26 15:28:18 +01:00
Michael Adam
5adeaea664
Revert "s3/swat: don't link against zlib"
...
This reverts commit 8532faffd0
.
swat needs zlib through ../librpc/ndr/ndr_compression.c, function
ndr_pull_compression_mszip_chunk(). This fails to link at least
on our build farm bsd boxes.
Michael
2009-03-26 01:31:44 +01:00
Michael Adam
04eeae74e6
Revert "s3/smbd: don't link against zlib"
...
This reverts commit 1f265548e7
.
smbd needs zlib through ../librpc/ndr/ndr_compression.c, function
ndr_pull_compression_mszip_chunk(). This fails to link at least
on our build farm bsd boxes.
Michael
2009-03-26 01:30:42 +01:00
Björn Jacke
b574a09cf5
s3/ldbtools: don't neddlessly link against wbinbind libs
...
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-25 23:30:44 +01:00
Björn Jacke
9e62b7f7bb
s3/cifs: don't link cifs mount helpers agains popt
...
the mount helpers don't use any popt symbols
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-25 23:30:44 +01:00
Björn Jacke
8532faffd0
s3/swat: don't link against zlib
...
swat doesn't use any zlib symbolѕ
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-25 23:30:43 +01:00
Björn Jacke
1f265548e7
s3/smbd: don't link against zlib
...
smbd doesn't use any zlib symbolѕ
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-25 23:30:43 +01:00
Björn Jacke
39e6bd5b29
s3/pam_smbpass: don't link agains KRB5LIBS
...
pam_smbpass doesn't use the krb5 stuff
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-25 23:30:43 +01:00
Günther Deschner
72636db8e5
s3: remove unused rpc_parse/parse_sec.c file.
...
Guenther
2009-03-25 22:50:40 +01:00
Jelmer Vernooij
c42fc5e103
display_sec: Move to common libcli/security directory.
2009-03-25 21:29:13 +01:00
Günther Deschner
de2a7c8e4c
s3: use generated dcerpc code.
...
Guenther
2009-03-24 11:14:06 +01:00
Michael Adam
36b957b5b7
s3:build: make SHOWFLAGS target phony and add alias showflags
...
Michael
2009-03-23 17:48:24 +01:00
Volker Lendecke
93e13fe3e0
Add tevent avahi binding
2009-03-23 17:09:53 +01:00
Volker Lendecke
4c1794c41c
Add avahi detection to configure
2009-03-23 17:09:53 +01:00
Björn Jacke
a087310b33
remove non standard way to point to ctdb path
...
we can provide the path to ctdb via the --with-ctdb=... configure flag like we
do it with other packageѕ, too. There is no need for another redundnant
Makefile hack to point the ctdb header location
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-23 13:20:06 +01:00
Stefan Metzmacher
c16c90a1cb
s3:smbd: use new simplified snb_signing code in the server
...
We keep the seqnum/mid mapping in the smb_request structure.
This also moves one global variable into the
smbd_server_connection struct.
metze
2009-03-23 12:21:13 +01:00
Stefan Metzmacher
2654653f55
s3:libsmb: add a much simplified smb_siging infrastructure
...
It's the job of the caller to maintain the seqnum/mid mapping.
Hopefully we can use this code in s4 later too.
metze
2009-03-23 12:21:13 +01:00
Stefan Metzmacher
1a48d0793b
s3:libsmb: rename smb_signing.c => clisigning.c
...
This prepares a large simplification of the smb_signing code
metze
2009-03-23 12:21:12 +01:00
Andy Kelk
2835d0d463
Add dirsort module
2009-03-22 11:44:13 +01:00
Michael Adam
3a4638db03
add a versiontest program to print samba_version_string().
...
This is to allow for testing samba_version_string() without
the need to compile any of the larger binaries like smbd or net...
Michael
2009-03-19 23:57:35 +01:00
Stefan Metzmacher
4508152282
s3:build: compile lib/tsocket and libcli/cldap
...
metze
2009-03-19 16:25:59 +01:00
Jeremy Allison
f942cb616e
Fix bug #6195 - Migrating from 3.0.x to 3.3.x can fail to update passdb.tdb correctly.
...
This is a really nasty one to fix as in order to successfully update the
passdb.tdb we must do the equivalent of a tdbbackup to move to the new hash
values before we do the upgrade.
Jeremy.
2009-03-18 15:44:13 -07:00