13 years agor6540: Implement a bunch more SAMR functions.
Tim Potter [Sun, 1 May 2005 02:40:00 +0000 (02:40 +0000)]
r6540: Implement a bunch more SAMR functions.
(This used to be commit 7ab240644ec6cfd0449df7e2dfe0eb1b8a52ccdb)

13 years agor6539: A patch from jbm:
Tim Potter [Sun, 1 May 2005 01:31:23 +0000 (01:31 +0000)]
r6539: A patch from jbm:

  - convert rpcclient to new credential code
  - allow anonymous connections
(This used to be commit f40977c42145e202ddfe50c9a7daad624b06cc59)

13 years agor6538: Somehow building shared libraries was broken. Either AC_CANONICAL_HOST
Tim Potter [Sun, 1 May 2005 00:00:37 +0000 (00:00 +0000)]
r6538: Somehow building shared libraries was broken.  Either AC_CANONICAL_HOST
or AC_CANONICAL_SYSTEM needs to be called in order for $host_os to be
(This used to be commit d05cb53399d98804fd8590c10a3db43deb53180a)

13 years agor6534: Patch from lieschen to fix our vital user creation tools :-)
Andrew Bartlett [Sat, 30 Apr 2005 12:30:36 +0000 (12:30 +0000)]
r6534: Patch from lieschen to fix our vital user creation tools :-)

Andrew Bartlett
(This used to be commit 1a1f0bd33c8e9ad89df0073aa9c2e42822ec7903)

13 years agor6531: fixed gentest with new credentials code
Andrew Tridgell [Sat, 30 Apr 2005 09:59:17 +0000 (09:59 +0000)]
r6531: fixed gentest with new credentials code
(This used to be commit 3e610e3952867658a59424301a6ef0573e0a0c1f)

13 years agor6530: the server ID of a connection in the single process model should be
Andrew Tridgell [Sat, 30 Apr 2005 09:54:58 +0000 (09:54 +0000)]
r6530: the server ID of a connection in the single process model should be
based on the new socket fd, not the listening socket!

this fixes locktest with -M single
(This used to be commit 3e1b2742db818629fb79d12d40279db8dd575279)

13 years agor6529: fixed locktest with new credentials code
Andrew Tridgell [Sat, 30 Apr 2005 09:47:32 +0000 (09:47 +0000)]
r6529: fixed locktest with new credentials code
(This used to be commit 70b4a687c01a05b752438f39146ad0a240c976d5)

13 years agor6528: - in tdb_fetch() we effectively disallowed zero length records by
Andrew Tridgell [Sat, 30 Apr 2005 09:04:14 +0000 (09:04 +0000)]
r6528: - in tdb_fetch() we effectively disallowed zero length records by
  returning NULL/0, which is the same as we used for a failure. Having
  to look at tdb->ecode (which we never do) is too error prone.

  Instead, tdb_fetch() should behave like malloc() and talloc(), where
  zero length is not special and malloc(0) returns a valid pointer.

- similarly in data_blob(), asking for data_blob(NULL, 0) should
  return a zero blob, but asking for data_blob(ptr, 0) should return a
  zero length blob with a valid pointer, just like talloc() and malloc()

This change fixes the SummaryInformation stream stored in the tdb
backend when manipulated from w2k. The w2k client was using
SET_EOF_INFORMATION to create a zero-length stream, which we return
STATUS_NOT_FOUND on, as the tdb_fetch() gave us back a NULL/0 blob,
which we returned as not-found
(This used to be commit 162bbe4402b9de6ac06103df904b9fc204fbff29)

13 years agor6527: Resurrect getntacl utility program. At the moment we only display the
Tim Potter [Sat, 30 Apr 2005 08:38:32 +0000 (08:38 +0000)]
r6527: Resurrect getntacl utility program.  At the moment we only display the
output of ndr_print_xattr_NTACL() to stdout.
(This used to be commit b32c159c384c988385f13bbb16e610d825820e18)

13 years agor6526: Rename this RPC fault. Everybody else calls this ACCESS_DENIED, and
Andrew Bartlett [Sat, 30 Apr 2005 08:17:13 +0000 (08:17 +0000)]
r6526: Rename this RPC fault.  Everybody else calls this ACCESS_DENIED, and
it certainly doesn't make sense as LOGON_FAILURE.

Andrew Bartlett
(This used to be commit 4bec3d3f378ed8b988e00441c9bb5718b8548ba6)

13 years agor6525: Remove incorrect comment.
Andrew Bartlett [Sat, 30 Apr 2005 08:15:44 +0000 (08:15 +0000)]
r6525: Remove incorrect comment.

Andrew Bartlett
(This used to be commit 7c8a0d86d4c486198ed2cf52fad2a878ed635c8b)

13 years agor6524: Fix the error we print when the RPC-ECHO test fails.
Andrew Bartlett [Sat, 30 Apr 2005 08:14:33 +0000 (08:14 +0000)]
r6524: Fix the error we print when the RPC-ECHO test fails.

Andrew Bartlett
(This used to be commit 4fc2a056cd38de7b3e2bc972958b5c104ba57ba7)

13 years agor6523: Another string that isn't filled in. I wonder why this is, but for
Andrew Bartlett [Sat, 30 Apr 2005 08:13:39 +0000 (08:13 +0000)]
r6523: Another string that isn't filled in.  I wonder why this is, but for
now don't fail the test.

Andrew Bartlett
(This used to be commit 437aabf15ef7c5eead4bec45eb7e10a77f392b84)

13 years agor6522: I have no idea why this change was made, but it not only breaks
Andrew Bartlett [Sat, 30 Apr 2005 08:09:47 +0000 (08:09 +0000)]
r6522: I have no idea why this change was made, but it not only breaks
connections to Win2k3, it doesn't match the well-known behaviour from

Andrew Bartlett
(This used to be commit 99c9afe45a345e78d7492fe01463922460d66e99)

13 years agor6521: Include system/network.h to fix compiler warning.
Tim Potter [Sat, 30 Apr 2005 04:46:54 +0000 (04:46 +0000)]
r6521: Include system/network.h to fix compiler warning.
(This used to be commit 45383f6cec3c380043be59f1e1c5bf82f3095abb)

13 years agor6520: Fix unused variable warning.
Tim Potter [Sat, 30 Apr 2005 04:46:17 +0000 (04:46 +0000)]
r6520: Fix unused variable warning.
(This used to be commit 36de31a63189dcc6126dd0c10b1af8d183d8c235)

13 years agor6519: move string handling functions to a seperate file
Stefan Metzmacher [Fri, 29 Apr 2005 19:16:39 +0000 (19:16 +0000)]
r6519: move string handling functions to a seperate file

(This used to be commit a29d52817ce943c15f6896b74273df739867c8f7)

13 years agor6518: fix formatting
Stefan Metzmacher [Fri, 29 Apr 2005 19:15:19 +0000 (19:15 +0000)]
r6518: fix formatting

(This used to be commit 44f943f88111c5bb913a97e652041c701a78849a)

13 years agor6517: this line should be removed in the last patch, (I readded it just for testing...)
Stefan Metzmacher [Fri, 29 Apr 2005 19:01:18 +0000 (19:01 +0000)]
r6517: this line should be removed in the last patch, (I readded it just for testing...)

(This used to be commit 41316e7f1b8361fb7ff220e2b9faa683a4951850)

13 years agor6516: use only one list of scalar types and make "string" just a simple scalar type...
Stefan Metzmacher [Fri, 29 Apr 2005 18:31:39 +0000 (18:31 +0000)]
r6516: use only one list of scalar types and make "string" just a simple scalar type (mostly)

(This used to be commit ba1686e31a0d70a1fddabf4289d20fa8fe13b566)

13 years agor6513: Commit talloc_free_children.
Volker Lendecke [Thu, 28 Apr 2005 14:54:17 +0000 (14:54 +0000)]
r6513: Commit talloc_free_children.

(This used to be commit 9fa26d2c971a7baee64d8938e31909cac80f0e5a)

13 years agor6512: Refactor samr torture test to use the nicer OO interface instead of the
Tim Potter [Thu, 28 Apr 2005 07:52:32 +0000 (07:52 +0000)]
r6512: Refactor samr torture test to use the nicer OO interface instead of the
previous dictionary based SWIG interface (which was broken anyway).
(This used to be commit 16b7e503bdbe4da96158e504790b1501a99d6db3)

13 years agor6511: Implement GetUserPwInfo(), QueryUserInfo(), QueryUserInfo2().
Tim Potter [Thu, 28 Apr 2005 07:51:41 +0000 (07:51 +0000)]
r6511: Implement GetUserPwInfo(), QueryUserInfo(), QueryUserInfo2().
(This used to be commit f9742de617b6f1f24b75ae5af18a476f03c0b732)

13 years agor6510: Initialise rid parameter in samr_RidToSid(). This is faulting for me
Tim Potter [Thu, 28 Apr 2005 07:44:49 +0000 (07:44 +0000)]
r6510: Initialise rid parameter in samr_RidToSid().  This is faulting for me
on win2k - not sure why.

Add dodgy implementations of QueryDisplayInfo{,2,3}()
(This used to be commit 2e44402751f77fcbd9c89299d8533e91207de49f)

13 years agor6509: fixed a crash bug found by in RPC-RAP test
Andrew Tridgell [Thu, 28 Apr 2005 07:30:36 +0000 (07:30 +0000)]
r6509: fixed a crash bug found by in RPC-RAP test
(the call freed the memory it used to fill in the result structure)
(This used to be commit b352ef1a4282ddadf85e635112ff51dc3222a854)

13 years agor6508: Fix typo - yay testsuite.
Tim Potter [Thu, 28 Apr 2005 07:22:21 +0000 (07:22 +0000)]
r6508: Fix typo - yay testsuite.
(This used to be commit 61da936dbc491d0ec2d733d9ba155c3df01b8847)

13 years agor6507: Fix syntax error in GetAliasMembership().
Tim Potter [Thu, 28 Apr 2005 07:05:48 +0000 (07:05 +0000)]
r6507: Fix syntax error in GetAliasMembership().

Implement SetDomainInfo() which got lost somehow.
(This used to be commit 3055addde60687acdcf4e92dcb08e7f8dfdfb8f1)

13 years agor6506: Rename parameter to GetDomPwInfo.
Tim Potter [Thu, 28 Apr 2005 06:36:00 +0000 (06:36 +0000)]
r6506: Rename parameter to GetDomPwInfo.
(This used to be commit 1542a13493bb9bf33d5f09dca273957bb4333862)

13 years agor6504: Fix incorrect value for SERVICE_STATE_ALL found by Karl Melcher.
Tim Potter [Thu, 28 Apr 2005 00:51:57 +0000 (00:51 +0000)]
r6504: Fix incorrect value for SERVICE_STATE_ALL found by Karl Melcher.
(This used to be commit f7051365584f536e4b4df20157019272c26d0e33)

13 years agor6498: Add comments in line with those I already added to 3.0.
Andrew Bartlett [Wed, 27 Apr 2005 00:48:39 +0000 (00:48 +0000)]
r6498: Add comments in line with those I already added to 3.0.

Please don't re-invent security=server :-)

Andrew Bartlett
(This used to be commit b3a38e9c8ce9758db31aec53db29290a240868be)

13 years agor6487: Use autoconf for standalone build of tdb
Jelmer Vernooij [Tue, 26 Apr 2005 11:10:55 +0000 (11:10 +0000)]
r6487: Use autoconf for standalone build of tdb
(This used to be commit 78bf8026bde34b7accc78f07c940ef1dcfc0dea7)

13 years agor6486: Add 'make install' and pkg-config file.
Jelmer Vernooij [Tue, 26 Apr 2005 10:58:54 +0000 (10:58 +0000)]
r6486: Add 'make install' and pkg-config file.
(This used to be commit e3be094fb7b0c0fec50abcb4b242414e84a9a32d)

13 years agor6485: Move LDAP detection M4 file and use it for the standalone ldb build
Jelmer Vernooij [Tue, 26 Apr 2005 09:02:00 +0000 (09:02 +0000)]
r6485: Move LDAP detection M4 file and use it for the standalone ldb build
Remove a couple of unused M4 macros.

The standalone LDB build will not work until I've figured out what
AC_CHECK_LIB_EXT() does exactly (it's Samba-specific)
(This used to be commit cc20d6bb7f06e077ebe4c366e545e187a0c79472)

13 years agor6484: fix NTLMSSP client against w2k and w2k3
Stefan Metzmacher [Tue, 26 Apr 2005 07:21:34 +0000 (07:21 +0000)]
r6484: fix NTLMSSP client against w2k and w2k3

if we use lm_response = data_blob(NULL, 0);


(abartlet: we should maybe also give this error in our server code)

(This used to be commit be5e301442c442a37bb6756d12b9f1452d634a17)

13 years agor6483: fix anonymous connections, '-U %' or '-U ""%""' can be used for this
Stefan Metzmacher [Tue, 26 Apr 2005 07:10:43 +0000 (07:10 +0000)]
r6483: fix anonymous connections, '-U %' or '-U ""%""' can be used for this

(This used to be commit d31b4d7df375c0d4ea962a0df1693778d56f03ec)

13 years agor6481: change download instructions to include tdb and talloc
Andrew Tridgell [Tue, 26 Apr 2005 04:19:03 +0000 (04:19 +0000)]
r6481: change download instructions to include tdb and talloc
(This used to be commit ebe7071b2e93db93d7963211fce6ef02bc9e978e)

13 years agor6480: fixed whitespace typo
Andrew Tridgell [Tue, 26 Apr 2005 04:12:29 +0000 (04:12 +0000)]
r6480: fixed whitespace typo
(This used to be commit 1265c9b8a89177db94de5a8e188b666914c1d33c)

13 years agor6479: - added a simple web page
Andrew Tridgell [Tue, 26 Apr 2005 04:02:57 +0000 (04:02 +0000)]
r6479: - added a simple web page

- fixed ordering
(This used to be commit 5a727d74d74ec23f4c33695bf5665db1ce1bc49f)

13 years agor6478: Add 'make install' and a pkg-config file
Jelmer Vernooij [Tue, 26 Apr 2005 03:59:59 +0000 (03:59 +0000)]
r6478: Add 'make install' and a pkg-config file
(This used to be commit c8e1b7542736bd674b8407872dbbe3a9941fce59)

13 years agor6477: Remove call to autoheader as autogenerated header files are not used
Jelmer Vernooij [Tue, 26 Apr 2005 03:42:02 +0000 (03:42 +0000)]
r6477: Remove call to autoheader as autogenerated header files are not used
by talloc
(This used to be commit 5ca8a852067c34fed86f70be7f157714ecdd5501)

13 years agor6474: - added a simple talloc web page at
Andrew Tridgell [Tue, 26 Apr 2005 03:03:54 +0000 (03:03 +0000)]
r6474: - added a simple talloc web page at

- make it easier to seperataly build talloc for other projects
(This used to be commit 27b987d267603977be8798e7e5412b91e18a316b)

13 years agor6470: Remove ldb_search_free() it is not needed anymore.
Simo Sorce [Mon, 25 Apr 2005 12:46:18 +0000 (12:46 +0000)]
r6470: Remove ldb_search_free() it is not needed anymore.
Just use talloc_free() to release the memory after an ldb_search().
(This used to be commit 4f0948dab0aa5e8b6a4ce486f3668ca8dfae23db)

13 years agor6469: Add CreateDomainGroup, GetAliasMembership.
Tim Potter [Mon, 25 Apr 2005 12:15:19 +0000 (12:15 +0000)]
r6469: Add CreateDomainGroup, GetAliasMembership.
(This used to be commit acf1d0a1b554736361f38bcd74961d4e6c1b12bd)

13 years agor6468: Fix LOCAL-NTLMSSP test with new NTLMSSP structure.
Andrew Bartlett [Mon, 25 Apr 2005 12:13:38 +0000 (12:13 +0000)]
r6468: Fix LOCAL-NTLMSSP test with new NTLMSSP structure.

Andrew Bartlett
(This used to be commit 8d503fb153c25580c06dd13ca83df47f9e434c7a)

13 years agor6467: keep the compiler quiet with another entry in structs.h
Andrew Bartlett [Mon, 25 Apr 2005 11:51:35 +0000 (11:51 +0000)]
r6467: keep the compiler quiet with another entry in structs.h

Andrew Bartlett
(This used to be commit 106047032fe269f02c8ef71937e9d2e4ae0a4eb7)

13 years agor6466: Spelling.
Tim Potter [Mon, 25 Apr 2005 11:47:41 +0000 (11:47 +0000)]
r6466: Spelling.
(This used to be commit 764b96792655be550d3c7065cb290bc6ea2b5133)

13 years agor6465: Use talloc_zero for the gensec_ntlmssp_state structure, as the history
Andrew Bartlett [Mon, 25 Apr 2005 10:58:46 +0000 (10:58 +0000)]
r6465: Use talloc_zero for the gensec_ntlmssp_state structure, as the history
of this code has too many pre-zeroed structure assumptions.

Remove unused 'stub' functions

Andrew Bartlett
(This used to be commit 78dc57c65513ba4c271308d84fc2a2a533f76061)

13 years agor6464: Remove the last of the Samba3 NTLMSSP API. This removes the rudundent
Andrew Bartlett [Mon, 25 Apr 2005 10:33:00 +0000 (10:33 +0000)]
r6464: Remove the last of the Samba3 NTLMSSP API.  This removes the rudundent
struct ntlmssp_state, and pushes all the member elements into struct

This also removes the 2-layer start function, caused by the previous
double abstraction layer.

Andrew Bartlett
(This used to be commit eebbb4205b335214d24974f3be825846f6227f0c)

13 years agor6463: Move NTLM2 and NTLM (v1) specific variables into a union for DCE/RPC.
Andrew Bartlett [Mon, 25 Apr 2005 09:23:56 +0000 (09:23 +0000)]
r6463: Move NTLM2 and NTLM (v1) specific variables into a union for DCE/RPC.

Andrew Bartlett
(This used to be commit 227f2578da140067734f55b559760871ee4d0d12)

13 years agor6462: Move the arcfour sbox state into it's own structure, and allocate it
Andrew Bartlett [Mon, 25 Apr 2005 08:26:53 +0000 (08:26 +0000)]
r6462: Move the arcfour sbox state into it's own structure, and allocate it
with talloc() for the NTLMSSP system.

Andrew Bartlett
(This used to be commit 7a93ac49c28d433ccf0f077294f473fe728b9995)

13 years agor6460: Push the client credentials into NTLMSSP, allowing logins of the form
Andrew Bartlett [Mon, 25 Apr 2005 06:33:20 +0000 (06:33 +0000)]
r6460: Push the client credentials into NTLMSSP, allowing logins of the form
user@REALM for the first time.

Fix the build for smbencrypt.c

Andrew Bartlett
(This used to be commit 5a6a57cd93e22e612bfbb8a8f7bc29269a9a3ac6)

13 years agor6458: Split up NTLMSSP into a new directory, and into seperate files for the
Andrew Bartlett [Mon, 25 Apr 2005 05:03:50 +0000 (05:03 +0000)]
r6458: Split up NTLMSSP into a new directory, and into seperate files for the
client and server logic code.  In future, this may allow us to build
only the NTLMSSP client, and not the server, but in the short-term, it
allows me greater sainity in moving around these files.

Andrew Bartlett
(This used to be commit 2f22841c6753e3d5816c12bd463b71f74e1d8796)

13 years agor6457: Simply the RPC server code for the choice of GENSEC mech - it's just
Andrew Bartlett [Mon, 25 Apr 2005 04:06:59 +0000 (04:06 +0000)]
r6457: Simply the RPC server code for the choice of GENSEC mech - it's just
one function call now, so no need for a wrapper function.

Andrew Bartlett
(This used to be commit c023f5c5e8c0aec6317e49105b92bc9d186ce11e)

13 years agor6456: The RPC-SCHANNEL test is an important test that passes against Win2k3 (well...
Andrew Bartlett [Mon, 25 Apr 2005 04:05:41 +0000 (04:05 +0000)]
r6456: The RPC-SCHANNEL test is an important test that passes against Win2k3 (well, not SP1, but we are working on that detail).

Andrew Bartlett
(This used to be commit b35b82d4f1bf6e277c7cd71c9d61221e30da6c58)

13 years agor6455: Remove wrapper functions, and ntlmssp_end (which is well handed by talloc...
Andrew Bartlett [Mon, 25 Apr 2005 03:48:02 +0000 (03:48 +0000)]
r6455: Remove wrapper functions, and ntlmssp_end (which is well handed by talloc() now).

Andrew Bartlett
(This used to be commit fc3e3653ebc3accf94f9264d2bbfe1cb71b017d0)

13 years agor6454: Start to migrate NTLMSSP away from it's own API to just use GENSEC.
Andrew Bartlett [Mon, 25 Apr 2005 03:37:37 +0000 (03:37 +0000)]
r6454: Start to migrate NTLMSSP away from it's own API to just use GENSEC.

The aim here is to remove the extra layer of abstraction, and to then
use the credentials code directly in the NTLMSSP layer.

Andrew Bartlett
(This used to be commit b14c530dfd3e56975dea7e30aa8d62d4f2827700)

13 years agor6453: Move verbose errors for the schannel 'not in the DB, or DB corrupt' error...
Andrew Bartlett [Mon, 25 Apr 2005 03:28:17 +0000 (03:28 +0000)]
r6453: Move verbose errors for the schannel 'not in the DB, or DB corrupt' error cases.

Andrew Bartlett
(This used to be commit 24f98f32aae3b8c45283715b27fa67b1d2e5c0f2)

13 years agor6452: This particular credentials feature needs to be NULL by default.
Andrew Bartlett [Mon, 25 Apr 2005 03:03:28 +0000 (03:03 +0000)]
r6452: This particular credentials feature needs to be NULL by default.

Andrew Bartlett
(This used to be commit e4e221705306c63986f384938bbab5006caeec2e)

13 years agor6451: Ensure we correctly initialise the credentials structure in the schannel test.
Andrew Bartlett [Mon, 25 Apr 2005 03:02:30 +0000 (03:02 +0000)]
r6451: Ensure we correctly initialise the credentials structure in the schannel test.

Andrew Bartlett
(This used to be commit 7e554e31d93c6f0c3968dfcb774b3135573d97b1)

13 years agor6442: Add mechanism for configuring ldb independantly of the rest of
Jelmer Vernooij [Sat, 23 Apr 2005 04:30:58 +0000 (04:30 +0000)]
r6442: Add mechanism for configuring ldb independantly of the rest of
Samba using the autoconf tools.
(This used to be commit a8de35ca27e307d1be6ebad517b7012a5de30567)

13 years agor6440: Adding libcli composite functions dependency, as we need to locate
Rafal Szczesniak [Sat, 23 Apr 2005 03:01:21 +0000 (03:01 +0000)]
r6440: Adding libcli composite functions dependency, as we need to locate
a host and connect to its services prior to doing administrative tasks
via rpc calls.

(This used to be commit 84f5836d9012fb66c8aa5706a57af575711693cf)

13 years agor6439: Clarify the comment.
Rafal Szczesniak [Sat, 23 Apr 2005 02:59:53 +0000 (02:59 +0000)]
r6439: Clarify the comment.

(This used to be commit 96c3838d51c71318fdda3d1691552eba1feafb7d)

13 years agor6432: Restorin previous construction of conditions after a little discussion
Rafal Szczesniak [Fri, 22 Apr 2005 15:13:01 +0000 (15:13 +0000)]
r6432: Restorin previous construction of conditions after a little discussion
with Richard and Andrew.

(This used to be commit 400f6d5f87c7a0b49bfd289521a3cf4af2586235)

13 years agor6430: Delete existing test account if, for some reason, it hasn't been
Rafal Szczesniak [Fri, 22 Apr 2005 05:11:53 +0000 (05:11 +0000)]
r6430: Delete existing test account if, for some reason, it hasn't been
deleted last time running the test.

(This used to be commit 91df25a795b3754c9445af6ade53cbc89ec4a545)

13 years agor6426: DCE/RPC bind string parsing is not needed anymore, as we use
Rafal Szczesniak [Fri, 22 Apr 2005 00:32:37 +0000 (00:32 +0000)]
r6426: DCE/RPC bind string parsing is not needed anymore, as we use
lp_workgroup parameter as domain name to operate on.

(This used to be commit ea251d4f79c96145b4c14074d258aeb07c742f41)

13 years agor6425: Yet another comment.
Rafal Szczesniak [Fri, 22 Apr 2005 00:22:11 +0000 (00:22 +0000)]
r6425: Yet another comment.

(This used to be commit de3409d6e5f7d199654e0511ed61a4b0808bf48d)

13 years agor6424: More comments and fixes to existing ones.
Rafal Szczesniak [Thu, 21 Apr 2005 23:25:38 +0000 (23:25 +0000)]
r6424: More comments and fixes to existing ones.

(This used to be commit 25dd10cedb7247ec90dface59df8704c97e667b8)

13 years agor6420: Close user account handle before calling tested function to better
Rafal Szczesniak [Thu, 21 Apr 2005 12:22:48 +0000 (12:22 +0000)]
r6420: Close user account handle before calling tested function to better
simulate real conditions of calling the function.

(This used to be commit 2518122c9e230639db253ff02de1843cb3448198)

13 years agor6419: Fix strange behaviour of NET-USERDEL where account doesn't actually
Rafal Szczesniak [Thu, 21 Apr 2005 12:21:14 +0000 (12:21 +0000)]
r6419: Fix strange behaviour of NET-USERDEL where account doesn't actually
gets deleted.

(This used to be commit f78d1e4b35c7cb3d983da0bcb2717627b787d9f9)

13 years agor6415: Added NET-USERDEL torture test which proves something's wrong
Rafal Szczesniak [Thu, 21 Apr 2005 07:25:16 +0000 (07:25 +0000)]
r6415: Added NET-USERDEL torture test which proves something's wrong
with user del function.

(This used to be commit a6b191188294c447fc4942c632fe905984048834)

13 years agor6414: Added composite user del function. Slightly broken still, but I don't
Rafal Szczesniak [Thu, 21 Apr 2005 07:24:16 +0000 (07:24 +0000)]
r6414: Added composite user del function. Slightly broken still, but I don't
want it to hang around not commited.

(This used to be commit 98d98b9bc7437e744e1e730fa8005b43fb1b672b)

13 years agor6406: Include new NET-USERADD test in torture suite.
Rafal Szczesniak [Thu, 21 Apr 2005 01:01:26 +0000 (01:01 +0000)]
r6406: Include new NET-USERADD test in torture suite.

(This used to be commit 0dc416b8e4bcab319b2fc66fa15c49f490492664)

13 years agor6405: Complete NET-USERADD torture test for user add composite function.
Rafal Szczesniak [Thu, 21 Apr 2005 01:00:30 +0000 (01:00 +0000)]
r6405: Complete NET-USERADD torture test for user add composite function.

(This used to be commit 76fb84c1ee2896f762278b0c5592ab418d6cf87c)

13 years agor6390: A couple of changes in useradd function regarding pointers.
Rafal Szczesniak [Tue, 19 Apr 2005 15:13:18 +0000 (15:13 +0000)]
r6390: A couple of changes in useradd function regarding pointers.

(This used to be commit d40a6703f5b1987c08cf47f83ca0079dfcb4b151)

13 years agor6389: Incomplete test of composite useradd function.
Rafal Szczesniak [Tue, 19 Apr 2005 15:11:58 +0000 (15:11 +0000)]
r6389: Incomplete test of composite useradd function.

(This used to be commit 7539397240414a736bd581b85821635837d16a2e)

13 years agor6384: Formatting fixes.
Rafal Szczesniak [Tue, 19 Apr 2005 03:57:57 +0000 (03:57 +0000)]
r6384: Formatting fixes.

(This used to be commit ebf151ca6e740fb7939161de14a0adfc47f80010)

13 years agor6383: Add user management file to build.
Rafal Szczesniak [Tue, 19 Apr 2005 03:57:23 +0000 (03:57 +0000)]
r6383: Add user management file to build.

(This used to be commit c40e754700ff4068569ed2d3f8a8117d5d2f281c)

13 years agor6382: New structure for useradd call.
Rafal Szczesniak [Tue, 19 Apr 2005 03:56:44 +0000 (03:56 +0000)]
r6382: New structure for useradd call.

(This used to be commit 3752122550dcdd1d954c602a28f4b6ad26fe3a0e)

13 years agor6381: Started working on user account management functions.
Rafal Szczesniak [Tue, 19 Apr 2005 03:55:58 +0000 (03:55 +0000)]
r6381: Started working on user account management functions.

(This used to be commit 7f3aafca07126f2c42670041020b2b7dfb17fa5f)

13 years agor6361: Update howto and provisioning script with the moves made in r6207.
Tim Potter [Sun, 17 Apr 2005 00:45:49 +0000 (00:45 +0000)]
r6361: Update howto and provisioning script with the moves made in r6207.
(This used to be commit e2f127b4d822c98668e20e724a4ca91b320092b3)

13 years agor6360: Quieten unused variable warning.
Tim Potter [Sun, 17 Apr 2005 00:07:40 +0000 (00:07 +0000)]
r6360: Quieten unused variable warning.
(This used to be commit 5a598f5da17b60ad52b2ae9d8e4484286e492a1f)

13 years agor6359: Fix compiler warning with struct sockaddr. I'm sure I fixed this a few
Tim Potter [Sun, 17 Apr 2005 00:06:46 +0000 (00:06 +0000)]
r6359: Fix compiler warning with struct sockaddr.  I'm sure I fixed this a few
weeks ago - weird.
(This used to be commit 1738761d895461260dcba0dd81630cfa0ec43ae8)

13 years agor6353: we need the english output from the svn commands
Stefan Metzmacher [Fri, 15 Apr 2005 15:36:53 +0000 (15:36 +0000)]
r6353: we need the english output from the svn commands

(This used to be commit ccedfc9fe72d837186e80a54e6ecd8406e83d1fa)

13 years agor6352: Two new composite calls:
Alexander Bokovoy [Fri, 15 Apr 2005 14:45:00 +0000 (14:45 +0000)]
r6352: Two new composite calls:

- qfsinfo (query file system information)
- appendacl (append an ACL to existing file's security descriptor and get new
full ACL)

The second one also includes an improvement to security descriptor handling
which allows to copy security descriptor. Written by Peter Novodvorsky

Both functions have corresponding torture tests added. Tested under valgrind and
work against Samba 4 and Windows XP.

ToDo: document composite call creation process in prog_guide.txt
(This used to be commit 441cff62ac75ed16851ce7b8daf9d03eb4c3ec79)

13 years agor6350: Add a newline to make things look prettier.
Tim Potter [Fri, 15 Apr 2005 07:15:45 +0000 (07:15 +0000)]
r6350: Add a newline to make things look prettier.
(This used to be commit 0e6be68dafb8979bcc2cb633c816e3f80e9441c1)

13 years agor6342: fixed a bad union assumption that caused ACLs to fail on 64 bit machines
Andrew Tridgell [Thu, 14 Apr 2005 13:19:40 +0000 (13:19 +0000)]
r6342: fixed a bad union assumption that caused ACLs to fail on 64 bit machines

Thanks to lars and agruen for finding this
(This used to be commit 2acc06918574b1178eecf3d61026f84f85bb40e1)

13 years agor6341: fixed the schannel idl to handle dotted names correctly
Andrew Tridgell [Thu, 14 Apr 2005 08:44:28 +0000 (08:44 +0000)]
r6341: fixed the schannel idl to handle dotted names correctly
(This used to be commit 2873c0e917e172f8f3186ad93c154f51198c352b)

13 years agor6340: - added an easy to use function to initialise a temporary ldb with some ldif
Andrew Tridgell [Thu, 14 Apr 2005 08:24:36 +0000 (08:24 +0000)]
r6340: - added an easy to use function to initialise a temporary ldb with some ldif

- init the schannel.ldb with some CASE_INSENSITIVE attributes
(This used to be commit e6376b24303dc513e15c7e640c8c1c8d8ca11091)

13 years agor6339: set the NBT_SERVER_LDAP and NBT_SERVER_KDC bits based on config
Andrew Tridgell [Thu, 14 Apr 2005 08:00:45 +0000 (08:00 +0000)]
r6339: set the NBT_SERVER_LDAP and NBT_SERVER_KDC bits based on config
(andrew, please fix the method of sseeing if we do krb5, if you can
think of a better one)
(This used to be commit 4c2207c946fa7bb6a8ba32ac82256c424b5d0d3c)

13 years agor6338: ADS style GETDC response now works well enough that WinXP can join
Andrew Tridgell [Thu, 14 Apr 2005 07:40:23 +0000 (07:40 +0000)]
r6338: ADS style GETDC response now works well enough that WinXP can join
Samba4 without Samba3 nmbd
(This used to be commit f4d07d7d3b6973b503d8c98f177471dd6cebfa92)

13 years agor6335: at debug level 10, save netlogon and ntlogon packets that fail to parse
Andrew Tridgell [Thu, 14 Apr 2005 05:55:32 +0000 (05:55 +0000)]
r6335: at debug level 10, save netlogon and ntlogon packets that fail to parse
(This used to be commit c29279355c679e821665d028f207ee9ed6f857ef)

13 years agor6333: removed an extraneous line (pointed out by metze)
Andrew Tridgell [Thu, 14 Apr 2005 05:52:54 +0000 (05:52 +0000)]
r6333: removed an extraneous line (pointed out by metze)
(This used to be commit 61d65d100d38529966f3f1803f66ed47540dc852)

13 years agor6331: added IDL and test suite for the ADS style response to a datagram netlogon...
Andrew Tridgell [Thu, 14 Apr 2005 02:36:30 +0000 (02:36 +0000)]
r6331: added IDL and test suite for the ADS style response to a datagram netlogon query.

Note that this response is almost identical to the CLDAP netlogon
response, so adding that will now be quite easy.
(This used to be commit 1ea4ed4ad1d9336f8288283688fa2d7bebfa533c)

13 years agor6329: Write tests for newly implemented alias functions.
Tim Potter [Wed, 13 Apr 2005 07:15:43 +0000 (07:15 +0000)]
r6329: Write tests for newly implemented alias functions.
(This used to be commit 30d0c9fb2ededb86e40b985820a426f8df84053b)

13 years agor6328: Fix bug in OpenAlias.
Tim Potter [Wed, 13 Apr 2005 07:14:33 +0000 (07:14 +0000)]
r6328: Fix bug in OpenAlias.

Implement DeleteDomAlias, QueryAliasInfo, SetAliasInfo,
AddAliasMember, and AddMultipleMembersToAlias.

Fix one of those annoying large integer warnings.
(This used to be commit 25ed39651b020c9e4bda1d8aa8e2d78f918be3a2)

13 years agor6327: Add LSA objects to dcerpc swig library.
Tim Potter [Wed, 13 Apr 2005 07:13:00 +0000 (07:13 +0000)]
r6327: Add LSA objects to dcerpc swig library.
(This used to be commit b6e883a613e35ec3d5541a45efb80345578e2460)

13 years agor6326: Add %array_functions for struct lsa_SidPtr.
Tim Potter [Wed, 13 Apr 2005 07:12:17 +0000 (07:12 +0000)]
r6326: Add %array_functions for struct lsa_SidPtr.

Pull in the auto-generated interface file for the lsa pipe
(whaddayaknow it compiled first go!)
(This used to be commit fd884ec433c825759624a47541521cbd3d07f5a1)

13 years agor6325: Rename aliasname -> alias_name in CreateDomAlias function.
Tim Potter [Wed, 13 Apr 2005 06:26:43 +0000 (06:26 +0000)]
r6325: Rename aliasname -> alias_name in CreateDomAlias function.
(This used to be commit 63dfa9b80649928baf72687381fcfb6dd4d20032)

13 years agor6324: Pass server name instead of binding string on command line (always use
Tim Potter [Wed, 13 Apr 2005 05:57:51 +0000 (05:57 +0000)]
r6324: Pass server name instead of binding string on command line (always use
ncacn_np for the moment).

Fix rpcclient to work with struct cli_credentials.
(This used to be commit 162d3609a1f46683151d201a5404d0456d76b726)

13 years agor6323: added server side support for dgram NTLOGON requests. NT4 workstations can...
Andrew Tridgell [Wed, 13 Apr 2005 05:50:02 +0000 (05:50 +0000)]
r6323: added server side support for dgram NTLOGON requests. NT4 workstations can now login
to a Samba4 domain.
(This used to be commit df146d64ebce6b462c08a1f30919390fcf8196cb)