Andrew Tridgell [Sat, 23 Sep 2006 01:59:48 +0000 (01:59 +0000)]
r18834: get the log context code right
Andrew Tridgell [Sat, 23 Sep 2006 01:54:29 +0000 (01:54 +0000)]
r18833: darn, forgot to commit this
sorry about the build breakage
Andrew Tridgell [Fri, 22 Sep 2006 23:25:16 +0000 (23:25 +0000)]
r18832: fixed standalone build
Andrew Tridgell [Fri, 22 Sep 2006 23:22:39 +0000 (23:22 +0000)]
r18831: minor build changes for samba3. The logging changes will be removed
when the tdb api is updated
Andrew Tridgell [Fri, 22 Sep 2006 23:21:36 +0000 (23:21 +0000)]
r18830: ensure backends aren't added twice (needed for samba3)
Andrew Bartlett [Fri, 22 Sep 2006 20:00:49 +0000 (20:00 +0000)]
r18829: Print a nice welcome message when we enter the test environment.
Andrew Bartlett
Andrew Bartlett [Fri, 22 Sep 2006 19:43:08 +0000 (19:43 +0000)]
r18828: Export some more useful environment varibles, particularly for use in
'make testenv'
Andrew Bartlett
Andrew Bartlett [Fri, 22 Sep 2006 19:39:27 +0000 (19:39 +0000)]
r18827: I forgot to commit this:
Make kpasswdd use the new prototype for
_krb5_principalname2krb5_principal()
Andrew Bartlett
Andrew Bartlett [Fri, 22 Sep 2006 18:39:49 +0000 (18:39 +0000)]
r18826: Allow 'enterprise' principal names to log in.
These principals do not need to be in the same realm as the rest of
the ticket, the full principal name is in the first componet of the
ASN.1.
Samba4's backend will handle getting this to the 'right' place.
Andrew Bartlett
Andrew Tridgell [Fri, 22 Sep 2006 15:14:53 +0000 (15:14 +0000)]
r18825: speed up the test_cifsdd.sh test by using a smaller file. It was
taking over half an hour on some systems
Andrew Tridgell [Fri, 22 Sep 2006 15:14:03 +0000 (15:14 +0000)]
r18824: fixed a bug in cifsdd when the file is exactly a multiple of the block
size (cifsdd incorrectly reported an error and exited)
Günther Deschner [Fri, 22 Sep 2006 10:37:43 +0000 (10:37 +0000)]
r18822: Automatically remove a forced dfs standard root creation.
Guenther
Günther Deschner [Fri, 22 Sep 2006 10:31:19 +0000 (10:31 +0000)]
r18821: Correctly name dfs_AddStdRootForced() test.
Guenther
Günther Deschner [Fri, 22 Sep 2006 08:36:30 +0000 (08:36 +0000)]
r18815: Fill in IDL for domain based DFS root functions (dfs_AddFtRoot,
dfs_RemoveFtRoot and dfs_FlushFtTable).
Guenther
Andrew Tridgell [Fri, 22 Sep 2006 04:04:46 +0000 (04:04 +0000)]
r18808: added SMB2-MAXWRITE test and SMB2-DIR tests
expanded size of dangerous level for write in SMB2-CONNECT test
Andrew Tridgell [Fri, 22 Sep 2006 03:50:15 +0000 (03:50 +0000)]
r18807: don't overtax the imaginations of servers that can't do mkdir on \\dirname\\
Andrew Tridgell [Fri, 22 Sep 2006 03:49:40 +0000 (03:49 +0000)]
r18806: fixed two spelling errors
Andrew Tridgell [Fri, 22 Sep 2006 03:49:24 +0000 (03:49 +0000)]
r18805: make error message match function name
Stefan Metzmacher [Thu, 21 Sep 2006 22:55:00 +0000 (22:55 +0000)]
r18800: fix a write behind the buffer bug...
Thanks Herb for finding this:-)
This was my bug, I typed it in on gd's laptop and he just run 'svn ci'
metze
Andrew Bartlett [Thu, 21 Sep 2006 16:42:56 +0000 (16:42 +0000)]
r18786: I moved the usnChanged code around, and it now loaded in a different
module. I forgot to commit this last night.
Andrew Bartlett
Stefan Metzmacher [Thu, 21 Sep 2006 07:35:30 +0000 (07:35 +0000)]
r18783: fix make pch
metze
Günther Deschner [Thu, 21 Sep 2006 07:19:47 +0000 (07:19 +0000)]
r18782: Do not send random data to the password change (although that reveals
interesting new password set tests), make sure to send valid characters.
Guenther
Andrew Bartlett [Thu, 21 Sep 2006 06:44:12 +0000 (06:44 +0000)]
r18781: Move the usnCreated and usnChanged handling around again.
This moves these attributes from objectguid into an optional backend
(objectguid), used by ltdb. For OpenLDAP, the entryUUID module
converts entryCSN into usnChanged.
This also changes the sequence number API, and uses 'time based'
sequence numbers, when an LDAP or similar backend is detected.
To assist this, we also store the last modified time in the TDB,
whenever we change a value.
Andrew Bartlett
Jelmer Vernooij [Thu, 21 Sep 2006 06:42:52 +0000 (06:42 +0000)]
r18780: Add convenience "make testenv" to launch the xtermtest Andrew just added.
Andrew Bartlett [Thu, 21 Sep 2006 06:34:21 +0000 (06:34 +0000)]
r18779: Not simo's fault, this is actually a bug I introduced a week ago, when I fixed the previous bug in this code.
We need to remove fragments from the incoming fragment list, or else
we leak (actually, we walk free()'ed data as we add/remove elements).
Andrew Bartlett
Simo Sorce [Thu, 21 Sep 2006 06:14:32 +0000 (06:14 +0000)]
r18777: add helper functions to create an ldb_request structure
Günther Deschner [Thu, 21 Sep 2006 06:06:59 +0000 (06:06 +0000)]
r18776: Fill in and test dfs_ManagerInitialize().
Guenther
Andrew Bartlett [Thu, 21 Sep 2006 05:44:39 +0000 (05:44 +0000)]
r18775: Performing an ldb op of 'do nothing' is pointless, and breaks against
OpenLDAP.
Andrew Bartlett
Andrew Bartlett [Thu, 21 Sep 2006 05:42:56 +0000 (05:42 +0000)]
r18774: This allows an automated way to setup the test environment in a shell,
with all the helpful env variables set.
TEST_LDAP=yes script/tests/selftest.sh st/ xterm SOCKET_WRAPPER
Andrew Bartlett
Andrew Bartlett [Thu, 21 Sep 2006 04:52:49 +0000 (04:52 +0000)]
r18770: Avoid crashes and fix up other issues in the client-side paged_searches module.
In particular, we must query the remote server to find out if paged
searches are supported, not the local ldb.
This patch also removes the ue of bool, and returns it to LDB error codes.
Andrew Bartlett
Jelmer Vernooij [Thu, 21 Sep 2006 04:48:41 +0000 (04:48 +0000)]
r18769: Re-enable __VA_ARGS__ test (but don't make it fatal)
Jelmer Vernooij [Thu, 21 Sep 2006 04:33:19 +0000 (04:33 +0000)]
r18768: Fix some warnings.
Jelmer Vernooij [Thu, 21 Sep 2006 04:26:31 +0000 (04:26 +0000)]
r18767: Fix [ref] pointer in object oriented interfaces. Removes a
bunch of warnings when compiling dcom.idl.
Günther Deschner [Thu, 21 Sep 2006 03:36:10 +0000 (03:36 +0000)]
r18766: Getting rid of one test_GetManagerVersion() call and fix the build.
Guenther
Günther Deschner [Thu, 21 Sep 2006 03:11:51 +0000 (03:11 +0000)]
r18765: Fill in dfs_SetInfo() IDL and align function arguments with the names
found in the documentation.
Guenther
Günther Deschner [Thu, 21 Sep 2006 02:45:02 +0000 (02:45 +0000)]
r18764: Test all standalone DFS root functions in the torture test.
Guenther
Günther Deschner [Thu, 21 Sep 2006 02:41:52 +0000 (02:41 +0000)]
r18763: Removing old dfs_Add test, will be replaced with another one soon.
Guenther
Günther Deschner [Thu, 21 Sep 2006 02:10:02 +0000 (02:10 +0000)]
r18762: Fillin standalone DFS root functions IDL.
Guenther
Günther Deschner [Wed, 20 Sep 2006 23:59:17 +0000 (23:59 +0000)]
r18759: Do not use "simple" as test password as pointed out by Andrew Bartlett.
Thanks metze.
Guenther
Simo Sorce [Wed, 20 Sep 2006 23:52:58 +0000 (23:52 +0000)]
r18757: Disable this for now
Rafal Szczesniak [Wed, 20 Sep 2006 23:42:58 +0000 (23:42 +0000)]
r18753: expand the test so that it does a growing number of changes
(up to 8, currently) randomly generated _and_ verify if the
change has actually been made.
surprising results when running the test (I hope it's just
a bug somewhere in it or in the libnet code).
rafal
Rafal Szczesniak [Wed, 20 Sep 2006 23:39:15 +0000 (23:39 +0000)]
r18752: When change is a big one, it needs to be made in a couple
of set user info calls one after another (each one using
different info level). Also, try to do as many changes as
possible using a single infolevel.
rafal
Günther Deschner [Wed, 20 Sep 2006 23:32:56 +0000 (23:32 +0000)]
r18751: Check for samr reject codes and their particular order.
Guenther
Jelmer Vernooij [Wed, 20 Sep 2006 23:22:08 +0000 (23:22 +0000)]
r18750: Disable not updating the last-modifification-time of proto headers because this was confusing make.
Jelmer Vernooij [Wed, 20 Sep 2006 23:19:37 +0000 (23:19 +0000)]
r18749: Disable automatic dependencies by default (use --enable-automatic-dependencies to reenable).
Günther Deschner [Wed, 20 Sep 2006 22:31:04 +0000 (22:31 +0000)]
r18746: Fix the build.
Guenther
Günther Deschner [Wed, 20 Sep 2006 21:00:07 +0000 (21:00 +0000)]
r18743: Mention share name in error output.
Guenther
Günther Deschner [Wed, 20 Sep 2006 20:40:45 +0000 (20:40 +0000)]
r18741: test dfs_Enum and dfs_EnumEx in the torture test.
Guenther
Simo Sorce [Wed, 20 Sep 2006 20:32:36 +0000 (20:32 +0000)]
r18740: Some more work around srvsvc
Günther Deschner [Wed, 20 Sep 2006 19:09:33 +0000 (19:09 +0000)]
r18738: Fill in dfs_VolumeState.
Hm, wondering if there is a better way to let that be composed out of
one dfs_VolumeFlavor flag and one dfs_VolumeState flag.
Guenther
Günther Deschner [Wed, 20 Sep 2006 19:06:52 +0000 (19:06 +0000)]
r18737: Fill in the documented dfs_Target_PriorityClass.
Guenther
Günther Deschner [Wed, 20 Sep 2006 19:05:26 +0000 (19:05 +0000)]
r18736: Fill in the dfs_PropertyFlags (verified with dfsutil.exe).
Guenther
Günther Deschner [Wed, 20 Sep 2006 19:02:44 +0000 (19:02 +0000)]
r18735: Fill in dfs_StorageState.
Guenther
Günther Deschner [Wed, 20 Sep 2006 19:00:15 +0000 (19:00 +0000)]
r18734: Add flag to distinguish a standalone from a domain based DFS root.
Guenther
Günther Deschner [Wed, 20 Sep 2006 18:57:41 +0000 (18:57 +0000)]
r18733: More work on DFS idl. Start to add new infolevels (as of w2k3 sp1).
Guenther
Jelmer Vernooij [Wed, 20 Sep 2006 17:29:34 +0000 (17:29 +0000)]
r18723: Update list of provided macros/defines in README.
Jelmer Vernooij [Wed, 20 Sep 2006 17:19:05 +0000 (17:19 +0000)]
r18721: Fix base and samba3sam EJS tests to work without installation.
Jelmer Vernooij [Wed, 20 Sep 2006 17:18:21 +0000 (17:18 +0000)]
r18720: Get rid of unused file.
Andrew Tridgell [Wed, 20 Sep 2006 16:35:05 +0000 (16:35 +0000)]
r18716: put in a commented out useful hack for some RPC servers
Andrew Tridgell [Wed, 20 Sep 2006 16:33:25 +0000 (16:33 +0000)]
r18715: 0x8 style status returns should also fail here (thanks metze)
Stefan Metzmacher [Wed, 20 Sep 2006 02:09:14 +0000 (02:09 +0000)]
r18708: much nicer fix
metze
Stefan Metzmacher [Wed, 20 Sep 2006 01:56:57 +0000 (01:56 +0000)]
r18706: fix whitespaces
metze
Stefan Metzmacher [Wed, 20 Sep 2006 00:23:26 +0000 (00:23 +0000)]
r18704: readd BOOL define to fix the build
but I think this is the wrong fix...
metze
Jelmer Vernooij [Tue, 19 Sep 2006 22:48:08 +0000 (22:48 +0000)]
r18696: Zero initialize ref ptrs.
Jelmer Vernooij [Tue, 19 Sep 2006 22:39:49 +0000 (22:39 +0000)]
r18693: Print debug info when DEBUGLEVEL >= 10 in the Samba3 code.
Rafal Szczesniak [Tue, 19 Sep 2006 22:35:37 +0000 (22:35 +0000)]
r18691: Forgot to add copyright info.
rafal
Jelmer Vernooij [Tue, 19 Sep 2006 22:18:16 +0000 (22:18 +0000)]
r18689: Initialize r.out in the server side code, in case the handler function
doesn't touch them.
Volker Lendecke [Tue, 19 Sep 2006 21:41:02 +0000 (21:41 +0000)]
r18686: Fix typo protocl->protocol
Stefan Metzmacher [Tue, 19 Sep 2006 21:33:40 +0000 (21:33 +0000)]
r18685: we don't need this here
metze
Rafal Szczesniak [Tue, 19 Sep 2006 19:15:36 +0000 (19:15 +0000)]
r18683: NET-USERMOD test changed to be able to perform multiple simultaneous
changes.
Also, some common definitions for user mod tests have been put into
a separate file.
rafal
Rafal Szczesniak [Tue, 19 Sep 2006 19:10:14 +0000 (19:10 +0000)]
r18682: a bit of a change in setfield function.
one more change to do...
rafal
Simo Sorce [Tue, 19 Sep 2006 15:39:21 +0000 (15:39 +0000)]
r18676: Don't mix ShareInfo and ShareCtr definitions,
this makes a much more readable include file
Stefan Metzmacher [Tue, 19 Sep 2006 03:51:45 +0000 (03:51 +0000)]
r18675: merge from samba3:
we need to define the macros the indicate we have bool
even if we have not defining bool ourself
metze
Stefan Metzmacher [Tue, 19 Sep 2006 03:48:31 +0000 (03:48 +0000)]
r18674: merge from samba3,
PRINTF_ATTRIBUTE seems to not work with gcc 3.0
metze
Stefan Metzmacher [Tue, 19 Sep 2006 01:34:53 +0000 (01:34 +0000)]
r18668: fix ref pointer related bugs, we should watch the compiler warnings!
only cc on us4 bailed out...
metze
Volker Lendecke [Tue, 19 Sep 2006 00:55:40 +0000 (00:55 +0000)]
r18661: C++ warnings
Rafal Szczesniak [Tue, 19 Sep 2006 00:27:49 +0000 (00:27 +0000)]
r18658: make the test change fields sequentially each one in turn.
now to multiple changes...
rafal
Rafal Szczesniak [Tue, 19 Sep 2006 00:25:55 +0000 (00:25 +0000)]
r18657: handle the case where rpc call went fine, but the result
not necessariy did.
rafal
Rafal Szczesniak [Tue, 19 Sep 2006 00:24:41 +0000 (00:24 +0000)]
r18656: fix stupid mistake causing segfaults in torture test
and also add one more field to be set.
rafal
Rafal Szczesniak [Tue, 19 Sep 2006 00:23:55 +0000 (00:23 +0000)]
r18655: add more fields and better handle the error case where fields
setting routine don't know how to do that (and user info level
is invalid).
rafal
Jelmer Vernooij [Mon, 18 Sep 2006 21:52:00 +0000 (21:52 +0000)]
r18639: Get rid of the keepref support
Günther Deschner [Mon, 18 Sep 2006 21:03:03 +0000 (21:03 +0000)]
r18637: Fix the build. Sorry,
Guenther
Günther Deschner [Mon, 18 Sep 2006 21:00:00 +0000 (21:00 +0000)]
r18636: Excessive testing with pam_winbind within Samba3 revealed a new samr
reject reason code while password changing: SAMR_REJECT_IN_HISTORY which
is different from SAMR_REJECT_COMPLEXITY.
torture test to follow as well.
Guenther
Günther Deschner [Mon, 18 Sep 2006 20:56:54 +0000 (20:56 +0000)]
r18635: Make sure to display samr_GroupAttrs in samr_DispInfo for groups instead
of interpreting them as samr_AcctFlags.
Guenther
Jelmer Vernooij [Mon, 18 Sep 2006 20:52:26 +0000 (20:52 +0000)]
r18634: Turn flags field into a bitmap.
Günther Deschner [Mon, 18 Sep 2006 20:44:54 +0000 (20:44 +0000)]
r18633: Add a couple of new WERR codes encountered with dfs torture testing.
Guenther
Rafal Szczesniak [Mon, 18 Sep 2006 20:28:47 +0000 (20:28 +0000)]
r18631: correct unintentional commit.
rafal
Günther Deschner [Mon, 18 Sep 2006 20:21:52 +0000 (20:21 +0000)]
r18630: Better way to display ref-pointers with [print]. Thanks to metze for
pointing this out.
Guenther
Günther Deschner [Mon, 18 Sep 2006 20:20:22 +0000 (20:20 +0000)]
r18629: There is no such "unknown" pointer in dfs_Enum().
Guenther
Günther Deschner [Mon, 18 Sep 2006 20:19:43 +0000 (20:19 +0000)]
r18628: dfs_EnumEx() also takes a ref pointer.
Guenther
Günther Deschner [Mon, 18 Sep 2006 20:18:50 +0000 (20:18 +0000)]
r18627: only cosmetic reformat, no functional changes.
Guenther
Rafal Szczesniak [Mon, 18 Sep 2006 20:08:28 +0000 (20:08 +0000)]
r18626: fix cleanup function to safely recover after interrupted test
and add one requested field in to the function creating testing
set of changes for user modify routine.
rafal
Günther Deschner [Mon, 18 Sep 2006 20:00:51 +0000 (20:00 +0000)]
r18625: dfs_GetManagerVersion() returns a version number, not just an exist
flag.
Guenther
Günther Deschner [Mon, 18 Sep 2006 19:51:27 +0000 (19:51 +0000)]
r18624: path is a ref pointer in dfs_GetInfo().
torture test to follow.
Guenther
Rafal Szczesniak [Mon, 18 Sep 2006 17:33:23 +0000 (17:33 +0000)]
r18615: add more time fields and fix a silly mistake.
rafal
Rafal Szczesniak [Mon, 18 Sep 2006 17:32:13 +0000 (17:32 +0000)]
r18614: a bit of work done while on the plane.
a new function converting NTTIME to struct timeval
rafal
Günther Deschner [Mon, 18 Sep 2006 10:00:19 +0000 (10:00 +0000)]
r18611: Do not return NT_STATUS_OK when libnet_Add|DelShare has failed.
Guenther
Günther Deschner [Mon, 18 Sep 2006 09:58:53 +0000 (09:58 +0000)]
r18610: Fix typo.
Guenther
Günther Deschner [Mon, 18 Sep 2006 09:54:44 +0000 (09:54 +0000)]
r18609: error_string should not contain newlines.
Guenther
Stefan Metzmacher [Mon, 18 Sep 2006 09:02:50 +0000 (09:02 +0000)]
r18607: remove unused structure element
rafal: is there a reason why we don't use libnet_AddShare() in the torture test?
metze