Rafal Szczesniak [Thu, 30 Nov 2006 20:28:12 +0000 (20:28 +0000)]
r19971: typo fix
rafal
Rafal Szczesniak [Thu, 30 Nov 2006 19:51:58 +0000 (19:51 +0000)]
r19970: more comments and fixes
rafal
Stefan Metzmacher [Thu, 30 Nov 2006 13:34:17 +0000 (13:34 +0000)]
r19969: split become ads dc TODO lists into W2K and W2K3 sections
metze
Stefan Metzmacher [Thu, 30 Nov 2006 11:43:05 +0000 (11:43 +0000)]
r19968: add some more notes about what's needed for becoming a ads dc
metze
Stefan Metzmacher [Thu, 30 Nov 2006 11:18:18 +0000 (11:18 +0000)]
r19967: this unknowns are max_object_count and max_ndr_size
metze
Stefan Metzmacher [Thu, 30 Nov 2006 10:44:49 +0000 (10:44 +0000)]
r19966: we don't need 2 versions of this functions
metze
Stefan Metzmacher [Thu, 30 Nov 2006 10:16:19 +0000 (10:16 +0000)]
r19965: make the output a bit nicer
metze
Stefan Metzmacher [Thu, 30 Nov 2006 10:03:54 +0000 (10:03 +0000)]
r19964: make debuging easier and report usefull error messages
metze
Jeremy Allison [Thu, 30 Nov 2006 03:25:07 +0000 (03:25 +0000)]
r19960: Add code to check for loops in the free list.
Should help us validate tdb's against corruption.
Jeremy.
Rafal Szczesniak [Wed, 29 Nov 2006 22:10:15 +0000 (22:10 +0000)]
r19956: remove unused function
rafal
Stefan Metzmacher [Wed, 29 Nov 2006 20:03:19 +0000 (20:03 +0000)]
r19954: allow more special dn's:
this works now against w2k3:
bin/ldbedit -U administrator%test -H ldap://w2k3-101/ -b "<GUID=
44087590-dd95-435c-adc1-
ec20a50807be>" -s base
bin/ldbedit -U administrator%test -H ldap://w2k3-101/ -b "<SID=S-1-5-21-
769185814-
1958994947-
1641909093-513>" -s base
bin/ldbedit -U administrator%test -H ldap://w2k3-101/ -b "<WKGUID=
AB8153B7768811D1ADED00C04FD8D5CD,DC=w2k3,dc=vmnet1,dc=vm,dc=base>" -s base
and we should try to implement this in the server too...
metze
Paul Green [Wed, 29 Nov 2006 18:44:54 +0000 (18:44 +0000)]
r19952: Fix socketpair() test case to write to fd(1) and read from fd(0) because
when pipe files are substituting for unix domain sockets, pipes provide
only uni-directional i/o capabilities.
Stefan Metzmacher [Wed, 29 Nov 2006 17:55:21 +0000 (17:55 +0000)]
r19951: this statement is true...
metze
Stefan Metzmacher [Wed, 29 Nov 2006 15:40:26 +0000 (15:40 +0000)]
r19949: add comment that the configuration_dn needs to be looked up
it's not under the domain_dn if the domain is a child domain
in the forest
metze
Rafal Szczesniak [Tue, 28 Nov 2006 21:03:39 +0000 (21:03 +0000)]
r19938: Return function status instead of rpc layer status. This is
needed to correctly return STATUS_MORE_ENTRIES and the like.
rafal
Rafal Szczesniak [Tue, 28 Nov 2006 21:01:10 +0000 (21:01 +0000)]
r19937: fix sending monitor message (spotted by metze).
rafal
Stefan Metzmacher [Tue, 28 Nov 2006 17:30:43 +0000 (17:30 +0000)]
r19934: - allow to pass a samr_UserInfo21 struct to be passed to libnet_SetPassword()
- as the SetUserInfo2() levels 26/25 and 24/23 have the same encryption
but 26 and 24 change only the password and 25 and 23 take a info21 and change the password,
we now use 26 with fallback to 24 or 25 with fallback to 23.
- use samr_SetUserInfo2() to match what w2k3 does (works also against nt4)
- pass the info21 to libnet_SetPassword() to set acct_flags and full_name
together with the password (to match what w2k3 does)
metze
Stefan Metzmacher [Tue, 28 Nov 2006 16:05:10 +0000 (16:05 +0000)]
r19933: something is really wrong here...
mimir: please take a look!
metze
Stefan Metzmacher [Tue, 28 Nov 2006 13:30:15 +0000 (13:30 +0000)]
r19931: remove unused struct members
metze
Rafal Szczesniak [Mon, 27 Nov 2006 23:48:19 +0000 (23:48 +0000)]
r19926: display user listing created by the test.
rafal
Rafal Szczesniak [Mon, 27 Nov 2006 22:40:53 +0000 (22:40 +0000)]
r19925: Close the lsa handle in the end, and test calling libnet_UserList
with non-zero resume index to continue longer enumeration.
rafal
Rafal Szczesniak [Mon, 27 Nov 2006 21:56:44 +0000 (21:56 +0000)]
r19924: win2k3srv did not like that combination.
rafal
Rafal Szczesniak [Mon, 27 Nov 2006 21:56:14 +0000 (21:56 +0000)]
r19923: Update test to match the function changes.
rafal
Rafal Szczesniak [Mon, 27 Nov 2006 21:55:24 +0000 (21:55 +0000)]
r19922: Use new composite_create functions in composite context
initialisation.
Redesign libnet_UserList function to actually do what it
was intended to do.
rafal
Simo Sorce [Mon, 27 Nov 2006 05:32:35 +0000 (05:32 +0000)]
r19911: talloc_apsrintf is not really required here
its faster this way (another 2-4%s)
Simo Sorce [Sun, 26 Nov 2006 21:50:24 +0000 (21:50 +0000)]
r19910: Make better use of our set of talloc utility functions
Simo Sorce [Sun, 26 Nov 2006 21:49:25 +0000 (21:49 +0000)]
r19909: Make this one double as fast
Jelmer Vernooij [Sun, 26 Nov 2006 16:06:11 +0000 (16:06 +0000)]
r19908: Fix order of paths in pc files.
Simo Sorce [Sun, 26 Nov 2006 06:04:35 +0000 (06:04 +0000)]
r19907: this function is used a lot
use a binary search to get the right handler
Simo Sorce [Sun, 26 Nov 2006 04:39:17 +0000 (04:39 +0000)]
r19906: ldb_attr_cmp is used a lot
remove unneded overhead of a function call
Simo Sorce [Sun, 26 Nov 2006 03:59:01 +0000 (03:59 +0000)]
r19905: use ldb_dn_new_fmt() to avoid double strdups
Simo Sorce [Sat, 25 Nov 2006 19:28:09 +0000 (19:28 +0000)]
r19904: port fies from samba3
Simo Sorce [Sat, 25 Nov 2006 19:27:42 +0000 (19:27 +0000)]
r19903: This is a cut&paste error for sure
there is no ongoing transaction in this code
Stefan Metzmacher [Sat, 25 Nov 2006 18:57:47 +0000 (18:57 +0000)]
r19902: give better errors...
metze
Volker Lendecke [Sat, 25 Nov 2006 17:19:42 +0000 (17:19 +0000)]
r19901: Fix a potential NULL dereference
Volker Lendecke [Sat, 25 Nov 2006 17:00:55 +0000 (17:00 +0000)]
r19897: Fix klokwork ids 2278 and 2279
Simo Sorce [Sat, 25 Nov 2006 15:43:56 +0000 (15:43 +0000)]
r19888: make it possible to use default attrib handlers from extensions
list more DN attributes as part of samba attribute handlers
(nCName moved here)
Simo Sorce [Sat, 25 Nov 2006 15:42:22 +0000 (15:42 +0000)]
r19887: return "" string only if the dn is a valid one
Simo Sorce [Sat, 25 Nov 2006 15:41:12 +0000 (15:41 +0000)]
r19886: ncName is specific to samba, not the generic ldb engine
Stefan Metzmacher [Sat, 25 Nov 2006 14:59:59 +0000 (14:59 +0000)]
r19885: special dn's were not casefolded before rev 19831,
act like this again...
also when we already have a casefoled value we should not call ldb_dn_casefold_internal()
metze
Stefan Metzmacher [Sat, 25 Nov 2006 14:49:17 +0000 (14:49 +0000)]
r19884: rename ldb_dn_key -> ltdb_index_key to make more clear what it's for...
metze
Jelmer Vernooij [Fri, 24 Nov 2006 17:05:04 +0000 (17:05 +0000)]
r19882: Fix static link flags in pkg-config files. Should allow running
pidl tests on systems without shared libs.
Jelmer Vernooij [Fri, 24 Nov 2006 16:45:42 +0000 (16:45 +0000)]
r19881: Add private library flags when linking to static libraries.
Jelmer Vernooij [Fri, 24 Nov 2006 16:31:42 +0000 (16:31 +0000)]
r19880: Eliminate duplicates in the output.
Jelmer Vernooij [Fri, 24 Nov 2006 16:21:23 +0000 (16:21 +0000)]
r19879: Make test targets depend on "libraries" (might be required for the pidl tests)
Jelmer Vernooij [Fri, 24 Nov 2006 16:08:57 +0000 (16:08 +0000)]
r19878: Announce testsuites when using subunit.
Jelmer Vernooij [Fri, 24 Nov 2006 15:56:31 +0000 (15:56 +0000)]
r19877: Add simple script for summarizing subunit testresults.
Stefan Metzmacher [Fri, 24 Nov 2006 15:56:18 +0000 (15:56 +0000)]
r19876: test that we can do a session setup and tree connect using the workstation
and dc credentials
I noticed w2k3 has gets NT_STATUS_LOGON_FAILURE after a it has joined a samba4 domain
metze
Stefan Metzmacher [Fri, 24 Nov 2006 15:50:18 +0000 (15:50 +0000)]
r19875: set torture:host and torture:share also when we are given a binding string
metze
Simo Sorce [Thu, 23 Nov 2006 22:30:46 +0000 (22:30 +0000)]
r19871: simplify more
Simo Sorce [Thu, 23 Nov 2006 22:11:47 +0000 (22:11 +0000)]
r19870: Simplify code
Simo Sorce [Thu, 23 Nov 2006 22:06:07 +0000 (22:06 +0000)]
r19869: fix memleaks
Jelmer Vernooij [Thu, 23 Nov 2006 20:59:09 +0000 (20:59 +0000)]
r19868: Fix more tests.
Jelmer Vernooij [Thu, 23 Nov 2006 18:26:55 +0000 (18:26 +0000)]
r19866: Fix test compilation.
Jelmer Vernooij [Thu, 23 Nov 2006 18:03:11 +0000 (18:03 +0000)]
r19863: Create -uninstalled.pc files. This should reenable compilation and running
of the pidl testsuite as part of the testsuite.
Jelmer Vernooij [Thu, 23 Nov 2006 17:50:47 +0000 (17:50 +0000)]
r19862: Fix list concatenation
Jelmer Vernooij [Thu, 23 Nov 2006 17:27:04 +0000 (17:27 +0000)]
r19861: Add simple pkg-config replacement.
Jelmer Vernooij [Thu, 23 Nov 2006 16:02:20 +0000 (16:02 +0000)]
r19859: Reuse referrent ids when pushing full pointers (still need to
avoid pushing the referred object twice) and add test for full pointers.
Jelmer Vernooij [Thu, 23 Nov 2006 13:48:01 +0000 (13:48 +0000)]
r19856: Use sptr as basis for full ptr implementation. Will add checks for duplicates later.
Stefan Metzmacher [Thu, 23 Nov 2006 13:12:47 +0000 (13:12 +0000)]
r19855: toplevel pointers are 'ref' by default:
- we don't need to add 'ref' explicit
- we some toplevel pointers need to be 'ptr' ('sptr' for now) pointers
metze
Stefan Metzmacher [Thu, 23 Nov 2006 13:11:08 +0000 (13:11 +0000)]
r19854: readd support for 'sptr' pointers, to work against windows servers
until jelmer commits his 'ptr' support
metze
Jelmer Vernooij [Thu, 23 Nov 2006 00:34:31 +0000 (00:34 +0000)]
r19850: Fix IDL warnings.
Stefan Metzmacher [Wed, 22 Nov 2006 18:40:27 +0000 (18:40 +0000)]
r19847: add idl for DsRemoveDSServer(), this is used when a server unbecomes a DC
metze
Jelmer Vernooij [Wed, 22 Nov 2006 18:06:08 +0000 (18:06 +0000)]
r19846: Fix bunch of IDL warnings.
Jelmer Vernooij [Wed, 22 Nov 2006 17:13:19 +0000 (17:13 +0000)]
r19845: Add warning for pointer_default_top()
Jelmer Vernooij [Wed, 22 Nov 2006 16:55:21 +0000 (16:55 +0000)]
r19844: Fix warnings and errors in epmapper IDL.
Jelmer Vernooij [Wed, 22 Nov 2006 16:54:45 +0000 (16:54 +0000)]
r19843: Fix warning.
Jelmer Vernooij [Wed, 22 Nov 2006 16:53:30 +0000 (16:53 +0000)]
r19842: Complain about unknown pointer types.
Fallback to "unique" when "ptr" is specified instead of failing.
Jelmer Vernooij [Wed, 22 Nov 2006 14:56:40 +0000 (14:56 +0000)]
r19836: Fix warnings in some IDL files.
Jelmer Vernooij [Wed, 22 Nov 2006 13:59:14 +0000 (13:59 +0000)]
r19834: Prevent some inaccurate warnings.
Simo Sorce [Wed, 22 Nov 2006 02:05:19 +0000 (02:05 +0000)]
r19832: better prototypes for the linearization functions:
- ldb_dn_get_linearized
returns a const string
- ldb_dn_alloc_linearized
allocs astring with the linearized dn
Simo Sorce [Wed, 22 Nov 2006 00:59:34 +0000 (00:59 +0000)]
r19831: Big ldb_dn optimization and interfaces enhancement patch
This patch changes a lot of the code in ldb_dn.c, and also
removes and add a number of manipulation functions around.
The aim is to avoid validating a dn if not necessary as the
validation code is necessarily slow. This is mainly to speed up
internal operations where input is not user generated and so we
can assume the DNs need no validation. The code is designed to
keep the data as a string if possible.
The code is not yet 100% perfect, but pass all the tests so far.
A memleak is certainly present, I'll work on that next.
Simo.
Jelmer Vernooij [Tue, 21 Nov 2006 23:21:08 +0000 (23:21 +0000)]
r19830: Warn about non-ref top-level pointers.
Jelmer Vernooij [Tue, 21 Nov 2006 23:15:57 +0000 (23:15 +0000)]
r19829: Update documentation.
Andrew Bartlett [Mon, 20 Nov 2006 20:58:00 +0000 (20:58 +0000)]
r19805: Add the (harmless, but apparently default)
NTLMSSP_NEGOTIATE_ALWAYS_SIGN flags into the default set.
Andrew Bartlett
Volker Lendecke [Sun, 19 Nov 2006 17:56:35 +0000 (17:56 +0000)]
r19790: Check in the PIDL change and the converted unixinfo and winbind pipes without
waiting for comments. This is what version control is for, and it does fix a
segfault I ran into ;-)
Nevertheless, Jelmer & Jerry, please take a look!
Thanks,
Volker
Andrew Bartlett [Fri, 17 Nov 2006 11:27:33 +0000 (11:27 +0000)]
r19761: This may need work, but here is an initial implementation of
DsWriteAccountSpn().
It passes the client toture test.
Andrew Bartlett
Andrew Bartlett [Fri, 17 Nov 2006 11:19:15 +0000 (11:19 +0000)]
r19760: Create a DC account for the drsuapi tests to work on, rather than
choosing an existing DC.
Allow to skip some tests under Samba4.
Andrew Bartlett
Andrew Bartlett [Fri, 17 Nov 2006 05:17:32 +0000 (05:17 +0000)]
r19759: Allow a join to occour against ncacn_ip_tcp again (useful for torture
tests). The issue is that Win2k3 SP1 will not answer many LSA
requests on that port (I think this is as a security measure).
In this case, we need to skip ahead in the composite functions.
We were also checking the wrong variable to determine sucess/failure
of the LsaOpenPolicy2.
Andrew Bartlett
Andrew Bartlett [Fri, 17 Nov 2006 01:21:13 +0000 (01:21 +0000)]
r19757: Don't do the strrchr twice. Pointed out by Martin Kuhl.
Andrew Bartlett
Rafal Szczesniak [Thu, 16 Nov 2006 23:40:35 +0000 (23:40 +0000)]
r19753: verify result of received request before sending the next one.
I don't know why I forgot this...
rafal
Jelmer Vernooij [Thu, 16 Nov 2006 22:13:44 +0000 (22:13 +0000)]
r19752: Remove support for the `depends' attribute (use "import") instead.
Jelmer Vernooij [Thu, 16 Nov 2006 22:11:32 +0000 (22:11 +0000)]
r19751: Add some tests for parsing the "include", "import" and "importlib" statements.
Stefan Metzmacher [Thu, 16 Nov 2006 11:15:02 +0000 (11:15 +0000)]
r19743: merge from samba3:
remove old unused schema module
metze
Stefan Metzmacher [Thu, 16 Nov 2006 11:11:30 +0000 (11:11 +0000)]
r19742: fix compiler warnings
metze
Stefan Metzmacher [Thu, 16 Nov 2006 11:05:37 +0000 (11:05 +0000)]
r19740: fix compiler warning
metze
Stefan Metzmacher [Thu, 16 Nov 2006 10:52:17 +0000 (10:52 +0000)]
r19738: tp3 is already released, so we have tp4-svn now
metze
Stefan Metzmacher [Thu, 16 Nov 2006 10:48:51 +0000 (10:48 +0000)]
r19737: - add some more CLDAP rootdse tests
- don't ignore CLDAP rootdse errors anymore
metze
Stefan Metzmacher [Thu, 16 Nov 2006 10:47:15 +0000 (10:47 +0000)]
r19736: handle rootdse call via CLDAP
metze
Stefan Metzmacher [Thu, 16 Nov 2006 10:42:07 +0000 (10:42 +0000)]
r19735: report the LDAP error code in the CLDAP replies to the caller
metze
Stefan Metzmacher [Thu, 16 Nov 2006 10:37:21 +0000 (10:37 +0000)]
r19734: display LDAP error code nicer
metze
Andrew Bartlett [Thu, 16 Nov 2006 09:55:58 +0000 (09:55 +0000)]
r19733: More work to fix ldb_map. With the wildcard present,
map_attr_find_local() always returns, which is exactly what we don't
want. Instead, rely on the overwrite behaviour.
Andrew Bartlett
Andrew Bartlett [Thu, 16 Nov 2006 09:34:19 +0000 (09:34 +0000)]
r19732: The 'res' from ldb_search is only valid if the call returns LDB_SUCCESS.
This seems to show up (as an abort() from talloc) particularly under
ldb_ildap.
Andrew Bartlett
Andrew Bartlett [Thu, 16 Nov 2006 09:16:17 +0000 (09:16 +0000)]
r19731: Modify the ldb_map infrustructure to always map from requested
attributes to backend (remote) attributes.
We can't do a reverse mapping safely where the remote attribute may be
a source for multiple local attributes. (We end up with the wrong
attributes returned).
In doing this, I've modified the samba3sam.js test to be more
realistic, and fixed some failures in the handling of primaryGroupID.
I've added a new (private) helper function ldb_msg_remove_element() to
avoid a double lookup of the element name.
I've also re-formatted many of the function headers, to fit into
standard editor widths.
Andrew Bartlett
Stefan Metzmacher [Wed, 15 Nov 2006 18:33:53 +0000 (18:33 +0000)]
r19729: - split basedn related tests to a new function
- and add some 'netlogon' attriubte related tests
metze
Stefan Metzmacher [Wed, 15 Nov 2006 18:14:37 +0000 (18:14 +0000)]
r19727: make it possible to run the ldap.js tests against non global catalog servers
metze
Stefan Metzmacher [Wed, 15 Nov 2006 17:35:24 +0000 (17:35 +0000)]
r19726: when a client explicit asks for the 'netlogon' attriubute on LDAP
the result entry is skipped!
metze
Stefan Metzmacher [Wed, 15 Nov 2006 17:08:45 +0000 (17:08 +0000)]
r19724: add a helper functions to return an CLDAP error
metze
Stefan Metzmacher [Wed, 15 Nov 2006 17:01:26 +0000 (17:01 +0000)]
r19723: don't use [,],(,) in test names to make the build-farm output happy
metze
Stefan Metzmacher [Wed, 15 Nov 2006 16:53:32 +0000 (16:53 +0000)]
r19722: fix memory leaks and hierachie bugs
metze