bbaumbach/samba-autobuild/.git
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
(This used to be commit db0853ae4fead34ef382bbfcfe2f46453ab8b73b)

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
(This used to be commit b09a1461ac595be1b6530221b7df5211084884cc)

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
(This used to be commit c993b07f7d5caf290ccb9ca81961aa35a3ed1f02)

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
(This used to be commit a63910e8e5c075aff45b8eb0d246d2823f09bb9c)

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

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
(This used to be commit d92597d29caf76e1c8d0858f066d7a30143392e9)

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
(This used to be commit 3a9514def21c448d344648d4a28f658fbcfc07eb)

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.
(This used to be commit d28f2cb678b334086f601505c88e56b9c1ee559d)

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.
(This used to be commit 6a98e5a7aa0cdbb61358901df50162b5b914ee5c)

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.
(This used to be commit 2b6b4e5a1611744eea5dd9ec17c416916d7edab4)

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.
(This used to be commit 7ce5575a3a40cca4a45ec179a153f7e909065a87)

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.
(This used to be commit be47cc7fdfa3cae0508e564f38b793aa27b6eb92)

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>
(This used to be commit d66b6c3823f003875e3b7cdf63617a894cceadf9)

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
(This used to be commit d331bc400fb138bc43be88d0ca8ab3bcd590d2cd)

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
(This used to be commit 0923de12282b0e063dd73bc3e056dd5c3663c190)

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
(This used to be commit 2211476bbb3d8e5bca9659e886e559a36f40aff4)

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
(This used to be commit a6997c333cdd68dfba8a069df448836ff487787f)

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
(This used to be commit e462a107d3bafcc546ca4d53dcc8eb32e4280745)

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)
(This used to be commit 0c1ccbc183c1d2967da2d9a17033f3b116ff7387)

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)
(This used to be commit ad19da7f83761948f379921560da34bb6a01e625)

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)
(This used to be commit ef0971206cda598e6bfad2ff06a3d2e9e8131682)

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
(This used to be commit d0b641a9ee36939468beb427bf6b15892342a33d)

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
(This used to be commit 4fb2c9fb1f4e3ee23281ca83f8b91d252cbf53c7)

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
(This used to be commit 2192d6d2bda2afd2ba1ed0cb68bdfe590b9d50af)

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
(This used to be commit 0905f3ebd1cb1ac9cefc4272208add9e5a8d7f59)

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
(This used to be commit 7c9b269b0742d435055e21f7e6cc945c21c7e332)

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
(This used to be commit 146f1fe0b67ca0805f0e71358abc57da0c0579a9)

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
(This used to be commit 5563238782e825f64a22b5f9e0a7deb687f50b19)

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
(This used to be commit cc42cd5f6753ca582677fa6f403f0419eec5ab10)

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
(This used to be commit 33caaef2e46557525a8ffb79d6dd0db46a079529)

11 years agoFix typo
Andrew Bartlett [Thu, 6 Mar 2008 11:04:46 +0000 (22:04 +1100)]
Fix typo
(This used to be commit e66be2f519584717abd7fc1f069bf7afe0d7ff60)

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
(This used to be commit 25887c87285b1b92ce5d7cc096da483c25a2fe6c)

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
(This used to be commit 2232255ce384433ff9626f2fd3d399f758b0add5)

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
(This used to be commit 1169e8d7bee20477b0efbfea3534ac63c83fb3d6)

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.
(This used to be commit eb9a7c3b3a7f113ff58e2ebea9886f997da4e085)

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
(This used to be commit 18e27aef7be9b21f65f72ab4c656778ce0c23953)

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
(This used to be commit c459885898c9912df1ae5afff4fef2ff809dc15e)

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
(This used to be commit a5476ee41c140123db160b2e36c8c7084619a738)

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
(This used to be commit bfb0888578677856b2b6b72471f542d0d5d7b838)

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
(This used to be commit 21772fa33d772a9df6ff04a0ed1b0d8f4f533295)

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
(This used to be commit 2b8934e4ab2dd9673928a6c9a291aedac1ebaa95)

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
(This used to be commit b0ecd8f8d2c1ebf23957921f4852e90b556812fc)

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
(This used to be commit 7f0341dd589150ab01563957460cdcf42515cadc)

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
(This used to be commit cdff1b0802437d713652b89f4522d3cce97c30ec)

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
(This used to be commit 1adc74c65a3219fc110964ccdf9a9d60a84831da)

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
(This used to be commit 272eb765b81e3eab216a07249334f9b7d20e530b)

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
(This used to be commit de1784ec4d50f6eec24b1e9e488b5c07833dc1fd)

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".
(This used to be commit 62536750ae06248a49c6b56c86d01b0062bb54f0)

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
(This used to be commit 3d4cbaeec6eafc0fec06ba472ac2bd55ae3a0d11)

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
(This used to be commit f98b59021a5ea39c7970ebc5520d17775e500b8c)

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.
(This used to be commit 4f40c5940b4aa4343152cf367566d4d26765e234)

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.
(This used to be commit 5972308add8b1078e190beab204c1ba4b3a25747)

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
(This used to be commit 2303063cbd2e65580618124ef8ecf42867d2b952)

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().
(This used to be commit a7f89b5bb28601597a4a0f75ec2b97bac02370d9)

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
(This used to be commit cfd1a91c6e319bc28a60bb6aae4443b1246500cb)

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
(This used to be commit 5a1f0c0ce995064c23e9f726bceddbd8442c4293)

11 years agoRemove duplicate message.
Jelmer Vernooij [Fri, 29 Feb 2008 16:04:57 +0000 (17:04 +0100)]
Remove duplicate message.
(This used to be commit 87074881a926f6216276ebc263047c1ffb8aee10)

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

11 years agoSimpler handling of sonameflag.
Jelmer Vernooij [Sat, 16 Feb 2008 19:24:47 +0000 (20:24 +0100)]
Simpler handling of sonameflag.
(This used to be commit 1e786bb7da689c3aa435e92975f33db5a308b6a7)

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.
(This used to be commit 58a93ef94b878ff2d2d0029fc2d443551842e712)

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.
(This used to be commit 46d8d02028869c97226648113d6bff1c06477d61)

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

11 years agoIgnore autogenerated file.
Jelmer Vernooij [Tue, 26 Feb 2008 15:55:08 +0000 (16:55 +0100)]
Ignore autogenerated file.
(This used to be commit 52eb2397387c62a1c5e52ce4ae217adca2c2eb1b)

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
(This used to be commit 18c683d7e804e76ac37d4069429b5ba1a9d9ae38)

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.
(This used to be commit 3157ce9876aa69de54acf3f08e0ee2b16cfaff80)

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
(This used to be commit ce2b7cec10af5bb222715e2e3c0ff139f659ed6e)

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
(This used to be commit 6c0395d4d980c6165ee0a378b632bced22e8f1d3)

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
(This used to be commit 2ecc7ec8b392cf3ec698d168bf6fb7898e1978f1)

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
(This used to be commit 752d686385925d06e64c0a7adfbd9021f787811d)

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
(This used to be commit 9360eda2c5606b2c73edb768af8ca0e8ba310e30)

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
(This used to be commit 4b1a266f6fb04c8f923c48ea215ece6b45a18ea7)

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
(This used to be commit 714717253c035b31fc850df8456f8cf2b38bcb72)

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
(This used to be commit 09985b061add8202f65e2e426d70e87c19819f74)

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
(This used to be commit 356338b99a67bfaf09618f5ed7c8f5c4ff69fa06)

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
(This used to be commit 4fc41065a31cc8bd477ff5bf2d89f9f595002227)

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
(This used to be commit 02071f151a22257d31f8a8b254625e2067e7b94d)

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
(This used to be commit 587373b97b95a8e562c3a5a59a62abade4dfed2f)

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

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.
(This used to be commit f97cce2522e7644181506dc49947297b394743eb)

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.
(This used to be commit 2ead1523608d9cd9a58cf55bcee2c8a39b6895e0)

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.
(This used to be commit 438997c17951fa7f0a9fb14be14c3b364ed3ad90)

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.
(This used to be commit 2f7ff409e89c9682e681ddcf54439db9e3b6ccb4)

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.
(This used to be commit b30fd477ff0d97bb4de3c5301a6cdc47867451ee)

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
(This used to be commit 6c659689ed4081f1d7a6253c538c7f01784197ba)

11 years agoFix manpage paths.
Jelmer Vernooij [Tue, 26 Feb 2008 14:19:45 +0000 (15:19 +0100)]
Fix manpage paths.
(This used to be commit 36da52abf5be79e37bd495ec4265e01b27aa9da5)

11 years agoMove manpage management out of the perl build system.
Jelmer Vernooij [Tue, 26 Feb 2008 14:11:47 +0000 (15:11 +0100)]
Move manpage management out of the perl build system.
(This used to be commit 1dd6bea507f1f5e26cccf89148280721260a4673)

11 years agoMove logic to makefile
Jelmer Vernooij [Sat, 16 Feb 2008 18:19:02 +0000 (19:19 +0100)]
Move logic to makefile
(This used to be commit 94b0dd7ab0f5cc5493ea8dcfd8be54e1bec26283)

11 years agoUse more GNU-make specific variables.
Jelmer Vernooij [Mon, 25 Feb 2008 17:14:03 +0000 (18:14 +0100)]
Use more GNU-make specific variables.
(This used to be commit 3506c707c5e390a0634e597362f454399fb50b07)

11 years agoRemove obsolete comment.
Jelmer Vernooij [Mon, 25 Feb 2008 19:39:16 +0000 (20:39 +0100)]
Remove obsolete comment.
(This used to be commit 666311dccf19293316b0335c5418446c66e76101)

11 years agoRemove workaround for some non-GNU makes.
Jelmer Vernooij [Mon, 25 Feb 2008 17:44:52 +0000 (18:44 +0100)]
Remove workaround for some non-GNU makes.
(This used to be commit 0580357fb4b10e4a751d281e209f6a87e1c88143)

11 years agoUpdate smb_build README.
Jelmer Vernooij [Mon, 25 Feb 2008 19:39:29 +0000 (20:39 +0100)]
Update smb_build README.
(This used to be commit 9db23848dcd1b73273b90edd923b6c55f6c915c4)

11 years agoMerge env.pm into makefile.pm.
Jelmer Vernooij [Mon, 25 Feb 2008 18:11:04 +0000 (19:11 +0100)]
Merge env.pm into makefile.pm.
(This used to be commit 28bbd546195461d4b8747bc6cefd6320f8efe17d)

11 years agoMove configure output details out of perl code.
Jelmer Vernooij [Mon, 25 Feb 2008 17:51:39 +0000 (18:51 +0100)]
Move configure output details out of perl code.
(This used to be commit e33f357fb00cd504181562eaf2ca1d4511d5ec51)

11 years agoAvoid use of removed variable.
Jelmer Vernooij [Fri, 29 Feb 2008 12:58:20 +0000 (13:58 +0100)]
Avoid use of removed variable.
(This used to be commit 10f0b5f83f0b34ae9d0f83c0975cf06bf56277d4)

11 years agoRemove unused include.
Jelmer Vernooij [Mon, 25 Feb 2008 14:48:35 +0000 (15:48 +0100)]
Remove unused include.
(This used to be commit cf59ec4cc3c3dca9275236bf45caf56632bf983a)

11 years agoUse make to generate list of python files, remove unused variable.
Jelmer Vernooij [Sat, 16 Feb 2008 16:18:23 +0000 (17:18 +0100)]
Use make to generate list of python files, remove unused variable.
(This used to be commit 67f15cd484dbf7b49e6c5cb2566ad95d05b66b5b)

11 years agoUse make to create lists of plugins, remove duplicate variable.
Jelmer Vernooij [Sat, 16 Feb 2008 16:14:03 +0000 (17:14 +0100)]
Use make to create lists of plugins, remove duplicate variable.
(This used to be commit 1ec6870966bcd25b1932da675386d3ad5bcd9b6f)

11 years agoGenerate manpage list with make.
Jelmer Vernooij [Sat, 16 Feb 2008 15:48:36 +0000 (16:48 +0100)]
Generate manpage list with make.
(This used to be commit ea3d3b52504b45f45aca434ea4376906f65ead12)

11 years agoUse make to create lists of pc files and prototype headers.
Jelmer Vernooij [Sat, 16 Feb 2008 16:12:01 +0000 (17:12 +0100)]
Use make to create lists of pc files and prototype headers.
(This used to be commit a932a2e37d1aa86cca769398721318b3942fad83)

11 years agoUse make to generate lists of libraries.
Jelmer Vernooij [Sat, 16 Feb 2008 15:58:26 +0000 (16:58 +0100)]
Use make to generate lists of libraries.
(This used to be commit 2c2a589183067d7fced4ace33380bd1af610924a)