kamenim/samba.git
13 years agos3: Survive an idle child that was killed
Christian Ambach [Wed, 23 Feb 2011 10:10:15 +0000 (11:10 +0100)]
s3: Survive an idle child that was killed

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Feb 28 14:53:20 CET 2011 on sn-devel-104

13 years agos3: smbcontrol to notify smbd about idmap changes
Gregor Beck [Thu, 3 Feb 2011 15:30:29 +0000 (16:30 +0100)]
s3: smbcontrol to notify smbd about idmap changes

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Mon Feb 28 14:07:23 CET 2011 on sn-devel-104

13 years agos3: add functions to remove entries from idmap cache
Gregor Beck [Fri, 18 Feb 2011 13:47:03 +0000 (14:47 +0100)]
s3: add functions to remove entries from idmap cache

13 years agos3: add functions to remove entries from idmap memcache
Gregor Beck [Fri, 18 Feb 2011 13:45:14 +0000 (14:45 +0100)]
s3: add functions to remove entries from idmap memcache

13 years agos3: add functions to flush the idmap memcache
Gregor Beck [Fri, 18 Feb 2011 13:42:18 +0000 (14:42 +0100)]
s3: add functions to flush the idmap memcache

13 years agoWHATSNEW: document removed parameter "idmap alloc backend"
Michael Adam [Tue, 1 Feb 2011 10:59:25 +0000 (11:59 +0100)]
WHATSNEW: document removed parameter "idmap alloc backend"

13 years agoWHATSNEW: document new nfs quota backend for linux
Michael Adam [Tue, 1 Feb 2011 11:06:11 +0000 (12:06 +0100)]
WHATSNEW: document new nfs quota backend for linux

13 years agos3: Fix a typo
Volker Lendecke [Sat, 26 Feb 2011 13:01:08 +0000 (14:01 +0100)]
s3: Fix a typo

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Feb 27 20:14:20 CET 2011 on sn-devel-104

13 years agos3: Fix a comment
Volker Lendecke [Sat, 26 Feb 2011 12:41:43 +0000 (13:41 +0100)]
s3: Fix a comment

13 years agos3: Fix some nonempty blank lines
Volker Lendecke [Sat, 26 Feb 2011 11:36:19 +0000 (12:36 +0100)]
s3: Fix some nonempty blank lines

13 years agos3: Use strndup in parse_nss_param
Volker Lendecke [Sat, 26 Feb 2011 10:53:21 +0000 (11:53 +0100)]
s3: Use strndup in parse_nss_param

13 years agos3: properly find our standard nss_info backends
Volker Lendecke [Sun, 27 Feb 2011 18:09:28 +0000 (19:09 +0100)]
s3: properly find our standard nss_info backends

Right now, the nss_info backends are tied to the idmap backends (which is wrong
IMHO). In the domain child we don't load the idmap backend anymore, so we don't
have the nss info modules. This needs fixing properly.

13 years agos3: Fix a debug message
Volker Lendecke [Sun, 27 Feb 2011 15:11:36 +0000 (16:11 +0100)]
s3: Fix a debug message

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Feb 27 16:59:19 CET 2011 on sn-devel-104

13 years agos3: Make is_zero_addr take a sockaddr_storage
Volker Lendecke [Sun, 27 Feb 2011 08:57:18 +0000 (09:57 +0100)]
s3: Make is_zero_addr take a sockaddr_storage

All callers had to cast this anyway

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Feb 27 11:02:53 CET 2011 on sn-devel-104

13 years agos4/dsdb-util: Use DS_NTDSDSA_OPT_IS_GC flag definition
Kamen Mazdrashki [Tue, 22 Feb 2011 15:06:15 +0000 (17:06 +0200)]
s4/dsdb-util: Use DS_NTDSDSA_OPT_IS_GC flag definition

Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Sun Feb 27 00:10:45 CET 2011 on sn-devel-104

13 years agos4/tests: Include 'replica_sync' test in S4 test suite
Kamen Mazdrashki [Tue, 22 Feb 2011 15:05:54 +0000 (17:05 +0200)]
s4/tests: Include 'replica_sync' test in S4 test suite

13 years agos4/drs-test: Remove unused imports
Kamen Mazdrashki [Tue, 22 Feb 2011 02:38:12 +0000 (04:38 +0200)]
s4/drs-test: Remove unused imports

13 years agos4/drs-test: remove netReplicateCmd test from 'deleted object' test case
Kamen Mazdrashki [Tue, 22 Feb 2011 02:16:55 +0000 (04:16 +0200)]
s4/drs-test: remove netReplicateCmd test from 'deleted object' test case

DCs synchronization is moved to the test case setUp method
as there is no guarantee for the order of execution of tests
in a test case - thus netReplicateCmd may be executed after
ReplicateDeleteOjbect test

13 years agos4/drs-tests: Disable replication during 'deleted object' test
Kamen Mazdrashki [Tue, 22 Feb 2011 01:40:07 +0000 (03:40 +0200)]
s4/drs-tests: Disable replication during 'deleted object' test

This allows us to remove the patch that prevents the test failure.

Also pass 'forced' flag to samba-tool drs replicate command, otherwise
DsReplicaSync will fail with 'replication not permitted' error

13 years agos4/drs-tests: Move enable/disable replication methods to DrsBase class so we can...
Kamen Mazdrashki [Mon, 21 Feb 2011 15:49:54 +0000 (17:49 +0200)]
s4/drs-tests: Move enable/disable replication methods to DrsBase class so we can re-use them

13 years agos4-drepl: Schedule event to trigger replication rather than calling run_pending_ops...
Kamen Mazdrashki [Sat, 26 Feb 2011 21:13:49 +0000 (23:13 +0200)]
s4-drepl: Schedule event to trigger replication rather than calling run_pending_ops directly

Executing dreplsrv_run_pending_ops() directly may cause a segfault
as in case of failure, the _drepl_replica_sync_done_cb() callback
gets called *before* drepl_replica_sync() returns. In such case,
irpc message gets freed twice - once when irpc_send_reply() gets called
and once when drepl_replica_sync() returns

13 years agos4-drepl: Fix replica sync callback to really store last error rather than last success
Kamen Mazdrashki [Sat, 26 Feb 2011 21:01:20 +0000 (23:01 +0200)]
s4-drepl: Fix replica sync callback to really store last error rather than last success

13 years agos4-drepl: Refactor dreplsrv_run_pull_ops() to
Kamen Mazdrashki [Sat, 26 Feb 2011 19:00:46 +0000 (21:00 +0200)]
s4-drepl: Refactor dreplsrv_run_pull_ops() to

1. Take into account DSA options - we should not send replication
   requests in case OUTBOUND_REPLICATION is disabled
2. Use replication flags for the operation to determine if
   a forced replication is requested
3. In case outbound replication is disabled and we don't have
   DRSUAPI_DRS_SYNC_FORCED flag set, then we should record
   WERR_DS_DRA_SINK_DISABLED error as a last replication result

13 years agos4-drepl: Pass replication options from DsReplicaSync call
Kamen Mazdrashki [Sat, 26 Feb 2011 18:36:19 +0000 (20:36 +0200)]
s4-drepl: Pass replication options from DsReplicaSync call

13 years agos3: Improve a dbg msg in aio_fork
Volker Lendecke [Wed, 23 Feb 2011 10:09:32 +0000 (11:09 +0100)]
s3: Improve a dbg msg in aio_fork

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Feb 26 17:42:37 CET 2011 on sn-devel-104

13 years agonss_wrapper: Fix a segfault when libnss_winbind.so is not loadable
Volker Lendecke [Wed, 23 Feb 2011 22:20:27 +0000 (23:20 +0100)]
nss_wrapper: Fix a segfault when libnss_winbind.so is not loadable

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Feb 26 13:19:01 CET 2011 on sn-devel-104

13 years agonss_wrapper: Make nwrap_module_init a bit more readable
Volker Lendecke [Wed, 23 Feb 2011 22:17:58 +0000 (23:17 +0100)]
nss_wrapper: Make nwrap_module_init a bit more readable

13 years agos3: Fix pdb_ads_enum_group_memberships args
Volker Lendecke [Sat, 26 Feb 2011 09:52:23 +0000 (10:52 +0100)]
s3: Fix pdb_ads_enum_group_memberships args

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Feb 26 11:37:10 CET 2011 on sn-devel-104

13 years agodirfd doesn't exist in some platforms.
Jeremy Allison [Sat, 26 Feb 2011 01:25:36 +0000 (17:25 -0800)]
dirfd doesn't exist in some platforms.

Hack that should get the buildfarm back to green.
Ensure dirfd() needs to be defined before we properly return fdopendir.
This will do until we get a proper dirfd() defined in libreplace.

From http://www.gnu.org/software/hello/manual/gnulib/dirfd.html

This function is missing on some platforms: AIX 7.1, HP-UX 11, OSF/1 5.1, Solaris 10, mingw.

Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Feb 26 04:19:55 CET 2011 on sn-devel-104

13 years agoRemoved unused code check_dos_char_slowly.
Jeremy Allison [Sat, 26 Feb 2011 01:25:20 +0000 (17:25 -0800)]
Removed unused code check_dos_char_slowly.

13 years agos3: Fix a 64-bit warning in vfs_gpfs.c
Volker Lendecke [Fri, 25 Feb 2011 13:09:58 +0000 (06:09 -0700)]
s3: Fix a 64-bit warning in vfs_gpfs.c

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Feb 25 14:56:51 CET 2011 on sn-devel-104

13 years agos4:heimdal - fix valgrind issue on Fedora 14
Milan Crha [Fri, 25 Feb 2011 10:38:04 +0000 (11:38 +0100)]
s4:heimdal - fix valgrind issue on Fedora 14

This should definitely fix bug #7858.

Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Fri Feb 25 12:39:21 CET 2011 on sn-devel-104

13 years agoRevert "heimdal_build omit #line statments to allow valgrind to work again"
Matthias Dieter Wallnöfer [Fri, 25 Feb 2011 10:54:02 +0000 (11:54 +0100)]
Revert "heimdal_build omit #line statments to allow valgrind to work again"

This reverts commit 80e23c68d83a7c9989f87d5a88a78bb76d222afc.
A better patch has been provided by Milan Crha in the following commit.

13 years agoheimdal_build omit #line statments to allow valgrind to work again
Andrew Bartlett [Fri, 25 Feb 2011 09:34:07 +0000 (20:34 +1100)]
heimdal_build omit #line statments to allow valgrind to work again

The lex/yacc files were generated on Fedora 14, and have empty
filenames in #line declarations.  I don't know why this is, but it
seems best just to omit the #line statements.

This is what was causing Valgrind on Fedora not to run on Samba
binaries and programs linked to Samba libraries.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Feb 25 11:46:56 CET 2011 on sn-devel-104

13 years agolibcli/nbt/wscript_build - fix build of "lmhosts"
Matthias Dieter Wallnöfer [Fri, 25 Feb 2011 09:13:45 +0000 (10:13 +0100)]
libcli/nbt/wscript_build - fix build of "lmhosts"

Needs also the "talloc" dependency.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Fri Feb 25 11:01:31 CET 2011 on sn-devel-104

13 years agos3-param: Make "rlimit_max below minimum Windows limit" notification less scary
Jonathan Nieder [Sun, 2 Jan 2011 08:40:09 +0000 (02:40 -0600)]
s3-param: Make "rlimit_max below minimum Windows limit" notification less scary

The fix to bug #6837 results in messages from testparm that look
like a misconfiguration even though they aren't:

 rlimit_max: rlimit_max (8192) below minimum Windows limit (16384)

Apply a slight change in wording ("increasing rlimit_max to minimum
Windows limit") to make it clearer that the user has done nothing
wrong.  (Similarly for sysctl_max.)

Reported-by: Miguel Medalha <miguelmedalha@sapo.pt>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Feb 25 03:56:40 CET 2011 on sn-devel-104

13 years agoGratuitous change to get around transient autobuild failure :-(.
Jeremy Allison [Fri, 25 Feb 2011 00:56:49 +0000 (16:56 -0800)]
Gratuitous change to get around transient autobuild failure :-(.

Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Feb 25 02:41:15 CET 2011 on sn-devel-104

13 years agoDetect Mac OS X as a separate client type.
Justin Maggard [Fri, 25 Feb 2011 00:25:30 +0000 (16:25 -0800)]
Detect Mac OS X as a separate client type.

13 years agoEnsure we don't return an incorrect access mask.
Jeremy Allison [Fri, 25 Feb 2011 00:04:09 +0000 (16:04 -0800)]
Ensure we don't return an incorrect access mask.

From the Microsoft test suite @ Connectathon:

Test Case: TestSuite_ScenarioNo009GrantedAccessTestS0
    File created with access = 0x7 (Read, Write, Delete)
    Query Info on file returns 0x87 (Read, Write, Delete, Read Attributes)

Jeremy.

13 years agos3-libads: make ndr_print_ads_auth_flags() static.
Günther Deschner [Thu, 24 Feb 2011 22:38:18 +0000 (23:38 +0100)]
s3-libads: make ndr_print_ads_auth_flags() static.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 25 01:55:26 CET 2011 on sn-devel-104

13 years agos3-vfs: make syncops_connect in modules/vfs_syncops.c static.
Günther Deschner [Thu, 24 Feb 2011 22:04:40 +0000 (23:04 +0100)]
s3-vfs: make syncops_connect in modules/vfs_syncops.c static.

Guenther

13 years agos3-errormap: move (unused) map_nt_error_from_wbcErr out of errormap.
Günther Deschner [Thu, 24 Feb 2011 21:29:16 +0000 (22:29 +0100)]
s3-errormap: move (unused) map_nt_error_from_wbcErr out of errormap.

Guenther

13 years agos3-printing: move more printing defines out of includes.h
Günther Deschner [Thu, 24 Feb 2011 11:03:19 +0000 (12:03 +0100)]
s3-printing: move more printing defines out of includes.h

Guenther

13 years agoImplement the SMB2 close flag SMB2_CLOSE_FLAGS_FULL_INFORMATION (and move definition...
Jeremy Allison [Thu, 24 Feb 2011 22:52:58 +0000 (14:52 -0800)]
Implement the SMB2 close flag SMB2_CLOSE_FLAGS_FULL_INFORMATION (and move definition to correct place).

Thanks to Nick Meier @ Microsoft for finding this @ Connectathon.

Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Feb 25 00:40:52 CET 2011 on sn-devel-104

13 years agoBatch oplocks conflict with exclusive as well as themselves.
Jeremy Allison [Thu, 24 Feb 2011 19:59:35 +0000 (11:59 -0800)]
Batch oplocks conflict with exclusive as well as themselves.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Feb 24 21:44:50 CET 2011 on sn-devel-104

13 years agos4:dynconfig: fix segfault in the set_dyn_*() functions
Stefan Metzmacher [Thu, 24 Feb 2011 10:15:06 +0000 (11:15 +0100)]
s4:dynconfig: fix segfault in the set_dyn_*() functions

We should not try to call free on a const string (the default one).
Now we make sure that the dyn_* variable is never NULL
and only allocated if it's not the default value.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Feb 24 12:29:56 CET 2011 on sn-devel-104

13 years agos4:dynconfig: add prototypes for *dyn_LOCALEDIR
Stefan Metzmacher [Thu, 24 Feb 2011 10:13:53 +0000 (11:13 +0100)]
s4:dynconfig: add prototypes for *dyn_LOCALEDIR

metze

13 years agos3:rpc_client: we need to pass a non-blocking socket to tstream_bsd_existing_socket()
Stefan Metzmacher [Wed, 23 Feb 2011 20:42:25 +0000 (21:42 +0100)]
s3:rpc_client: we need to pass a non-blocking socket to tstream_bsd_existing_socket()

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Feb 24 07:43:59 CET 2011 on sn-devel-104

13 years agobuild: moved util_reg.c into a common subsystem
Andrew Tridgell [Thu, 24 Feb 2011 02:01:27 +0000 (13:01 +1100)]
build: moved util_reg.c into a common subsystem

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Feb 24 05:53:52 CET 2011 on sn-devel-104

13 years agobuild: moved spnego_parse.c into a common subsystem
Andrew Tridgell [Thu, 24 Feb 2011 02:00:52 +0000 (13:00 +1100)]
build: moved spnego_parse.c into a common subsystem

13 years agoRemember to free the second temporary string.
Jeremy Allison [Thu, 24 Feb 2011 02:32:35 +0000 (18:32 -0800)]
Remember to free the second temporary string.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Feb 24 04:17:49 CET 2011 on sn-devel-104

13 years agoFix bug 7950 - Samba 3.5.x fails BASE-CREATEX_SHAREMODES_DIR smbtorture4 test
Jeremy Allison [Thu, 24 Feb 2011 02:24:41 +0000 (18:24 -0800)]
Fix bug 7950 - Samba 3.5.x fails BASE-CREATEX_SHAREMODES_DIR smbtorture4 test
We need to revalidate the pathname once re-constructed from a root fsp.

Jeremy.

13 years agobuild: moved librpc/rpc/*.c into a rpccommon library
Andrew Tridgell [Thu, 24 Feb 2011 00:55:45 +0000 (11:55 +1100)]
build: moved librpc/rpc/*.c into a rpccommon library

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Feb 24 02:42:37 CET 2011 on sn-devel-104

13 years agobuild: moved lmhosts.c into a common subsystem
Andrew Tridgell [Thu, 24 Feb 2011 00:33:09 +0000 (11:33 +1100)]
build: moved lmhosts.c into a common subsystem

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agobuild: moved libds/common/flag_mapping.c into a common subsystem
Andrew Tridgell [Thu, 24 Feb 2011 00:23:53 +0000 (11:23 +1100)]
build: moved libds/common/flag_mapping.c into a common subsystem

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agobuild: moved schannel_sign.c into a shared COMMON_SCHANNEL subsystem
Andrew Tridgell [Wed, 23 Feb 2011 23:36:55 +0000 (10:36 +1100)]
build: moved schannel_sign.c into a shared COMMON_SCHANNEL subsystem

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agobuild: moved libcli/auth/ntlmssp*.c into a common libcliauth.so library
Andrew Tridgell [Wed, 23 Feb 2011 23:28:43 +0000 (10:28 +1100)]
build: moved libcli/auth/ntlmssp*.c into a common libcliauth.so library

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agos3-docs: document all wbinfo options.
Günther Deschner [Wed, 23 Feb 2011 14:48:23 +0000 (15:48 +0100)]
s3-docs: document all wbinfo options.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 23 23:45:40 CET 2011 on sn-devel-104

13 years agos3-waf: start adding checks for quota support.
Günther Deschner [Wed, 23 Feb 2011 11:29:24 +0000 (12:29 +0100)]
s3-waf: start adding checks for quota support.

Guenther

13 years agos3-waf: remove more unused variables.
Günther Deschner [Wed, 23 Feb 2011 16:00:39 +0000 (17:00 +0100)]
s3-waf: remove more unused variables.

Guenther

13 years agos3-waf: rename LIBSAMBA subsystem to LIBNTLMSSP (which it is in fact).
Günther Deschner [Wed, 23 Feb 2011 15:50:57 +0000 (16:50 +0100)]
s3-waf: rename LIBSAMBA subsystem to LIBNTLMSSP (which it is in fact).

Guenther

13 years agos3-waf: move GROUPDB into libpassdb.so.
Günther Deschner [Wed, 23 Feb 2011 15:19:48 +0000 (16:19 +0100)]
s3-waf: move GROUPDB into libpassdb.so.

Guenther

13 years agoFix broken build with make dist tarballs
Simo Sorce [Wed, 23 Feb 2011 20:09:48 +0000 (15:09 -0500)]
Fix broken build with make dist tarballs

Autobuild-User: Simo Sorce <idra@samba.org>
Autobuild-Date: Wed Feb 23 22:02:06 CET 2011 on sn-devel-104

13 years agos3:libsmb only log a dead connection if it was not closed
Christian Ambach [Tue, 22 Feb 2011 14:45:44 +0000 (15:45 +0100)]
s3:libsmb only log a dead connection if it was not closed

in case the cli was closed before (e.g. via a dropped ip message)
it can be expected that the read here returns with an error and so
we should not log that a connection is dead when it was closed before

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Feb 23 16:51:03 CET 2011 on sn-devel-104

13 years agos3: Fix 64-bit errors
Volker Lendecke [Wed, 23 Feb 2011 14:26:38 +0000 (15:26 +0100)]
s3: Fix 64-bit errors

Casting those variables will lead to sscanf believing that it sees pointers to
unsigned longs. These might be 64 bit long, thus sscanf will overwrite memory
it should not overwrite. Assigning the vars later is okay, there we get
automatic type conversion. C can be nasty ...

Christian, please check!

13 years agos3: Fix an uninitialized variable use
Volker Lendecke [Wed, 23 Feb 2011 14:25:36 +0000 (15:25 +0100)]
s3: Fix an uninitialized variable use

The "goto error;" lead to the invalid talloc_free.

Christian, please check!

13 years agos3:idmap:autorid prevent fatal configuration changes
Christian Ambach [Wed, 16 Feb 2011 18:05:21 +0000 (19:05 +0100)]
s3:idmap:autorid prevent fatal configuration changes

as the autorid module relies on a stable minimum uid/gid value
and rangesize, it now saves the values used at first successful start
and refuses to work if these values get changed in smb.conf later.
Changing the values after the first mapping was done will result
in unpredictable behaviour.
Another check covers the maximum uid value. If this gets decreased
later and domain range mappings already exist that would result
in uid values higher than the new uid value, initialization will
be aborted

13 years agos3-proto: remove some prototypes of non-existing functions.
Günther Deschner [Wed, 23 Feb 2011 12:29:00 +0000 (13:29 +0100)]
s3-proto: remove some prototypes of non-existing functions.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 23 15:42:35 CET 2011 on sn-devel-104

13 years agos3: Improve an error msg in vfs_gpfs
Volker Lendecke [Wed, 23 Feb 2011 12:25:12 +0000 (13:25 +0100)]
s3: Improve an error msg in vfs_gpfs

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Feb 23 14:12:39 CET 2011 on sn-devel-104

13 years agolib/util/charset: ICONV_WRAPPER needs talloc.
Günther Deschner [Wed, 23 Feb 2011 10:30:11 +0000 (11:30 +0100)]
lib/util/charset: ICONV_WRAPPER needs talloc.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 23 12:46:33 CET 2011 on sn-devel-104

13 years agos3-waf: make use of LIBCLI_CLDAP subsystem
Stefan Metzmacher [Tue, 22 Feb 2011 08:19:49 +0000 (09:19 +0100)]
s3-waf: make use of LIBCLI_CLDAP subsystem

metze

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 23 10:17:01 CET 2011 on sn-devel-104

13 years agobuild: fixed 'make dist' without configuring
Andrew Tridgell [Wed, 23 Feb 2011 06:10:10 +0000 (17:10 +1100)]
build: fixed 'make dist' without configuring

this finds git inside samba_version.py

thanks to Simo for noticing this problem

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Feb 23 07:55:28 CET 2011 on sn-devel-104

13 years agobuild: don't display expected duplicate symbols
Andrew Tridgell [Wed, 23 Feb 2011 06:05:47 +0000 (17:05 +1100)]
build: don't display expected duplicate symbols

13 years agoTorture test added to run_opentest() to ensure we don't regress on
Jeremy Allison [Wed, 23 Feb 2011 00:40:23 +0000 (16:40 -0800)]
Torture test added to run_opentest() to ensure we don't regress on
the previous change.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Feb 23 03:00:53 CET 2011 on sn-devel-104

13 years agoFix bug found against the new Mac client @ Connectathon. Mac clients
Jeremy Allison [Wed, 23 Feb 2011 00:38:42 +0000 (16:38 -0800)]
Fix bug found against the new Mac client @ Connectathon. Mac clients
don't open with FILE_WRITE_ATTRIBUTES when just doing a write, so updating
the write time on close fails as smb_set_file_time() now (correctly) checks
for FILE_WRITE_ATTRIBUTES in the access_mask before allowing client time
update. This is an internal time update being done on a close, not a handle-based
client request.

13 years agos3-waf: move some parts of auth to AUTH_COMMON to avoid duplicate symbols with winbindd.
Günther Deschner [Tue, 22 Feb 2011 23:31:35 +0000 (00:31 +0100)]
s3-waf: move some parts of auth to AUTH_COMMON to avoid duplicate symbols with winbindd.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 23 02:16:23 CET 2011 on sn-devel-104

13 years agobuild: duplicate symbols between system libraries aren't interesting
Andrew Tridgell [Tue, 22 Feb 2011 23:20:15 +0000 (10:20 +1100)]
build: duplicate symbols between system libraries aren't interesting

we expect dups in libpthread, libc and libattr

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Feb 23 01:29:38 CET 2011 on sn-devel-104

13 years agos3-waf: added SYMBOLCHECK support to source3 waf build
Andrew Tridgell [Tue, 22 Feb 2011 23:08:12 +0000 (10:08 +1100)]
s3-waf: added SYMBOLCHECK support to source3 waf build

13 years agobuild: move idtree.c into samba-util-common
Andrew Tridgell [Tue, 22 Feb 2011 04:48:50 +0000 (15:48 +1100)]
build: move idtree.c into samba-util-common

13 years agobuild: moved more files into samba-util-common
Andrew Tridgell [Tue, 22 Feb 2011 03:33:06 +0000 (14:33 +1100)]
build: moved more files into samba-util-common

this removes UTIL_SRC from the s3 waf build, as it is now all in
common with samba-util-common

13 years agobuild: created samba-util-common library
Andrew Tridgell [Tue, 22 Feb 2011 03:10:38 +0000 (14:10 +1100)]
build: created samba-util-common library

this library will contain files that can be built in common between s3
and s4. Both samba-util and samba-util3 depend on it.

Currently this library needs to be marked as allow_undefined_symbols,
in order to allow s4 to build it. We can remove that flag once we have
all the needed symbols in common

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agoMake lpcfg_server_role public.
Jelmer Vernooij [Tue, 22 Feb 2011 22:52:25 +0000 (23:52 +0100)]
Make lpcfg_server_role public.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Feb 23 00:44:16 CET 2011 on sn-devel-104

13 years agoRevert "s3-waf: make use of LIBCLI_CLDAP subsystem"
Günther Deschner [Tue, 22 Feb 2011 22:07:58 +0000 (23:07 +0100)]
Revert "s3-waf: make use of LIBCLI_CLDAP subsystem"

Metze, we need to cleanup deps to idtree and cli-ldap first.

Guenther

This reverts commit ac4497edae2800c3fc7c40f0e538b936f1965a75.

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 22 23:53:25 CET 2011 on sn-devel-104

13 years agos3-waf: add check for getspnam().
Günther Deschner [Tue, 22 Feb 2011 21:56:23 +0000 (22:56 +0100)]
s3-waf: add check for getspnam().

Guenther

13 years agos3-waf: add check for TDB_ERR_NESTING.
Günther Deschner [Tue, 22 Feb 2011 21:34:05 +0000 (22:34 +0100)]
s3-waf: add check for TDB_ERR_NESTING.

Guenther

13 years agos3-waf: add check for sendfile on AIX.
Günther Deschner [Tue, 22 Feb 2011 20:36:35 +0000 (21:36 +0100)]
s3-waf: add check for sendfile on AIX.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 22 22:36:53 CET 2011 on sn-devel-104

13 years agos3-waf: add check for sendfile on solaris.
Günther Deschner [Tue, 22 Feb 2011 20:33:06 +0000 (21:33 +0100)]
s3-waf: add check for sendfile on solaris.

Guenther

13 years agos3-waf: add check for sendfile on hpux.
Günther Deschner [Tue, 22 Feb 2011 20:24:39 +0000 (21:24 +0100)]
s3-waf: add check for sendfile on hpux.

Guenther

13 years agos3-waf: add check for sendfile on freebsd.
Günther Deschner [Tue, 22 Feb 2011 20:16:39 +0000 (21:16 +0100)]
s3-waf: add check for sendfile on freebsd.

Guenther

13 years agos3-waf: add check for sendfile on linux.
Günther Deschner [Tue, 22 Feb 2011 20:11:15 +0000 (21:11 +0100)]
s3-waf: add check for sendfile on linux.

Guenther

13 years agos3-waf: make sure ENABLE_BUILD_FARM_HACKS is enabled when run on the buildfarm.
Günther Deschner [Tue, 22 Feb 2011 19:43:23 +0000 (20:43 +0100)]
s3-waf: make sure ENABLE_BUILD_FARM_HACKS is enabled when run on the buildfarm.

Guenther

13 years agos3-includes: move some chgpasswd related defines to the locations where they are...
Günther Deschner [Tue, 22 Feb 2011 18:45:24 +0000 (19:45 +0100)]
s3-includes: move some chgpasswd related defines to the locations where they are used.

Guenther

13 years agos3-printing: move more printing structs to printing.h
Günther Deschner [Tue, 22 Feb 2011 18:46:11 +0000 (19:46 +0100)]
s3-printing: move more printing structs to printing.h

Guenther

13 years agos3-printing: only include printing where really needed.
Günther Deschner [Tue, 22 Feb 2011 18:24:31 +0000 (19:24 +0100)]
s3-printing: only include printing where really needed.

Guenther

13 years agos3-printing: fix pcacp prototypes and includes.
Günther Deschner [Mon, 21 Feb 2011 13:37:21 +0000 (14:37 +0100)]
s3-printing: fix pcacp prototypes and includes.

Guenther

13 years agos3-printing: isolate print notification prototypes better.
Günther Deschner [Tue, 22 Feb 2011 09:28:29 +0000 (10:28 +0100)]
s3-printing: isolate print notification prototypes better.

Guenther

13 years agos4:librpc: let dcerpc-samr library use RPC_NDR_SAMR subsystem
Stefan Metzmacher [Tue, 22 Feb 2011 08:37:28 +0000 (09:37 +0100)]
s4:librpc: let dcerpc-samr library use RPC_NDR_SAMR subsystem

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Feb 22 21:51:43 CET 2011 on sn-devel-104

13 years agos4:build: add RPC_NDR_ATSVC subsystem
Stefan Metzmacher [Tue, 22 Feb 2011 08:37:07 +0000 (09:37 +0100)]
s4:build: add RPC_NDR_ATSVC subsystem

metze

13 years agos3-waf: make use of LIBCLI_CLDAP subsystem
Stefan Metzmacher [Tue, 22 Feb 2011 08:19:49 +0000 (09:19 +0100)]
s3-waf: make use of LIBCLI_CLDAP subsystem

metze

13 years agos3: Fix filtering in pdb_ads_search_users
Volker Lendecke [Tue, 22 Feb 2011 14:30:14 +0000 (15:30 +0100)]
s3: Fix filtering in pdb_ads_search_users

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Feb 22 20:59:07 CET 2011 on sn-devel-104