Stefan Metzmacher [Sat, 23 Feb 2008 10:54:01 +0000 (11:54 +0100)]
selftest: Samba4 passes all oplocks tests now
The support for oplocks is not completely finished
I believe we will not pass some non existing test.
But it's a good start.
metze
Stefan Metzmacher [Sat, 23 Feb 2008 10:50:19 +0000 (11:50 +0100)]
pvfs_setpathinfo: retry setpathinfo after oplock not granted on on setpathinfo ALLOCATION_INFO and END_OF_FILE_INFO
metze
Stefan Metzmacher [Sat, 23 Feb 2008 10:49:39 +0000 (11:49 +0100)]
pvfs_open: add pvfs_can_update_file_size()
TODO: this is not complete, we need more tests to trigger this
metze
Stefan Metzmacher [Fri, 22 Feb 2008 10:52:17 +0000 (11:52 +0100)]
pvfs_unlink: retry unlink after oplock not granted
metze
Stefan Metzmacher [Mon, 25 Feb 2008 18:17:45 +0000 (19:17 +0100)]
pvfs: add posix:oplocktimeout=30 option
metze
Stefan Metzmacher [Sat, 23 Feb 2008 10:46:43 +0000 (11:46 +0100)]
pvfs_setfileinfo: break level2 oplocks on setfileinfo() ALLOCATION_INFO and END_OF_FILE_INFO
metze
Stefan Metzmacher [Fri, 22 Feb 2008 15:34:50 +0000 (16:34 +0100)]
pvfs: send oplock breaks to none to level2 holders on write/lock requests
metze
Stefan Metzmacher [Fri, 22 Feb 2008 15:34:50 +0000 (16:34 +0100)]
pvfs_oplocks: add pvfs_break_level2_oplocks()
metze
Stefan Metzmacher [Mon, 25 Feb 2008 08:51:58 +0000 (09:51 +0100)]
pvfs: handle oplock releases in its own function pvfs_oplock_release()
metze
Stefan Metzmacher [Mon, 25 Feb 2008 07:39:13 +0000 (08:39 +0100)]
pvfs_open: call pvfs_setup_oplock() if an oplock was granted
This is needed to receive oplock breaks from other "processes"
metze
Stefan Metzmacher [Mon, 25 Feb 2008 07:32:35 +0000 (08:32 +0100)]
pvfs: add pvfs_setup_oplock() to receive oplock breaks and pass them to the client
metze
Stefan Metzmacher [Thu, 21 Feb 2008 16:48:13 +0000 (17:48 +0100)]
pvfs_open: make the retry logic indepdendent from open and sharing violations
metze
Stefan Metzmacher [Mon, 25 Feb 2008 16:50:22 +0000 (17:50 +0100)]
pvfs_open: fix odb_can_open() callers after prototype change
metze
Stefan Metzmacher [Mon, 25 Feb 2008 16:48:13 +0000 (17:48 +0100)]
opendb: unify the parameters of odb_open_file() and odb_can_open()
metze
Stefan Metzmacher [Mon, 25 Feb 2008 15:49:40 +0000 (16:49 +0100)]
pvfs_open: pass down open_disposition and break_to_none to odb_open_file()
metze
Stefan Metzmacher [Mon, 25 Feb 2008 15:47:48 +0000 (16:47 +0100)]
opendb: pass down open_disposition and break_to_none to odb_open_file()
metze
Stefan Metzmacher [Tue, 26 Feb 2008 08:14:54 +0000 (09:14 +0100)]
pvfs_setfileinfo_rename: map DELETE_PENDING to ACCESS_DENIED
This is needed as odb_can_open/pvfs_can_delete changed the return value.
metze
Stefan Metzmacher [Mon, 25 Feb 2008 19:20:35 +0000 (20:20 +0100)]
opendb_tdb: only file->delete_on_close == true should give DELETE_PENDING
metze
Stefan Metzmacher [Mon, 25 Feb 2008 15:26:04 +0000 (16:26 +0100)]
opendb_tdb: move sharemode, oplock logic into odb_tdb_open_can_internal()
metze
Stefan Metzmacher [Mon, 25 Feb 2008 15:14:23 +0000 (16:14 +0100)]
opendb_tdb: add force break to none logic
metze
Stefan Metzmacher [Fri, 22 Feb 2008 16:26:40 +0000 (17:26 +0100)]
opendb_tdb: attribute only opens doesn't conflict with BATCH oplocks
metze
Stefan Metzmacher [Fri, 22 Feb 2008 16:26:40 +0000 (17:26 +0100)]
opendb_tdb: grant level2 oplocks
metze
Stefan Metzmacher [Fri, 22 Feb 2008 15:30:13 +0000 (16:30 +0100)]
opendb: add odb_break_oplocks() function
This send breaks to none to all level2 holders
metze
Andrew Bartlett [Tue, 26 Feb 2008 05:24:09 +0000 (16:24 +1100)]
Remove more cruft about smbscript.
Andrew Bartlett
Andrew Bartlett [Tue, 26 Feb 2008 05:19:57 +0000 (16:19 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
Andrew Bartlett [Tue, 26 Feb 2008 05:19:42 +0000 (16:19 +1100)]
Make use of smbpython clear.
Andrew Bartlett
Kai Blin [Tue, 26 Feb 2008 05:17:04 +0000 (06:17 +0100)]
howto: We need bin/smbpython to run python provisioning
Simo Sorce [Mon, 25 Feb 2008 19:03:07 +0000 (14:03 -0500)]
Update homepages for talloc, tdb and ldb subprojects
Stefan Metzmacher [Thu, 21 Feb 2008 15:12:27 +0000 (16:12 +0100)]
opendb: add odb_update_oplock() call
metze
Stefan Metzmacher [Thu, 21 Feb 2008 11:20:31 +0000 (12:20 +0100)]
opendb: send also the oplock break level on MSG_NTVFS_OPLOCK_BREAK
metze
Stefan Metzmacher [Fri, 22 Feb 2008 09:18:13 +0000 (10:18 +0100)]
opendb: add odb_get_key() function to get the key back from a struct odb_lock
metze
Stefan Metzmacher [Fri, 22 Feb 2008 08:41:41 +0000 (09:41 +0100)]
pvfs_unlink: move stream logic into pvfs_unlink_one()
metze
Stefan Metzmacher [Fri, 22 Feb 2008 08:37:22 +0000 (09:37 +0100)]
pvfs_unlink: splitup the logic into generic and file specific functions
metze
Stefan Metzmacher [Fri, 22 Feb 2008 08:30:51 +0000 (09:30 +0100)]
pvfs_unlink: add a fast path for the non wildcard case
metze
Stefan Metzmacher [Fri, 22 Feb 2008 08:28:51 +0000 (09:28 +0100)]
pvfs_unlink: move !name->stream_exists into the caller
metze
Stefan Metzmacher [Fri, 22 Feb 2008 08:23:53 +0000 (09:23 +0100)]
pvfs_unlink: pass down union smb_unlink completely to sub functions
metze
Stefan Metzmacher [Thu, 21 Feb 2008 19:12:46 +0000 (20:12 +0100)]
pvfs_unlink: pass down a struct pvfs_filename to pvfs_unlink_one()
metze
Stefan Metzmacher [Thu, 21 Feb 2008 18:56:36 +0000 (19:56 +0100)]
pvfs_open: unify talloc behavior in pvfs_can_delete/rename/stat()
And also handle NULL for lckp in the error path
without crashing.
metze
Stefan Metzmacher [Thu, 21 Feb 2008 19:01:25 +0000 (20:01 +0100)]
pvfs: handle SHARING_VIOLATION and OPLOCK_NOT_GRANTED in pvfs_can_delete/rename()
If the caller asks for the odb_lock return it
also if we return NT_STATUS_SHARING_VIOLATION
or NT_STATUS_OPLOCK_NOT_GRANTED so that the caller
can add the pending notification.
metze
Stefan Metzmacher [Thu, 21 Feb 2008 18:59:13 +0000 (19:59 +0100)]
pvfs: pass NULL to pvfs_can_*() when no odb_lock is needed by the caller
metze
Stefan Metzmacher [Thu, 21 Feb 2008 08:02:17 +0000 (09:02 +0100)]
pvfs_wait: use struct pvfs_wait * instead of void *
metze
Stefan Metzmacher [Thu, 21 Feb 2008 07:59:21 +0000 (08:59 +0100)]
pvfs_wait: 'private' -> 'private_data' and use talloc_get_type()
metze
Stefan Metzmacher [Sat, 23 Feb 2008 10:51:43 +0000 (11:51 +0100)]
RAW-OPLOCK: remove unused var
Stefan Metzmacher [Sat, 23 Feb 2008 10:51:23 +0000 (11:51 +0100)]
RAW-OPLOCK: fix typo (send oplock releases on the correct connection)
metze
Stefan Metzmacher [Mon, 25 Feb 2008 06:42:38 +0000 (07:42 +0100)]
selftest: we pass the BASE-DEFER_OPEN test
We just need to pass the same sharedelay time
to smbtorture as we use for smbd.
metze
Stefan Metzmacher [Sat, 23 Feb 2008 23:13:36 +0000 (00:13 +0100)]
BASE-DEFER_OPEN: add torture:sharedelays option to run this test faster
metze
Volker Lendecke [Sat, 23 Feb 2008 09:26:52 +0000 (10:26 +0100)]
Respect the return value of asprintf
This removes tons of warnings
warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
for me. Lots of that kind left though :-)
Michael Adam [Fri, 22 Feb 2008 12:53:05 +0000 (13:53 +0100)]
libreplace: don't use socketwrapper for getifaddrs() implementations.
Michael
(cherry picked from commit
85eec1d1d6b674294c50eb912fbe7d5a1dd42909)
Stefan Metzmacher [Fri, 22 Feb 2008 13:08:13 +0000 (14:08 +0100)]
Happy New Year 2008! :-)
metze
Michael Adam [Fri, 22 Feb 2008 09:42:22 +0000 (10:42 +0100)]
libreplace: Fix comment originating from old samba source.
Michael
Michael Adam [Thu, 21 Feb 2008 23:34:41 +0000 (00:34 +0100)]
libreplace: fix creation of conftest files for getifaddrs tests.
Add missing includes of replace.c and defines of SOCKET_WRAPPER_NOT_REPLACE.
Michael
(cherry picked from commit
26e6ebc7090b5742deb67805d85d809cafb4543d)
Michael Adam [Thu, 21 Feb 2008 23:27:00 +0000 (00:27 +0100)]
Fix linked list of ifaddrs in implementations of rep_getifaddrs.
Produce proper list instead of one-node-loop.
Michael
(cherry picked from commit
ec9f4f5066ba7a8bf3af931fd4969590140c0b2b)
Michael Adam [Thu, 21 Feb 2008 23:24:11 +0000 (00:24 +0100)]
Add missing initalizations of lastif in rep_getifaddr implementations.
Michael
(cherry picked from commit
65710e752f72070cb911867ff9f31f91904ca5c0)
Michael Adam [Thu, 21 Feb 2008 17:16:10 +0000 (18:16 +0100)]
libreplace: fix compile errors in getifaddrs.c
Michael
(cherry picked from commit
22cdd4cb507022d9c670b7d5cbc8d357b0b91637)
Michael Adam [Thu, 21 Feb 2008 16:56:33 +0000 (17:56 +0100)]
Try and fix getifaddrs check on irix: dont't try to include config.h
The missing header file is judged "catastrophic" on irix.
Michael
(cherry picked from commit
5778c90819a5a5cee38be690f442c571f3a6a051)
Jelmer Vernooij [Thu, 21 Feb 2008 15:11:13 +0000 (16:11 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Jelmer Vernooij [Thu, 21 Feb 2008 15:10:07 +0000 (16:10 +0100)]
Remove extra whitespace, use public variable in IDL.
Jelmer Vernooij [Thu, 21 Feb 2008 15:01:19 +0000 (16:01 +0100)]
Remove more uses of global_loadparm.
Stefan Metzmacher [Thu, 21 Feb 2008 14:54:31 +0000 (15:54 +0100)]
selftest: fix --socket-wrapper-pcap
metze
Stefan Metzmacher [Thu, 21 Feb 2008 14:51:40 +0000 (15:51 +0100)]
ldb_sqlite: fix the build
metze
Jelmer Vernooij [Thu, 21 Feb 2008 14:45:32 +0000 (15:45 +0100)]
Remove more uses of global_loadparm.
Jelmer Vernooij [Thu, 21 Feb 2008 14:38:35 +0000 (15:38 +0100)]
Remove more uses of global_loadparm.
Jelmer Vernooij [Thu, 21 Feb 2008 14:21:45 +0000 (15:21 +0100)]
Remove more uses of global_loadparm.
Jelmer Vernooij [Thu, 21 Feb 2008 13:50:57 +0000 (14:50 +0100)]
Remove more uses of global_loadparm.
Jelmer Vernooij [Thu, 21 Feb 2008 13:16:02 +0000 (14:16 +0100)]
Avoid use of global_loadparm.
Stefan Metzmacher [Tue, 19 Feb 2008 15:40:48 +0000 (16:40 +0100)]
srvsvc.idl: don't use STR_LEN4 anymore
metze
Stefan Metzmacher [Fri, 15 Feb 2008 13:56:35 +0000 (14:56 +0100)]
samr.idl: windows uses lsa_AsciiStringLarge in QueryDisplayInfo
Tested with nt4 and w2k3.
metze
Kai Blin [Mon, 18 Feb 2008 22:47:30 +0000 (23:47 +0100)]
idmap: Handle SID->gid
Kai Blin [Mon, 18 Feb 2008 17:53:12 +0000 (18:53 +0100)]
idmap: Handle SID->uid
Kai Blin [Mon, 18 Feb 2008 13:30:17 +0000 (14:30 +0100)]
idmap: Handle gid->SID mapping
Kai Blin [Mon, 18 Feb 2008 13:33:58 +0000 (14:33 +0100)]
idmap: Handle uid->SID mapping
Kai Blin [Sun, 17 Feb 2008 19:25:13 +0000 (20:25 +0100)]
loadparm: Add configuration settings for idmap.
Default behaviour for "idmap trusted only" is "False", meaning idmap creates
ID mappings for all SIDs.
If set to "True", idmap will create SID mappings for trusted users only.
"idmap database" allows to set the database idmap uses, defaulting to
idmap,ldb
Jelmer Vernooij [Thu, 21 Feb 2008 00:22:20 +0000 (01:22 +0100)]
Make setup/provision the name of the python provision script now that that is the default.
Jelmer Vernooij [Thu, 21 Feb 2008 00:20:12 +0000 (01:20 +0100)]
Remove kinit with pkinit failure from known failures list again.
Jelmer Vernooij [Thu, 21 Feb 2008 00:07:06 +0000 (01:07 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Jelmer Vernooij [Thu, 21 Feb 2008 00:04:18 +0000 (01:04 +0100)]
Never assume -fvisibility=hidden for modules unless explicitly specified (consistent with what we do for other subsystems/libraries).
Andrew Bartlett [Wed, 20 Feb 2008 23:43:13 +0000 (10:43 +1100)]
Be consistant about --ldap-backend-type
Make the EJS provision and the selftest scripts both use the new
syntax for speicifying the ldap backend type.
Andrew Bartlett
Andrew Bartlett [Wed, 20 Feb 2008 22:55:13 +0000 (09:55 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
Andrew Bartlett [Wed, 20 Feb 2008 22:53:11 +0000 (09:53 +1100)]
Until the new ldb changes land, make ldb_wait set the error string.
This makes it easier to track down which module only returned and
error code, but not the error string.
Andrew Bartlett
Jelmer Vernooij [Wed, 20 Feb 2008 19:05:51 +0000 (20:05 +0100)]
Support dlopen(NULL, ...) on HPUX.
Jelmer Vernooij [Wed, 20 Feb 2008 18:41:52 +0000 (19:41 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Jelmer Vernooij [Wed, 20 Feb 2008 18:40:20 +0000 (19:40 +0100)]
Make more module init functions public, since they are compiled with -fvisibility=hidden. Not doing this causes failures on Mac OS X.
Jelmer Vernooij [Wed, 20 Feb 2008 18:34:45 +0000 (19:34 +0100)]
Make all auth module init functions public, since they are compiled with -fvisibility=hidden. Not doing this causes failures on Mac OS X.
Michael Adam [Wed, 20 Feb 2008 11:53:07 +0000 (12:53 +0100)]
libreplace: change samba_cv_ to libreplace_cv_ in libreplace.m4.
Michael
Michael Adam [Wed, 20 Feb 2008 11:49:30 +0000 (12:49 +0100)]
libreplace: change samba_cv_ to libreplace_cv_ in system/config.m4.
Michael
Michael Adam [Wed, 20 Feb 2008 11:46:20 +0000 (12:46 +0100)]
libreplace: change samba_cv_ to libreplace_cv_ in getpass.m4.
Michael
Michael Adam [Wed, 20 Feb 2008 11:43:37 +0000 (12:43 +0100)]
libreplace: change samba_cv_ to libreplace_cv_ in getifaddrs.m4
Michael
Jelmer Vernooij [Wed, 20 Feb 2008 11:17:18 +0000 (12:17 +0100)]
Allow building ldb as static library again \o/
Jelmer Vernooij [Wed, 20 Feb 2008 10:32:56 +0000 (11:32 +0100)]
Avoid python2.2-specific types.
Jelmer Vernooij [Wed, 20 Feb 2008 09:55:20 +0000 (10:55 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-nodeclare
Jelmer Vernooij [Wed, 20 Feb 2008 09:51:26 +0000 (10:51 +0100)]
Fix nbt tests.
Volker Lendecke [Fri, 1 Feb 2008 13:23:56 +0000 (14:23 +0100)]
NetBSD does not support AI_ADDRCONFIG
(cherry picked from commit
fb3f7f4046fa195baf5116598772d9016238637f)
Volker Lendecke [Fri, 1 Feb 2008 19:03:05 +0000 (20:03 +0100)]
NetBSD needs LD_LIBRARY_PATH
(cherry picked from commit
d64b19e77aa499c1ee1aaf788ddf3d6fd36253e4)
Andrew Bartlett [Wed, 20 Feb 2008 08:20:13 +0000 (19:20 +1100)]
Simpler specification of CFLAGS and LDFLAGS
By being more consistant in applying CFLAGS and LDFLAGS (in
particular) to every invocation, we make it simpler to enable gcov
code coverage, both in the build system and on the build farm.
Andrew Bartlett
Jelmer Vernooij [Wed, 20 Feb 2008 03:33:43 +0000 (04:33 +0100)]
Fix use of some modules (needed _PUBLIC_).
Jelmer Vernooij [Wed, 20 Feb 2008 02:40:44 +0000 (03:40 +0100)]
Fix static module list generation for ldb.
Jelmer Vernooij [Wed, 20 Feb 2008 02:21:38 +0000 (03:21 +0100)]
Require at least talloc 1.2.0.
Jelmer Vernooij [Wed, 20 Feb 2008 01:57:07 +0000 (02:57 +0100)]
Remove more function-based inits.
Jelmer Vernooij [Wed, 20 Feb 2008 00:56:55 +0000 (01:56 +0100)]
Use function-based initialization for ildap backend.
Jelmer Vernooij [Wed, 20 Feb 2008 00:54:32 +0000 (01:54 +0100)]
Use struct-based rather than function-based initialization for ldb modules everywhere.