samba.git
13 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
(This used to be commit 4b071236867ca5c2c0451ad3acc8a9debb0549e4)

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

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

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

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

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

13 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
(This used to be commit 0641a43cd6fd081cac0275f5bde2ad70fa6a71bb)

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

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

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

13 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)

13 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)

13 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)

13 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)

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

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

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

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)