Björn Jacke
a20b43f23f
s3: link thread objects in libsmbclient only and adjust linker flags
2010-01-29 15:26:36 +01:00
Lars Müller
2f9eb6bff5
s3: Install and uninstall the static version of libwbclient
...
This requires to call configure with --enable-static which isn't the case
by default.
2010-01-27 22:40:19 +01:00
Lars Müller
2dd301e5cd
Add dependency of bin/smbfilter to libwbclient.
2010-01-26 22:54:15 +01:00
Björn Jacke
5439e1a03f
s3: fix detection and flags for using pthread
...
I hope this fixes the build on Tru64, IRIX and maybe bug #6983
2010-01-26 00:19:10 +01:00
Volker Lendecke
ff0274c519
s3: Add NTLMSSP_FEATURE_CCACHE
...
Uses the winbind ccache to do authentication if asked to do so
2010-01-24 20:32:17 +01:00
Olivier Sessink
31e142854b
s3: Add the "scannedonly" vfs virus scanner interface module
2010-01-12 22:57:18 +01:00
Volker Lendecke
6f0e7b9465
s3: Trim libnss_wins.so
2010-01-10 13:37:40 +01:00
Volker Lendecke
0f9268bde9
s3: Trim down some utilities a bit
2010-01-10 13:28:08 +01:00
Volker Lendecke
283a73ca9f
s3: Trim down smbcontrol a bit
2010-01-03 21:14:58 +01:00
Andrew Bartlett
ba2cfceb96
libcli/auth Make gd's NDR NTLMSSP parsers helpers common
...
(but not built in Samba4 for now)
2009-12-22 21:07:51 +01:00
Volker Lendecke
9b6b01aab6
s3:winbind: Add a lower-cost alternative to wbinfo -t: wbinfo --ping-dc
...
This just does a NULL RPC call through an existing NETLOGON connection. If
someone knows an operation that "just works" and does not return NOT_SUPPORTED,
please tell me :-)
2009-12-21 23:23:52 +01:00
Volker Lendecke
c25d9ad73d
s3: Remove unused winbindd_dual_userinfo
2009-12-21 16:27:19 +01:00
Michael Adam
6dd60008c4
s3:add split_tokens, a cmdline tool to test next_token_talloc()
...
Michael
2009-12-01 00:55:53 +01:00
Michael Adam
92547d2873
s3:fix linking of the t_str* test programs
...
Michael
2009-12-01 00:55:35 +01:00
Michael Adam
b82f6855a2
s3:fix linking of libbigballofmud (on my box at least)
...
Michael
2009-12-01 00:55:35 +01:00
Volker Lendecke
7bbee8dc17
s3: Add a regression test for bug 6898
2009-11-29 16:12:51 +01:00
Günther Deschner
d6c60f8447
s3-nsstest: drastically shrink size and dependencies of nsstest binary.
...
The size went down from 6.4M to 104K on my box.
Guenther
2009-11-27 10:47:11 +01:00
Michael Adam
8353d47e9b
s3: add dbwrap_torture - a tool to stress test tdb transactions through dbwrap
...
This can be used to also test tdb transactions on clustered installations
throught ctdb. The test is modeled after the ctdb_transaction.c test program
from the ctdb source code. It runs transactions in a tight loop on a test
database called "transactions.tdb" (by default), increasing a counter in each
iteration. In a clustered environment, a counter is maintained for each node.
Michael
2009-11-23 23:51:40 +01:00
Günther Deschner
eea5a166e7
s3-build: delete more object files for "make clean".
...
Guenther
2009-11-20 15:49:48 +01:00
Günther Deschner
fc9f199f26
s3-build: really fix build of winbind_krb5_locator.
...
Guenther
2009-11-19 13:48:44 +01:00
Günther Deschner
bf45447aaa
s3-build: make sure to remove libds and client object files on make clean.
...
Guenther
2009-11-19 13:48:33 +01:00
Andrew Bartlett
7a290130bd
lib/util Use rfc1738.c from Squid for all our URL encode/decode needs.
...
Andrew Bartlett
2009-11-02 16:36:52 +11:00
Björn Jacke
a80a0b7728
s3:Makefile: add LIBREPLACE_LIBS for talloc, tdb and wbclient
2009-10-31 10:37:44 +01:00
Björn Jacke
4ae950d211
ѕ3:buildsystem: fix depenencies for libreplace
...
This problem became visible after adding the picky -z defs linker option: On
Solaris libreplace had unresolved symbols, which showed up in the libtalloc
build. PAM_WINBIND_EXTRA_LIBS and WINBIND_NSS_EXTRA_LIBS had been workarounds
to make things work at two placeѕ. These variables have been obsoleted now.
This patch introduces LIBREPLACE_LIBS which contans the linker flags needed for
linking anything using libreplace.
2009-10-31 00:48:20 +01:00
Günther Deschner
184afaa04c
s3-secrets: use autogenerated code for TRUSTED_DOM_PASS struct parsing from a tdb.
...
Guenther
2009-10-29 10:49:39 +01:00
Günther Deschner
e92e33238c
s3: add secrets.idl.
...
Guenther
2009-10-29 10:49:35 +01:00
Stefan (metze) Metzmacher
25f96a4058
Add in Metze's new code to ndr encode the user.DOSATTRIB
...
blobs. Next I'll change the create timestamp and dos attribute
code to use this.
2009-10-28 15:42:47 -07:00
Björn Jacke
78a5e26783
s3:Makefile: add some explicit dependencies to libc
...
Add libc as explicit dependency where we use "-z defs" linker flags. This is
to silence the Sun linker. Otherwise it whines:
malloc ... (symbol belongs to implicit dependency /lib/libc.so.1)
2009-10-21 22:50:39 +02:00
Günther Deschner
b9d9353b54
nsswitch: fix the build of the winbind krb5 locator plugin.
...
Guenther
2009-10-21 02:56:18 +02:00
Jeremy Allison
c79e2ff69a
Fix the pam_smbpass.so build with the recent linker flag changes.
...
Jeremy.
2009-10-20 13:09:42 -07:00
Björn Jacke
205284c904
s3:Makefile: rename LDSHFLAG variables to make meaning more obvious
2009-10-20 20:47:22 +02:00
Björn Jacke
f96f8f9c77
s3: make unresolved symbols in libs throw errors
...
except for the Samba internal plugins unresolved symbol references should not
show up in shared libraries. For historical reasons it's the default behaviour
of linkers to ignore those in shared libs. We use -z defs (alias
--no-undefined) to not ignore them in shared libs.
2009-10-20 10:52:06 +02:00
Björn Jacke
438f400680
s3: allow using different LDFLAGS for internal libs/plugins
...
internal libs have unresolved symbols intentionally.
Thanks to Buchan Milne for suggestion and patch. This addresses #6792 .
2009-10-20 10:52:06 +02:00
Günther Deschner
e8e1d60941
s3-libnetapi: add I_NetLogonControl{2} skeleton.
...
Guenther
2009-10-16 10:50:28 +02:00
Günther Deschner
449ab398f5
s3-spnego: Fix Bug #6815 . Windows 2008 R2 SPNEGO negTokenTarg parsing failure.
...
When parsing a SPNEGO session setup retry (falling back from KRB5 to NTLMSSP),
we failed to parse the ASN1_ENUMERATED negResult in the negTokenTarg, thus
failing spnego_parse_auth() completely.
By just using the shared spnego/asn1 code, we get the parsing the correct way.
Guenther
2009-10-15 14:41:22 +02:00
Günther Deschner
a3306e352d
s3-winbindd: add wbint_ChangeMachineAccount implementation.
...
Guenther
2009-10-13 12:42:44 +02:00
Björn Jacke
76f73c73ea
s3: make linking of libwbclient --as-needed safe
...
Partly fixes #6791 . Thanks to Buchan Milne!
2009-10-09 00:24:18 +02:00
Björn Jacke
984d001cae
s3:Makefile: another attempt to fix the wbclient dependency
...
in the dependencies we always used a variable that was not jet defined.
2009-10-04 02:20:21 +02:00
Björn Jacke
71229dde1e
s3:Makefile: another attempt to fix the netapi dependency
...
in the dependencies we always used a variable that was not jet defined.
2009-10-04 02:20:21 +02:00
Björn Jacke
a45716400d
s3:Makefile: another attempt to fix the tdb dependency
...
in the dependencies we always used a variable that was not jet defined.
2009-10-04 02:20:21 +02:00
Björn Jacke
da597f2df0
s3:Makefile: another attempt to fix the talloc dependency
...
in the dependencies we always used a variable that was not jet defined.
2009-10-04 02:20:21 +02:00
Björn Jacke
63dedac08f
Revert "s3:Makefile: fix talloc dependencies with static build (2nd try)"
...
This reverts commit b60d87c207
.
2009-10-04 02:20:20 +02:00
Björn Jacke
19794ea541
Revert "s3:Makefile: fix libtdb dependencies with static build"
...
This reverts commit da15726630
.
2009-10-04 02:20:20 +02:00
Björn Jacke
be348842f5
Revert "s3:Makefile: fix libwbclient dependencies with static build"
...
This reverts commit d7795f2afa
.
2009-10-04 02:20:20 +02:00
Björn Jacke
eae87ffb3f
Revert "s3:Makefile: fix libnetapi dependencies with static build"
...
This reverts commit 110897a057
.
2009-10-04 02:20:20 +02:00
Björn Jacke
777143ef53
s3:Makefile: minor clean up
2009-10-03 00:22:54 +02:00
Björn Jacke
110897a057
s3:Makefile: fix libnetapi dependencies with static build
...
analogical to previous libtalloc fix
2009-10-03 00:22:53 +02:00
Björn Jacke
fbb6571367
s3:Makefile: eventlogadm dependency cleanup
...
no need to link against popt lib
2009-10-03 00:22:53 +02:00
Björn Jacke
d7795f2afa
s3:Makefile: fix libwbclient dependencies with static build
...
analogical to previous libtalloc fix
2009-10-03 00:22:53 +02:00
Björn Jacke
da15726630
s3:Makefile: fix libtdb dependencies with static build
...
analogical to previous libtalloc fix
2009-10-03 00:22:53 +02:00
Björn Jacke
b60d87c207
s3:Makefile: fix talloc dependencies with static build (2nd try)
...
When configure options --with-libtalloc=no --enable-shared-libs=no are used,
LIBTALLOC_TARGET stays empty. Actually LIBTALLOC_TARGET which is only used for
Makefile dependencies is obsolete as LIBTALLOC contains exactly the targets
that we depend on, libtalloc finally is the target to depend on.
2009-10-03 00:22:52 +02:00
Björn Jacke
99c4480674
Revert "s3:Makefile: fix talloc dependencies with static build"
...
This reverts commit 2af2334522
.
a more correct way to fix the libtalloc dependencies follows
2009-10-03 00:22:52 +02:00
Björn Jacke
7124b4fbeb
s3:Makefile: libsmbsharemode dependency cleanup
...
no need to link against ldap and krb5 libs
2009-10-03 00:22:52 +02:00
Björn Jacke
09936d52d2
s3:Makefile: net utility dependency cleanup
...
no need to link against iniparser lib
2009-10-03 00:22:52 +02:00
Björn Jacke
2af2334522
s3:Makefile: fix talloc dependencies with static build
...
When configure options --with-libtalloc=no --enable-shared-libs=no are used,
LIBTALLOC_TARGET stays empty. Actually LIBTALLOC_TARGET which is only used for
Makefile dependencies is obsolete as LIBTALLOC contains exactly the targets
that make the dependencies are. Obnox, pleaѕe check!
2009-10-01 19:27:37 +02:00
Günther Deschner
cd82d4ba56
s3: add perfcount idl and generated files.
...
Guenther
2009-10-01 12:19:43 +02:00
Günther Deschner
c6a7ecf28b
s3-registry: move rpccli_winreg_Connect to the only file it belongs.
...
Guenther
2009-10-01 11:40:31 +02:00
Volker Lendecke
0cf317f36f
s3: Remove the lua interpreter again
...
This was meant to support async winbind. But as the hairy parts of async
winbind (getgrent) are done without it, it can go again.
2009-09-29 13:51:43 +02:00
Michael Adam
8b795534bd
build: add datadir to "make showlayout"
...
Michael
2009-09-23 00:53:47 +02:00
Günther Deschner
503d035814
spnego: share spnego_parse.
...
Guenther
2009-09-17 01:12:20 +02:00
Günther Deschner
799f8d7e13
schannel: fully share schannel sign/seal between s3 and 4.
...
Guenther
2009-09-16 01:55:06 +02:00
Günther Deschner
87acb96fc3
lib/crypto: add aes encryption routines to main cryto lib.
...
Guenther
2009-09-16 00:11:23 +02:00
Andrew Bartlett
668470c992
libcli:nbt make the lmhosts parsing code and dependicies common
...
This starts the process to have Samba4 use lmhosts.
Andrew Bartlett
2009-09-15 07:42:54 -07:00
Günther Deschner
4fd9a9d6de
schannel: add NL_AUTH_MESSAGE and both NL_AUTH_SIGNATURE structs.
...
These actually belong netlogon but we for now want to keep netlogon as a security
providor separate.
Guenther
2009-09-08 14:55:10 +02:00
Jeremy Allison
5ce12a0565
Add read() to socketwrapper. Metze please check.
...
Jeremy.
2009-09-07 20:31:01 -07:00
Volker Lendecke
04ea250aeb
s3:winbind: Convert WINBINDD_SET_HWM to the new API
2009-09-07 01:28:32 +02:00
Volker Lendecke
4ad330d522
s3:winbind: Convert WINBINDD_REMOVE_MAPPING to the new API
2009-09-07 01:28:32 +02:00
Volker Lendecke
7159060450
s3:winbind: Convert WINBINDD_SET_MAPPING to the new API
2009-09-07 01:28:32 +02:00
Volker Lendecke
d9b7fd59b0
s3:winbind: Convert WINBINDD_CHECK_MACHACC to the new API
2009-09-07 01:28:32 +02:00
Volker Lendecke
0cae043b0c
w3:winbind: Convert WINBINDD_ALLOCATE_GID to the new API
2009-08-30 09:48:28 +02:00
Volker Lendecke
9e7c6f12fd
w3:winbind: Convert WINBINDD_ALLOCATE_UID to the new API
2009-08-30 09:48:28 +02:00
Volker Lendecke
2774a02f64
s3:winbind: Convert WINBINDD_LIST_GROUPS to the new API
2009-08-29 19:53:46 +02:00
Volker Lendecke
6b474c56a5
s3:winbind: Convert WINBINDD_LIST_USERS to the new API
2009-08-29 19:53:29 +02:00
Volker Lendecke
e47491e83c
s3:winbind: Convert the getgrent functions to the new API
2009-08-29 19:42:27 +02:00
Volker Lendecke
10e9df2975
s3:winbind: Add async wb_next_grent
2009-08-29 19:42:27 +02:00
Volker Lendecke
50d9fb42fc
w3:winbind: Convert WINBINDD_LOOKUPRIDS to the new API
2009-08-29 19:42:26 +02:00
Volker Lendecke
425239caee
s3:winbind: Convert the GETDCNAME routines to the new API
2009-08-29 19:42:26 +02:00
Volker Lendecke
15312e7310
s3:winbind: Add async wb_dsgetdcname
2009-08-29 19:42:26 +02:00
Volker Lendecke
244bb7f163
s3:winbind: Convert winbindd_dsgetdcname to the new API
2009-08-29 19:42:26 +02:00
Volker Lendecke
9c30a8dc6f
s3:winbind: Convert the GETPWENT routines to the new API
2009-08-29 19:42:26 +02:00
Volker Lendecke
6e2bf7e234
s3:winbind: Add async next_pwent
2009-08-29 19:42:26 +02:00
Volker Lendecke
91588e6e8f
s3:winbind: Add async fill_pwent
2009-08-29 19:42:26 +02:00
Volker Lendecke
c325ba89cf
s3:winbind: Add async query_user_list
2009-08-29 19:42:26 +02:00
Günther Deschner
9afd44d03c
s3-ntlmssp: use generated ntlmssp code for debugging purpose.
...
Guenther
2009-08-28 13:03:17 +02:00
Günther Deschner
a3c6e02748
s3-credentials: remove unused code.
...
Guenther
2009-08-27 15:55:20 +02:00
Günther Deschner
a09b627ecc
s3-schannel: add simple wrappers to fetch and store schannel auth info.
...
Guenther
2009-08-27 15:55:19 +02:00
Günther Deschner
04310cc1c5
libcli/auth: add tdb backend for schannel state.
...
Guenther
2009-08-27 15:55:19 +02:00
Günther Deschner
5981272598
s3-build: add SCHANNEL_OBJ to Makefile.in.
...
Guenther
2009-08-27 15:55:18 +02:00
Volker Lendecke
1d8d3fd7c3
s3:winbind: Convert WINBINDD_GETUSERSIDS to the new API
2009-08-27 15:04:09 +02:00
Volker Lendecke
459233e630
s3:winbind: Convert WINBINDD_GETGRNAM to the new API
2009-08-16 12:39:08 +02:00
Volker Lendecke
a511a87519
s3:winbind: Convert WINBINDD_GETGRGID to the new API
2009-08-16 12:39:07 +02:00
Volker Lendecke
c83bf9cd7e
s3:winbind: Add async wb_getgrsid
2009-08-16 12:38:19 +02:00
Volker Lendecke
8a683f4896
s3:winbind: Add async wb_group_members
2009-08-16 12:38:19 +02:00
Volker Lendecke
1a22baa817
s3: Add talloc_dict.[ch]
2009-08-16 12:38:19 +02:00
Volker Lendecke
0f64bb5b7e
s3:winbind: Convert winbindd_show_sequence to the new API
2009-08-16 10:38:24 +02:00
Volker Lendecke
e54503e82f
s3:winbind: Add async wb_seqnums
...
This is something that would have been very difficult with the old style of
async requests: Send the request to all children simultaneously.
2009-08-16 10:38:24 +02:00
Volker Lendecke
1d110e0ef6
s3:winbind: Add async wb_seqnum
2009-08-16 10:38:24 +02:00
Stefan Metzmacher
a3cdd7949c
s3:Makefile: build ../libcli/smb/smb2_create_blob.o as part of smbd
...
metze
2009-08-15 10:46:36 +02:00
Volker Lendecke
0a16265bc2
s3:winbind: Convert WINBINDD_GETGROUPS to the new API
2009-08-05 03:21:25 -04:00
Volker Lendecke
01ea26bf28
s3:winbind: Add async wb_gettoken
2009-08-05 03:21:25 -04:00