1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

1952 Commits

Author SHA1 Message Date
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