jelmer/samba4-debian.git
11 years agoRAW-SEARCH: skip RESUME_KEY tests against samba3
Stefan Metzmacher [Tue, 11 Mar 2008 20:58:29 +0000 (21:58 +0100)]
RAW-SEARCH: skip RESUME_KEY tests against samba3

metze

11 years agoSamba3.2 now passes a lot more tests - remove the S3 specific
Jeremy Allison [Tue, 11 Mar 2008 20:39:04 +0000 (13:39 -0700)]
Samba3.2 now passes a lot more tests - remove the S3 specific
exemptions.
Jeremy.

11 years agoSamba3 now passes the test_raw_oplock_exclusive3 test.
Jeremy Allison [Tue, 11 Mar 2008 19:37:20 +0000 (12:37 -0700)]
Samba3 now passes the test_raw_oplock_exclusive3 test.
Jeremy.

11 years agopvfs: return NT_STATUS_NOT_IMPLEMENTED on RAW_RENAME_NTTRANS
Stefan Metzmacher [Tue, 11 Mar 2008 18:29:18 +0000 (19:29 +0100)]
pvfs: return NT_STATUS_NOT_IMPLEMENTED on RAW_RENAME_NTTRANS

metze

11 years agosmb_server: pass down RAW_RENAME_NTTRANS to the ntvfs layer
Stefan Metzmacher [Tue, 11 Mar 2008 18:28:34 +0000 (19:28 +0100)]
smb_server: pass down RAW_RENAME_NTTRANS to the ntvfs layer

metze

11 years agoevents_signal: pass down the correct siginfo_t struct to the event handler
Stefan Metzmacher [Mon, 10 Mar 2008 11:46:17 +0000 (12:46 +0100)]
events_signal: pass down the correct siginfo_t struct to the event handler

metze

11 years agolibcli/raw: add RAW_RENAME_NTTRANS support
Stefan Metzmacher [Tue, 11 Mar 2008 18:11:57 +0000 (19:11 +0100)]
libcli/raw: add RAW_RENAME_NTTRANS support

metze

Signed-off-by: Stefan Metzmacher <metze@samba.org>
11 years agoTest trans2 renames with oplocks. It looks like trans2 renames
Jeremy Allison [Tue, 11 Mar 2008 17:21:09 +0000 (10:21 -0700)]
Test trans2 renames with oplocks. It looks like trans2 renames
ignore share modes and oplock breaks :-(.
Jeremy.

11 years agoFix provision script to work without smb.conf location specified.
Andrew Bartlett [Tue, 11 Mar 2008 03:41:10 +0000 (14:41 +1100)]
Fix provision script to work without smb.conf location specified.

Andrew Bartlett

11 years agoExtend testsuite to cover specifying a domain SID.
Andrew Bartlett [Tue, 11 Mar 2008 03:21:53 +0000 (14:21 +1100)]
Extend testsuite to cover specifying a domain SID.

Andrew Bartlett

11 years agoMake error handling in ldb more consistant.
Andrew Bartlett [Tue, 11 Mar 2008 03:20:42 +0000 (14:20 +1100)]
Make error handling in ldb more consistant.

This change ensures we give an immidiate error if the DN won't parse.

Also clean up strcmp use to be more standard.

Andrew Bartlett

11 years agoopendb_tdb: keep struct opendb_file arround for the lifetime of struct odb_lock
Stefan Metzmacher [Sat, 8 Mar 2008 07:55:12 +0000 (08:55 +0100)]
opendb_tdb: keep struct opendb_file arround for the lifetime of struct odb_lock

That means we only have to parse the record once
and as the tdb record is locked the in memory copy
is always the same as the one in the tdb.

metze

11 years agoopendb_tdb: correctly initialize modified to false
Stefan Metzmacher [Sat, 8 Mar 2008 07:58:41 +0000 (08:58 +0100)]
opendb_tdb: correctly initialize modified to false

Otherwise this variable would never change its value...

metze

11 years agowe now define PACKAGE_BUGREPORT in config.h
Stefan Metzmacher [Sat, 8 Mar 2008 08:20:55 +0000 (09:20 +0100)]
we now define PACKAGE_BUGREPORT in config.h

metze

11 years agopvfs_open: fix the odb_open_file() callers
Stefan Metzmacher [Fri, 7 Mar 2008 17:28:48 +0000 (18:28 +0100)]
pvfs_open: fix the odb_open_file() callers

metze

11 years agoopendb: force odb_can_open() before odb_open_file()
Stefan Metzmacher [Fri, 7 Mar 2008 17:23:34 +0000 (18:23 +0100)]
opendb: force odb_can_open() before odb_open_file()

Now there's only odb_can_open() which handles the
share_access rules.

And odb_open_file() only adds the new opendb_entry into the
database and calculates the granted oplock level.

metze

11 years agopvfs_open: always call odb_can_open() before odb_open_file()
Stefan Metzmacher [Fri, 7 Mar 2008 16:50:17 +0000 (17:50 +0100)]
pvfs_open: always call odb_can_open() before odb_open_file()

odb_open_file() will later change to not redo the logic of
odb_can_open().

metze

11 years agoopendb_tdb: pass down struct messaging_context directly to odb_oplock_break_send()
Stefan Metzmacher [Fri, 7 Mar 2008 09:33:57 +0000 (10:33 +0100)]
opendb_tdb: pass down struct messaging_context directly to odb_oplock_break_send()

metze

11 years agovfs_cifs: disable level2 oplocks if the frontend client doesn't support them
Stefan Metzmacher [Fri, 7 Mar 2008 18:12:14 +0000 (19:12 +0100)]
vfs_cifs: disable level2 oplocks if the frontend client doesn't support them

metze

11 years agoRerun SWIG.
Jelmer Vernooij [Fri, 7 Mar 2008 17:20:12 +0000 (18:20 +0100)]
Rerun SWIG.

11 years agotorture: fix escape sequence in test_chkpath().
Michael Adam [Fri, 7 Mar 2008 14:00:37 +0000 (15:00 +0100)]
torture: fix escape sequence in test_chkpath().

Michael

11 years agoconfigure: Add major version 4 to AC_INIT call.
Michael Adam [Fri, 7 Mar 2008 13:59:19 +0000 (14:59 +0100)]
configure: Add major version 4 to AC_INIT call.

Michael

11 years agoTreat maxPwdAge == 0 as passwords never expire.
Andrew Kroeger [Fri, 7 Mar 2008 11:56:04 +0000 (05:56 -0600)]
Treat maxPwdAge == 0 as passwords never expire.

11 years agoEnhance mappings of NTSTATUS to KRB5KDC errors.
Andrew Kroeger [Thu, 6 Mar 2008 12:08:32 +0000 (06:08 -0600)]
Enhance mappings of NTSTATUS to KRB5KDC errors.

The enhanced mappings allow the Windows client to determine whether a user's
password needs to be changed (and allows them to change it), or if they cannot
logon at all.

Changes still need to be made to allow additional data to be returned.  Windows
uses that additional data to display more detailed dialogs to the user.  The
additional information is returned in an e-data struct of type PA-PW-SALT that
contains the more-detailed NTSTATUS error code.

11 years agoUpdate account expiration to use new samdb_result_account_expires() function.
Andrew Kroeger [Thu, 6 Mar 2008 12:07:28 +0000 (06:07 -0600)]
Update account expiration to use new samdb_result_account_expires() function.

11 years agoAdd samdb_result_account_expires() function.
Andrew Kroeger [Thu, 6 Mar 2008 12:02:46 +0000 (06:02 -0600)]
Add samdb_result_account_expires() function.

Windows uses 2 different values to indicate an account doesn't expire: 0 and
9223372036854775807 (0x7FFFFFFFFFFFFFFFULL).

This function looks up the value of the accountExpires attribute and if the
value is either value indicating the account doesn't expire,
0x7FFFFFFFFFFFFFFFULL is returned.

This simplifies the tests for account expiration.  There is no need to check
elsewhere in the code for both values, therefore a simple greater-than
expression can be used.

11 years agoaccountExpires: Windows default is 9223372036854775807, not -1.
Andrew Kroeger [Thu, 6 Mar 2008 11:56:49 +0000 (05:56 -0600)]
accountExpires: Windows default is 9223372036854775807, not -1.

11 years agoUse 32 bit storage for nttrans counts
Amin Azez [Fri, 7 Mar 2008 10:55:49 +0000 (10:55 +0000)]
Use 32 bit storage for nttrans counts

Erroneous 16bit storage for nttrans counts meant that nttrans behaved
"strangely" for sizes of over 64K

As 32 bit is used in the SMB message and specified in
http://us4.samba.org/samba/ftp/specs/draft-leach-cifs-v1-spec-02.txt
section 3.13.2
this fix changes storage to match.

Signed-off-by: Amin Azez <azez@ufomechanic.net>
11 years agoTry to fix up part of the upgrade test.
Andrew Bartlett [Fri, 7 Mar 2008 08:20:39 +0000 (19:20 +1100)]
Try to fix up part of the upgrade test.

There are still problems with the upgrade test, but these are not
related to the provision system.

Andrew Bartlett

11 years agoRework provision scripts for more testing
Andrew Bartlett [Thu, 6 Mar 2008 23:57:52 +0000 (10:57 +1100)]
Rework provision scripts for more testing

This fixes up some issues with testdir (was not honoured) and
increases test coverage.

We now check all the major provision modes.  In doing so, to make it
possible to call from the multiple layers of 'sh', I have allowed 'dc'
to alias 'domain controller' and 'member' to alias 'member server'.
Fighting shell quoting in the test system was just too hard...

Also fix upgrade.py

Andrew Bartlett

11 years agoFixup the NET-API-USERMOD test.
Andrew Bartlett [Thu, 6 Mar 2008 22:05:24 +0000 (09:05 +1100)]
Fixup the NET-API-USERMOD test.

This test needed to be updated to handle the fact that you cannot
clear the ACB_PW_EXPIRED bit, and to always use the torture comment
functions (not printf directly).

Andrew Bartlett

11 years agoMerge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
Andrew Bartlett [Thu, 6 Mar 2008 20:38:44 +0000 (07:38 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local

11 years agoStart to rework provision for LDAP backends
Andrew Bartlett [Thu, 6 Mar 2008 20:33:14 +0000 (07:33 +1100)]
Start to rework provision for LDAP backends

This is the start of the rework of the provision script to handle an
LDAP backend correctly.  For example, we must not set the 'tdb
modules' against an LDAP backend such as OpenLDAP that handles subtree
renames.

Andrew Bartlett

11 years agoIgnore Kerberos PAC type 12.
Günther Deschner [Thu, 6 Mar 2008 15:41:24 +0000 (16:41 +0100)]
Ignore Kerberos PAC type 12.

Until we worked out the PAC_TYPE_UNKNOWN_12 format (or received documentation)
ignore it so that the PAC parsing can proceed.

Guenther
(cherry picked from commit 3630ec26c99fdea46c47117d026f9bffb2c4590a)

11 years agoSlowly making progress on PAC_UNKNOWN_12.
Günther Deschner [Thu, 6 Mar 2008 13:15:07 +0000 (14:15 +0100)]
Slowly making progress on PAC_UNKNOWN_12.

unknown1 and unknown2 are offset headers for the strings.

Guenther
(cherry picked from commit 7af70e75b9abf92921f33ec4207ad486ee2493d6)

11 years agoAdd new Windows 2008 Kerberos PAC Type 12 (apparently again undocumented).
Günther Deschner [Tue, 4 Mar 2008 11:26:05 +0000 (12:26 +0100)]
Add new Windows 2008 Kerberos PAC Type 12 (apparently again undocumented).

We need at least to parse this in order to correctly support kerberized session
setup from w2k8 as well as local pam_winbind logons using kerberos.

Guenther
(cherry picked from commit 4ba62d49d740c43cf17ceef1534cf1c8a7e4a130)

11 years agoRAW-OPLOCK: rename _ack_to_levelII() -> ack_to_given()
Stefan Metzmacher [Thu, 6 Mar 2008 15:27:13 +0000 (16:27 +0100)]
RAW-OPLOCK: rename _ack_to_levelII() -> ack_to_given()

Also improve the output.

metze

11 years agoRAW-OPLOCK: add BATCH24 test another case with a connection with no CAP_LEVEL_II_OPLOCKS
Stefan Metzmacher [Thu, 6 Mar 2008 14:56:03 +0000 (15:56 +0100)]
RAW-OPLOCK: add BATCH24 test another case with a connection with no CAP_LEVEL_II_OPLOCKS

metze

11 years agoRAW-OPLOCK: add BATCH23 and test with a connection with no CAP_LEVEL_II_OPLOCKS
Stefan Metzmacher [Thu, 6 Mar 2008 14:54:07 +0000 (15:54 +0100)]
RAW-OPLOCK: add BATCH23 and test with a connection with no CAP_LEVEL_II_OPLOCKS

metze

11 years agoRAW-OPLOCK: remove unused vars
Stefan Metzmacher [Thu, 6 Mar 2008 14:49:31 +0000 (15:49 +0100)]
RAW-OPLOCK: remove unused vars

metze

11 years agopvfs_open: pass down allow_level_II_oplock to odb_open_file()
Stefan Metzmacher [Thu, 6 Mar 2008 14:48:31 +0000 (15:48 +0100)]
pvfs_open: pass down allow_level_II_oplock to odb_open_file()

metze

11 years agoopendb: add allow_level_II_oplock parameter to odb_open_file()
Stefan Metzmacher [Thu, 6 Mar 2008 14:47:27 +0000 (15:47 +0100)]
opendb: add allow_level_II_oplock parameter to odb_open_file()

Not all clients support a fallback to level II oplocks.

metze

11 years agopvfs_open: fix crash/leak in case pvfs_setup_oplock() fails
Stefan Metzmacher [Thu, 6 Mar 2008 14:34:37 +0000 (15:34 +0100)]
pvfs_open: fix crash/leak in case pvfs_setup_oplock() fails

metze

11 years agontvfs: pass down the client capabilities into the ntvfs layer
Stefan Metzmacher [Thu, 6 Mar 2008 14:14:08 +0000 (15:14 +0100)]
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

11 years agolibcli/raw: make it possible to not send CAP_LEVEL_II_OPLOCKS
Stefan Metzmacher [Thu, 6 Mar 2008 14:11:16 +0000 (15:11 +0100)]
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

11 years agoFix typo
Andrew Bartlett [Thu, 6 Mar 2008 11:04:46 +0000 (22:04 +1100)]
Fix typo

11 years agoEnsure we get this option from the command line, not the internal
Andrew Bartlett [Thu, 6 Mar 2008 11:03:10 +0000 (22:03 +1100)]
Ensure we get this option from the command line, not the internal
smb.conf we generate.

Andrew Bartlett

11 years agoMerge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-abartlet
Andrew Bartlett [Thu, 6 Mar 2008 11:02:25 +0000 (22:02 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-abartlet

11 years agoMake Samba4 pass the NET-API-BECOMEDC test against Win2k3 (again).
Andrew Bartlett [Thu, 6 Mar 2008 10:55:26 +0000 (21:55 +1100)]
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

11 years agoldb_wrap: Debug at derived samba_level, not the level of the ldb debug enum.
Andrew Kroeger [Thu, 6 Mar 2008 06:03:18 +0000 (00:03 -0600)]
ldb_wrap: Debug at derived samba_level, not the level of the ldb debug enum.

11 years agoselftest: use the same oplocktimeout for smbtorture as for smbd
Stefan Metzmacher [Tue, 4 Mar 2008 13:24:27 +0000 (14:24 +0100)]
selftest: use the same oplocktimeout for smbtorture as for smbd

metze

11 years agoRAW-OPLOCK: add BATCH22 and test the behavior of oplock break timeouts
Stefan Metzmacher [Tue, 4 Mar 2008 13:08:32 +0000 (14:08 +0100)]
RAW-OPLOCK: add BATCH22 and test the behavior of oplock break timeouts

metze

11 years agoRAW-OPLOCK: add BATCH21: a self write with an oplock doesn't break it
Stefan Metzmacher [Tue, 4 Mar 2008 11:15:32 +0000 (12:15 +0100)]
RAW-OPLOCK: add BATCH21: a self write with an oplock doesn't break it

metze

11 years agopvfs_oplock: auto release oplocks after a timeout
Stefan Metzmacher [Tue, 4 Mar 2008 13:16:17 +0000 (14:16 +0100)]
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

11 years agopvfs_oplock: only a break level2 oplocks...
Stefan Metzmacher [Tue, 4 Mar 2008 13:11:53 +0000 (14:11 +0100)]
pvfs_oplock: only a break level2 oplocks...

It seems that I've tested this in the wrong way before.

metze

11 years agopvfs_oplock: move pvfs_oplock_release() parts into a helper function
Stefan Metzmacher [Tue, 4 Mar 2008 13:10:13 +0000 (14:10 +0100)]
pvfs_oplock: move pvfs_oplock_release() parts into a helper function

metze

11 years agobuild: fix the build with --enable-automatic-dependencies=yes
Stefan Metzmacher [Tue, 4 Mar 2008 09:47:40 +0000 (10:47 +0100)]
build: fix the build with --enable-automatic-dependencies=yes

metze

11 years agoTry to return sane ldb error strings
Andrew Bartlett [Tue, 4 Mar 2008 02:45:31 +0000 (13:45 +1100)]
Try to return sane ldb error strings

We don't just want to return just strerror(ret) when things go wrong.

Andrew Bartlett

11 years agoThe DN in objectCategory should, if possible, be returned pretty...
Andrew Bartlett [Tue, 4 Mar 2008 02:40:50 +0000 (13:40 +1100)]
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

11 years agoDon't hardcode objectCategory into the schema, even in the schema.
Andrew Bartlett [Tue, 4 Mar 2008 00:27:57 +0000 (11:27 +1100)]
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

11 years agoFix failure to re-provision.
Andrew Bartlett [Mon, 3 Mar 2008 02:03:19 +0000 (13:03 +1100)]
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

11 years agoMerge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
Andrew Bartlett [Mon, 3 Mar 2008 00:12:20 +0000 (11:12 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local

11 years agoFix member server provision
Douglas VanLeuven [Mon, 3 Mar 2008 00:08:59 +0000 (11:08 +1100)]
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".

11 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Jelmer Vernooij [Sun, 2 Mar 2008 23:40:01 +0000 (00:40 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test

11 years agoMerge branch 'v4-0-test' into id10ts-registry
Jelmer Vernooij [Sun, 2 Mar 2008 23:23:09 +0000 (00:23 +0100)]
Merge branch 'v4-0-test' into id10ts-registry

11 years agoFix blackbox.kinit test by issuing new certificates good for 25 years.
Andrew Kroeger [Sun, 2 Mar 2008 13:57:13 +0000 (07:57 -0600)]
Fix blackbox.kinit test by issuing new certificates good for 25 years.

11 years agoSome cleanups for the ldb doxygen docs.
Brad Hards [Sun, 2 Mar 2008 09:46:47 +0000 (10:46 +0100)]
Some cleanups for the ldb doxygen docs.

11 years agoRemove unused variable, fix (80, 'Other error') exceptions from ldb python bindings
Jelmer Vernooij [Sat, 1 Mar 2008 20:18:12 +0000 (21:18 +0100)]
Remove unused variable, fix (80, 'Other error') exceptions from ldb python bindings

11 years agoFix error handling in ldb.add().
Jelmer Vernooij [Sat, 1 Mar 2008 12:01:02 +0000 (13:01 +0100)]
Fix error handling in ldb.add().

11 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Jelmer Vernooij [Sat, 1 Mar 2008 11:23:08 +0000 (12:23 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test

11 years agopvfs_rename: move odb_rename() onto pvfs_do_rename()
Stefan Metzmacher [Sat, 1 Mar 2008 09:05:25 +0000 (10:05 +0100)]
pvfs_rename: move odb_rename() onto pvfs_do_rename()

metze

11 years agoRemove duplicate message.
Jelmer Vernooij [Fri, 29 Feb 2008 16:04:57 +0000 (17:04 +0100)]
Remove duplicate message.

11 years agoFix variable name.
Jelmer Vernooij [Fri, 29 Feb 2008 14:47:04 +0000 (15:47 +0100)]
Fix variable name.

11 years agoSimpler handling of sonameflag.
Jelmer Vernooij [Sat, 16 Feb 2008 19:24:47 +0000 (20:24 +0100)]
Simpler handling of sonameflag.

11 years agoMove automatic dependencies code out of perl code.
Jelmer Vernooij [Mon, 25 Feb 2008 17:05:47 +0000 (18:05 +0100)]
Move automatic dependencies code out of perl code.

11 years agoAllow absolute paths to be specified to mkproto.pl.
Jelmer Vernooij [Mon, 25 Feb 2008 16:20:33 +0000 (17:20 +0100)]
Allow absolute paths to be specified to mkproto.pl.

11 years agoUse special make variables.
Jelmer Vernooij [Fri, 29 Feb 2008 14:39:18 +0000 (15:39 +0100)]
Use special make variables.

11 years agoIgnore autogenerated file.
Jelmer Vernooij [Tue, 26 Feb 2008 15:55:08 +0000 (16:55 +0100)]
Ignore autogenerated file.

11 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Jelmer Vernooij [Fri, 29 Feb 2008 14:34:45 +0000 (15:34 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test

11 years agoRemove useless include, simplify generated CFLAGS lines in Makefile.
Jelmer Vernooij [Fri, 29 Feb 2008 14:32:33 +0000 (15:32 +0100)]
Remove useless include, simplify generated CFLAGS lines in Makefile.

11 years agoRAW-SFILEINFO-RENAME: test renaming of directories by path and handle
Stefan Metzmacher [Fri, 29 Feb 2008 08:03:47 +0000 (09:03 +0100)]
RAW-SFILEINFO-RENAME: test renaming of directories by path and handle

metze

11 years agoRAW-SFILEINFO-RENAME: test renaming by path while a handle is open on a file
Stefan Metzmacher [Thu, 28 Feb 2008 11:10:27 +0000 (12:10 +0100)]
RAW-SFILEINFO-RENAME: test renaming by path while a handle is open on a file

metze

11 years agopvfs_setfileinfo: support renaming of directories
Stefan Metzmacher [Fri, 29 Feb 2008 08:10:12 +0000 (09:10 +0100)]
pvfs_setfileinfo: support renaming of directories

metze

11 years agoselftest: we pass RAW-OPLOCK BATCH19 and 20 now
Stefan Metzmacher [Thu, 28 Feb 2008 11:20:22 +0000 (12:20 +0100)]
selftest: we pass RAW-OPLOCK BATCH19 and 20 now

metze

11 years agopvfs_setfileinfo: tell the opendb about renames
Stefan Metzmacher [Thu, 28 Feb 2008 11:19:18 +0000 (12:19 +0100)]
pvfs_setfileinfo: tell the opendb about renames

metze

11 years agopvfs: use pvfs_resolve_name_handle() in qfileinfo and setfileinfo
Stefan Metzmacher [Thu, 28 Feb 2008 11:17:59 +0000 (12:17 +0100)]
pvfs: use pvfs_resolve_name_handle() in qfileinfo and setfileinfo

metze

11 years agopvfs_resolve: add pvfs_resolve_name_handle()
Stefan Metzmacher [Thu, 28 Feb 2008 11:14:17 +0000 (12:14 +0100)]
pvfs_resolve: add pvfs_resolve_name_handle()

metze

11 years agoRAW-CHKPATH: also use qpathinfo NAME_INFO and check the returned name
Stefan Metzmacher [Fri, 29 Feb 2008 07:15:50 +0000 (08:15 +0100)]
RAW-CHKPATH: also use qpathinfo NAME_INFO and check the returned name

Also add some more test combinations.

metze

11 years agopvfs_resolve: "\\" and a trailing "\" need to be reduced
Stefan Metzmacher [Fri, 29 Feb 2008 08:08:57 +0000 (09:08 +0100)]
pvfs_resolve: "\\" and a trailing "\" need to be reduced

metze

11 years agopvfs_resolve: fix endless loop with trailing ".."
Stefan Metzmacher [Fri, 29 Feb 2008 12:04:08 +0000 (13:04 +0100)]
pvfs_resolve: fix endless loop with trailing ".."

We also need to move the NULL termination.

metze

11 years agoopendb: add odb_get_path()
Stefan Metzmacher [Thu, 28 Feb 2008 08:06:49 +0000 (09:06 +0100)]
opendb: add odb_get_path()

metze

11 years agopvfs_open: make pvfs_locking_key() non static
Stefan Metzmacher [Thu, 28 Feb 2008 11:18:29 +0000 (12:18 +0100)]
pvfs_open: make pvfs_locking_key() non static

metze

11 years agoFix dynconfig compilation.
Jelmer Vernooij [Fri, 29 Feb 2008 14:06:05 +0000 (15:06 +0100)]
Fix dynconfig compilation.

11 years agoRemove the now unused cflags script.
Jelmer Vernooij [Mon, 25 Feb 2008 14:39:46 +0000 (15:39 +0100)]
Remove the now unused cflags script.

11 years agoInclude CFLAGS overrides in make file.
Jelmer Vernooij [Mon, 25 Feb 2008 17:29:04 +0000 (18:29 +0100)]
Include CFLAGS overrides in make file.

11 years agoRemove cruft that dealt with public prototype headers.
Jelmer Vernooij [Fri, 29 Feb 2008 13:43:54 +0000 (14:43 +0100)]
Remove cruft that dealt with public prototype headers.

11 years agoChange remaining prototype headers to be private.
Jelmer Vernooij [Fri, 29 Feb 2008 13:36:51 +0000 (14:36 +0100)]
Change remaining prototype headers to be private.

11 years agoFix typos, avoid DEPEND_LIST from growing with empty elements.
Jelmer Vernooij [Fri, 29 Feb 2008 13:32:37 +0000 (14:32 +0100)]
Fix typos, avoid DEPEND_LIST from growing with empty elements.

11 years agoMove public header accumulation out of the perl code.
Jelmer Vernooij [Fri, 29 Feb 2008 13:23:38 +0000 (14:23 +0100)]
Move public header accumulation out of the perl code.

Never install generated prototype files. It's easier to break the
API when using them and they're not easily readable for 3rd party users.

Conflicts:

source/auth/config.mk
source/auth/credentials/config.mk
source/auth/gensec/config.mk
source/build/smb_build/config_mk.pm
source/build/smb_build/main.pl
source/build/smb_build/makefile.pm
source/dsdb/config.mk
source/lib/charset/config.mk
source/lib/tdr/config.mk
source/lib/util/config.mk
source/libcli/config.mk
source/libcli/ldap/config.mk
source/librpc/config.mk
source/param/config.mk
source/rpc_server/config.mk
source/torture/config.mk

11 years agoFix manpage paths.
Jelmer Vernooij [Tue, 26 Feb 2008 14:19:45 +0000 (15:19 +0100)]
Fix manpage paths.