tprouty/samba.git
16 years agoMerge branch 'v4-0-test' into v4-0-gmake3
Jelmer Vernooij [Fri, 7 Mar 2008 17:59:03 +0000 (18:59 +0100)]
Merge branch 'v4-0-test' into v4-0-gmake3
(This used to be commit 2bf43c7932d886b0db3e1c2f5a4b8697435b0c5c)

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

16 years agoRemove unused code, simplify alias handling.
Jelmer Vernooij [Fri, 7 Mar 2008 17:14:52 +0000 (18:14 +0100)]
Remove unused code, simplify alias handling.
(This used to be commit 4994b81b50085c2f6d3c39be3db86ffe97f1db58)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Jelmer Vernooij [Fri, 7 Mar 2008 17:03:54 +0000 (18:03 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
(This used to be commit e4da851bd7e7620bbf99efe20a496b1be78ba4e2)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Jelmer Vernooij [Tue, 4 Mar 2008 13:16:57 +0000 (14:16 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3

Conflicts:

source/build/smb_build/makefile.pm
(This used to be commit 391fea450b2e6664fcd4e4419858997c6094cf3e)

16 years agoRemove extra empty lines in data.mk.
Jelmer Vernooij [Tue, 4 Mar 2008 13:09:11 +0000 (14:09 +0100)]
Remove extra empty lines in data.mk.
(This used to be commit 9d751319bd4ca1c26c8bd01cbdfdaf6c2d949981)

16 years agoFix the build.
Jelmer Vernooij [Tue, 4 Mar 2008 12:06:08 +0000 (13:06 +0100)]
Fix the build.
(This used to be commit 49ef8d0c197fa61dc5c524e4a0f569af72d3c0e9)

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

16 years agoFix syntax.
Jelmer Vernooij [Tue, 4 Mar 2008 09:43:41 +0000 (10:43 +0100)]
Fix syntax.
(This used to be commit 171d97f657d92f24a9b2d6be0f1404c21b665869)

16 years agoFix syntax.
Jelmer Vernooij [Tue, 4 Mar 2008 09:30:14 +0000 (10:30 +0100)]
Fix syntax.
(This used to be commit 9bc22a4cd39a96d757be844d0f32a8042d233612)

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

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

16 years agoDeal with subsystems with no settings, several other minor fixes.
Jelmer Vernooij [Tue, 4 Mar 2008 00:37:18 +0000 (01:37 +0100)]
Deal with subsystems with no settings, several other minor fixes.
(This used to be commit 10cf48591e8d6bfb750a6ff187f04ea24a1f8cd7)

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

16 years agoFix some paths.
Jelmer Vernooij [Tue, 4 Mar 2008 00:26:19 +0000 (01:26 +0100)]
Fix some paths.
(This used to be commit bb16e51e60df296fa7b89eeeba6b80908099dda6)

16 years agoFix includes.
Jelmer Vernooij [Mon, 3 Mar 2008 23:43:24 +0000 (00:43 +0100)]
Fix includes.
(This used to be commit 99e61dade2bd9ae2a5dfe17f766528012c09e46c)

16 years agoRemove useless ifs.
Jelmer Vernooij [Mon, 3 Mar 2008 22:22:22 +0000 (23:22 +0100)]
Remove useless ifs.
(This used to be commit 2e0d65edcf4a7130ea410e870160811a6423bd53)

16 years agoFix typo.
Jelmer Vernooij [Mon, 3 Mar 2008 22:21:35 +0000 (23:21 +0100)]
Fix typo.
(This used to be commit 2a0f8458ab712ce64ce3f5d6fe30ca6fe3e16df2)

16 years agoFix some syntax errors.
Jelmer Vernooij [Mon, 3 Mar 2008 17:57:20 +0000 (18:57 +0100)]
Fix some syntax errors.
(This used to be commit 906148bf87ae278c6f6232675bd6aaf4d1e33e6c)

16 years agoMove object file lists to the Makefile.
Jelmer Vernooij [Mon, 3 Mar 2008 17:25:28 +0000 (18:25 +0100)]
Move object file lists to the Makefile.
(This used to be commit a7e6d2a1832db388fdafa1279f84c9a8bbfc87d6)

16 years agoFix syntax.
Jelmer Vernooij [Mon, 3 Mar 2008 10:02:25 +0000 (11:02 +0100)]
Fix syntax.
(This used to be commit df4eb19ff910a1e403f9512a9d9f396c76282085)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Jelmer Vernooij [Mon, 3 Mar 2008 09:50:53 +0000 (10:50 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3

Conflicts:

source/Makefile
source/build/smb_build/makefile.pm
source/librpc/config.mk
(This used to be commit 3e02fcfd3fb6683f51417ba39f4ec177494eff3e)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

16 years agoRemove duplicate functions.
Jelmer Vernooij [Fri, 29 Feb 2008 14:28:26 +0000 (15:28 +0100)]
Remove duplicate functions.
(This used to be commit d6b2eaeff970f84b6e4da430ea6d00009931d41d)

16 years agoMerge branch 'v4-0-test' into v4-0-gmake3
Jelmer Vernooij [Fri, 29 Feb 2008 14:21:33 +0000 (15:21 +0100)]
Merge branch 'v4-0-test' into v4-0-gmake3

Conflicts:

source/Makefile
source/build/smb_build/main.pl
source/build/smb_build/makefile.pm
source/dynconfig.mk
source/scripting/python/config.mk
(This used to be commit 744d9fd8731321abea37b0cb14ca75e1b4654722)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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