Björn Jacke
9b1daa78cf
s3:Makefile: add missing linker flags for smbfilter
...
this should fix the AIX build
2010-05-26 17:23:28 +02:00
Björn Jacke
60cba59ff8
s3:Makefile: fix a typo in flag variable name
2010-05-26 17:23:28 +02:00
Michael Adam
36b74e03cf
s3:registry: rename lib/util_reg_api.c to registry/reg_util_marshalling.c
2010-05-25 10:35:27 +02:00
Michael Adam
773255ba50
s3:registry: rename reg_util.{c,h} to reg_util_internal.{c,h}
2010-05-25 10:35:27 +02:00
Michael Adam
e3f7fab668
s3:registry: move registry_create_admin_token() to new reg_util_token.c
2010-05-25 10:35:26 +02:00
Björn Jacke
4c659433c0
s3:Makefile: set PIE flags also for nss_winbind
2010-05-24 13:51:28 +02:00
Björn Jacke
5f0a2a15d8
s3:Makefile: position independency is also needed for shared libs
2010-05-24 12:25:02 +02:00
Björn Jacke
857ca4176a
s3:build: don't use pieflags twice - ldflags already have them
2010-05-24 12:24:56 +02:00
Volker Lendecke
9d1a08032b
s3: Next step to fix the build on OpenSolaris
2010-05-23 00:15:49 +02:00
Volker Lendecke
086c6c0e9a
s3: Attempt to fix the non-gnumake build
...
Björn, please check!
2010-05-22 20:06:16 +02:00
Günther Deschner
b75384546a
librpc: finally merge ndr_string.c.
...
Guenther
2010-05-20 13:57:22 +02:00
Andrew Bartlett
7a8e34fe86
s3:split secrets.c to put machine account secrets in a new file
...
This helps the s3compat effort by allowing these functions to be
replaced by functions that query the cli_credentials and secrets.ldb
APIs.
Also, this changes a couple of DOM_SID to struct dom_sid along the
way.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18 21:39:42 +02:00
Günther Deschner
9bbf761bfe
s3-net: Added a rather trivial "net printing dump" command.
...
Guenther
2010-05-18 15:06:17 +02:00
Jelmer Vernooij
2cc612cb6b
s3-selftest: Allow overriding the subunit formatter.
...
(e.g. "make selftest SUBUNIT_FORMATTER=cat")
2010-05-16 00:21:19 +02:00
Simo Sorce
f36396f90f
Move standard printcap parsing to print_standard.c
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-14 14:14:55 +02:00
Stefan Metzmacher
6427484f84
s3:build: build smbtorture4 when the merged build is selected
...
metze
2010-05-13 19:42:25 +02:00
Andrew Bartlett
7f70b53dd6
s3:Winbindd Move winbindd_event_context to a different file
...
This allows this function to be easily replaced in s3compat
Andrew Bartlett
2010-05-13 10:12:26 +10:00
Stefan Metzmacher
4fcd5446d3
s3:Makefile: build smbtorture4 as static binary with socket_wrapper support
...
metze
2010-05-11 16:11:37 +02:00
Jelmer Vernooij
ed39e9b67f
s3: Work around dependency bug in Samba 4 waf build in merged build.
2010-05-10 14:48:41 +02:00
Günther Deschner
b83ab96b16
s3-passdb: moving account_pol.c into passdb.
...
Guenther
2010-05-08 01:45:27 +02:00
Jelmer Vernooij
961993bc91
s3-merged: Make sure bin/ exists when copying in bin/smbtorture4.
2010-05-07 18:34:00 +02:00
Jelmer Vernooij
169aabae70
s3-merged: Use newly added waf reconfigure subcommand.
2010-05-07 18:34:00 +02:00
Jelmer Vernooij
95421552be
Reintroduce merged build, using waf to build smbtorture4.
2010-05-07 18:34:00 +02:00
Jelmer Vernooij
c18d58b854
samba3: Generate C files from IDL in source3/librpc/gen_ndr rather than
...
librpc/gen_ndr.
This is done to make it possible to run waf in the source4/ tree at
the same time, since waf has problems with files that were generated by
something else.
2010-05-07 18:34:00 +02:00
Jelmer Vernooij
fc336590dc
Remove the copy of ldb from Samba 3.
...
There were two utility functions that other parts of Samba 3
still relied on; they have been moved to lib/ldb_compat.[ch].
2010-05-06 11:34:30 +02:00
Andrew Tridgell
10469d6606
s3-build: don't rebuild/link on every make run
2010-05-05 16:14:13 +02:00
Andrew Tridgell
6f895fedf3
s3-idl: auto-build IDL files in Samba3
2010-05-04 13:47:07 +02:00
Günther Deschner
6864828d9d
s3: use shared registry functions.
...
Guenther
2010-04-27 16:42:15 +02:00
Volker Lendecke
f2f0fed8aa
s3: Convert WINBINDD_PAM_CHNG_PSWD_AUTH_CRAP to the new async API
2010-04-23 23:41:04 +02:00
Volker Lendecke
5aa88782ce
libwbclient: remove async libwbclient and talloc from libwbclient.so
...
Except for tests there is right now no active user of this. We can easily
re-add this when smbd makes more use of it.
2010-04-19 14:27:24 +02:00
Volker Lendecke
9d0629d155
s3-winbind: Allow changing the password for pdb
2010-04-19 14:27:20 +02:00
Volker Lendecke
45eeed2893
s3: Convert WINBINDD_PAM_LOGOFF to the new async API
2010-04-19 14:27:20 +02:00
Volker Lendecke
518a4f5423
s3: Convert WINBINDD_PAM_CHAUTHTOK to the new async API
2010-04-19 14:27:20 +02:00
Volker Lendecke
d869e7a0d8
s3: Convert WINBINDD_PAM_AUTH_CRAP to the new async API
2010-04-19 14:27:19 +02:00
Volker Lendecke
61ec0f571a
s3: Convert WINBINDD_PAM_AUTH to the new async API
2010-04-19 14:27:19 +02:00
Volker Lendecke
577bceb19b
s3-winbind: Authenticate SAM users
2010-04-13 21:21:34 +02:00
Volker Lendecke
b8829e74fd
s3: Move [make|free]_user_info to auth/user_info.c
2010-04-11 22:59:47 +02:00
Volker Lendecke
18909879cc
s3: Move make_server_info_sam to auth/server_info_sam.c
2010-04-11 22:59:47 +02:00
Volker Lendecke
80708b75f8
s3: Move make_server_info to auth/server_info.c
2010-04-11 22:59:46 +02:00
Volker Lendecke
5792ccc7c8
s3: Move check_sam_security to auth/check_sam.c
2010-04-11 22:59:46 +02:00
Andreas Schneider
4f3893f814
s3-spoolss: Added a function to open a regkey using the winreg pipe.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:52 +02:00
Jelmer Vernooij
08161e093d
selftest: Convert filter-subunit to Python so the subunit Python module
...
can be used later.
2010-03-31 02:20:07 +02:00
Jelmer Vernooij
ef3fb75261
selftest: Replace perl subunit formatter with python subunit formatter,
...
so we can leverage the work happening in python-subunit.
2010-03-30 01:08:20 +02:00
Jelmer Vernooij
b607f99688
Remove extension from format-subunit.
2010-03-28 21:46:58 +02:00
Stefan Metzmacher
b82f168c3c
s3:librpc: remove unused stuff
...
metze
2010-03-19 17:05:46 +01:00
Holger Hetterich
5b7179d2a3
Add smbta-util to manage the encryption key.
...
This program allows the administrator to enable or disable AES
encryption when using vfs_smb_traffic_analyzer. It also generates new
keys, stores them to a file, so that the file can be reused on another
client or server.
2010-03-16 09:52:10 -04:00
Volker Lendecke
89c785c47a
s3: Fix a long-standing problem with recycled PIDs
...
When a samba server process dies hard, it has no chance to clean up its entries
in locking.tdb, brlock.tdb, connections.tdb and sessionid.tdb.
For locking.tdb and brlock.tdb Samba is robust by checking every time we read
an entry from the database if the corresponding process still exists. If it
does not exist anymore, the entry is deleted. This is not 100% failsafe though:
On systems with a limited PID space there is a non-zero chance that between the
smbd's death and the fresh access, the PID is recycled by another long-running
process. This renders all files that had been locked by the killed smbd
potentially unusable until the new process also dies.
This patch is supposed to fix the problem the following way: Every process ID
in every database is augmented by a random 64-bit number that is stored in a
serverid.tdb. Whenever we need to check if a process still exists we know its
PID and the 64-bit number. We look up the PID in serverid.tdb and compare the
64-bit number. If it's the same, the process still is a valid smbd holding the
lock. If it is different, a new smbd has taken over.
I believe this is safe against an smbd that has died hard and the PID has been
taken over by a non-samba process. This process would not have registered
itself with a fresh 64-bit number in serverid.tdb, so the old one still exists
in serverid.tdb. We protect against this case by the parent smbd taking care of
deregistering PIDs from serverid.tdb and the fact that serverid.tdb is
CLEAR_IF_FIRST.
CLEAR_IF_FIRST does not work in a cluster, so the automatic cleanup does not
work when all smbds are restarted. For this, "net serverid wipe" has to be run
before smbd starts up. As a convenience, "net serverid wipedbs" also cleans up
sessionid.tdb and connections.tdb.
While there, this also cleans up overloading connections.tdb with all the
process entries just for messaging_send_all().
Volker
2010-03-10 16:07:10 +01:00
Björn Jacke
a4dc50ef12
s3: add missing Makefile.in changes for vfs_crossrename
2010-03-08 17:53:18 +01:00
Jeff Layton
f4cb528ac5
samba: remove cifs-utils tools from build systems
...
Now that cifs-utils are their own project, we need to go ahead and pull
them out of the samba tree. This patch represents the first step toward
that end.
Remove the cifs-utilities from the source3 and source4 builds. Please
pay particular attention to the source4 piece. I'm not at all familiar
with the build system there, and would appreciate someone sanity
checking my changes.
It also adds a small README.cifs-utils file in the topdir. This is
optional, but I think it's a good idea to carry this for a release or
two.
Once this patch looks ok, I'll plan to do another patch to actually
remove the client dir and the relevant docs-xml files from the tree
altogether.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-03-08 09:06:40 -05:00
Matthieu Patou
92785f9af6
s3: Fix build file due to file move. Use the new path of iniparser
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-03 09:22:39 +01:00
Matthieu Patou
1af5a6d359
s3: Allow pam_winbind.c to build without localedir.c
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-03 09:22:38 +01:00
Michael Adam
6fa767fbb2
s3: build sddl.c in samba3
2010-03-03 09:16:35 +01:00
Simo Sorce
be026a6fd8
s3:groupmap revert to tdb storage
...
Group mapping needs to be cluster aware, and this means using the tdb backend.
Remove ldb group mapping as this is not cluster aware.
2010-03-01 16:09:58 -05:00
Volker Lendecke
d6a6872506
s3: Abstract access to sessionid.tdb, similar to conn_tdb.c
2010-03-01 17:53:22 +01:00
Simo Sorce
3b12c38ac0
s3:schannel streamline interface
...
Make calling schannel much easier by removing the need to explicitly open the
database. Let the abstraction do it instead.
2010-02-23 12:46:50 -05:00
Simo Sorce
61b7a24f16
s3 move the sitename cache in its own file
2010-02-23 12:46:26 -05:00
Kai Blin
b99d9f86e4
libwbclient: Separate out the async functions
2010-02-13 14:30:36 +01:00
Volker Lendecke
4c1c3f2549
s3: Implement global locks in a g_lock tdb
...
This is the basis to implement global locks in ctdb without depending on a
shared file system. The initial goal is to make ctdb persistent transactions
deterministic without too many timeouts.
2010-02-12 23:12:09 +01:00
Björn Jacke
55d65ba721
s3:nsswitch: also use pthread CFLAGS for the nsswitch modules that might require it
2010-02-04 11:03:55 +01:00
Björn Jacke
acedd1c832
s3: fix build on Tru64 after it broke with deactivating pthread pool support
2010-02-04 10:37:17 +01:00
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
Volker Lendecke
fec380818f
s3:winbind: Convert WINBINDD_GETUSERDOMGROUPS to the new API
2009-08-05 03:21:25 -04:00
Volker Lendecke
1dc1ac0051
s3:winbind: Add async wb_lookupusergroups
2009-08-05 03:21:25 -04:00
Volker Lendecke
592822786d
s3:winbind: Convert WINBINDD_GETSIDALIASES to the new API
2009-08-05 03:21:24 -04:00
Volker Lendecke
ce42ea3ab8
s3:winbind: Add async wb_lookupuseraliases
2009-08-05 03:21:24 -04:00
Volker Lendecke
bd9d7f75e3
s3:winbind: Convert WINBINDD_GETPWUID to the new API
2009-08-05 03:21:23 -04:00
Volker Lendecke
5bbb7a0d14
s3:winbind: Convert WINBINDD_GETPWNAM to the new API
2009-08-05 03:21:23 -04:00
Volker Lendecke
9dc401a20e
s3:winbind: Convert WINBINDD_GETPWSID to the new API
2009-08-05 03:21:23 -04:00
Volker Lendecke
afc82444fd
s3:winbind: Add async wb_getpwsid
2009-08-05 03:21:23 -04:00
Volker Lendecke
7077492778
s3:winbind: Add async wb_queryuser
2009-08-05 03:21:22 -04:00
Volker Lendecke
10685b37d4
s3:winbind: Convert WINBINDD_GID_TO_SID the new API
2009-08-05 03:21:22 -04:00
Volker Lendecke
292f3f896f
s3:winbind: Add async wb_gid2sid
2009-08-05 03:21:22 -04:00
Volker Lendecke
9b369ffcf0
s3:winbind: Convert WINBINDD_UID_TO_SID the new API
2009-08-05 03:21:22 -04:00
Volker Lendecke
3eff8e93e2
s3:winbind: Add async wb_uid2sid
2009-08-05 03:21:21 -04:00
Volker Lendecke
5db561a608
s3:winbind: Convert WINBINDD_SID_TO_GID the new API
2009-08-05 03:21:21 -04:00
Volker Lendecke
153ae58d7d
s3:winbind: Add async wb_sid2gid
2009-08-05 03:21:21 -04:00
Volker Lendecke
fb7150f23b
s3:winbind: Convert WINBINDD_SID_TO_UID to the new API
2009-08-05 03:21:21 -04:00
Volker Lendecke
ea286fed7a
s3:winbind: Add async wb_sid2uid
2009-08-05 03:21:21 -04:00
Volker Lendecke
9c6f4cd12a
s3:winbind: Convert WINBINDD_LOOKUPNAME to the new API
2009-08-05 03:21:21 -04:00
Volker Lendecke
a541677077
s3:winbind: Add async wb_lookupname
2009-08-05 03:21:20 -04:00
Volker Lendecke
fa59f9720d
s3:winbind: Convert WINBINDD_LOOKUPSID to the new API
2009-08-05 03:21:20 -04:00
Volker Lendecke
bb359c780a
s3:winbind: Add async wb_lookupsid
2009-08-05 03:21:20 -04:00
Volker Lendecke
6cf3db9149
s3:winbind: Add NDR-based parent-child communication to winbind
2009-08-05 03:21:19 -04:00
Kai Blin
d2eb7f8853
s3 net: Initial top level support.
2009-07-29 23:46:09 +02:00
Jeremy Allison
9297b975f5
Fix the build breakage by #including modules/vfs_acl_common.c
...
into acl_tdb and acl_xattr. Duplicates the code size, but keeps
the code in common so I don't have to do bug fixes in two places
(which is what I really cared about).
Jeremy.
2009-07-27 12:09:40 -07:00
Jeremy Allison
ff547a23ae
Factor out common code into vfs_acl_common.c.
...
Jeremy.
2009-07-24 17:06:41 -07:00
Tim Prouty
841efce8b5
s3: Separate out a new file: filename_utils.c
...
This is to ease the linking pain of everything that links LOCKING_OBJ
2009-07-20 17:26:57 -07:00
Björn Jacke
5236b3699d
s3: make linking of rpcclient --as-needed safe
2009-07-15 17:38:40 +02:00
Peter Volkov
2df4550aae
s3: make linking of cifs.upcall --as-needed safe
...
See http://www.gentoo.org/proj/en/qa/asneeded.xml for details.
2009-07-15 17:38:34 +02:00
Günther Deschner
05fbe0c7f7
libds: merge the UF<->ACB flag mapping functions.
...
Guenther
2009-07-13 15:36:07 +02:00
Jim McDonough
7fd42d51c8
Fix make test_shlibs for libnss_wins and libnetapi (zlib)
2009-07-08 13:12:26 -04:00
Jim McDonough
6f64937ab8
Fix cifs.upcall builds on some platforms (zlib)
2009-07-08 08:02:04 -04:00
Björn Jacke
077808f916
s3/s4:build: honor library path from environment
...
we may not throw away LD_LIBRARY_PATH and friends as they sometimes contain
important information. Some of the build farm machines for example have the
python lib path in there - we can't run make test when we suddenly forget how
to use python
2009-07-04 01:14:24 +02:00
Stefan Metzmacher
909d42278a
s3:smbd: add marshalling layer for SMB2 Lock support
...
metze
2009-07-02 22:25:49 +02:00
Stefan Metzmacher
bc957dc4eb
s3:smbd: add marshalling layer for SMB2 Find (QueryDirectory) support
...
metze
2009-07-02 22:25:49 +02:00
Stefan Metzmacher
74860465ac
s3:smbd: add marshalling layer for SMB2 Break support (SMB 2.002 only)
...
metze
2009-07-02 22:25:49 +02:00
Stefan Metzmacher
d37709d38b
s3:smbd: add marshalling layer for SMB2 SetInfo support
...
metze
2009-07-02 22:25:49 +02:00
Stefan Metzmacher
1df9cb6bc9
s3:smbd: add marshalling layer for SMB2 GetInfo support
...
metze
2009-07-02 22:25:48 +02:00
Stefan Metzmacher
d49a0e5f7d
s3:smbd: add support for SMB2 Notify
...
metze
2009-07-02 09:13:56 +02:00
Michael Adam
dd118bf219
s3:build: remove the libgpo objects upon "make clean"
...
Michael
2009-07-01 11:30:35 +02:00
Michael Adam
9d70ef4cac
s3:build: remove ../libcli/nbt/tools/nmblookup.o and friends in make clean
...
Michael
2009-07-01 11:30:35 +02:00