kai/samba.git
12 years agor24872: Use torture API a bit more
Jelmer Vernooij [Sat, 1 Sep 2007 23:01:33 +0000 (23:01 +0000)]
r24872: Use torture API a bit more
(This used to be commit a71355dfc933d4273d81e7b05a28197ca86e0cc6)

12 years agor24871: Fix typos
Jelmer Vernooij [Sat, 1 Sep 2007 22:51:50 +0000 (22:51 +0000)]
r24871: Fix typos
(This used to be commit 7d9c898d5e5de1e905062476c2a9c6c0ce432f71)

12 years agor24870: Strip whitespace characters in username (broke tests).
Jelmer Vernooij [Sat, 1 Sep 2007 21:10:07 +0000 (21:10 +0000)]
r24870: Strip whitespace characters in username (broke tests).
(This used to be commit 264f5c9d501f7ceee7934b3f5826e68d7626a499)

12 years agor24869: Print command that was executed.
Jelmer Vernooij [Sat, 1 Sep 2007 21:02:57 +0000 (21:02 +0000)]
r24869: Print command that was executed.
(This used to be commit 9aabcafba612afafb1c3260b79a899ea463f8d32)

12 years agor24868: Don't use callbacks for prompting when stdout is not a tty.
Jelmer Vernooij [Sat, 1 Sep 2007 20:25:24 +0000 (20:25 +0000)]
r24868: Don't use callbacks for prompting when stdout is not a tty.
(This used to be commit 9b02a39c156862f9e9258dcdb9b8b86715022fc1)

12 years agor24867: Avoid anonymous struct. Patch from Brad Hards.
Jelmer Vernooij [Sat, 1 Sep 2007 20:19:29 +0000 (20:19 +0000)]
r24867: Avoid anonymous struct. Patch from Brad Hards.
(This used to be commit e7866857fbdc9b7b7bebcecd41f34f54b37f3b04)

12 years agor24866: Put remainder of binding string tests in librpc/ directory.
Jelmer Vernooij [Sat, 1 Sep 2007 19:16:22 +0000 (19:16 +0000)]
r24866: Put remainder of binding string tests in librpc/ directory.
(This used to be commit 5b78d845a4d107e6a0e77a6e57e2b0e22fc0db95)

12 years agor24861: Use absolute paths to make it easier to run the testsuite from the Samba3...
Jelmer Vernooij [Sat, 1 Sep 2007 02:33:00 +0000 (02:33 +0000)]
r24861: Use absolute paths to make it easier to run the testsuite from the Samba3 source.
(This used to be commit 022d5a43cedeb5cca7e4cf3424963e2180ec1f2f)

12 years agor24860: Make it easier to run selftest.pl in a Samba3 source tree.
Jelmer Vernooij [Sat, 1 Sep 2007 00:36:01 +0000 (00:36 +0000)]
r24860: Make it easier to run selftest.pl in a Samba3 source tree.
(This used to be commit 53ec879e3168e9f56e774f0b0d70aeebb3795f8e)

12 years agor24859: Merge from SAMBA_4_0_RELEASE:
Andrew Bartlett [Fri, 31 Aug 2007 23:15:03 +0000 (23:15 +0000)]
r24859: Merge from SAMBA_4_0_RELEASE:

Make the SWAT-based Vampire work again (needs override for default
smb.conf values).

Andrew Bartlett
(This used to be commit e5cd44a018eae1f49e4408049461693350498326)

12 years agor24855: Convert RPC-DRSUAPI, RPC-SCHANNEL to use the torture API.
Jelmer Vernooij [Fri, 31 Aug 2007 22:34:52 +0000 (22:34 +0000)]
r24855: Convert RPC-DRSUAPI, RPC-SCHANNEL to use the torture API.
(This used to be commit dadcc4708e1813c0b657f1d357c2ae202ea4ec5a)

12 years agor24852: Fix initialization
Jelmer Vernooij [Fri, 31 Aug 2007 19:06:30 +0000 (19:06 +0000)]
r24852: Fix initialization
(This used to be commit 1e56698f1bac30a1d6b7558df41e85db3d2571db)

12 years agor24851: Add --load-module argument to smbtorture.
Jelmer Vernooij [Fri, 31 Aug 2007 18:35:30 +0000 (18:35 +0000)]
r24851: Add --load-module argument to smbtorture.
(This used to be commit 76a713b6786e22b810937289b3e7cc6700a0b49d)

12 years agor24850: Convert to torture API.
Jelmer Vernooij [Fri, 31 Aug 2007 17:38:37 +0000 (17:38 +0000)]
r24850: Convert to torture API.
(This used to be commit 6c7a004b9d95e443d07307bbe94f691cc4b03490)

12 years agor24849: Add helper function for running tests as a member server.
Jelmer Vernooij [Fri, 31 Aug 2007 16:43:05 +0000 (16:43 +0000)]
r24849: Add helper function for running tests as a member server.
(This used to be commit 61b2f0a405ea70203ea982b9a151643f28b1da7e)

12 years agor24846: Use metadata about dangerous tests.
Jelmer Vernooij [Fri, 31 Aug 2007 15:43:03 +0000 (15:43 +0000)]
r24846: Use metadata about dangerous tests.
(This used to be commit f914b828ff486d41e123e6dafa1c8fd76b34b44b)

12 years agor24844: Convert to torture API in preparation of helper functions for domain member
Jelmer Vernooij [Fri, 31 Aug 2007 15:29:38 +0000 (15:29 +0000)]
r24844: Convert to torture API in preparation of helper functions for domain member
RPC tests.
(This used to be commit c2521453a902ea5fd4f894a21af711ac2b2cbd40)

12 years agor24839: Default to creating a dc + domain member in 'make testenv'.
Jelmer Vernooij [Fri, 31 Aug 2007 14:06:32 +0000 (14:06 +0000)]
r24839: Default to creating a dc + domain member in 'make testenv'.
(This used to be commit 221d2279131c72c8055ceebe0314930881085aeb)

12 years agor24835: Put all RPC tests in the list (skipping when necessary), warn if tests aren...
Jelmer Vernooij [Fri, 31 Aug 2007 13:30:47 +0000 (13:30 +0000)]
r24835: Put all RPC tests in the list (skipping when necessary), warn if tests aren't there.
(This used to be commit 1ff13ae254288afc56a3b19d00c7a20120eb4c74)

12 years agor24834: Pass environment name on to skip_testsuite().
Jelmer Vernooij [Fri, 31 Aug 2007 13:24:59 +0000 (13:24 +0000)]
r24834: Pass environment name on to skip_testsuite().
(This used to be commit 2ac1f32506c9fdfbe836f605b2152a9e094dc733)

12 years agor24822: Merge from SAMBA_4_0_RELEASE:
Andrew Bartlett [Fri, 31 Aug 2007 02:44:56 +0000 (02:44 +0000)]
r24822: Merge from SAMBA_4_0_RELEASE:

Update the mkrelease.sh script and mkversion.sh to make releasing correct
Samba4 tarballs harder to screw up.

Andrew Bartlett
(This used to be commit 5f9ca54b5cc76cedcb56d805d5f9ea9167adc94b)

12 years agor24819: We are preparing for alpha1, so update the mkversion script to cope with...
Andrew Bartlett [Fri, 31 Aug 2007 01:52:37 +0000 (01:52 +0000)]
r24819: We are preparing for alpha1, so update the mkversion script to cope with that.

Andrew Bartlett
(This used to be commit 6245da195b76e233f83354797818f608c5458d63)

12 years agor24817: Don't REG_NONE for all value types. Patch from
Jelmer Vernooij [Fri, 31 Aug 2007 00:52:47 +0000 (00:52 +0000)]
r24817: Don't REG_NONE for all value types. Patch from
Andrew Kroeger <andrew@sprocks.gotdns.com>
(This used to be commit ff81ea3f5aa8a93cf96914f03c26f8c86ec1e912)

12 years agor24816: Move the rest of the contents of core.h to more appropriate places.
Jelmer Vernooij [Fri, 31 Aug 2007 00:31:32 +0000 (00:31 +0000)]
r24816: Move the rest of the contents of core.h to more appropriate places.
include/ now only contains build system related headers, all other headers are
now near the source code they're related to.
(This used to be commit 6890a01dbfc6d8041a88ef5c6be52dfcd046fe80)

12 years agor24815: Support cpp_quote().
Jelmer Vernooij [Fri, 31 Aug 2007 00:03:54 +0000 (00:03 +0000)]
r24815: Support cpp_quote().
(This used to be commit 30c1de30bb4ded16e79316c0ab43809e0e19f75d)

12 years agor24814: Fix headers, trim core.h even more.
Jelmer Vernooij [Thu, 30 Aug 2007 23:15:12 +0000 (23:15 +0000)]
r24814: Fix headers, trim core.h even more.
(This used to be commit 9647f860bdd5c0a74583e886182bd041a45e7655)

12 years agor24812: Fix headers for external users.
Jelmer Vernooij [Thu, 30 Aug 2007 22:25:59 +0000 (22:25 +0000)]
r24812: Fix headers for external users.
(This used to be commit ff6684adfd96b59381dd941e54070ab9f8984912)

12 years agor24810: Don't collide with <time.h>
Jelmer Vernooij [Thu, 30 Aug 2007 20:42:07 +0000 (20:42 +0000)]
r24810: Don't collide with <time.h>
(This used to be commit 2e4fe89d41f8d95beb95dc9f8423062076820049)

12 years agor24800: Don't execute RAW-SAMBA3POSIXTIMEDLOCK
Volker Lendecke [Thu, 30 Aug 2007 10:32:22 +0000 (10:32 +0000)]
r24800: Don't execute RAW-SAMBA3POSIXTIMEDLOCK

Thanks jelmer, I was not aware of the difference between knownfail and
skip
(This used to be commit df0b3ad90a5db5cef8315ab8948ee2816c34e3c6)

12 years agor24798: RAW-SAMBA3POSIXTIMEDLOCK
Volker Lendecke [Thu, 30 Aug 2007 09:51:33 +0000 (09:51 +0000)]
r24798: RAW-SAMBA3POSIXTIMEDLOCK

This adds the torture:localdir option, smbtorture expects the share to actually
reside in this directory. This might open up more solid posix vs cifs tests.
(This used to be commit b0a40dd277c343f5c77c851b26981ddd8166f6bb)

12 years agor24796: Add bounds checking to ntlm_auth, increase initial buffer size to 300 to...
Kai Blin [Thu, 30 Aug 2007 09:02:40 +0000 (09:02 +0000)]
r24796: Add bounds checking to ntlm_auth, increase initial buffer size to 300 to avoid
one talloc/fgets loop in the common case, which is slightly over 200 for the KK
response.
(This used to be commit ba5ac4eeb8086d50e829e1a9944ea89a28eeef2c)

12 years agor24795: When talking to squid, allocate the buffer size dynamically.
Kai Blin [Thu, 30 Aug 2007 06:45:11 +0000 (06:45 +0000)]
r24795: When talking to squid, allocate the buffer size dynamically.
(This used to be commit 2b72738e4ecc6ad25a08ce7bf41d8d46fcee4115)

12 years agor24794: util_proto.h is no longer generated.
Jelmer Vernooij [Thu, 30 Aug 2007 02:02:04 +0000 (02:02 +0000)]
r24794: util_proto.h is no longer generated.
(This used to be commit 01096201bfa089f668a834697f470cbefc2a35f4)

12 years agor24793: The subtree_rename module is a work of fiction. An resemblance to a
Andrew Bartlett [Thu, 30 Aug 2007 00:25:47 +0000 (00:25 +0000)]
r24793: The subtree_rename module is a work of fiction.  An resemblance to a
working module, live or dead, is purely co-incidental.

Andrew Bartlett
(This used to be commit 64cc31642fd2ded149631d07bc022213f19595b8)

12 years agor24780: More work allowing libutil to be used by external users.
Jelmer Vernooij [Wed, 29 Aug 2007 13:07:03 +0000 (13:07 +0000)]
r24780: More work allowing libutil to be used by external users.
(This used to be commit 31993cf67b816a184a4a4e92ef8ca2532c797190)

12 years agor24779: add 11 specific access rights that applies to accessmasks for User
Ronnie Sahlberg [Wed, 29 Aug 2007 12:51:46 +0000 (12:51 +0000)]
r24779: add 11 specific access rights that applies to accessmasks for User
objects on the samr pipe.

8 of these bits :
  get name etc
  get locale
  get loc com
  set attributes
  change password
  set password
  get groups
comes from wireshark/ethereal where they were added Aug 21 2002

http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=5987&r2=6054

3 bits :
  get attributes
  get group membership
  change group membership
also come from wireshark/ethereal where they were added Jul 24 2003

http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=8022&r2=8080
(This used to be commit 1c2729228a341a2d063a444e9546e7e09f23c966)

12 years agor24777: add 11 specific access rights to the access mask for
Ronnie Sahlberg [Wed, 29 Aug 2007 12:39:58 +0000 (12:39 +0000)]
r24777: add 11 specific access rights  to the access mask for
domains on the samr pipe

10 of these bits :
  lookup info 1
  set info 1
  lookup info 2
  set info 2
  create user
  create group
  create alias
  enum account
  open account
  set info 3
come from wireshark/ethereal and were added to wireshark in Aug 21 2002
http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=5987&r2=6054

one bit
  lookup alias
also comes from wireshark where it was added in wireshark in Feb 21 2003

http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=7173&r2=7178
(This used to be commit 4b2c8e28657b31c606d21946e7949c9cc52613c9)

12 years agor24775: add 5 specific access right bits for the accessmask that refers
Ronnie Sahlberg [Wed, 29 Aug 2007 12:22:15 +0000 (12:22 +0000)]
r24775: add 5 specific access right bits for the accessmask that refers
to Groups on the samr pipe

the five bits
  lookup info
  set info
  add member
  remove member
  get members
comes from the wireshark/ethereal sources where they were added in Aug
21 2002

http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=5987&r2=6054
(This used to be commit 1f00ac5dbe8f034d845c4e579a3f517311784900)

12 years agor24774: add 5 specific access mask bits for policy handles created for aliases
Ronnie Sahlberg [Wed, 29 Aug 2007 11:54:23 +0000 (11:54 +0000)]
r24774: add 5 specific access mask bits for policy handles created for aliases

these five access mask bits :
   add member
   remove members
   get members
   lookup info
   set info
come from wireshark/ethereal  where they were added to cvs in Aug 21  2002

http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=5987&r2=6054
(This used to be commit e39556ba4cc76b2754ef891d5c696bc3a5761310)

12 years agor24772: add a bitmap that describes 6 of the specific accessmask bits for
Ronnie Sahlberg [Wed, 29 Aug 2007 11:04:49 +0000 (11:04 +0000)]
r24772: add a bitmap that describes 6 of the specific accessmask bits for
policy handles that are create by Connect?() calls on the samr pipe.

these bits come from the wireshark/ethereal sources where they have
been documented for a long time.

the bits :
  connect to server
  initialize server
  create domain
were added to wireshark/ethereal in svn 8080   Jul 24 2003

the bits :
  open domain
  enum domain
  shutdown server
were added to wireshark/ethereal in svn 6054 Aug 21 2002
(This used to be commit 04e67bb6807c318de44d5434bc4344b24494b4a1)

12 years agor24768: redo the pingpong torture using sync functions to make the code simpler
Ronnie Sahlberg [Wed, 29 Aug 2007 06:58:25 +0000 (06:58 +0000)]
r24768: redo the pingpong torture using sync functions to make the code simpler
(This used to be commit b4a6a4c1299ef916719a819203ef931847e59ee0)

12 years agor24767: add a torture test that performs "ping-pong" that works the same way as
Ronnie Sahlberg [Wed, 29 Aug 2007 05:45:24 +0000 (05:45 +0000)]
r24767: add a torture test that performs "ping-pong" that works the same way as
ping-pong.c

this is a manual test and only makes sense to be used in parallell with
the real ping-pong.c tool
(This used to be commit b58677fa745361eafe87c62b2988a7b6387b23e7)

12 years agor24766: forgot to commit this before. It is needed as this never terminates.
Andrew Tridgell [Wed, 29 Aug 2007 05:34:20 +0000 (05:34 +0000)]
r24766: forgot to commit this before. It is needed as this never terminates.
(This used to be commit 81355630ff201764a1b9393ae0ef4da8340752c1)

12 years agor24765: added a RAW-HOLD-OPLOCK test. This is a manual test, meant to be used
Andrew Tridgell [Wed, 29 Aug 2007 04:33:26 +0000 (04:33 +0000)]
r24765: added a RAW-HOLD-OPLOCK test. This is a manual test, meant to be used
to test the interaction of oplocks with local filesystem or NFS
access. You start it, then manually access the 4 files via another
mechanism (such as a shell) and see what oplock breaks you get
(This used to be commit 4c3e4564260e55434a54a013051db609c92cabe8)

12 years agor24763: Allow users to leave out the transport in DCE/RPC binding strings. If the...
Jelmer Vernooij [Wed, 29 Aug 2007 02:01:56 +0000 (02:01 +0000)]
r24763: Allow users to leave out the transport in DCE/RPC binding strings. If the transport is not specified, it will be retrieved from the remote endpoint mapper or the IDL file.

This means that 'smbtorture localhost RPC-WINREG' works now.
(This used to be commit b7fa0859d2e4236112075604281410ba037b1076)

12 years agor24761: Permit subtree renames in Samba4.
Andrew Bartlett [Wed, 29 Aug 2007 01:40:58 +0000 (01:40 +0000)]
r24761: Permit subtree renames in Samba4.

The module is scary: On a rename, it does a search for all entries
under that entry (including itself), and fires off a seperate rename
call for each result.  This will fail miserably on an LDAP backend,
but I'll need to work on using hdb for OpenLDAP, and hope Fedora DS
can implement subtree renames at some point.

Andrew Bartlett
(This used to be commit 13908a8cb4dd810503213203efb8d51f77f1f379)

12 years agor24760: Ensure we base64 encode any password being put into LDIF, to avoid
Andrew Bartlett [Wed, 29 Aug 2007 01:37:26 +0000 (01:37 +0000)]
r24760: Ensure we base64 encode any password being put into LDIF, to avoid
provision failures when some of the random password values are illigal
LDIF.

Andrew Bartlett
(This used to be commit 876003f6c6466bfd37ec9b05c9a1f1cc83dd9898)

12 years agor24758: More use of torture API.
Jelmer Vernooij [Wed, 29 Aug 2007 00:56:13 +0000 (00:56 +0000)]
r24758: More use of torture API.
(This used to be commit e6f571227ed7428a98a7039a5eb777d3670572fa)

12 years agor24757: Try parsing a UNC location before a DCE/RPC binding string as the latter now
Jelmer Vernooij [Wed, 29 Aug 2007 00:04:40 +0000 (00:04 +0000)]
r24757: Try parsing a UNC location before a DCE/RPC binding string as the latter now
accepts strings not prefixed with a transport.
(This used to be commit d131d40ae3df3ca8f4ddec2cd0f16210ffe64367)

12 years agor24755: Use common code for finding the RPC binding in the torture tests.
Jelmer Vernooij [Tue, 28 Aug 2007 19:03:08 +0000 (19:03 +0000)]
r24755: Use common code for finding the RPC binding in the torture tests.
(This used to be commit e3310e773924ddd2129e8ca1a86e23d0f713c19c)

12 years agor24753: Allow host name in binding string without transport.
Jelmer Vernooij [Tue, 28 Aug 2007 17:45:57 +0000 (17:45 +0000)]
r24753: Allow host name in binding string without transport.
(This used to be commit f7051d3a84486ed9d0a1689c10a693521ec63528)

12 years agor24751: Run more tests, remove empty testsuites, more small improvements.
Jelmer Vernooij [Tue, 28 Aug 2007 16:24:18 +0000 (16:24 +0000)]
r24751: Run more tests, remove empty testsuites, more small improvements.
(This used to be commit 2a5a0819eea86ba322434306e062d13893b5722e)

12 years agor24741: More use of the torture API.
Jelmer Vernooij [Tue, 28 Aug 2007 14:42:37 +0000 (14:42 +0000)]
r24741: More use of the torture API.
(This used to be commit de05c3651a6e9e6611b296873526afd9292327c1)

12 years agor24738: Fix one more use of pwrite in tdb code in the spirit of r23972 and r23977.
Michael Adam [Tue, 28 Aug 2007 14:25:46 +0000 (14:25 +0000)]
r24738: Fix one more use of pwrite in tdb code in the spirit of r23972 and r23977.

Michael
(This used to be commit 7b2cabea55cebb98e0fcee17066a0871667cd83f)

12 years agor24736: Convert to using torture API.
Jelmer Vernooij [Tue, 28 Aug 2007 13:49:34 +0000 (13:49 +0000)]
r24736: Convert to using torture API.
(This used to be commit a0f11881546f6cd367d459e016956f76910a0a89)

12 years agor24735: Use torture API in more places.
Jelmer Vernooij [Tue, 28 Aug 2007 12:54:27 +0000 (12:54 +0000)]
r24735: Use torture API in more places.
(This used to be commit 1319d88c099496be29dd9214fa2492c81e848369)

12 years agor24732: Add comments and fix memory leak.
Rafal Szczesniak [Tue, 28 Aug 2007 09:57:47 +0000 (09:57 +0000)]
r24732: Add comments and fix memory leak.

rafal
(This used to be commit 07b52b360676692abf00b64e6eada0f7850357bd)

12 years agor24731: Remove unused code - if we hit these error conditions, then we are
Andrew Bartlett [Tue, 28 Aug 2007 05:43:26 +0000 (05:43 +0000)]
r24731: Remove unused code - if we hit these error conditions, then we are
dead anyway, and a segfault would leave us with more infomation.

Andrew Bartlett
(This used to be commit 62320616ff8795ff18c8f49029d81f12558c10ed)

12 years agor24730: Allow secrets entries to be for service principals.
Andrew Bartlett [Tue, 28 Aug 2007 04:35:29 +0000 (04:35 +0000)]
r24730: Allow secrets entries to be for service principals.

Andrew Bartlett
(This used to be commit 7865d10a299a84ed42de4435b7e6400d56161ac5)

12 years agor24729: First try and publishing a DNS service account, for folks to play with.
Andrew Bartlett [Tue, 28 Aug 2007 04:28:02 +0000 (04:28 +0000)]
r24729: First try and publishing a DNS service account, for folks to play with.

The keytab in dns.keytab should (I hope) do the job.

Andrew Bartlett
(This used to be commit af4d331eef91ef7699d179d15e7337fff1eff7bb)

12 years agor24728: Use more stock torture functions.
Jelmer Vernooij [Tue, 28 Aug 2007 00:16:58 +0000 (00:16 +0000)]
r24728: Use more stock torture functions.
(This used to be commit da3a7ee407a2b41bd01f45072cad12bf29250b33)

12 years agor24727: Initialize variable.
Jelmer Vernooij [Mon, 27 Aug 2007 22:18:16 +0000 (22:18 +0000)]
r24727: Initialize variable.
(This used to be commit 925fcc336621250a8e45adf3ce8d2ff42307c066)

12 years agor24726: Add tests for getting/setting security descriptors (still failing at the...
Jelmer Vernooij [Mon, 27 Aug 2007 22:01:58 +0000 (22:01 +0000)]
r24726: Add tests for getting/setting security descriptors (still failing at the moment)
(This used to be commit ecdfaf56c09e75dc3ca37a3599c89661ad3485ff)

12 years agor24725: Don't segfault if hive file can't be found
Jelmer Vernooij [Mon, 27 Aug 2007 21:24:44 +0000 (21:24 +0000)]
r24725: Don't segfault if hive file can't be found
(This used to be commit 2daa8fa88dbc80a7c54c4b489b1037658d95755c)

12 years agor24724: Also install the .reg files for provisioning from an installed version.
Jelmer Vernooij [Mon, 27 Aug 2007 21:19:34 +0000 (21:19 +0000)]
r24724: Also install the .reg files for provisioning from an installed version.
(This used to be commit 9553c20ced3945c5ab8392f7239ecdc852a0e81b)

12 years agor24723: Install the right headers for use by samba-gtk.
Jelmer Vernooij [Mon, 27 Aug 2007 21:17:29 +0000 (21:17 +0000)]
r24723: Install the right headers for use by samba-gtk.
(This used to be commit 762e893d9ce4cc73bb1763a9520634bf921c0503)

12 years agor24721: Avoid True and False because they are only available within Samba.
Jelmer Vernooij [Mon, 27 Aug 2007 19:47:23 +0000 (19:47 +0000)]
r24721: Avoid True and False because they are only available within Samba.
(This used to be commit 2d049c8d30876075b03ff74f7ba6d0c57bfb5c45)

12 years agor24718: Fix some compiler warnings.
Jelmer Vernooij [Mon, 27 Aug 2007 18:56:46 +0000 (18:56 +0000)]
r24718: Fix some compiler warnings.
(This used to be commit 08f7389ab7312d350e056b1ba98da86d80944424)

12 years agor24717: Some more easy bool conversions, update TODO for registry
Jelmer Vernooij [Mon, 27 Aug 2007 18:43:18 +0000 (18:43 +0000)]
r24717: Some more easy bool conversions, update TODO for registry
(This used to be commit fc8771fb6aab815e63334da0159032f7ecd0a931)

12 years agor24715: Mark fstring and pstring as deprecated.
Jelmer Vernooij [Mon, 27 Aug 2007 18:32:51 +0000 (18:32 +0000)]
r24715: Mark fstring and pstring as deprecated.
(This used to be commit c8118f156129cbd173693157e6648ed5e01813f3)

12 years agor24712: No longer expose the 'BOOL' data type in any interfaces.
Jelmer Vernooij [Mon, 27 Aug 2007 18:10:19 +0000 (18:10 +0000)]
r24712: No longer expose the 'BOOL' data type in any interfaces.
(This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)

12 years agor24710: Use standard boolean type for easier use by external users.
Jelmer Vernooij [Mon, 27 Aug 2007 17:21:16 +0000 (17:21 +0000)]
r24710: Use standard boolean type for easier use by external users.
(This used to be commit 99f4124137d4a61216e8189f26d4da32882c0f4a)

12 years agor24709: Convert perl test harness output to subunit for nicer display.
Jelmer Vernooij [Mon, 27 Aug 2007 16:27:23 +0000 (16:27 +0000)]
r24709: Convert perl test harness output to subunit for nicer display.
(This used to be commit 1be11bd0a5092ad9102587ea206388234983c479)

12 years agor24708: Move subunit code to a separate module.
Jelmer Vernooij [Mon, 27 Aug 2007 15:15:38 +0000 (15:15 +0000)]
r24708: Move subunit code to a separate module.
(This used to be commit 4be702896d6875b463dee046b34744b0b5699519)

12 years agor24707: Remove some more cruft from the test list generation code.
Jelmer Vernooij [Mon, 27 Aug 2007 14:38:13 +0000 (14:38 +0000)]
r24707: Remove some more cruft from the test list generation code.
(This used to be commit 76dddbdb519e2ff5384cb931cd24d6763985c5b2)

12 years agor24706: Move nmblookup tests to separate blackbox testsuite.
Jelmer Vernooij [Mon, 27 Aug 2007 14:36:22 +0000 (14:36 +0000)]
r24706: Move nmblookup tests to separate blackbox testsuite.
(This used to be commit aeb2e714f22abe68f89218967a55d7abd2d04ae1)

12 years agor24705: Avoid undefined value warnings.
Jelmer Vernooij [Mon, 27 Aug 2007 14:06:25 +0000 (14:06 +0000)]
r24705: Avoid undefined value warnings.
(This used to be commit 10f266e4d6a821a91bfa612d744eb7a4bab4ba6a)

12 years agor24704: Fix bug in the registry patch code.. all the more proves this code needs...
Jelmer Vernooij [Mon, 27 Aug 2007 13:53:18 +0000 (13:53 +0000)]
r24704: Fix bug in the registry patch code.. all the more proves this code needs tests.
(This used to be commit aa98d219571c4a7af1e5a0f8483cc17a4b6b36e2)

12 years agor24703: Use standard registry diff files when provisioning rather than
Jelmer Vernooij [Mon, 27 Aug 2007 13:13:08 +0000 (13:13 +0000)]
r24703: Use standard registry diff files when provisioning rather than
LDIF files for the registry files.
(This used to be commit 67ad556b7388e5d82756e0a3cfc596e44136329c)

12 years agor24700: added auto-reconnect to BENCH-NBENCH. Used for testing cluster
Andrew Tridgell [Mon, 27 Aug 2007 11:17:48 +0000 (11:17 +0000)]
r24700: added auto-reconnect to BENCH-NBENCH. Used for testing cluster
failover

this is based on a patch from Dmitry Shatrov, with some mods from me
(This used to be commit 737be7e2d6cefbdd207629fc2cdd27de83d326b6)

12 years agor24698: Patch from Andrew Kroeger <andrew@sprocks.gotdns.com> to fix Bug
Andrew Bartlett [Mon, 27 Aug 2007 10:16:54 +0000 (10:16 +0000)]
r24698: Patch from Andrew Kroeger <andrew@sprocks.gotdns.com> to fix Bug
#4521: smbclient crashes during tab completion when tab hit twice.

The readline magic is beyond me, but this seems to do the trick.

Andrew Bartlett
(This used to be commit e05f3450ecc3f99509fbc069b09d402e3b6d7564)

12 years agor24697: Excelent patch and detective work by Matthias Wallnöfer
Andrew Bartlett [Mon, 27 Aug 2007 02:31:51 +0000 (02:31 +0000)]
r24697: Excelent patch and detective work by Matthias Wallnöfer
<mwallnoefer@yahoo.de> noticing that:

> The error was caused by info1 that is'nt talloced but rather static.

In fact, no caller supplies info1 as a valid talloc context - other
callers supply an element into the array.

Andrew Bartlett
(This used to be commit c8e6a87867909b092d0451cd619d7eff4cd80dff)

12 years agor24696: Fix bug 4918 reported by Matthias Wallnöfer <mwallnoefer@yahoo.de>
Andrew Bartlett [Mon, 27 Aug 2007 02:26:24 +0000 (02:26 +0000)]
r24696: Fix bug 4918 reported by Matthias Wallnöfer <mwallnoefer@yahoo.de>
with a patch from Andrew Kroeger <andrew@sprocks.gotdns.com>.

The changes to samldb_fill_foreignSecurityPrincipal_object() look much
larger then they are: We just skip all the objectSid generation if the
SID is supplied.

By providing a few more objects, standard dialogs on the clients are
better behaved, for these 'well known' users.

Andrew Bartlett
(This used to be commit 35ee4aee719e69983d650602d1c6422a31600001)

12 years agor24695: Now the Samba4 passes this test, remove the skip...
Andrew Bartlett [Mon, 27 Aug 2007 01:55:03 +0000 (01:55 +0000)]
r24695: Now the Samba4 passes this test, remove the skip...

Andrew Bartlett
(This used to be commit 771affed88edd1e2ad891bf2a253f7dc8082dd86)

12 years agor24694: Remove objectCategory entries from the setup templates. These can be
Andrew Bartlett [Mon, 27 Aug 2007 01:54:32 +0000 (01:54 +0000)]
r24694: Remove objectCategory entries from the setup templates.  These can be
autogenerated by the objectclass module when the the entries are
added.

Andrew Bartlett
(This used to be commit 79e13349f00d009fc5dd0cdddade379df906ebc8)

12 years agor24693: Test search options in ldb blackbox testing.
Andrew Bartlett [Mon, 27 Aug 2007 01:46:09 +0000 (01:46 +0000)]
r24693: Test search options in ldb blackbox testing.

Andrew Bartlett
(This used to be commit 9f45b5553a53d2e8a1c2643bf58fb90db8217b66)

12 years agor24692: Color expected fialures orange rather than green.
Jelmer Vernooij [Mon, 27 Aug 2007 00:38:42 +0000 (00:38 +0000)]
r24692: Color expected fialures orange rather than green.
(This used to be commit cadfc0a7a1a86122f9dc5f127c0cd8be89cdaf46)

12 years agor24691: All smbclient blackbox tests pass.
Jelmer Vernooij [Mon, 27 Aug 2007 00:36:26 +0000 (00:36 +0000)]
r24691: All smbclient blackbox tests pass.
(This used to be commit c3a138627487ec0ed5a4c4c4457df35275f4cada)

12 years agor24690: Further fix to bug 4919: Ensure we don't supply a NULL URL argument to
Andrew Bartlett [Mon, 27 Aug 2007 00:31:14 +0000 (00:31 +0000)]
r24690: Further fix to bug 4919: Ensure we don't supply a NULL URL argument to
ldb_connect_backend().

Andrew Bartlett
(This used to be commit d0595e7a3d15c40dd49062efa0ddc6864b6b9030)

12 years agor24689: There is no such test as LDAP-UPTODATENESS.
Jelmer Vernooij [Mon, 27 Aug 2007 00:21:37 +0000 (00:21 +0000)]
r24689: There is no such test as LDAP-UPTODATENESS.
(This used to be commit ebdb0ce83b66faeeb3396f293c7fc8ed52c387e7)

12 years agor24688: Make output subunit-parseable.
Jelmer Vernooij [Mon, 27 Aug 2007 00:19:45 +0000 (00:19 +0000)]
r24688: Make output subunit-parseable.
(This used to be commit 2585c6feb22b4409a635017875a2e93fe7c436ba)

12 years agor24687: Registry tests are succeeding now so remove from known failure list, add...
Jelmer Vernooij [Sun, 26 Aug 2007 23:22:54 +0000 (23:22 +0000)]
r24687: Registry tests are succeeding now so remove from known failure list, add summary page with failures and skipped tests to html output.
(This used to be commit 227659c2c05f76a37e1c9d20dc3f8b6966a111df)

12 years agor24686: Make sure control messages are on a new line.
Jelmer Vernooij [Sun, 26 Aug 2007 22:20:02 +0000 (22:20 +0000)]
r24686: Make sure control messages are on a new line.
(This used to be commit 90119f96e96ce71b1fe145be9027d925831f6500)

12 years agor24685: Don't warn about iconv tests not being usable until they're actually being...
Jelmer Vernooij [Sun, 26 Aug 2007 22:15:44 +0000 (22:15 +0000)]
r24685: Don't warn about iconv tests not being usable until they're actually being run.
(This used to be commit df34e606981c3a9fe5b9ac846dbf40d36500bd6b)

12 years agor24684: Be a bit less verbose
Jelmer Vernooij [Sun, 26 Aug 2007 22:12:02 +0000 (22:12 +0000)]
r24684: Be a bit less verbose
(This used to be commit 7a7af62dc4485d832436ed39dfba41b417ec2b10)

12 years agor24683: Add two more tests.
Jelmer Vernooij [Sun, 26 Aug 2007 21:52:27 +0000 (21:52 +0000)]
r24683: Add two more tests.
(This used to be commit c87576743b09773489478e6eebeb3a282d6ec21b)

12 years agor24682: forgot to actually make the new test buil...
Rafal Szczesniak [Sun, 26 Aug 2007 21:49:23 +0000 (21:49 +0000)]
r24682: forgot to actually make the new test buil...

rafal
(This used to be commit dbcf4f15a6a0c1bb93b5f65f85795af262bf7552)

12 years agor24681: add basic test of libnet_GroupInfo function.
Rafal Szczesniak [Sun, 26 Aug 2007 21:48:26 +0000 (21:48 +0000)]
r24681: add basic test of libnet_GroupInfo function.

rafal
(This used to be commit 5ba36fe70308d99b8ca9104ebf42a5dc0bc7bab7)

12 years agor24680: fix a couple of stupid typos from previous commit.
Rafal Szczesniak [Sun, 26 Aug 2007 21:47:16 +0000 (21:47 +0000)]
r24680: fix a couple of stupid typos from previous commit.

rafal
(This used to be commit b21b322e4ce593dafb5331dc4d65fa2d69b61cb8)

12 years agor24679: Add (raw and untested) implementation of libnet_GroupInfo function.
Rafal Szczesniak [Sun, 26 Aug 2007 20:25:39 +0000 (20:25 +0000)]
r24679: Add (raw and untested) implementation of libnet_GroupInfo function.

rafal
(This used to be commit 80479eee256ab549b28cbd086a1343ce2a3c4948)