bbaumbach/samba-autobuild/.git
16 years agor11259: Map system_name and handle fields to new hf fields.
Tim Potter [Sat, 22 Oct 2005 07:03:33 +0000 (07:03 +0000)]
r11259: Map system_name and handle fields to new hf fields.
(This used to be commit 9be707bc4d07ef47f332ef5019549044bc239e03)

16 years agor11258: Dissect all access_required fields as hex using the same hf.
Tim Potter [Sat, 22 Oct 2005 01:12:46 +0000 (01:12 +0000)]
r11258: Dissect all access_required fields as hex using the same hf.
(This used to be commit 4365462dc62d78eb433748262c5ca7feb16be785)

16 years agor11257: Add and use output function
Jelmer Vernooij [Fri, 21 Oct 2005 22:49:23 +0000 (22:49 +0000)]
r11257: Add and use output function
(This used to be commit 734da63a4e7ff44d9417066300383bbf7cd08d8f)

16 years agor11254: Remove support for [TARGET:foo]-like .mk-file entries
Jelmer Vernooij [Fri, 21 Oct 2005 21:53:49 +0000 (21:53 +0000)]
r11254: Remove support for [TARGET:foo]-like .mk-file entries
(it is already possible to include verbatim make data)
(This used to be commit 21e355d031c6233ed0f40207d716987931927c6c)

16 years agor11252: Make makefile.pm OO and descend from env
Jelmer Vernooij [Fri, 21 Oct 2005 21:43:39 +0000 (21:43 +0000)]
r11252: Make makefile.pm OO and descend from env
(This used to be commit c53b32e0932ef6c048f8aec23ec6df2fe66a7887)

16 years agor11250: Fix a couple of issues in the heimdal/ dirs.
Jelmer Vernooij [Fri, 21 Oct 2005 21:00:02 +0000 (21:00 +0000)]
r11250: Fix a couple of issues in the heimdal/ dirs.
(This used to be commit f76374eba7d45b8ff2625914344e4b31ecdeca1d)

16 years agor11249: More OpenBSD make fixes...
Jelmer Vernooij [Fri, 21 Oct 2005 20:40:58 +0000 (20:40 +0000)]
r11249: More OpenBSD make fixes...
(This used to be commit 118e3bc507b2694f7e5ea191950626931d8ebf29)

16 years agor11248: Fix anon fallback with spnego
Volker Lendecke [Fri, 21 Oct 2005 19:31:36 +0000 (19:31 +0000)]
r11248: Fix anon fallback with spnego
(This used to be commit 13ebdea11532f4810d01095a54d430c36c91d826)

16 years agor11247: Add environment class
Jelmer Vernooij [Fri, 21 Oct 2005 19:24:13 +0000 (19:24 +0000)]
r11247: Add environment class
(This used to be commit 90c3f8b3beda525b700688fc4d6ed0584ff2e27c)

16 years agor11246: Another fix for OpenBSD's make
Jelmer Vernooij [Fri, 21 Oct 2005 19:14:43 +0000 (19:14 +0000)]
r11246: Another fix for OpenBSD's make
(This used to be commit f04072f7a9fe341efced4aff57cc061cf789d5bd)

16 years agor11245: Hopefully fix heimdal build on some hosts
Jelmer Vernooij [Fri, 21 Oct 2005 18:10:45 +0000 (18:10 +0000)]
r11245: Hopefully fix heimdal build on some hosts
Fix manpage locations
(This used to be commit 33c71c0fb13b55741f1b1fffc8945ccda6f3bf51)

16 years agor11244: Relative path names in .mk files
Jelmer Vernooij [Fri, 21 Oct 2005 16:29:54 +0000 (16:29 +0000)]
r11244: Relative path names in .mk files
(This used to be commit 24e10300906c380919d2d631bfb3b8fd6b3f54ba)

16 years agor11243: length and size can now be filled in automatically.
Jelmer Vernooij [Fri, 21 Oct 2005 13:06:21 +0000 (13:06 +0000)]
r11243: length and size can now be filled in automatically.
(This used to be commit 99444c129d08fe3e3e381b04c2da5ea5c9c10270)

16 years agor11241: - fix compiler warning
Stefan Metzmacher [Fri, 21 Oct 2005 10:08:40 +0000 (10:08 +0000)]
r11241: - fix compiler warning
- fix comment

metze
(This used to be commit 4f999625a164e58b87d915bbb2914038ea96162a)

16 years agor11239: Use ${REALM} for the realm in rootdse.ldif
Andrew Bartlett [Fri, 21 Oct 2005 01:25:55 +0000 (01:25 +0000)]
r11239: Use ${REALM} for the realm in rootdse.ldif

Add the kpasswd server to our KDC, implementing the 'original' and
Microsoft versions of the protocol.

This works with the Heimdal kpasswd client, but not with MIT, I think
due to ordering issues.  It may not be worth the pain to have this
code go via GENSEC, as it is very, very tied to krb5.

This gets us one step closer to joins from Apple, Samba3 and other
similar implementations.

Andrew Bartlett
(This used to be commit ab5dbbe10a162286aa6694c7e08de43b48e34cdb)

16 years agor11226: Cope with Samba3's behaviour on LDAP with GSS-SPNEGO.
Andrew Bartlett [Thu, 20 Oct 2005 13:11:06 +0000 (13:11 +0000)]
r11226: Cope with Samba3's behaviour on LDAP with GSS-SPNEGO.

Andrew Bartlett
(This used to be commit 4d9667f5a037eb15f6f0e4329314a37f148e9db7)

16 years agor11225: Remove pointless goto.
Andrew Bartlett [Thu, 20 Oct 2005 13:10:20 +0000 (13:10 +0000)]
r11225: Remove pointless goto.

Andrew Bartlett
(This used to be commit 30f4ece4d2e55d2d50061f74a491d3f77551a6ae)

16 years agor11223: Only pass around the ldb handle (make this code easier to seperate
Andrew Bartlett [Thu, 20 Oct 2005 11:19:52 +0000 (11:19 +0000)]
r11223: Only pass around the ldb handle (make this code easier to seperate
into a general lib).

Andrew Bartlett
(This used to be commit e3abbfca4ae3c06f34774edab5ed38ebd5ebc097)

16 years agor11222: Small provision fixes: canonicalName is now generated, and the DC=
Andrew Bartlett [Thu, 20 Oct 2005 11:19:03 +0000 (11:19 +0000)]
r11222: Small provision fixes: canonicalName is now generated, and the DC=
list should be from the dnsdomain (ie lowercae).

Andrew Bartlett
(This used to be commit 10d692a1c216134b301b5851ce1e71ed93cc6164)

16 years agor11221: I don't quite know how I tested this before, but clearly I didn't.
Andrew Bartlett [Thu, 20 Oct 2005 10:29:41 +0000 (10:29 +0000)]
r11221: I don't quite know how I tested this before, but clearly I didn't.
The samdb_set_password_sid helper function now works.

Andrew Bartlett
(This used to be commit 629595f27c3f721c4b317df871814ac5ba06be9c)

16 years agor11220: Add the ability to handle the salt prinicpal as part of the
Andrew Bartlett [Thu, 20 Oct 2005 10:28:16 +0000 (10:28 +0000)]
r11220: Add the ability to handle the salt prinicpal as part of the
credentials.  This works with the setup/secrets.ldif change from the
previous patch, and pretty much just re-invents the keytab.

Needed for kpasswdd work.

Andrew Bartlett
(This used to be commit cc9d167bab280eaeb793a5e7dfdf1f31be47fbf5)

16 years agor11219: Now that we have the credentials hooked in here, we have a much more
Andrew Bartlett [Thu, 20 Oct 2005 10:25:51 +0000 (10:25 +0000)]
r11219: Now that we have the credentials hooked in here, we have a much more
reasonable value to fill in for the mechListMIC.

Andrew Bartlett
(This used to be commit 51d78de2b79f4ab75c86c3255c23a478c6822a0e)

16 years agor11218: Always return the mutual authentication reply (needed for kpasswd),
Andrew Bartlett [Thu, 20 Oct 2005 10:21:04 +0000 (10:21 +0000)]
r11218: Always return the mutual authentication reply (needed for kpasswd),
and remove now duplicated unwrap_pac().

Andrew Bartlett
(This used to be commit 90642d54e02e09edc96b9498e66befda20dbb68d)

16 years agor11217: Ensure the realm is substituted in UPPER case.
Andrew Bartlett [Thu, 20 Oct 2005 10:18:45 +0000 (10:18 +0000)]
r11217: Ensure the realm is substituted in UPPER case.

Andrew Bartlett
(This used to be commit 0c29f0e30d64be09baad792eb2850aa0b8fa9981)

16 years agor11216: Upgrade to gd's PAC extraction code from Samba3. While I still want
Andrew Bartlett [Thu, 20 Oct 2005 10:15:31 +0000 (10:15 +0000)]
r11216: Upgrade to gd's PAC extraction code from Samba3.  While I still want
to make some this the kerberos library's problem, we may as well use
the best code that is around.

Andrew Bartlett
(This used to be commit a7fe3078a65f958499779f381731b408f3e6fb1f)

16 years agor11215: Remove no-op prompter intended to work around bugs in old kerberos libs.
Andrew Bartlett [Thu, 20 Oct 2005 10:10:40 +0000 (10:10 +0000)]
r11215: Remove no-op prompter intended to work around bugs in old kerberos libs.

I'm also worried this might cause loops, if we get a 'force password
change', and the prompter tries to 'deal with it'.

Andrew Bartlett
(This used to be commit 5bc10c4e472b45c5b5b0ea0c3dd100be6f4dabca)

16 years agor11214: Remove scons files (see http://lists.samba.org/archive/samba-technical/2005...
Jelmer Vernooij [Thu, 20 Oct 2005 10:04:57 +0000 (10:04 +0000)]
r11214: Remove scons files (see lists.samba.org/archive/samba-technical/2005-October/043443.html)
(This used to be commit 7fffc5c9178158249be632ac0ca179c13bd1f98f)

16 years agor11212: Enable sealing of data with raw krb5, consolidate some code into the
Andrew Bartlett [Thu, 20 Oct 2005 07:36:08 +0000 (07:36 +0000)]
r11212: Enable sealing of data with raw krb5, consolidate some code into the
main gensec_krb5_start and always ask for sequence numbers.

Andrew Bartlett
(This used to be commit 801cd6c6ffa96ac79eb425adf7c97eb2cfcbed4a)

16 years agor11211: Append an error message to COL_INFO if the RPC call returned an error.
Tim Potter [Thu, 20 Oct 2005 07:06:49 +0000 (07:06 +0000)]
r11211: Append an error message to COL_INFO if the RPC call returned an error.
(This used to be commit b70dd7a757e7341d90c89dffa7e1c4eab790020a)

16 years agor11210: Log registry open function name when starting hive tests.
Tim Potter [Thu, 20 Oct 2005 06:31:51 +0000 (06:31 +0000)]
r11210: Log registry open function name when starting hive tests.
(This used to be commit 3416a6d78f205f9d3fd73161cbed6dcd9c2bfdf8)

16 years agor11209: We can't read the priorSecret unless we ask for it.
Andrew Bartlett [Thu, 20 Oct 2005 05:09:58 +0000 (05:09 +0000)]
r11209: We can't read the priorSecret unless we ask for it.

Andrew Bartlett
(This used to be commit ee9a93688d31d8da91b81e9b0f6fac3fa4894c13)

16 years agor11208: Add DNS entries for finding the kpasswd server to the default zone.
Andrew Bartlett [Thu, 20 Oct 2005 05:09:14 +0000 (05:09 +0000)]
r11208: Add DNS entries for finding the kpasswd server to the default zone.

Andrew Bartlett
(This used to be commit 7e01ff11fdcd70b54e30b438076bf1293638c61e)

16 years agor11207: Correct principal search define
Andrew Bartlett [Thu, 20 Oct 2005 05:08:24 +0000 (05:08 +0000)]
r11207: Correct principal search define
(This used to be commit 90cf4f8e1a1051a58635e126d56118701875bc5d)

16 years agor11206: It appears to me that any account may operate as a server.
Andrew Bartlett [Thu, 20 Oct 2005 04:56:47 +0000 (04:56 +0000)]
r11206: It appears to me that any account may operate as a server.

Andrew Bartlett
(This used to be commit 3b6c9c7cbc1d5c4dd32d3c1db18ddbccbb8cf17a)

16 years agor11205: Another test for cracknames.
Andrew Bartlett [Thu, 20 Oct 2005 04:55:56 +0000 (04:55 +0000)]
r11205: Another test for cracknames.

Andrew Bartlett
(This used to be commit 3810282a24b8aea36627f43321e76f34057e3135)

16 years agor11204: Allow us to read credentials from secrets.ldb without a
Andrew Bartlett [Thu, 20 Oct 2005 04:53:42 +0000 (04:53 +0000)]
r11204: Allow us to read credentials from secrets.ldb without a
secureChannelType (non machine join records).

Andrew Bartlett
(This used to be commit 3dddf497ccf246af435e6e2802d8f3745f2e4fd3)

16 years agor11203: Use different variable names to make it easier to tell which assert fired.
Andrew Bartlett [Thu, 20 Oct 2005 04:35:30 +0000 (04:35 +0000)]
r11203: Use different variable names to make it easier to tell which assert fired.

Andrew Bartlett
(This used to be commit df6a40c2d261804f1cd4feb24572135a4c62a802)

16 years agor11202: Add more structs to structs.h
Andrew Bartlett [Thu, 20 Oct 2005 04:34:26 +0000 (04:34 +0000)]
r11202: Add more structs to structs.h
(This used to be commit b0f11d85214fe83a8ce738cfa597f5cf9f5d3897)

16 years agor11201: New filters for searching in secrets.ldb
Andrew Bartlett [Thu, 20 Oct 2005 03:55:35 +0000 (03:55 +0000)]
r11201: New filters for searching in secrets.ldb

Andrew Bartlett
(This used to be commit b48c6df60c15ee6134a49d163bed90ea8b85550b)

16 years agor11200: Reposition the creation of the kerberos keytab for GSSAPI and Krb5
Andrew Bartlett [Thu, 20 Oct 2005 03:47:55 +0000 (03:47 +0000)]
r11200: Reposition the creation of the kerberos keytab for GSSAPI and Krb5
authentication.  This pulls the creating of the keytab back to the
credentials code, and removes the special case of 'use keberos keytab
= yes' for now.

This allows (and requires) the callers to specify the credentials for
the server credentails to GENSEC.  This allows kpasswdd (soon to be
added) to use a different set of kerberos credentials.

The 'use kerberos keytab' code will be moved into the credentials
layer, as the layers below now expect a keytab.

We also now allow for the old secret to be stored into the
credentials, allowing service password changes.

Andrew Bartlett
(This used to be commit 205f77c579ac8680c85f713a76de5767189c627b)

16 years agor11199: Push an objectSid into the schannel state database, to match the new header.
Andrew Bartlett [Thu, 20 Oct 2005 03:38:01 +0000 (03:38 +0000)]
r11199: Push an objectSid into the schannel state database, to match the new header.

Andrew Bartlett
(This used to be commit a665b56085cbf89c6deaeef0deaed31fcbc07458)

16 years agor11198: The recent changes to netlogon changed this from a RID to a SID.
Andrew Bartlett [Thu, 20 Oct 2005 03:34:49 +0000 (03:34 +0000)]
r11198: The recent changes to netlogon changed this from a RID to a SID.

Andrew Bartlett
(This used to be commit 24dbf3435277a51dd49c5e2189fc6655260eddf4)

16 years agor11197: indent
Andrew Bartlett [Thu, 20 Oct 2005 03:21:34 +0000 (03:21 +0000)]
r11197: indent
(This used to be commit a432ba105cbf2ea7b9010365c0a7d1dcc9ff5f7f)

16 years agor11196: Clean up memory leaks (pointed out by vl), and handle the case where
Andrew Bartlett [Thu, 20 Oct 2005 03:20:43 +0000 (03:20 +0000)]
r11196: Clean up memory leaks (pointed out by vl), and handle the case where
the client doesn't guess correctly on the mech to use.  It must back
off and try the mech the server selected from the list.

I'm not particularly attached to our SPNEGO parser, so while I can't
easily use the SPNEGO application logic in Heimdal, I'm going to look
closely at using the asn1 routines to avoid some pain here.

Andrew Bartlett
(This used to be commit 929217387449270b60c3f825dca3b3cae5a4f9d1)

16 years agor11195: Add a new helper function (needed by my kpasswdd work, but hooked in
Andrew Bartlett [Thu, 20 Oct 2005 03:17:42 +0000 (03:17 +0000)]
r11195: Add a new helper function (needed by my kpasswdd work, but hooked in
for netlogon as well) to change/set a user's password, given only
their SID.

This avoids the callers doing the lookups, and also performs the
actual 'set', as these callers do not wish any further buisness with
the entry.

Andrew Bartlett
(This used to be commit 060a2a7bcca6b58d50bc4e0930c13616742a55d3)

16 years agor11194: Use the special ldb attribute "canonicalName" (therefore testing that
Andrew Bartlett [Thu, 20 Oct 2005 01:48:11 +0000 (01:48 +0000)]
r11194: Use the special ldb attribute "canonicalName" (therefore testing that
codepath) in DRSUAPI CrackNames.

Fix the NT4 account return value.

Andrew Bartlett
(This used to be commit 2513c02c64b489ebf167e33fdb4ac51ce8783c04)

16 years agor11193: Implement wbinfo -m
Volker Lendecke [Wed, 19 Oct 2005 21:53:03 +0000 (21:53 +0000)]
r11193: Implement wbinfo -m
(This used to be commit 12a800bc8541c4160a534d1edcaeb6774776e18d)

16 years agor11192: Too many contexts around... :-)
Volker Lendecke [Wed, 19 Oct 2005 21:19:49 +0000 (21:19 +0000)]
r11192: Too many contexts around... :-)
(This used to be commit 134e104c3ff39e5f3ebdaf9168df78a156490ed7)

16 years agor11189: add some more special group vs. special group tests,
Stefan Metzmacher [Wed, 19 Oct 2005 17:48:55 +0000 (17:48 +0000)]
r11189: add some more special group vs. special group tests,
to make sure that replicas from the same owner are blinding overwritten
in all cases

metze
(This used to be commit 466baf737aedf240ff372ab8e8c708299102d1fa)

16 years agor11188: - add multi homed vs. multi homed section
Stefan Metzmacher [Wed, 19 Oct 2005 16:52:50 +0000 (16:52 +0000)]
r11188: - add multi homed vs. multi homed section

metze
(This used to be commit 838323e58fe4e748a17100c4cd13788059dd12c6)

16 years agor11187: in case the msDS-KeyVersionNumber is replicated (I didn't assume this...)
Stefan Metzmacher [Wed, 19 Oct 2005 16:30:02 +0000 (16:30 +0000)]
r11187: in case the msDS-KeyVersionNumber is replicated (I didn't assume this...)
show the string in the debug output, and show it with
--option="dssync:print_pwd_blobs=yes"

metze
(This used to be commit 98c1e8e3df90c05691a12bb25357fd75da419c5c)

16 years agor11186: - get rid of some .extra = True cases
Stefan Metzmacher [Wed, 19 Oct 2005 16:25:58 +0000 (16:25 +0000)]
r11186: - get rid of some .extra = True cases
- add multihomed vs unique section
- update conflict handling for the above case

metze
(This used to be commit c043e56efd3d72cdd5b17c78512e12285c87f221)

16 years agor11185: - resolve attid for "supplementalCredentials" into a name
Stefan Metzmacher [Wed, 19 Oct 2005 15:34:39 +0000 (15:34 +0000)]
r11185: - resolve attid for "supplementalCredentials" into a name
- print "supplementalCredentials" also when --option="dssync:print_pwd_blobs=yes"
  is used

abartlet: this field may contain the krb5 keys...

metze
(This used to be commit 26c69348ca3ae10128df9832f8b4d9c1024631e2)

16 years agor11184: Remove test that checks whether ftruncate() needs root, because I can't
Jelmer Vernooij [Wed, 19 Oct 2005 14:35:25 +0000 (14:35 +0000)]
r11184: Remove test that checks whether ftruncate() needs root, because I can't
find the file it tries to use (build/tests/ftruncroot.c) and the value
it defines is not used anywhere.
(This used to be commit 97bbf4a46035becaee50d242364146e3529cf631)

16 years agor11182: Explicitly add "." to perl include path so that perl doesn't use the
Jelmer Vernooij [Wed, 19 Oct 2005 14:08:39 +0000 (14:08 +0000)]
r11182: Explicitly add "." to perl include path so that perl doesn't use the
Config module instead of the configure-generated config.pm on case-insensitive
filesystems (MacOSX, OpenVMS)
(This used to be commit 47b8095a0a0e7f352860999df3b131cab3e8a2b9)

16 years agor11181: Implement wbinfo -s and wbinfo --user-sids. The patch is so large because
Volker Lendecke [Wed, 19 Oct 2005 13:45:44 +0000 (13:45 +0000)]
r11181: Implement wbinfo -s and wbinfo --user-sids. The patch is so large because
--user-sids required the extension to trusted domains.

Implement "winbind sealed pipes" parameter for debugging purposes.

Volker
(This used to be commit 3821a17bdb68b2f1389b5a150502c057d28569d2)

16 years agor11179: revert to the old code, till jelmer find a solution how to
Stefan Metzmacher [Wed, 19 Oct 2005 09:43:48 +0000 (09:43 +0000)]
r11179: revert to the old code, till jelmer find a solution how to
handle a UTF16 string in a uint8 array

metze
(This used to be commit d13315f3b135228febcbe9b99d3550363c21da81)

16 years agor11178: add some logic functions for the replica_vs_replica conflict handling
Stefan Metzmacher [Wed, 19 Oct 2005 09:41:54 +0000 (09:41 +0000)]
r11178: add some logic functions for the replica_vs_replica conflict handling
to our winsrepl server, but it handles only the simple cases (without merging)
and we still didn't apply records to our wins.ldb, we just print out what we would do

metze
(This used to be commit e4edeeaa0a808c6bcdf022eec1257e796c1c0700)

16 years agor11177: move unique vs * and normal group vs * into this form
Stefan Metzmacher [Wed, 19 Oct 2005 07:47:29 +0000 (07:47 +0000)]
r11177: move unique vs * and normal group vs * into this form

ACTIVE vs ACTIVE
ACTIVE   vs TOMBSTONE
RELEASED vs ACTIVE
RELEASED vs TOMBSTONE
TOMBSTONE vs ACTIVE
TOMBSTONE vs TOMBSTONE

as it seems that is all we need to test,
and w2k3 only decides between ACTIVE and NON-ACTIVE (REALEASED or TOMBSTONE)
when it gets new replica objects

also I have removed all the extra test, we only test the worst cases now,
and this will make the algorithms more clear when you look at the output
of the NBT-WINSREPLICATION torture test

metze
(This used to be commit 7545e4e7160864f5feedd35cf90507e47d7cf469)

16 years agor11176: - add multi homed vs. special group section
Stefan Metzmacher [Wed, 19 Oct 2005 07:24:36 +0000 (07:24 +0000)]
r11176: - add multi homed vs. special group section

metze
(This used to be commit 62ddca0e1f3d7484b32df7f5a56eca4761289c00)

16 years agor11175: - add multi homed vs. normal group section
Stefan Metzmacher [Wed, 19 Oct 2005 07:12:26 +0000 (07:12 +0000)]
r11175: - add multi homed vs. normal group section

metze
(This used to be commit 891416b79eeec3d6c9391181f86b104b887774a2)

16 years agor11174: - add special group vs. multi homed section
Stefan Metzmacher [Wed, 19 Oct 2005 07:00:31 +0000 (07:00 +0000)]
r11174: - add special group vs. multi homed section
- disable special group vs. special group,
  I need to look closer at this, as I'm getting strange timeouts
  randomly, so the server might be doing some challegnes while
  doing the merging of special group records, witch reaches
  timeouts

metze
(This used to be commit 7479760cbf5fe818c31b7795dc43b413800a63bd)

16 years agor11173: print out the correct messages
Stefan Metzmacher [Wed, 19 Oct 2005 06:30:05 +0000 (06:30 +0000)]
r11173: print out the correct messages

metze
(This used to be commit d8e7e914bf29f7ae0b7cc1f47ea9f8cca210d8df)

16 years agor11172: - start with special group vs. special group testing
Stefan Metzmacher [Wed, 19 Oct 2005 06:13:53 +0000 (06:13 +0000)]
r11172: - start with special group vs. special group testing

metze
(This used to be commit ba2c100be6eb1d352df762d213fc197f11f69da5)

16 years agor11171: fix the build
Stefan Metzmacher [Wed, 19 Oct 2005 06:09:14 +0000 (06:09 +0000)]
r11171: fix the build

metze
(This used to be commit 0d948cf430f34757a17170cdd26ac6b87341a75f)

16 years agor11146: make sure we get the expected amount of addresses
Stefan Metzmacher [Tue, 18 Oct 2005 14:58:51 +0000 (14:58 +0000)]
r11146: make sure we get the expected amount of addresses

metze
(This used to be commit 9903a47151a96177e835ba45450ad12a2e969ee2)

16 years agor11144: - add special group vs. normal group section
Stefan Metzmacher [Tue, 18 Oct 2005 14:48:12 +0000 (14:48 +0000)]
r11144: - add special group vs. normal group section

metze
(This used to be commit 03a8ff89d0f40eed3a8e0f94d2e756d9c648b564)

16 years agor11142: - add special group vs. unique section
Stefan Metzmacher [Tue, 18 Oct 2005 14:18:58 +0000 (14:18 +0000)]
r11142: - add special group vs. unique section

metze
(This used to be commit ba1727623675def77d4bf3a9bf643f80c7e168c2)

16 years agor11141: Re-add paranoid string terminator check
Jelmer Vernooij [Tue, 18 Oct 2005 14:12:33 +0000 (14:12 +0000)]
r11141: Re-add paranoid string terminator check
(This used to be commit 55805b5ed9493160ff17c26d2e1361947f368707)

16 years agor11122: Fix some talloc hierarchy errors
Volker Lendecke [Mon, 17 Oct 2005 15:20:52 +0000 (15:20 +0000)]
r11122: Fix some talloc hierarchy errors
(This used to be commit 449cc714b882d6ebea3e1cbf92e204efba98b6cb)

16 years agor11121: - add normal groups vs. multihomed section
Stefan Metzmacher [Mon, 17 Oct 2005 15:12:03 +0000 (15:12 +0000)]
r11121: - add normal groups vs. multihomed section
- make sure we test the worst case,
  so that we don't need to test everything...
  - same ip(s) => not replace
  - different ip(s) => replace

metze
(This used to be commit 4a22ce09b4cad7bb3d60e45f25fb19c36efb8dec)

16 years agor11120: calling_name is used later in sesssetup_nt1, so hang the names to the right
Volker Lendecke [Mon, 17 Oct 2005 15:08:52 +0000 (15:08 +0000)]
r11120: calling_name is used later in sesssetup_nt1, so hang the names to the right
talloc context.

Volker
(This used to be commit 256cf928d786b2533953505aea20ec80a25c6929)

16 years agor11119: add normal group vs. special group section
Stefan Metzmacher [Mon, 17 Oct 2005 14:32:16 +0000 (14:32 +0000)]
r11119: add normal group vs. special group section

metze
(This used to be commit 13703b5c35e4473d0ab6b595f41f4cc35c18f81e)

16 years agor11117: add a normal group vs. normal group section
Stefan Metzmacher [Mon, 17 Oct 2005 14:12:54 +0000 (14:12 +0000)]
r11117: add a normal group vs. normal group section

metze
(This used to be commit 9a7689c745e9fa9f40c46fa041a502967fd93ccc)

16 years agor11116: - don't display cleanup updates
Stefan Metzmacher [Mon, 17 Oct 2005 13:17:42 +0000 (13:17 +0000)]
r11116: - don't display cleanup updates
- add unique vs. multi homed section

metze
(This used to be commit 7f8c26cd33a5dffd672d0995cf227177bc21a20e)

16 years agor11115: add unique vs special group section
Stefan Metzmacher [Mon, 17 Oct 2005 12:40:45 +0000 (12:40 +0000)]
r11115: add unique vs special group section

metze
(This used to be commit 980e1a39eb039ebef3ca750eaf67bb87fd6f6980)

16 years agor11114: - fixed error handling on bad bind in ildap client
Andrew Tridgell [Mon, 17 Oct 2005 11:50:34 +0000 (11:50 +0000)]
r11114: - fixed error handling on bad bind in ildap client

- added nicer error display, giving a string version of the error code
(This used to be commit 5ec486bb81536b38a5f40cae7555cbcbbfa52263)

16 years agor11113: fixed two small bugs in newuser
Andrew Tridgell [Mon, 17 Oct 2005 11:33:13 +0000 (11:33 +0000)]
r11113: fixed two small bugs in newuser

- randpass() is now in the random ejs module, not global

- don't dereference the undefined variable on getopt failure
(This used to be commit 7e338c23f5ac351b362a9e07fd81ec07bc700484)

16 years agor11112: listen on the global catalog ldap server port as well if we are a
Andrew Tridgell [Mon, 17 Oct 2005 11:32:20 +0000 (11:32 +0000)]
r11112: listen on the global catalog ldap server port as well if we are a
PDC. I suspect we should behave slightly differently on the two ports,
but this is a lot closer than not listening at all. When creating a
user with mmc the global catalog port is used to check for an existing
user
(This used to be commit f8430c3f41313d0a71cea23e1a2ef98f088aff44)

16 years agor11111: fixed a talloc error in the dn shortcut code
Andrew Tridgell [Mon, 17 Oct 2005 11:27:29 +0000 (11:27 +0000)]
r11111: fixed a talloc error in the dn shortcut code
(This used to be commit e28a334eeb8fa22f686d0c1dc48b2977d85b9e10)

16 years agor11110: make ldb_oom() also set the ldb error string
Andrew Tridgell [Mon, 17 Oct 2005 11:27:03 +0000 (11:27 +0000)]
r11110: make ldb_oom() also set the ldb error string
(This used to be commit b6e8018a3b2326c3d1df4811a0581c5c0967bfd3)

16 years agor11109: fixed the error code return from most ldb functions (the change to use
Andrew Tridgell [Mon, 17 Oct 2005 11:26:23 +0000 (11:26 +0000)]
r11109: fixed the error code return from most ldb functions (the change to use
ldb_transaction_cancel() broke it)
(This used to be commit dc41994ea72c7c7f571efa009930cf36d7a9897a)

16 years agor11108: - always test the old and new record
Stefan Metzmacher [Mon, 17 Oct 2005 10:55:50 +0000 (10:55 +0000)]
r11108: - always test the old and new record
- check that the record is the same as what we pushed to the server
  (we need to verify the ip-addresses later too...)

metze
(This used to be commit f59e90299d1060a3c61ee24bdf4a2a13aac1bccf)

16 years agor11107: Include 0 byte
Jelmer Vernooij [Mon, 17 Oct 2005 08:34:05 +0000 (08:34 +0000)]
r11107: Include 0 byte
(This used to be commit 407df9628e383822680af766dd94532e59397382)

16 years agor11106: Make the KDC handler plugable, as I want to drop kpasswdd into exactly
Andrew Bartlett [Mon, 17 Oct 2005 01:01:59 +0000 (01:01 +0000)]
r11106: Make the KDC handler plugable, as I want to drop kpasswdd into exactly
the same spot (it has identical TCP sementics).

Andrew Bartlett
(This used to be commit 84d6118e8762608af0945279d80ad0f898e693d9)

16 years agor11105: Warn if conformant arrays are not at the end of a struct
Jelmer Vernooij [Sun, 16 Oct 2005 23:47:09 +0000 (23:47 +0000)]
r11105: Warn if conformant arrays are not at the end of a struct
Support conformant [string] arrays
Eliminate utf8string

This breaks xattr binary compatibility with previous versions - is that a
problem?
(This used to be commit 7596c708ba6642473319a1b699a5a910a639e50d)

16 years agor11104: Fix LOCAL-PAC test
Jelmer Vernooij [Sun, 16 Oct 2005 23:39:13 +0000 (23:39 +0000)]
r11104: Fix LOCAL-PAC test
(This used to be commit 22d0e4a9bf853fe67c402ce3ba6d950e753ab4d2)

16 years agor11103: Eliminate ascstr
Jelmer Vernooij [Sun, 16 Oct 2005 19:21:17 +0000 (19:21 +0000)]
r11103: Eliminate ascstr
(This used to be commit c8a0511f37f8cff3e949ffda0bb7fae714d5bbb4)

16 years agor11102: Remove unistr_noterm
Jelmer Vernooij [Sun, 16 Oct 2005 19:12:02 +0000 (19:12 +0000)]
r11102: Remove unistr_noterm
(This used to be commit bb1ed44f45020f1e11d928f5130a889c11ee59c4)

16 years agor11101: Remove last instances of unistr
Jelmer Vernooij [Sun, 16 Oct 2005 18:59:57 +0000 (18:59 +0000)]
r11101: Remove last instances of unistr
(This used to be commit 7e057e6bdaf82bf8acdfc5d656dd75f367e70bf2)

16 years agor11100: Replace unistr with [string,charset(UTF16)]
Jelmer Vernooij [Sun, 16 Oct 2005 18:54:31 +0000 (18:54 +0000)]
r11100: Replace unistr with [string,charset(UTF16)]
(This used to be commit 48f45927ceb4f7d39c4cc47b3b843e43a53b7f2b)

16 years agor11099: Replace unistr with [string] equivalent
Jelmer Vernooij [Sun, 16 Oct 2005 18:33:56 +0000 (18:33 +0000)]
r11099: Replace unistr with [string] equivalent
(This used to be commit 6a8291c80ee814a6bdc092b3ef53f450f30b44a0)

16 years agor11098: Replace string with [string]
Jelmer Vernooij [Sun, 16 Oct 2005 17:17:57 +0000 (17:17 +0000)]
r11098: Replace string with [string]
(This used to be commit 1ac8c96349c1241f75f7a133cfefa0df5aaae18e)

16 years agor11097: Allow pointers in "const"
Jelmer Vernooij [Sun, 16 Oct 2005 17:17:42 +0000 (17:17 +0000)]
r11097: Allow pointers in "const"
(This used to be commit 88fcd56fb55ac3f7e1eef3b3c92a2593c79599d3)

16 years agor11096: Eliminate pointer_default_top()
Jelmer Vernooij [Sun, 16 Oct 2005 15:47:28 +0000 (15:47 +0000)]
r11096: Eliminate pointer_default_top()
(This used to be commit b773d848e854394f36351f97130a20a245367b2c)

16 years agor11095: Implement wb_getuserdomgroups.
Volker Lendecke [Sun, 16 Oct 2005 12:43:09 +0000 (12:43 +0000)]
r11095: Implement wb_getuserdomgroups.

Tridge, if you have the time, you might want to look at a problem I'm having
with unix domain stream sockets. From a comment in this commit:

/* Using composite_trigger_error here causes problems with the client
 * socket. Linux 2.6.8 gives me a ECONNRESET on the next read after
 * writing the reply when I don't wait the 100 milliseconds. */

This is in winbind/wb_cmd_userdomgroups.c:93.

The problem I have is that I can not *immediately* send an error reply to the
client because the next receive fails. Waiting 100 milliseconds helps. It
might also be a problem with epoll(), I don't really know.

I'd appreciate if you took a brief look at this, maybe I'm doing something
wrong.

Thanks,

Volker
(This used to be commit 3e535cce743710a68a4264e4f66e9c0c4d6770c6)

16 years agor11094: Connect to SAM, implement getdcname
Volker Lendecke [Sat, 15 Oct 2005 22:01:15 +0000 (22:01 +0000)]
r11094: Connect to SAM, implement getdcname
(This used to be commit a14398715eceecf204caf815a8769ba8214d0576)

16 years agor11093: Implement wb_queue_domain_send: If the domain is not yet initialized, do...
Volker Lendecke [Sat, 15 Oct 2005 19:18:05 +0000 (19:18 +0000)]
r11093: Implement wb_queue_domain_send: If the domain is not yet initialized, do that
first. And if a request is being processed, queue it. This correctly survived
3 endless loops with wbinfo's doing different things while starting up smbd.

The number of indirections starts to become a bit scary, but what can you do
without a decent programming language that provides closures :-)

One thing that we might consider is to auto-generate async rpc requests that
return composite_context structs instead of rpc_requests. Otherwise I'd have
to write a lot of wrappers like composite_netr_LogonSamLogon_send.

The alternative would be to write two versions of wb_queue_domain_send which I
would like to avoid. This is cluttered enough already.

Volker
(This used to be commit 66c1b674f9870de73cce0e611909caf9eff34baa)

16 years agor11092: run NBT-WINSREPLICATION-QUICK test with make test
Stefan Metzmacher [Sat, 15 Oct 2005 12:30:58 +0000 (12:30 +0000)]
r11092: run NBT-WINSREPLICATION-QUICK test with make test

metze
(This used to be commit 2577c02a5105449b759e7eeb00c446730dbe22d3)

16 years agor11091: add a NBT-WINSREPLICATION-QUICK test that passed the current samba4 server
Stefan Metzmacher [Sat, 15 Oct 2005 12:30:08 +0000 (12:30 +0000)]
r11091: add a NBT-WINSREPLICATION-QUICK test that passed the current samba4 server

metze
(This used to be commit 772467c8d487578b3541ffd1b1e07516097d1325)