abartlet/samba.git/.git
14 years agos4-smbtorture: use push_reg_sz()/push_reg_multi_sz() in RPC-WINREG.
Günther Deschner [Thu, 20 May 2010 18:49:44 +0000 (20:49 +0200)]
s4-smbtorture: use push_reg_sz()/push_reg_multi_sz() in RPC-WINREG.

Guenther

14 years agos3-waf: ndr string functions moved to top level
Kai Blin [Thu, 20 May 2010 20:30:24 +0000 (22:30 +0200)]
s3-waf: ndr string functions moved to top level

14 years agos3-waf: Fix the build after rebase
Kai Blin [Thu, 20 May 2010 08:24:37 +0000 (10:24 +0200)]
s3-waf: Fix the build after rebase

14 years agos3-waf: more elaborate host_os check for STAT_ST_BLOCKSIZE
Kai Blin [Fri, 14 May 2010 09:03:19 +0000 (11:03 +0200)]
s3-waf: more elaborate host_os check for STAT_ST_BLOCKSIZE

14 years agos3-waf: fix linking of eventlogadm by adding cap as dependency
Michael Adam [Wed, 12 May 2010 21:48:10 +0000 (23:48 +0200)]
s3-waf: fix linking of eventlogadm by adding cap as dependency

14 years agos3-waf: fix linking of swat by adding cap as dependency
Michael Adam [Wed, 12 May 2010 21:47:36 +0000 (23:47 +0200)]
s3-waf: fix linking of swat by adding cap as dependency

14 years agos3-waf: Fix build with ldap by adding a SMBLDAP subsystem
Kai Blin [Wed, 12 May 2010 20:43:18 +0000 (22:43 +0200)]
s3-waf: Fix build with ldap by adding a SMBLDAP subsystem

14 years agos3-waf: fix the winbindd build again
Kai Blin [Wed, 12 May 2010 11:39:00 +0000 (05:39 -0600)]
s3-waf: fix the winbindd build again

14 years agos3-waf: Fix up PIDL includes.
Kai Blin [Wed, 12 May 2010 11:23:27 +0000 (05:23 -0600)]
s3-waf: Fix up PIDL includes.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

14 years agos3-waf: Some files moved during the rebase
Kai Blin [Wed, 12 May 2010 10:32:30 +0000 (04:32 -0600)]
s3-waf: Some files moved during the rebase

14 years agos3-waf: Add autogeneration with PIDL
Stefan Metzmacher [Wed, 12 May 2010 10:31:27 +0000 (04:31 -0600)]
s3-waf: Add autogeneration with PIDL

14 years agos3-waf: Remove references to LDB
Kai Blin [Wed, 12 May 2010 10:27:49 +0000 (04:27 -0600)]
s3-waf: Remove references to LDB

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

14 years agos3-waf: Also include source4/ when looking for headers
Stefan Metzmacher [Wed, 12 May 2010 10:23:10 +0000 (04:23 -0600)]
s3-waf: Also include source4/ when looking for headers

14 years agos3-waf: build shared modules as subsystems
Kai Blin [Tue, 11 May 2010 15:44:25 +0000 (17:44 +0200)]
s3-waf: build shared modules as subsystems

14 years agos3-waf: autogenerate lists of static modules
Kai Blin [Tue, 11 May 2010 15:14:54 +0000 (17:14 +0200)]
s3-waf: autogenerate lists of static modules

14 years agos3-waf: clean up includes
Kai Blin [Tue, 11 May 2010 15:13:05 +0000 (17:13 +0200)]
s3-waf: clean up includes

14 years agos3-waf: create a SECRETS subsystem
Kai Blin [Tue, 11 May 2010 15:11:41 +0000 (17:11 +0200)]
s3-waf: create a SECRETS subsystem

14 years agos3-waf: clean up dependencies a little
Kai Blin [Tue, 11 May 2010 13:24:13 +0000 (15:24 +0200)]
s3-waf: clean up dependencies a little

14 years agos3-waf: tdb includes are in lib/tdb/include
Kai Blin [Tue, 11 May 2010 13:23:37 +0000 (15:23 +0200)]
s3-waf: tdb includes are in lib/tdb/include

14 years agos3-waf: fix eventlogadm build with winbind
Kai Blin [Tue, 11 May 2010 13:00:43 +0000 (15:00 +0200)]
s3-waf: fix eventlogadm build with winbind

14 years agos3-waf: Autogenerate the static and dynamic init function calls
Kai Blin [Tue, 11 May 2010 08:32:07 +0000 (10:32 +0200)]
s3-waf: Autogenerate the static and dynamic init function calls

14 years agos3-waf: add popt and tdb include dirs to the includes list
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

14 years agos3-waf: Fix up the winbindd build
Kai Blin [Tue, 11 May 2010 08:30:25 +0000 (10:30 +0200)]
s3-waf: Fix up the winbindd build

14 years agos3-waf: add eventlogadm binary
Kai Blin [Fri, 30 Apr 2010 17:45:06 +0000 (19:45 +0200)]
s3-waf: add eventlogadm binary

14 years agos3-waf: Use a common subsystem for the kerberos client code
Kai Blin [Fri, 30 Apr 2010 12:43:57 +0000 (14:43 +0200)]
s3-waf: Use a common subsystem for the kerberos client code

14 years agos3-waf: Use a common subsystem for samba-popt code
Kai Blin [Fri, 30 Apr 2010 12:33:49 +0000 (14:33 +0200)]
s3-waf: Use a common subsystem for samba-popt code

14 years agos3-waf: note that the options are broken
Kai Blin [Fri, 30 Apr 2010 12:22:06 +0000 (14:22 +0200)]
s3-waf: note that the options are broken

14 years agos3-waf: replace all - with _ in the configuration option names
Kai Blin [Fri, 30 Apr 2010 12:21:28 +0000 (14:21 +0200)]
s3-waf: replace all - with _ in the configuration option names

14 years agos3-waf: Build swat
Kai Blin [Fri, 30 Apr 2010 12:18:20 +0000 (14:18 +0200)]
s3-waf: Build swat

14 years agos3-waf: build winbindd again
Kai Blin [Fri, 30 Apr 2010 12:17:30 +0000 (14:17 +0200)]
s3-waf: build winbindd again

14 years agos3-waf: fix up the LDAP objects if LDAP isn't built
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

14 years agos3-waf: install swat files
Andrew Tridgell [Sun, 18 Apr 2010 12:43:01 +0000 (06:43 -0600)]
s3-waf: install swat files

14 years agos3-waf: fixed install path for sbin binaries
Andrew Tridgell [Sun, 18 Apr 2010 12:42:49 +0000 (06:42 -0600)]
s3-waf: fixed install path for sbin binaries

14 years agos3-waf: fixed SWATDIR to match old build
Andrew Tridgell [Sun, 18 Apr 2010 12:42:20 +0000 (06:42 -0600)]
s3-waf: fixed SWATDIR to match old build

14 years agos3-waf: Fix the minimal 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

14 years agos3-waf: Fix the build --with-ldap
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>

14 years agos3-waf: Fix global includes to fix waf configure --help output
Kai Blin [Fri, 23 Apr 2010 06:59:43 +0000 (08:59 +0200)]
s3-waf: Fix global includes to fix waf configure --help output

14 years agos3-waf: Introduce more subsystems to reduce build time
Kai Blin [Thu, 22 Apr 2010 21:33:38 +0000 (23:33 +0200)]
s3-waf: Introduce more subsystems to reduce build time

14 years agos3-waf: Don't build winbindd when --without-winbind is set
Kai Blin [Wed, 21 Apr 2010 20:31:35 +0000 (22:31 +0200)]
s3-waf: Don't build winbindd when --without-winbind is set

14 years agos3-waf: Get winbindd to build again with current master
Kai Blin [Wed, 21 Apr 2010 09:08:37 +0000 (11:08 +0200)]
s3-waf: Get winbindd to build again with current master

14 years agos3-waf: Add dummy configuration option for pthreadpool
Kai Blin [Wed, 21 Apr 2010 06:07:50 +0000 (08:07 +0200)]
s3-waf: Add dummy configuration option for pthreadpool

14 years agos3-waf: Add dummy configuration option for utmp
Kai Blin [Wed, 21 Apr 2010 06:04:12 +0000 (08:04 +0200)]
s3-waf: Add dummy configuration option for utmp

14 years agos3-waf: Add dummy configuration option for sendfile-support
Kai Blin [Wed, 21 Apr 2010 06:03:38 +0000 (08:03 +0200)]
s3-waf: Add dummy configuration option for sendfile-support

14 years agos3-waf: Add dummy configuration options for quotas
Kai Blin [Wed, 21 Apr 2010 06:02:31 +0000 (08:02 +0200)]
s3-waf: Add dummy configuration options for quotas

14 years agos3-waf: Add dummy configuration option for PAM
Kai Blin [Wed, 21 Apr 2010 06:00:52 +0000 (08:00 +0200)]
s3-waf: Add dummy configuration option for PAM

14 years agos3-waf: Add configuration option for merged build
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

14 years agos3-waf: Fix install location of testparm and wbinfo
Kai Blin [Sun, 18 Apr 2010 08:08:25 +0000 (10:08 +0200)]
s3-waf: Fix install location of testparm and wbinfo

14 years agos3-waf: Build LDB as a subsystem
Kai Blin [Sun, 18 Apr 2010 08:07:54 +0000 (10:07 +0200)]
s3-waf: Build LDB as a subsystem

14 years agos3-waf: build testparm and winbindd
Kai Blin [Sun, 18 Apr 2010 07:30:59 +0000 (09:30 +0200)]
s3-waf: build testparm and winbindd

14 years agos3-waf dynconfig: s3 configfile default is $LIBDIR/smb.conf
Kai Blin [Sun, 18 Apr 2010 07:26:54 +0000 (09:26 +0200)]
s3-waf dynconfig: s3 configfile default is $LIBDIR/smb.conf

14 years agos3-waf: merged auth subsystem changes from master
Andrew Tridgell [Mon, 12 Apr 2010 06:05:40 +0000 (00:05 -0600)]
s3-waf: merged auth subsystem changes from master

14 years agos3-waf: move the KRB5_DEPRECATED check into lib/replace
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

14 years agos3-waf: Don't recurse into tsocket dir during configure
Kai Blin [Mon, 12 Apr 2010 05:21:41 +0000 (07:21 +0200)]
s3-waf: Don't recurse into tsocket dir during configure

14 years agos3-waf: Add enable selftest configuration option
Andrew Tridgell [Thu, 8 Apr 2010 19:05:36 +0000 (13:05 -0600)]
s3-waf: Add enable selftest configuration option

14 years agos3-waf: correctly handle the libcap dependency when libcap is not installed
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

14 years agos3-waf: build wbinfo using waf
Kai Blin [Sun, 11 Apr 2010 21:01:29 +0000 (23:01 +0200)]
s3-waf: build wbinfo using waf

14 years agos3-waf: Add ctags command
Kai Blin [Sun, 11 Apr 2010 20:43:23 +0000 (22:43 +0200)]
s3-waf: Add ctags command

14 years agos3-waf: Build nmbd using waf as well
Kai Blin [Sun, 11 Apr 2010 20:05:50 +0000 (22:05 +0200)]
s3-waf: Build nmbd using waf as well

14 years agos3-waf: Support smbd build without ldap and kerberos
Kai Blin [Sun, 11 Apr 2010 20:05:10 +0000 (22:05 +0200)]
s3-waf: Support smbd build without ldap and kerberos

14 years agos3-waf: Allow building without ads/ldap/krb5 even if the libs are installed
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

14 years agobuild: Don't look for krb5.h in libreplace
Kai Blin [Sun, 11 Apr 2010 08:34:52 +0000 (10:34 +0200)]
build: Don't look for krb5.h in libreplace

14 years agos3-waf: Allow using --enable/--disable options as well
Kai Blin [Sun, 11 Apr 2010 08:34:12 +0000 (10:34 +0200)]
s3-waf: Allow using --enable/--disable options as well

14 years agos3-waf: correctly handle cups dependencies when cups development packages are not...
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

14 years agos3-waf: Add helper that facilitates defining --with-x and --without-x options
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

14 years agos3-waf: Fix the CUPS dependency
Kai Blin [Thu, 8 Apr 2010 06:09:11 +0000 (08:09 +0200)]
s3-waf: Fix the CUPS dependency

14 years agos3-waf: All sorts of nasty hacks to finally get smbd to build/link
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>

14 years agos3-waf: Add some more krb5 checks
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.

14 years agos3-waf: Check for LDAP
Kai Blin [Mon, 5 Apr 2010 21:44:37 +0000 (23:44 +0200)]
s3-waf: Check for LDAP

14 years agos3-waf: Move cups, ldap and krb5 checks to the end of the wscript file
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

14 years agos3-waf: Check for KRB5_DEPRECATED handling
Kai Blin [Mon, 5 Apr 2010 12:40:10 +0000 (14:40 +0200)]
s3-waf: Check for KRB5_DEPRECATED handling

14 years agos3-waf: Fake some defines that need to be set by configure options later
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

14 years agos3-waf: Add more objects trying to build smbd
Kai Blin [Mon, 5 Apr 2010 07:34:43 +0000 (01:34 -0600)]
s3-waf: Add more objects trying to build smbd

14 years agos3-waf: Added support dynconfig cflags
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>

14 years agoFix bug #7410 - samba sends "raw" inode number as uniqueid with unix extensions.
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.

14 years agos4:ldb-samba: handle more GUID attributes
Stefan Metzmacher [Fri, 30 Apr 2010 16:24:53 +0000 (18:24 +0200)]
s4:ldb-samba: handle more GUID attributes

metze

14 years agos3-libgpo: enable LDAP sign in ads_get_gpo_list().
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

14 years agos3-libads: add ads_set_sasl_wrap_flags().
Günther Deschner [Wed, 2 Sep 2009 19:16:45 +0000 (21:16 +0200)]
s3-libads: add ads_set_sasl_wrap_flags().

Guenther

14 years agos3-net: show how to use filters for group policy processing.
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

14 years agos3-net: let net_ads_gpo() call no_ads when built w/o ads support.
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

14 years agos3-net: compile net_ads_gpo_apply().
Günther Deschner [Wed, 2 Sep 2009 19:15:28 +0000 (21:15 +0200)]
s3-net: compile net_ads_gpo_apply().

Guenther

14 years agos3-registry: support REG_DWORD_BIG_ENDIAN.
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

14 years agos3-registry: support REG_QWORD.
Günther Deschner [Wed, 2 Sep 2009 19:25:32 +0000 (21:25 +0200)]
s3-registry: support REG_QWORD.

Guenther

14 years agos3-utils: remove trailing whitespace from profiles utility.
Günther Deschner [Thu, 20 May 2010 10:02:55 +0000 (12:02 +0200)]
s3-utils: remove trailing whitespace from profiles utility.

Guenther

14 years agolibrpc: finally merge ndr_string.c.
Günther Deschner [Thu, 20 May 2010 11:57:22 +0000 (13:57 +0200)]
librpc: finally merge ndr_string.c.

Guenther

14 years agos3-libndr: merge in better ndr warnings from s4 ndr_string.c
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

14 years agos3-build: add missing prototype for regtype_by_string().
Günther Deschner [Thu, 20 May 2010 11:54:08 +0000 (13:54 +0200)]
s3-build: add missing prototype for regtype_by_string().

Guenther

14 years agos3-services: move services.h closer to services implementation.
Günther Deschner [Thu, 20 May 2010 11:39:46 +0000 (13:39 +0200)]
s3-services: move services.h closer to services implementation.

Guenther

14 years agos3-lanman: Fix various RAP printing calls according to win98 testing and MS-RAP docs.
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

14 years agos3 smb2: Fix the build without kerberos
Kai Blin [Thu, 20 May 2010 09:29:03 +0000 (11:29 +0200)]
s3 smb2: Fix the build without kerberos

Jeremy, please check

14 years agos3-net: Created a migration tool for printing TDBs.
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>
14 years agos4-smbtorture: take a TODO note for RAP-PRINTING.
Günther Deschner [Tue, 18 May 2010 21:05:33 +0000 (23:05 +0200)]
s4-smbtorture: take a TODO note for RAP-PRINTING.

Guenther

14 years agos4:operational LDB module - fix warnings (missing parameters, unused variable)
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)

14 years agos4:auth handle addition of nested aliases of domain groups.
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

14 years agos4:auth Change auth_generate_session_info to take flags
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

14 years agos4:auth Push check for messaging context into winbind backend
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

14 years agos4:auth Add dependency from the operational module onto auth
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

14 years agos4:auth Allow the operational module to get a user's tokenGroups from auth
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

14 years agos4:torture Add tests to demonstrate S2U4Self in the RPC-PAC test
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

14 years agos4:auth Move BUILTIN group addition into session.c
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

14 years agos4:dsdb disable tokenGroups until end of rewrite
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