summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-02-27s4/drs-test: remove netReplicateCmd test from 'deleted object' test caseKamen Mazdrashki1-10/+4
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
2011-02-27s4/drs-tests: Disable replication during 'deleted object' testKamen Mazdrashki1-17/+10
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
2011-02-27s4/drs-tests: Move enable/disable replication methods to DrsBase class so we ↵Kamen Mazdrashki2-12/+11
can re-use them
2011-02-27s4-drepl: Schedule event to trigger replication rather than calling ↵Kamen Mazdrashki1-2/+5
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
2011-02-27s4-drepl: Fix replica sync callback to really store last error rather than ↵Kamen Mazdrashki1-1/+1
last success
2011-02-27s4-drepl: Refactor dreplsrv_run_pull_ops() toKamen Mazdrashki1-16/+33
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
2011-02-27s4-drepl: Pass replication options from DsReplicaSync callKamen Mazdrashki4-5/+12
2011-02-26s3: Improve a dbg msg in aio_forkVolker Lendecke1-4/+7
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Feb 26 17:42:37 CET 2011 on sn-devel-104
2011-02-26nss_wrapper: Fix a segfault when libnss_winbind.so is not loadableVolker Lendecke1-2/+11
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Feb 26 13:19:01 CET 2011 on sn-devel-104
2011-02-26nss_wrapper: Make nwrap_module_init a bit more readableVolker Lendecke1-5/+9
2011-02-26s3: Fix pdb_ads_enum_group_memberships argsVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Feb 26 11:37:10 CET 2011 on sn-devel-104
2011-02-26dirfd doesn't exist in some platforms.Jeremy Allison2-2/+10
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
2011-02-25Removed unused code check_dos_char_slowly.Jeremy Allison1-17/+0
2011-02-25s3: Fix a 64-bit warning in vfs_gpfs.cVolker Lendecke1-1/+2
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Feb 25 14:56:51 CET 2011 on sn-devel-104
2011-02-25s4:heimdal - fix valgrind issue on Fedora 14Milan Crha7-153/+153
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
2011-02-25Revert "heimdal_build omit #line statments to allow valgrind to work again"Matthias Dieter Wallnöfer8-57/+378
This reverts commit 80e23c68d83a7c9989f87d5a88a78bb76d222afc. A better patch has been provided by Milan Crha in the following commit.
2011-02-25heimdal_build omit #line statments to allow valgrind to work againAndrew Bartlett8-378/+57
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
2011-02-25libcli/nbt/wscript_build - fix build of "lmhosts"Matthias Dieter Wallnöfer1-2/+2
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
2011-02-25s3-param: Make "rlimit_max below minimum Windows limit" notification less scaryJonathan Nieder1-2/+2
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
2011-02-25Gratuitous change to get around transient autobuild failure :-(.Jeremy Allison1-2/+1
Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Feb 25 02:41:15 CET 2011 on sn-devel-104
2011-02-25Detect Mac OS X as a separate client type.Justin Maggard4-1/+9
2011-02-25Ensure we don't return an incorrect access mask.Jeremy Allison1-1/+2
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.
2011-02-25s3-libads: make ndr_print_ads_auth_flags() static.Günther Deschner2-2/+2
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Feb 25 01:55:26 CET 2011 on sn-devel-104
2011-02-25s3-vfs: make syncops_connect in modules/vfs_syncops.c static.Günther Deschner1-2/+2
Guenther
2011-02-25s3-errormap: move (unused) map_nt_error_from_wbcErr out of errormap.Günther Deschner4-40/+66
Guenther
2011-02-25s3-printing: move more printing defines out of includes.hGünther Deschner2-30/+30
Guenther
2011-02-25Implement the SMB2 close flag SMB2_CLOSE_FLAGS_FULL_INFORMATION (and move ↵Jeremy Allison3-21/+77
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
2011-02-24Batch oplocks conflict with exclusive as well as themselves.Jeremy Allison1-1/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Feb 24 21:44:50 CET 2011 on sn-devel-104
2011-02-24s4:dynconfig: fix segfault in the set_dyn_*() functionsStefan Metzmacher1-12/+25
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
2011-02-24s4:dynconfig: add prototypes for *dyn_LOCALEDIRStefan Metzmacher1-0/+1
metze
2011-02-24s3:rpc_client: we need to pass a non-blocking socket to ↵Stefan Metzmacher1-0/+2
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
2011-02-24build: moved util_reg.c into a common subsystemAndrew Tridgell4-5/+10
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Feb 24 05:53:52 CET 2011 on sn-devel-104
2011-02-24build: moved spnego_parse.c into a common subsystemAndrew Tridgell3-7/+7
2011-02-24Remember to free the second temporary string.Jeremy Allison1-0/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Feb 24 04:17:49 CET 2011 on sn-devel-104
2011-02-23Fix bug 7950 - Samba 3.5.x fails BASE-CREATEX_SHAREMODES_DIR smbtorture4 testJeremy Allison3-8/+21
We need to revalidate the pathname once re-constructed from a root fsp. Jeremy.
2011-02-24build: moved librpc/rpc/*.c into a rpccommon libraryAndrew Tridgell17-14/+126
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
2011-02-24build: moved lmhosts.c into a common subsystemAndrew Tridgell2-5/+10
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-24build: moved libds/common/flag_mapping.c into a common subsystemAndrew Tridgell12-4/+30
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-24build: moved schannel_sign.c into a shared COMMON_SCHANNEL subsystemAndrew Tridgell5-11/+8
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-24build: moved libcli/auth/ntlmssp*.c into a common libcliauth.so libraryAndrew Tridgell6-20/+19
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-23s3-docs: document all wbinfo options.Günther Deschner1-3/+98
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 23 23:45:40 CET 2011 on sn-devel-104
2011-02-23s3-waf: start adding checks for quota support.Günther Deschner1-0/+8
Guenther
2011-02-23s3-waf: remove more unused variables.Günther Deschner1-10/+2
Guenther
2011-02-23s3-waf: rename LIBSAMBA subsystem to LIBNTLMSSP (which it is in fact).Günther Deschner2-12/+10
Guenther
2011-02-23s3-waf: move GROUPDB into libpassdb.so.Günther Deschner2-12/+12
Guenther
2011-02-23Fix broken build with make dist tarballsSimo Sorce1-1/+1
Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Wed Feb 23 22:02:06 CET 2011 on sn-devel-104
2011-02-23s3:libsmb only log a dead connection if it was not closedChristian Ambach1-7/+12
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
2011-02-23s3: Fix 64-bit errorsVolker Lendecke1-4/+8
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!
2011-02-23s3: Fix an uninitialized variable useVolker Lendecke1-1/+2
The "goto error;" lead to the invalid talloc_free. Christian, please check!
2011-02-23s3:idmap:autorid prevent fatal configuration changesChristian Ambach1-2/+112
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