Kai Blin [Tue, 11 May 2010 13:24:13 +0000 (15:24 +0200)]
s3-waf: clean up dependencies a little
Kai Blin [Tue, 11 May 2010 13:23:37 +0000 (15:23 +0200)]
s3-waf: tdb includes are in lib/tdb/include
Kai Blin [Tue, 11 May 2010 13:00:43 +0000 (15:00 +0200)]
s3-waf: fix eventlogadm build with winbind
Kai Blin [Tue, 11 May 2010 08:32:07 +0000 (10:32 +0200)]
s3-waf: Autogenerate the static and dynamic init function calls
Kai Blin [Tue, 11 May 2010 08:31:22 +0000 (10:31 +0200)]
s3-waf: add popt and tdb include dirs to the includes list
Kai Blin [Tue, 11 May 2010 08:30:25 +0000 (10:30 +0200)]
s3-waf: Fix up the winbindd build
Kai Blin [Fri, 30 Apr 2010 17:45:06 +0000 (19:45 +0200)]
s3-waf: add eventlogadm binary
Kai Blin [Fri, 30 Apr 2010 12:43:57 +0000 (14:43 +0200)]
s3-waf: Use a common subsystem for the kerberos client code
Kai Blin [Fri, 30 Apr 2010 12:33:49 +0000 (14:33 +0200)]
s3-waf: Use a common subsystem for samba-popt code
Kai Blin [Fri, 30 Apr 2010 12:22:06 +0000 (14:22 +0200)]
s3-waf: note that the options are broken
Kai Blin [Fri, 30 Apr 2010 12:21:28 +0000 (14:21 +0200)]
s3-waf: replace all - with _ in the configuration option names
Kai Blin [Fri, 30 Apr 2010 12:18:20 +0000 (14:18 +0200)]
s3-waf: Build swat
Kai Blin [Fri, 30 Apr 2010 12:17:30 +0000 (14:17 +0200)]
s3-waf: build winbindd again
Kai Blin [Fri, 30 Apr 2010 09:25:52 +0000 (11:25 +0200)]
s3-waf: fix up the LDAP objects if LDAP isn't built
Andrew Tridgell [Sun, 18 Apr 2010 12:43:01 +0000 (06:43 -0600)]
s3-waf: install swat files
Andrew Tridgell [Sun, 18 Apr 2010 12:42:49 +0000 (06:42 -0600)]
s3-waf: fixed install path for sbin binaries
Andrew Tridgell [Sun, 18 Apr 2010 12:42:20 +0000 (06:42 -0600)]
s3-waf: fixed SWATDIR to match old build
Kai Blin [Fri, 30 Apr 2010 08:15:11 +0000 (10:15 +0200)]
s3-waf: Fix the minimal build
When using the internal zlib and popt, the dependencies and includes
have to be adapted a bit
Kai Blin [Fri, 30 Apr 2010 08:07:28 +0000 (02:07 -0600)]
s3-waf: Fix the build --with-ldap
The LDAP source files as set by configure weren't detected correctly in the wscript_build
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Kai Blin [Fri, 23 Apr 2010 06:59:43 +0000 (08:59 +0200)]
s3-waf: Fix global includes to fix waf configure --help output
Kai Blin [Thu, 22 Apr 2010 21:33:38 +0000 (23:33 +0200)]
s3-waf: Introduce more subsystems to reduce build time
Kai Blin [Wed, 21 Apr 2010 20:31:35 +0000 (22:31 +0200)]
s3-waf: Don't build winbindd when --without-winbind is set
Kai Blin [Wed, 21 Apr 2010 09:08:37 +0000 (11:08 +0200)]
s3-waf: Get winbindd to build again with current master
Kai Blin [Wed, 21 Apr 2010 06:07:50 +0000 (08:07 +0200)]
s3-waf: Add dummy configuration option for pthreadpool
Kai Blin [Wed, 21 Apr 2010 06:04:12 +0000 (08:04 +0200)]
s3-waf: Add dummy configuration option for utmp
Kai Blin [Wed, 21 Apr 2010 06:03:38 +0000 (08:03 +0200)]
s3-waf: Add dummy configuration option for sendfile-support
Kai Blin [Wed, 21 Apr 2010 06:02:31 +0000 (08:02 +0200)]
s3-waf: Add dummy configuration options for quotas
Kai Blin [Wed, 21 Apr 2010 06:00:52 +0000 (08:00 +0200)]
s3-waf: Add dummy configuration option for PAM
Kai Blin [Wed, 21 Apr 2010 05:58:44 +0000 (07:58 +0200)]
s3-waf: Add configuration option for merged build
This doesn't enable the merged build, but doesn't error out when the --disable-merged-build configuration option is set
Kai Blin [Sun, 18 Apr 2010 08:08:25 +0000 (10:08 +0200)]
s3-waf: Fix install location of testparm and wbinfo
Kai Blin [Sun, 18 Apr 2010 08:07:54 +0000 (10:07 +0200)]
s3-waf: Build LDB as a subsystem
Kai Blin [Sun, 18 Apr 2010 07:30:59 +0000 (09:30 +0200)]
s3-waf: build testparm and winbindd
Kai Blin [Sun, 18 Apr 2010 07:26:54 +0000 (09:26 +0200)]
s3-waf dynconfig: s3 configfile default is $LIBDIR/smb.conf
Andrew Tridgell [Mon, 12 Apr 2010 06:05:40 +0000 (00:05 -0600)]
s3-waf: merged auth subsystem changes from master
Andrew Tridgell [Mon, 12 Apr 2010 06:40:54 +0000 (00:40 -0600)]
s3-waf: move the KRB5_DEPRECATED check into lib/replace
this needs to be with the krb5.h check
Kai Blin [Mon, 12 Apr 2010 05:21:41 +0000 (07:21 +0200)]
s3-waf: Don't recurse into tsocket dir during configure
Andrew Tridgell [Thu, 8 Apr 2010 19:05:36 +0000 (13:05 -0600)]
s3-waf: Add enable selftest configuration option
Andrew Tridgell [Thu, 8 Apr 2010 21:03:40 +0000 (15:03 -0600)]
s3-waf: correctly handle the libcap dependency when libcap is not installed
Kai Blin [Sun, 11 Apr 2010 21:01:29 +0000 (23:01 +0200)]
s3-waf: build wbinfo using waf
Kai Blin [Sun, 11 Apr 2010 20:43:23 +0000 (22:43 +0200)]
s3-waf: Add ctags command
Kai Blin [Sun, 11 Apr 2010 20:05:50 +0000 (22:05 +0200)]
s3-waf: Build nmbd using waf as well
Kai Blin [Sun, 11 Apr 2010 20:05:10 +0000 (22:05 +0200)]
s3-waf: Support smbd build without ldap and kerberos
Kai Blin [Sun, 11 Apr 2010 08:36:05 +0000 (10:36 +0200)]
s3-waf: Allow building without ads/ldap/krb5 even if the libs are installed
Kai Blin [Sun, 11 Apr 2010 08:34:52 +0000 (10:34 +0200)]
build: Don't look for krb5.h in libreplace
Kai Blin [Sun, 11 Apr 2010 08:34:12 +0000 (10:34 +0200)]
s3-waf: Allow using --enable/--disable options as well
Andrew Tridgell [Thu, 8 Apr 2010 21:04:55 +0000 (15:04 -0600)]
s3-waf: correctly handle cups dependencies when cups development packages are not installed
Kai Blin [Sun, 11 Apr 2010 07:35:08 +0000 (09:35 +0200)]
s3-waf: Add helper that facilitates defining --with-x and --without-x options
Kai Blin [Thu, 8 Apr 2010 06:09:11 +0000 (08:09 +0200)]
s3-waf: Fix the CUPS dependency
Andrew Tridgell [Wed, 7 Apr 2010 13:34:12 +0000 (07:34 -0600)]
s3-waf: All sorts of nasty hacks to finally get smbd to build/link
Pair-Programmed-With: Kai Blin <kai@samba.org>
Kai Blin [Mon, 5 Apr 2010 22:44:25 +0000 (00:44 +0200)]
s3-waf: Add some more krb5 checks
There is still quite a few of them missing.
Kai Blin [Mon, 5 Apr 2010 21:44:37 +0000 (23:44 +0200)]
s3-waf: Check for LDAP
Kai Blin [Mon, 5 Apr 2010 12:41:23 +0000 (14:41 +0200)]
s3-waf: Move cups, ldap and krb5 checks to the end of the wscript file
Kai Blin [Mon, 5 Apr 2010 12:40:10 +0000 (14:40 +0200)]
s3-waf: Check for KRB5_DEPRECATED handling
Kai Blin [Mon, 5 Apr 2010 12:39:07 +0000 (14:39 +0200)]
s3-waf: Fake some defines that need to be set by configure options later
Kai Blin [Mon, 5 Apr 2010 07:34:43 +0000 (01:34 -0600)]
s3-waf: Add more objects trying to build smbd
Kai Blin [Fri, 26 Mar 2010 22:52:32 +0000 (16:52 -0600)]
s3-waf: Added support dynconfig cflags
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
Jeremy Allison [Thu, 20 May 2010 18:36:47 +0000 (11:36 -0700)]
Fix bug #7410 - samba sends "raw" inode number as uniqueid with unix extensions.
Move to a consistent get_FileIndex() function for all inode returns,
that checks if st_dev on the file is identical to the top directory
dev_t of the exported share, and if so uses the raw 64-bit inode
number. If it isn't (we've traversed a mount point) - return what
we used to do for Windows which is the concatination of the bottom
32-bits of the inode with the 32-bit device number. We can get more
creative with this over time (hashing?) if we want as now all inode returns go
through this single function.
Jeremy.
Stefan Metzmacher [Fri, 30 Apr 2010 16:24:53 +0000 (18:24 +0200)]
s4:ldb-samba: handle more GUID attributes
metze
Günther Deschner [Wed, 2 Sep 2009 19:21:26 +0000 (21:21 +0200)]
s3-libgpo: enable LDAP sign in ads_get_gpo_list().
Guenther
Günther Deschner [Wed, 2 Sep 2009 19:16:45 +0000 (21:16 +0200)]
s3-libads: add ads_set_sasl_wrap_flags().
Guenther
Günther Deschner [Wed, 2 Sep 2009 20:07:01 +0000 (22:07 +0200)]
s3-net: show how to use filters for group policy processing.
Guenther
Günther Deschner [Wed, 2 Sep 2009 20:04:03 +0000 (22:04 +0200)]
s3-net: let net_ads_gpo() call no_ads when built w/o ads support.
Guenther
Günther Deschner [Wed, 2 Sep 2009 19:15:28 +0000 (21:15 +0200)]
s3-net: compile net_ads_gpo_apply().
Guenther
Günther Deschner [Thu, 20 May 2010 16:32:37 +0000 (18:32 +0200)]
s3-registry: support REG_DWORD_BIG_ENDIAN.
Just treat it as a REG_DWORD for now. Long term all these checks will need to
pass away, once we get a real registry...
Guenther
Günther Deschner [Wed, 2 Sep 2009 19:25:32 +0000 (21:25 +0200)]
s3-registry: support REG_QWORD.
Guenther
Günther Deschner [Thu, 20 May 2010 10:02:55 +0000 (12:02 +0200)]
s3-utils: remove trailing whitespace from profiles utility.
Guenther
Günther Deschner [Thu, 20 May 2010 11:57:22 +0000 (13:57 +0200)]
librpc: finally merge ndr_string.c.
Guenther
Günther Deschner [Thu, 20 May 2010 11:54:44 +0000 (13:54 +0200)]
s3-libndr: merge in better ndr warnings from s4 ndr_string.c
Guenther
Günther Deschner [Thu, 20 May 2010 11:54:08 +0000 (13:54 +0200)]
s3-build: add missing prototype for regtype_by_string().
Guenther
Günther Deschner [Thu, 20 May 2010 11:39:46 +0000 (13:39 +0200)]
s3-services: move services.h closer to services implementation.
Guenther
Günther Deschner [Wed, 19 May 2010 22:46:47 +0000 (00:46 +0200)]
s3-lanman: Fix various RAP printing calls according to win98 testing and MS-RAP docs.
Guenther
Kai Blin [Thu, 20 May 2010 09:29:03 +0000 (11:29 +0200)]
s3 smb2: Fix the build without kerberos
Jeremy, please check
Andreas Schneider [Mon, 17 May 2010 12:01:18 +0000 (14:01 +0200)]
s3-net: Created a migration tool for printing TDBs.
Signed-off-by: Günther Deschner <gd@samba.org>
Günther Deschner [Tue, 18 May 2010 21:05:33 +0000 (23:05 +0200)]
s4-smbtorture: take a TODO note for RAP-PRINTING.
Guenther
Matthias Dieter Wallnöfer [Thu, 20 May 2010 08:23:45 +0000 (10:23 +0200)]
s4:operational LDB module - fix warnings (missing parameters, unused variable)
Andrew Bartlett [Thu, 20 May 2010 06:51:59 +0000 (16:51 +1000)]
s4:auth handle addition of nested aliases of domain groups.
The challenge here is that we are asked not to add the domain groups
again, but we need to search inside them for any aliases that we need
to add. So, we can't short-circuit the operation just because we found
the domain group.
Andrew Bartlett
Andrew Bartlett [Mon, 19 Apr 2010 05:51:57 +0000 (15:51 +1000)]
s4:auth Change auth_generate_session_info to take flags
This allows us to control what groups should be added in what use
cases, and in particular to more carefully control the introduction of
the 'authenticated' group.
In particular, in the 'service_named_pipe' protocol, we do not have
control over the addition of the authenticated users group, so we key
of 'is this user the anonymous SID'.
This also takes more care to allocate the right length ptoken->sids
Andrew Bartlett
Andrew Bartlett [Mon, 19 Apr 2010 05:43:33 +0000 (15:43 +1000)]
s4:auth Push check for messaging context into winbind backend
If we don't use the winbind backend, we don't (for now) need a
messaging context- and we don't have one in LDB at the moment.
Andrew Bartlett
Andrew Bartlett [Thu, 15 Apr 2010 22:42:12 +0000 (08:42 +1000)]
s4:auth Add dependency from the operational module onto auth
We had to split up the auth module into a module loaded by main deamon
and a subsystem we manually init in the operational module.
Andrew Bartlett
Andrew Bartlett [Thu, 15 Apr 2010 01:58:05 +0000 (11:58 +1000)]
s4:auth Allow the operational module to get a user's tokenGroups from auth
This creates a new interface to the auth subsystem, to allow an
auth_context to be created from the ldb, and then tokenGroups to be
calculated in the same way that the auth subsystem would.
Andrew Bartlett
Andrew Bartlett [Thu, 4 Mar 2010 09:07:12 +0000 (20:07 +1100)]
s4:torture Add tests to demonstrate S2U4Self in the RPC-PAC test
We also compare against SamLogon to try and validate the whole thing.
Note that we must represent NULL as "" when comparing between the PAC
and SamLogon, due to different marshalling of the structures.
Andrew Bartlett
Andrew Bartlett [Tue, 13 Apr 2010 12:11:26 +0000 (22:11 +1000)]
s4:auth Move BUILTIN group addition into session.c
The group list in the PAC does not include 'enterprise DCs' and
BUILTIN groups, so we should generate it on each server, not in the
list we pass around in the PAC or SamLogon reply.
Andrew Bartlett
Andrew Bartlett [Fri, 9 Apr 2010 09:18:30 +0000 (19:18 +1000)]
s4:dsdb disable tokenGroups until end of rewrite
I need to change the functions this calls
Andrew Bartlett
Michael Adam [Tue, 18 May 2010 13:25:53 +0000 (15:25 +0200)]
s3:winbind:idmap_tdb2_set_mapping: untangle assignment from check
Jeremy Allison [Thu, 20 May 2010 04:28:08 +0000 (21:28 -0700)]
Fix bug 7442 - Samba returns incorrect SMB2 QFS device info.
Add the correct devicetype and characteristics for this info level.
Jeremy.
Jeremy Allison [Thu, 20 May 2010 04:27:43 +0000 (21:27 -0700)]
Fix connecting to [homes] share over SMB2.
Jeremy.
Jeremy Allison [Thu, 20 May 2010 04:27:17 +0000 (21:27 -0700)]
Correctly check error code return.
Jeremy.
Jeremy Allison [Thu, 20 May 2010 03:09:51 +0000 (20:09 -0700)]
After talking with Microsoft engineers, immediately replying
on compound requests on open being deferred for a sharing violation
is a Windows bug. Re-enable the code that simply delays the compound
response if the delay time is less than 2 seconds.
Jeremy.
Jeremy Allison [Thu, 20 May 2010 03:09:08 +0000 (20:09 -0700)]
After talking with Microsoft engineers, the "lock spin time" is
no longer used in SMB2.
Jeremy.
Jeremy Allison [Thu, 20 May 2010 02:28:26 +0000 (19:28 -0700)]
(Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from 64-bit Vista client
It turns out that the persistent handles are used by the Microsoft
redirector to index files on oplock break requests. So even if we
don't do durable handles (yet) we must set the persistent handle
on create. For now just use the same handle value as we use for
volatile.
Jeremy.
Simo Sorce [Tue, 18 May 2010 22:38:54 +0000 (18:38 -0400)]
tsocket: Improve the language in some parts of the guide.
Thomas Nagy [Wed, 19 May 2010 20:13:03 +0000 (22:13 +0200)]
s4-waf: Replace local includes in header files with proper system names.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Jeremy Allison [Wed, 19 May 2010 17:34:44 +0000 (10:34 -0700)]
Thanks to Andrew Bartlett's advice, fix the NTLMSSP version problem the correct way.
No more magic blobs :-). Use ndr_push_struct_blob() to
push a properly formatted VERSION struct.
Jeremy.
Jelmer Vernooij [Tue, 18 May 2010 22:26:56 +0000 (00:26 +0200)]
pynet: Raise proper exceptions rather than invoking sys.exit.
Stefan Metzmacher [Wed, 19 May 2010 11:30:58 +0000 (13:30 +0200)]
testprogs/win32: make it possible to specify MINGW_CC
metze
Stefan Metzmacher [Wed, 19 May 2010 11:58:26 +0000 (13:58 +0200)]
testprogs/win32/spoolss: we don't need absolute pathes to mingw locations
metze
Stefan Metzmacher [Wed, 19 May 2010 09:51:56 +0000 (11:51 +0200)]
testprogs/win32/npecho: use 'rm -f' instead of 'del' on unix
metze
Stefan Metzmacher [Wed, 19 May 2010 09:51:07 +0000 (11:51 +0200)]
testprogs/win32: explain how to use nmake with NMakefile
metze
Stefan Metzmacher [Wed, 19 May 2010 09:11:50 +0000 (11:11 +0200)]
testprogs/win32/spoolss: rename Makefile.mingw GNUmakefile
metze
Stefan Metzmacher [Wed, 19 May 2010 09:10:36 +0000 (11:10 +0200)]
testprogs/win32/spoolss: rename Makefile => NMakefile
metze