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.
Jelmer Vernooij [Wed, 20 Feb 2008 00:37:53 +0000 (01:37 +0100)]
Allow ldb backends without init function, use init function-less ldb modules.
Jelmer Vernooij [Tue, 19 Feb 2008 22:53:04 +0000 (23:53 +0100)]
Factor out IP marshalling into separate function.
Jelmer Vernooij [Tue, 19 Feb 2008 22:00:43 +0000 (23:00 +0100)]
Add configure test for vdeplug library.
Jelmer Vernooij [Tue, 19 Feb 2008 21:04:26 +0000 (22:04 +0100)]
Add VDE switch management functions.
Jelmer Vernooij [Tue, 19 Feb 2008 20:51:09 +0000 (21:51 +0100)]
Initial work on vde support.
Jelmer Vernooij [Tue, 19 Feb 2008 17:05:09 +0000 (18:05 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Jelmer Vernooij [Tue, 19 Feb 2008 17:03:02 +0000 (18:03 +0100)]
Only set "interfaces = " line for client when necessary.
Jelmer Vernooij [Tue, 19 Feb 2008 16:26:02 +0000 (17:26 +0100)]
Add kvm name.
Michael Adam [Tue, 19 Feb 2008 16:25:42 +0000 (17:25 +0100)]
Remove relict SAMBA_CONFIGURE_CPPFLAGS from lib/replace.
Michael
Jelmer Vernooij [Tue, 19 Feb 2008 16:23:38 +0000 (17:23 +0100)]
Allow loading kvm snapshots.
Michael Adam [Tue, 19 Feb 2008 15:49:58 +0000 (16:49 +0100)]
Fix a typo.
Michael
Michael Adam [Mon, 18 Feb 2008 21:49:32 +0000 (22:49 +0100)]
Adapt source code checkout information to git repo in talloc website.
Michael
Michael Adam [Sun, 17 Feb 2008 21:57:04 +0000 (22:57 +0100)]
Fix paths for talloc into unpacked directory (rsync commands).
Michael
Jelmer Vernooij [Tue, 19 Feb 2008 15:49:29 +0000 (16:49 +0100)]
Allow connecting to screen.
Jelmer Vernooij [Tue, 19 Feb 2008 15:28:32 +0000 (16:28 +0100)]
Start dhcp server for kvm machine.
Stefan Metzmacher [Tue, 19 Feb 2008 13:58:33 +0000 (14:58 +0100)]
initshutdown.idl: get rid of initshutdown_String and use lsa_StringLarge
metze
Stefan Metzmacher [Tue, 19 Feb 2008 10:57:32 +0000 (11:57 +0100)]
winreg.idl: get rid of initshutdown_String and use lsa_StringLarge
metze
Stefan Metzmacher [Thu, 14 Feb 2008 15:07:04 +0000 (16:07 +0100)]
drsblobs.idl: don't use asclstr
metze
Stefan Metzmacher [Tue, 19 Feb 2008 13:47:22 +0000 (14:47 +0100)]
lsa.idl: strlen_m*() also for the lsa_AsciiString* versions
We already did this before
b994f899b42d294c0418bdc82660a2f7510667d6.
This is needed to handle NULL strings, where strlen() would crash...
Maybe we should add a strlen_a() and strlen_a_term() later...
metze
Stefan Metzmacher [Tue, 19 Feb 2008 13:44:50 +0000 (14:44 +0100)]
lsa.idl: use strlen_m_term() in lsa_StringLarge to support NULL strings
metze
Jelmer Vernooij [Tue, 19 Feb 2008 14:12:57 +0000 (15:12 +0100)]
Start and kill kvm instance properly.
Jelmer Vernooij [Tue, 19 Feb 2008 13:33:05 +0000 (14:33 +0100)]
Merge branch 'v4-0-trivial' into v4-0-kvmtest
Jelmer Vernooij [Tue, 19 Feb 2008 13:25:20 +0000 (14:25 +0100)]
Fix accidently introduced bug - thanks metze.
Jelmer Vernooij [Tue, 19 Feb 2008 13:13:27 +0000 (14:13 +0100)]
No longer ignore torture/util.h; it's static now.
Jelmer Vernooij [Tue, 19 Feb 2008 13:13:14 +0000 (14:13 +0100)]
samba3rpc: Remove use of global_loadparm.
Jelmer Vernooij [Tue, 19 Feb 2008 13:12:05 +0000 (14:12 +0100)]
Avoid use of global_loadparm.
Jelmer Vernooij [Tue, 19 Feb 2008 12:45:17 +0000 (13:45 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Jelmer Vernooij [Tue, 19 Feb 2008 12:39:27 +0000 (13:39 +0100)]
Remove uses of global_loadparm.
Jelmer Vernooij [Tue, 19 Feb 2008 12:38:59 +0000 (13:38 +0100)]
Fix quicktest.
Andrew Bartlett [Tue, 19 Feb 2008 03:45:23 +0000 (14:45 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-abartlet
Jelmer Vernooij [Tue, 19 Feb 2008 03:44:30 +0000 (04:44 +0100)]
kvm fixes.