Stefan Metzmacher
cc42cd5f67
ntvfs: pass down the client capabilities into the ntvfs layer
...
Note that we don't use any protocol specific values here.
For now only NTVFS_CLIENT_CAP_LEVEL_II_OPLOCKS is defined
others should be defined, when we find out that the ntvfs
layer needs to know about it.
metze
2008-03-06 16:31:25 +01:00
Stefan Metzmacher
33caaef2e4
libcli/raw: make it possible to not send CAP_LEVEL_II_OPLOCKS
...
But the keep the default to always send it
when the server supports it too.
metze
2008-03-06 16:31:25 +01:00
Andrew Bartlett
e66be2f519
Fix typo
2008-03-06 22:04:46 +11:00
Andrew Bartlett
25887c8728
Ensure we get this option from the command line, not the internal
...
smb.conf we generate.
Andrew Bartlett
2008-03-06 22:03:10 +11:00
Andrew Bartlett
2232255ce3
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-abartlet
2008-03-06 22:02:25 +11:00
Andrew Bartlett
1169e8d7be
Make Samba4 pass the NET-API-BECOMEDC test against Win2k3 (again).
...
To make Samba4, using the python provision system, pass this test
required some major rework. Untested code is broken code, and some of
the refactoring for a seperate provision test (which also now passes)
broke things.
Similarly, the iconv work has compiled, but these codepaths have never
been run (NULL pointer de-reference).
In working to use a local, rather than global, loadparm context, and
to support using a target directory, a few things needed to be
reworked, particularly around path handling.
Andrew Bartlett
2008-03-06 21:55:26 +11:00
Andrew Kroeger
eb9a7c3b3a
ldb_wrap: Debug at derived samba_level, not the level of the ldb debug enum.
2008-03-06 00:07:26 -06:00
Stefan Metzmacher
18e27aef7b
selftest: use the same oplocktimeout for smbtorture as for smbd
...
metze
2008-03-04 14:40:56 +01:00
Stefan Metzmacher
c459885898
RAW-OPLOCK: add BATCH22 and test the behavior of oplock break timeouts
...
metze
2008-03-04 14:40:56 +01:00
Stefan Metzmacher
a5476ee41c
RAW-OPLOCK: add BATCH21: a self write with an oplock doesn't break it
...
metze
2008-03-04 14:40:51 +01:00
Stefan Metzmacher
bfb0888578
pvfs_oplock: auto release oplocks after a timeout
...
Remember that we sent an oplock break to
a client and don't resend. If the filesystem
layer tries to send a new break and the client
has not released after a former oplock break
after the timeout interval, we need to auto release
the oplock.
metze
2008-03-04 14:40:50 +01:00
Stefan Metzmacher
21772fa33d
pvfs_oplock: only a break level2 oplocks...
...
It seems that I've tested this in the wrong way before.
metze
2008-03-04 14:40:50 +01:00
Stefan Metzmacher
2b8934e4ab
pvfs_oplock: move pvfs_oplock_release() parts into a helper function
...
metze
2008-03-04 14:40:49 +01:00
Stefan Metzmacher
b0ecd8f8d2
build: fix the build with --enable-automatic-dependencies=yes
...
metze
2008-03-04 11:55:41 +01:00
Andrew Bartlett
7f0341dd58
Try to return sane ldb error strings
...
We don't just want to return just strerror(ret) when things go wrong.
Andrew Bartlett
2008-03-04 13:45:31 +11:00
Andrew Bartlett
cdff1b0802
The DN in objectCategory should, if possible, be returned pretty...
...
This avoids going via the canonicalise_fn(), which will upper case the DN
Andrew Bartlett
2008-03-04 13:40:50 +11:00
Andrew Bartlett
1adc74c65a
Don't hardcode objectCategory into the schema, even in the schema.
...
We now load the schema early enough that we can generate this too!
Andrew Bartlett
2008-03-04 11:27:57 +11:00
Andrew Bartlett
272eb765b8
Fix failure to re-provision.
...
Somewhere in the conversion from ejs we lost calling the 'delete
partitions' code. However, we have to be careful not to wipe
partitions when we are the second client connecting to an LDAP server.
Andrew Bartlett
2008-03-03 13:03:19 +11:00
Andrew Bartlett
de1784ec4d
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
2008-03-03 11:12:20 +11:00
Douglas VanLeuven
62536750ae
Fix member server provision
...
Can't add "member server" because the script aborts with null
reference when no match on serverrole. This is fixed by checking for
the keyword "member server".
2008-03-03 11:08:59 +11:00
Jelmer Vernooij
3d4cbaeec6
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
2008-03-03 00:40:01 +01:00
Jelmer Vernooij
f98b59021a
Merge branch 'v4-0-test' into id10ts-registry
2008-03-03 00:23:09 +01:00
Andrew Kroeger
4f40c5940b
Fix blackbox.kinit test by issuing new certificates good for 25 years.
2008-03-02 07:57:13 -06:00
Brad Hards
5972308add
Some cleanups for the ldb doxygen docs.
2008-03-02 10:46:47 +01:00
Jelmer Vernooij
2303063cbd
Remove unused variable, fix (80, 'Other error') exceptions from ldb python bindings
2008-03-01 21:18:12 +01:00
Jelmer Vernooij
a7f89b5bb2
Fix error handling in ldb.add().
2008-03-01 13:01:02 +01:00
Jelmer Vernooij
cfd1a91c6e
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
2008-03-01 12:23:08 +01:00
Stefan Metzmacher
5a1f0c0ce9
pvfs_rename: move odb_rename() onto pvfs_do_rename()
...
metze
2008-03-01 10:29:56 +01:00
Jelmer Vernooij
87074881a9
Remove duplicate message.
2008-02-29 17:04:57 +01:00
Jelmer Vernooij
b5db8defca
Fix variable name.
2008-02-29 15:47:04 +01:00
Jelmer Vernooij
1e786bb7da
Simpler handling of sonameflag.
2008-02-29 15:41:26 +01:00
Jelmer Vernooij
58a93ef94b
Move automatic dependencies code out of perl code.
2008-02-29 15:39:44 +01:00
Jelmer Vernooij
46d8d02028
Allow absolute paths to be specified to mkproto.pl.
2008-02-29 15:39:32 +01:00
Jelmer Vernooij
dfb4ddcd5d
Use special make variables.
2008-02-29 15:39:18 +01:00
Jelmer Vernooij
18c683d7e8
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
2008-02-29 15:34:45 +01:00
Jelmer Vernooij
3157ce9876
Remove useless include, simplify generated CFLAGS lines in Makefile.
2008-02-29 15:32:33 +01:00
Stefan Metzmacher
ce2b7cec10
RAW-SFILEINFO-RENAME: test renaming of directories by path and handle
...
metze
2008-02-29 15:17:53 +01:00
Stefan Metzmacher
6c0395d4d9
RAW-SFILEINFO-RENAME: test renaming by path while a handle is open on a file
...
metze
2008-02-29 15:17:53 +01:00
Stefan Metzmacher
2ecc7ec8b3
pvfs_setfileinfo: support renaming of directories
...
metze
2008-02-29 15:17:53 +01:00
Stefan Metzmacher
752d686385
selftest: we pass RAW-OPLOCK BATCH19 and 20 now
...
metze
2008-02-29 15:17:53 +01:00
Stefan Metzmacher
9360eda2c5
pvfs_setfileinfo: tell the opendb about renames
...
metze
2008-02-29 15:17:53 +01:00
Stefan Metzmacher
4b1a266f6f
pvfs: use pvfs_resolve_name_handle() in qfileinfo and setfileinfo
...
metze
2008-02-29 15:17:53 +01:00
Stefan Metzmacher
714717253c
pvfs_resolve: add pvfs_resolve_name_handle()
...
metze
2008-02-29 15:17:52 +01:00
Stefan Metzmacher
09985b061a
RAW-CHKPATH: also use qpathinfo NAME_INFO and check the returned name
...
Also add some more test combinations.
metze
2008-02-29 15:17:52 +01:00
Stefan Metzmacher
356338b99a
pvfs_resolve: "\\" and a trailing "\" need to be reduced
...
metze
2008-02-29 15:17:52 +01:00
Stefan Metzmacher
4fc41065a3
pvfs_resolve: fix endless loop with trailing ".."
...
We also need to move the NULL termination.
metze
2008-02-29 15:17:52 +01:00
Stefan Metzmacher
02071f151a
opendb: add odb_get_path()
...
metze
2008-02-29 15:17:52 +01:00
Stefan Metzmacher
587373b97b
pvfs_open: make pvfs_locking_key() non static
...
metze
2008-02-29 15:17:51 +01:00
Jelmer Vernooij
b57f09f526
Fix dynconfig compilation.
2008-02-29 15:06:05 +01:00
Jelmer Vernooij
f97cce2522
Remove the now unused cflags script.
2008-02-29 15:02:30 +01:00