samba.git
12 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)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

12 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 3519aae1845f2a15330184625d541ce0f0cac56b)

12 years agoUse make to generate list of prototype headers.
Jelmer Vernooij [Sat, 16 Feb 2008 16:01:27 +0000 (17:01 +0100)]
Use make to generate list of prototype headers.
(This used to be commit 17d2f682e94154ee654de59b88816437f4e7f093)

12 years agoCreate SBIN_PROGS and BIN_PROGS lists from within make.
Jelmer Vernooij [Sat, 16 Feb 2008 15:38:01 +0000 (16:38 +0100)]
Create SBIN_PROGS and BIN_PROGS lists from within make.
(This used to be commit e0afbc3778ca7c6dc087e2b9f4992a131ec66a75)

12 years agouse gmake to handle .py file copies.
Jelmer Vernooij [Sat, 16 Feb 2008 15:15:21 +0000 (16:15 +0100)]
use gmake to handle .py file copies.
(This used to be commit d54421a9eeadbd76791917c5e3c460c897259ede)

12 years agolibreplace: add snprintf.c to test code for getifaddrs - needed on some systems.
Michael Adam [Fri, 29 Feb 2008 01:46:14 +0000 (02:46 +0100)]
libreplace: add snprintf.c to test code for getifaddrs - needed on some systems.

Michael
(This used to be commit 0aff54a12e20d5e91fcdec7aaec103fb9a371a23)

12 years agolibreplace: ifdef out ip6 code if unsupported.
Michael Adam [Fri, 29 Feb 2008 01:43:24 +0000 (02:43 +0100)]
libreplace: ifdef out ip6 code if unsupported.

Michael
(This used to be commit 54cc0df4dbf6d63a9b94e1ac6af4ec7f7803bc30)

12 years agolibreplace: fix rep_freeifaddrs to not segfault on NULL input.
Michael Adam [Fri, 29 Feb 2008 01:23:29 +0000 (02:23 +0100)]
libreplace: fix rep_freeifaddrs to not segfault on NULL input.

Michael
(This used to be commit 0cbb87453beb52c6b0bc3a48791f49678f4030c5)

12 years agolibreplace: fix silly crashbug in getifaddrs_test().
Michael Adam [Fri, 29 Feb 2008 01:22:02 +0000 (02:22 +0100)]
libreplace: fix silly crashbug in getifaddrs_test().

Michael
(This used to be commit 523626908d25f974fd1ae6d7306b1d4bc8414162)

12 years agolibreplace: add missing newline in output of getifaddrs test.
Michael Adam [Fri, 29 Feb 2008 00:49:30 +0000 (01:49 +0100)]
libreplace: add missing newline in output of getifaddrs test.

Michael
(This used to be commit f8243cfc47c7414bab7f249d0e5d1c85e8ca7d64)

12 years agolibreplace: add missing semicolon to getifaddrs.
Michael Adam [Fri, 29 Feb 2008 00:25:54 +0000 (01:25 +0100)]
libreplace: add missing semicolon to getifaddrs.

Michael
(This used to be commit 29818a07de826fd687003ff25865d77939ecaa9a)

12 years agoFix ldapi support.
Jelmer Vernooij [Fri, 29 Feb 2008 00:06:05 +0000 (01:06 +0100)]
Fix ldapi support.
(This used to be commit 9499f8eea534cf93f96af17941e9195aadc0a756)

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Jelmer Vernooij [Fri, 29 Feb 2008 00:03:52 +0000 (01:03 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit 4bce5c669630b834548612aaed18fe31ecbc1064)

12 years agoFix typo.
Jelmer Vernooij [Fri, 29 Feb 2008 00:03:31 +0000 (01:03 +0100)]
Fix typo.
(This used to be commit 2b408e9ed4caf14e1ac047fd76127a5c979e5177)

12 years agofix typo
Andrew Bartlett [Fri, 29 Feb 2008 00:02:54 +0000 (11:02 +1100)]
fix typo
(This used to be commit 61953e24a5789f08e82fb697f45535f4a87883b1)

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Jelmer Vernooij [Fri, 29 Feb 2008 00:00:15 +0000 (01:00 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit 227de596865ee910bfc1e0730316e26a0a9caf51)

12 years agoraw-qfsinfo: Convert to new torture API.
Jelmer Vernooij [Thu, 28 Feb 2008 23:58:47 +0000 (00:58 +0100)]
raw-qfsinfo: Convert to new torture API.
(This used to be commit 6ded77b777666f8ba81ba049f63b6b26cfbeb7ae)

12 years agoMerge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
Andrew Bartlett [Thu, 28 Feb 2008 23:56:56 +0000 (10:56 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit 124d2ee788f1ac4b201a2843b58be21de358deb0)

12 years agoProve that not supporting ldapi is a bit problem.
Andrew Bartlett [Thu, 28 Feb 2008 23:56:04 +0000 (10:56 +1100)]
Prove that not supporting ldapi is a bit problem.

For a while now, ldapi support has been busted, but it was only tested
when we were running against an external LDAP server.

Andrew Bartlett
(This used to be commit faf324cac613f9b74e1de46fe490f4973dab995c)

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Jelmer Vernooij [Thu, 28 Feb 2008 23:47:14 +0000 (00:47 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit 80ce9a3bbc43535d7c4bdd0ec402272175732ebc)

12 years agoConvert to new torture API.
Jelmer Vernooij [Thu, 28 Feb 2008 23:46:44 +0000 (00:46 +0100)]
Convert to new torture API.
(This used to be commit 40dffc177babec01c63fb717506fa86ff70a5b28)

12 years agoMerge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
Andrew Bartlett [Thu, 28 Feb 2008 23:09:35 +0000 (10:09 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit f002a98c7ae0fc93cc738fde1ee62534f8e576ac)

12 years agolibreplace: try and fix rep_getifaddrs() for Tru64.
Michael Adam [Thu, 28 Feb 2008 23:06:55 +0000 (00:06 +0100)]
libreplace: try and fix rep_getifaddrs() for Tru64.

Don't fail when there is no address assigned to the interface.
Put NULL into the ifaddrs structure instead.

Michael
(This used to be commit ee170c85e0e76411bd752de5fe51db6940dab929)

12 years agolibreplace: use the new getifaddrs test also for autoconf.
Michael Adam [Thu, 28 Feb 2008 20:44:31 +0000 (21:44 +0100)]
libreplace: use the new getifaddrs test also for autoconf.

Michael
(This used to be commit a2a506ff0eae2a64ebe2ddbb81a6c2a5fa7fe3da)

12 years agolibreplace: add extended getifaddrs test that prints out the interfaces.
Michael Adam [Thu, 28 Feb 2008 20:43:06 +0000 (21:43 +0100)]
libreplace: add extended getifaddrs test that prints out the interfaces.

Michael
(This used to be commit 9d2bab09aac22c00fe23f1e1265a2dbd0901e9ce)

12 years agoMerge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
Andrew Bartlett [Thu, 28 Feb 2008 21:48:57 +0000 (08:48 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit 04db9b184491415b3479fd79e1c07ba738818eb9)

12 years agoSimplify the 'password must change' logic
Andrew Bartlett [Thu, 28 Feb 2008 21:47:42 +0000 (08:47 +1100)]
Simplify the 'password must change' logic

This takes the previous patches further, so we catch all the cases
(the KDC looked at the time directly).

Andrew Bartlett
(This used to be commit cda4642a937d249399e25eaa6e5e20a0d440bcbf)

12 years agoRemove use of global_loadparm.
Jelmer Vernooij [Thu, 28 Feb 2008 20:02:49 +0000 (21:02 +0100)]
Remove use of global_loadparm.
(This used to be commit 3cf3922c806d0e33439073d204b44bf0af3102d5)

12 years agoRemove use of global_loadparm.
Jelmer Vernooij [Thu, 28 Feb 2008 19:30:03 +0000 (20:30 +0100)]
Remove use of global_loadparm.
(This used to be commit 4472d7e1e47d4fe6b1c60e28d168cce99b237979)

12 years agoRemove sDefault as static variable.
Jelmer Vernooij [Thu, 28 Feb 2008 19:04:58 +0000 (20:04 +0100)]
Remove sDefault as static variable.
(This used to be commit 16f36ce499e93860dd535034a584ec2b93e7a172)

12 years agoMerge branch 'v4-0-trivial' into v4-0-test
Jelmer Vernooij [Thu, 28 Feb 2008 17:27:29 +0000 (18:27 +0100)]
Merge branch 'v4-0-trivial' into v4-0-test
(This used to be commit 6cbb241c05539cc62526a366094c9c472e6422a5)

12 years agoCache iconv_convenience.
Jelmer Vernooij [Thu, 21 Feb 2008 15:41:38 +0000 (16:41 +0100)]
Cache iconv_convenience.
(This used to be commit fe1d3e69990a71d7639ac8718f6ca51de4d7e6d2)

12 years agotorture/t_strcmp.c: Remove obsolete file - proper testing is now done in the libutil...
Jelmer Vernooij [Thu, 21 Feb 2008 15:23:52 +0000 (16:23 +0100)]
torture/t_strcmp.c: Remove obsolete file - proper testing is now done in the libutil testsuite.
(This used to be commit 239bdf5e81f4ede4cd70bd9907e785d60a755e98)

12 years agoMore share_init to more apprioriate place.
Jelmer Vernooij [Thu, 21 Feb 2008 15:21:32 +0000 (16:21 +0100)]
More share_init to more apprioriate place.
(This used to be commit 990135517618afcef873f0cd0e6f8c3098247b50)

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Jelmer Vernooij [Thu, 28 Feb 2008 13:11:45 +0000 (14:11 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit 84b677285250d9b9a1120fcfd6e4bbbb8f939fe8)

12 years agopvfs_open: fix callers of odb_get_delete_on_close()
Stefan Metzmacher [Wed, 27 Feb 2008 21:22:56 +0000 (22:22 +0100)]
pvfs_open: fix callers of odb_get_delete_on_close()

metze
(This used to be commit 608e5cd881d64b8db9146dfc4b3a1778a93a0f8e)

12 years agoopendb: only return delete_on_close on odb_get_delete_on_close()
Stefan Metzmacher [Wed, 27 Feb 2008 21:16:55 +0000 (22:16 +0100)]
opendb: only return delete_on_close on odb_get_delete_on_close()

metze
(This used to be commit e699633db2d377a9077ff490208da277e250239b)

12 years agopvfs: remove unused args from pvfs_delete_on_close_set()
Stefan Metzmacher [Wed, 27 Feb 2008 21:22:10 +0000 (22:22 +0100)]
pvfs: remove unused args from pvfs_delete_on_close_set()

metze
(This used to be commit 73f12be7c6a648d4d5336328a340510ac7b1d6de)

12 years agopvfs_open: use the delete_path of odb_close_file()
Stefan Metzmacher [Wed, 27 Feb 2008 20:52:52 +0000 (21:52 +0100)]
pvfs_open: use the delete_path of odb_close_file()

metze
(This used to be commit c78451ce0618de92321430d2b50f9a8172d283f4)

12 years agoopendb: return the path that should be deleted in odb_close_file()
Stefan Metzmacher [Wed, 27 Feb 2008 20:50:51 +0000 (21:50 +0100)]
opendb: return the path that should be deleted in odb_close_file()

That means the last close returns the path name if the
delete_on_close flag is set.

metze
(This used to be commit fc27730bad24e8dddaa2e7f754a16811e38a2f60)

12 years agoEnsure we don't try and set the acct_flags if they are 0 (meaning
Andrew Bartlett [Wed, 27 Feb 2008 23:43:57 +0000 (10:43 +1100)]
Ensure we don't try and set the acct_flags if they are 0 (meaning
unchanged in this interface).

We seem to have two very similar interfaces here, and this is the
poorer interface, for this reason.

Andrew Bartlett
(This used to be commit 582073eff1f21f81abb3e5f1ce2eca4ebef56a00)

12 years agoMerge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
Andrew Bartlett [Wed, 27 Feb 2008 23:33:54 +0000 (10:33 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit ba864cfd7ce4b69179431131cac9661cbf48bf32)

12 years agoFix up the libnet tests.
Andrew Bartlett [Wed, 27 Feb 2008 23:32:06 +0000 (10:32 +1100)]
Fix up the libnet tests.

These tests still do not pass against windows, but at least now it
doesn't reset acct_flags to 0.

This is enough to have Samba4 pass it's own tests for the moment.

Andrew Bartlett
(This used to be commit aa3901311eb7ce6f2d2b2413323e31a5b064cfc4)

12 years agoCheck for and reject invalid account flags.
Andrew Bartlett [Wed, 27 Feb 2008 23:05:32 +0000 (10:05 +1100)]
Check for and reject invalid account flags.

(lest we have an account set with 0 flags)

Andrew Bartlett
(This used to be commit 7a46e72f8dbb191ac8a811eb4cd95210fab7dc7b)

12 years agoGenerate ACB_PW_EXPIRED correctly
Andrew Bartlett [Wed, 27 Feb 2008 21:50:00 +0000 (08:50 +1100)]
Generate ACB_PW_EXPIRED correctly

More correctly handle expired passwords, and do not expire machine accounts.

Test that the behaviour is consistant with windows, using the RPC-SAMR test.

Change NETLOGON to directly query the userAccountControl, just because
we don't want to do the extra expiry processing here.

Andrew Bartlett
(This used to be commit acda1f69bc9b9c43e157e254d0bae54d11363661)

12 years agoUsers and computers now share the same template.
Andrew Bartlett [Wed, 27 Feb 2008 21:43:10 +0000 (08:43 +1100)]
Users and computers now share the same template.

Slowly work away at the samldb module again, it is clear that AD does
not use much of a templating system.  samAccountType is managed, as
far as I can tell, when groupType or userAccountControl changes.

Andrew Bartlett
(This used to be commit 447d5a795441aa6beab2f057c5ac1bc3c04e08c4)

12 years agoReorder modules to have rdn_name before objectclass.
Andrew Bartlett [Wed, 27 Feb 2008 21:39:45 +0000 (08:39 +1100)]
Reorder modules to have rdn_name before objectclass.

This ensures the relative DN is placed in the correct case into the
DB.

Andrew Bartlett
(This used to be commit 16378219fbf9e8a26621f848e85426180822ea29)

12 years agoFix rdn_name errors.
Andrew Bartlett [Wed, 27 Feb 2008 21:38:53 +0000 (08:38 +1100)]
Fix rdn_name errors.

Return the correct error when the DN is mismatched with it's RDN
attribute (now matches AD).

Andrew Bartlett
(This used to be commit bf7166e785e5c5d52dbb0c12e5e4206d74e72f4e)

12 years agoExtend the ldap.js test
Andrew Bartlett [Wed, 27 Feb 2008 21:37:11 +0000 (08:37 +1100)]
Extend the ldap.js test

Now we verify sAMAccountType and userAccountControl, as well as rename and
DN mismatch semantics.

Andrew Bartlett
(This used to be commit 0a5fa41dd7ed76e4848fe4a779edff2a12e8ea67)

12 years agoDo not re-randomise in an individual test.
Andrew Bartlett [Wed, 27 Feb 2008 21:36:13 +0000 (08:36 +1100)]
Do not re-randomise in an individual test.

smbtorture calls srandom() once for the whole suite, with command line
override to allow reproduceable random tests.

Andrew Bartlett
(This used to be commit 68dcd1073cfed830fb6e2013e27d2ebbc443c451)

12 years agounixinfo.idl: don't use utf8string anymore
Stefan Metzmacher [Wed, 27 Feb 2008 18:47:23 +0000 (19:47 +0100)]
unixinfo.idl: don't use utf8string anymore

Note:

This changes the on wire format!!!

But it's a very bad idea to keep utf8string
as it's not valid NDR encoding and noone
would be able to write a compatible IDL
file using another compiler than pidl.

Maybe we should change the uuid,
but as this isn't really used yet
I keep the old one.

metze
(This used to be commit 5753d7fd8300d36558d3304418e1b0a300f56575)

12 years agoRemove more global_loadparm uses.
Jelmer Vernooij [Thu, 21 Feb 2008 15:18:23 +0000 (16:18 +0100)]
Remove more global_loadparm uses.
(This used to be commit f920e78ea7bb8aa575e6a2ebb5cc53462fbe2fe9)

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Jelmer Vernooij [Wed, 27 Feb 2008 18:37:45 +0000 (19:37 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit 91980a2bd352f26cf6ddb058d0f330ca20fa6554)

12 years agoClarify comments.
Jelmer Vernooij [Thu, 21 Feb 2008 15:18:01 +0000 (16:18 +0100)]
Clarify comments.
(This used to be commit 5193b383761129e59241cd2cc6000f0b038b49d4)

12 years agoSet lp_ctx properly.
Jelmer Vernooij [Wed, 27 Feb 2008 16:36:49 +0000 (17:36 +0100)]
Set lp_ctx properly.
(This used to be commit 5d274f19aedbb022d61b1493857dce66877dc809)

12 years agoSet lp_ctx properly.
Jelmer Vernooij [Wed, 27 Feb 2008 16:36:49 +0000 (17:36 +0100)]
Set lp_ctx properly.
(This used to be commit 11289759cae6a8062ea3556dbcbddfd44a3c0331)

12 years agoRAW-OPLOCK: be more strict with share modes against windows and samba4
Stefan Metzmacher [Wed, 27 Feb 2008 15:23:57 +0000 (16:23 +0100)]
RAW-OPLOCK: be more strict with share modes against windows and samba4

But still allow samba3 behavior.

metze
(This used to be commit a0decdf63e2f7ef6ee62a3fda5070b2fccee5682)

12 years agoselftest: samba4 doesn't pass RAW-OPLOCK BATCH19 und 20 yet
Stefan Metzmacher [Wed, 27 Feb 2008 15:22:45 +0000 (16:22 +0100)]
selftest: samba4 doesn't pass RAW-OPLOCK BATCH19 und 20 yet

metze
(This used to be commit e3a9ad303f6f935aa2b5d60036f9e6dfba5cc893)

12 years agoRAW-OPLOCK: use torture_result(TORTURE_FAIL) so that the knownfailures file work
Stefan Metzmacher [Wed, 27 Feb 2008 15:22:04 +0000 (16:22 +0100)]
RAW-OPLOCK: use torture_result(TORTURE_FAIL) so that the knownfailures file work

metze
(This used to be commit 656011add338ab87188849c4a716d3c65a102a74)

12 years agoRAW-OPLOCK: add BATCH20 test renaming via setpathinfo() and setfileinfo()
Stefan Metzmacher [Wed, 27 Feb 2008 14:45:08 +0000 (15:45 +0100)]
RAW-OPLOCK: add BATCH20 test renaming via setpathinfo() and setfileinfo()

metze
(This used to be commit b66c246c5db78db897bcf21a6ea3c777d65cfc6a)

12 years agoRAW-OPLOCK: add BATCH19 test renaming via setpathinfo
Stefan Metzmacher [Wed, 27 Feb 2008 14:43:04 +0000 (15:43 +0100)]
RAW-OPLOCK: add BATCH19 test renaming via setpathinfo

This is really strange as, it seems to complete ignore
oplocks and share modes and doesn't match the behavior
of RENAME and NTRENAME.

metze
(This used to be commit 7bac95db5edcc7432aea067e0a9ba9230c7dc1b0)

12 years agoRAW-OPLOCK: add BATCH18 test a ntrename with FLAG_RENAME
Stefan Metzmacher [Wed, 27 Feb 2008 10:07:53 +0000 (11:07 +0100)]
RAW-OPLOCK: add BATCH18 test a ntrename with FLAG_RENAME

metze
(This used to be commit 22c35d9ee7858c0ff58d5d0b4a9bf69fe0b8653f)

12 years agoRAW-OPLOCK: add BATCH17 test rename on a file with oplock
Stefan Metzmacher [Wed, 27 Feb 2008 09:41:47 +0000 (10:41 +0100)]
RAW-OPLOCK: add BATCH17 test rename on a file with oplock

metze
(This used to be commit 32f138d4b313a6c5e8ef8e15945df02e3b4db864)