bbaumbach/samba-autobuild/.git
16 years agor13149: DEBUG is a bad choice for 'net', it should print to stderr
Andrew Bartlett [Thu, 26 Jan 2006 01:59:07 +0000 (01:59 +0000)]
r13149: DEBUG is a bad choice for 'net', it should print to stderr

Andrew Bartlett
(This used to be commit 4dd6afa6d167fd04c1c3d4b4529b1cecf27eacaa)

16 years agor13144: This seems to be required for Samba4 to talk to Samba4, and to get the
Andrew Bartlett [Wed, 25 Jan 2006 22:47:10 +0000 (22:47 +0000)]
r13144: This seems to be required for Samba4 to talk to Samba4, and to get the
same session key.  I need to understand this more, but it works
samba/samba, and I don't have access to windows doing AES (longhorn)
yet.

Andrew Bartlett
(This used to be commit 38809b43a5d6bd668e9cb714573dc1e72ceff092)

16 years agor13131: windows sends termination here, this fixes access with regedit
Stefan Metzmacher [Wed, 25 Jan 2006 12:54:30 +0000 (12:54 +0000)]
r13131: windows sends termination here, this fixes access with regedit

metze
(This used to be commit 79293227d6186ba15177603ede2b8d8b33e16d3a)

16 years agor13129: fix the memory hierachie
Stefan Metzmacher [Wed, 25 Jan 2006 12:19:49 +0000 (12:19 +0000)]
r13129: fix the memory hierachie

metze
(This used to be commit 19205b8d89d3d7e99a65938f59412e0c4e8ac5fe)

16 years agor13128: init the private_data to NULL
Stefan Metzmacher [Wed, 25 Jan 2006 12:19:13 +0000 (12:19 +0000)]
r13128: init the private_data to NULL

so so that we don't crash when ntvfs_connect() fails

metze
(This used to be commit 96680f12001c67b6f6644654dfd74a86538d51b6)

16 years agor13123: Some small doc updates.
Jelmer Vernooij [Tue, 24 Jan 2006 23:38:43 +0000 (23:38 +0000)]
r13123: Some small doc updates.
(This used to be commit 9222fa359011e7bda02325785ee62d72e7d2a610)

16 years agor13117: the caller may reference the winsdb_addr struct,
Stefan Metzmacher [Tue, 24 Jan 2006 19:37:44 +0000 (19:37 +0000)]
r13117: the caller may reference the winsdb_addr struct,
and as a winsdb_record has a short lifetime, it's no problem
to not free unused addresses directly

metze
(This used to be commit 2a7e22c1171475976d26c6f23ab9c6a19703e718)

16 years agor13116: make sure we don't add more than 25 addresses to a record,
Stefan Metzmacher [Tue, 24 Jan 2006 19:14:08 +0000 (19:14 +0000)]
r13116: make sure we don't add more than 25 addresses to a record,
and don't return more than 25 in a name query reply

we now also order the addresses from the newest owned address
to the oldest replica address

metze
(This used to be commit 602ec0f1c66e6cb9e958e0e7cc10d3294737378a)

16 years agor13115: call the wins hook script on modifications of the wins.ldb
Stefan Metzmacher [Tue, 24 Jan 2006 19:07:40 +0000 (19:07 +0000)]
r13115: call the wins hook script on modifications of the wins.ldb

tridge: can you please look at the /* TODO: close file handles */
        btw I'm not interessted in any result from the script...

metze
(This used to be commit 93409faddf610e7fd6cc910a1e2fd32e69aa7c1d)

16 years agor13114: remove 'const' and make clear what the parameters are for
Stefan Metzmacher [Tue, 24 Jan 2006 18:40:53 +0000 (18:40 +0000)]
r13114: remove 'const' and make clear what the parameters are for

metze
(This used to be commit 317a3eefeef6b9da565a215ba152d829059c6f14)

16 years agor13113: 4.0.0tp1 has just released,
Stefan Metzmacher [Tue, 24 Jan 2006 18:37:00 +0000 (18:37 +0000)]
r13113: 4.0.0tp1 has just released,
so change the version to 4.0.0tp2-SVN-build-X

metze
(This used to be commit 10a172163f8fde62c085864ea6fbfa1a7108c3ca)

16 years agor13112: merge over some stuff from samba3
Stefan Metzmacher [Tue, 24 Jan 2006 18:35:01 +0000 (18:35 +0000)]
r13112: merge over some stuff from samba3

metze
(This used to be commit 7cb4e1bd0471f0c03fde25f6171565d74ab0549f)

16 years agor13111: w2k3 uses the naxVersion id for calculating the notification,
Stefan Metzmacher [Tue, 24 Jan 2006 17:36:13 +0000 (17:36 +0000)]
r13111: w2k3 uses the naxVersion id for calculating the notification,
so we do now

metze
(This used to be commit e48a47aa650781ebe79425f41eee925f358ceb96)

16 years agor13107: Follow the lead of Heimdal's kpasswdd and use the HDB (hdb-ldb in our
Andrew Bartlett [Tue, 24 Jan 2006 05:31:08 +0000 (05:31 +0000)]
r13107: Follow the lead of Heimdal's kpasswdd and use the HDB (hdb-ldb in our
case) as the keytab.

This avoids issues in replicated setups, as we will replicate the
kpasswd key correctly (including from windows, which is why I care at
the moment).

Andrew Bartlett
(This used to be commit 849500d1aa658817052423051b1f5d0b7a1db8e0)

16 years agor13104: Migrate and set secrets keytab values in the 'net join' code. This
Andrew Bartlett [Tue, 24 Jan 2006 02:25:50 +0000 (02:25 +0000)]
r13104: Migrate and set secrets keytab values in the 'net join' code.  This
avoids falling back to in-memory keytabs.

Andrew Bartlett
(This used to be commit 59fbce01c6814b8e411e7de6ee66739161520a3c)

16 years agor13103: Walk the names in the node status request, so I can find a server
Andrew Bartlett [Tue, 24 Jan 2006 01:57:31 +0000 (01:57 +0000)]
r13103: Walk the names in the node status request, so I can find a server
name, and use that.

(I was trying to find a machine by the name of __SAMBA__)

Andrew Bartlett
(This used to be commit cde044d023c7580442bceb60ac62dc4cfc1b85fe)

16 years agor13102: fixed the vampire code to correctly setup foreign sids and default
Andrew Tridgell [Tue, 24 Jan 2006 01:52:56 +0000 (01:52 +0000)]
r13102: fixed the vampire code to correctly setup foreign sids and default
unix name mappings
(This used to be commit dc74d8ccf15b9324cd8b90ef9d41cf293b9de8e3)

16 years agor13101: autogen.sh doesn't have to be run when compiling from a released tarball
Jelmer Vernooij [Tue, 24 Jan 2006 01:52:42 +0000 (01:52 +0000)]
r13101: autogen.sh doesn't have to be run when compiling from a released tarball
(running it anyway might give problems for people who don't have autoconf
installed properly or at all)
Fix typo
(This used to be commit 6a2a38056121e704768e88c4074629603a6f12cd)

16 years agor13100: removed unused menu item
Andrew Tridgell [Tue, 24 Jan 2006 00:47:58 +0000 (00:47 +0000)]
r13100: removed unused menu item
(This used to be commit 1b587563665821a49dd80b95baa4d33be073b685)

16 years agor13099: allow shares that point to /
Andrew Tridgell [Tue, 24 Jan 2006 00:34:58 +0000 (00:34 +0000)]
r13099: allow shares that point to /
(This used to be commit ac4b8b98392cba69d0d06bce8e9023769ee301d8)

16 years agor13098: make check for workgroup and realm case insensitive
Andrew Tridgell [Tue, 24 Jan 2006 00:16:54 +0000 (00:16 +0000)]
r13098: make check for workgroup and realm case insensitive
(This used to be commit 0cacd69dd57254cb1b51ad7969993bc24bae86c7)

16 years agor13097: move the creation of the default sam name -> unix name mappings into
Andrew Tridgell [Tue, 24 Jan 2006 00:11:32 +0000 (00:11 +0000)]
r13097: move the creation of the default sam name -> unix name mappings into
the main provision logic, so it can also be used as part of the
vampire process
(This used to be commit 95e90169f4e5887ee88116179d96f28f9e06796e)

16 years agor13096: explain what YOURDOM and YOUR.REALM are (in case people confuse the
Andrew Tridgell [Tue, 24 Jan 2006 00:09:41 +0000 (00:09 +0000)]
r13096: explain what YOURDOM and YOUR.REALM are (in case people confuse the
different meanings of the word domain)
(This used to be commit 0cf99b055b3df00aa2baa8a88b3d154bff5fc9aa)

16 years agor13088: - handle non-active static entries
Stefan Metzmacher [Mon, 23 Jan 2006 16:04:27 +0000 (16:04 +0000)]
r13088: - handle non-active static entries
- improve verifiying a replica with a remote wins server
  we now take the ownership of replica records that doesn't match
  the answer from the wins owner and make the record tombstone.
  this hopefully causes the original wins owner to propagate its
  new record, so that it will be replicated back to us

metze
(This used to be commit 49199477f225f3d22b3c70bb4626b92ed096f310)

16 years agor13087: don't store timestamps for static records
Stefan Metzmacher [Mon, 23 Jan 2006 14:54:10 +0000 (14:54 +0000)]
r13087: don't store timestamps for static records
(only a per record timestamp when it's not active)

metze
(This used to be commit aba54b870852a9e1ccc442703591fda0f5bde51b)

16 years agor13084: fix 'make test'!
Stefan Metzmacher [Mon, 23 Jan 2006 14:29:10 +0000 (14:29 +0000)]
r13084: fix 'make test'!

I would sugguest to run 'make test && make valgrind' before each commit
at this stage...

metze
(This used to be commit b7a0a778cc77f294aac589416b05dc676696d11e)

16 years agor13080: fix crash bug
Stefan Metzmacher [Mon, 23 Jan 2006 12:55:22 +0000 (12:55 +0000)]
r13080: fix crash bug

metze
(This used to be commit 0372438000dec9640a2888d44c3114c18ec625ab)

16 years agor13079: add SAMBA_VERSION_RELEASE_NICKNAME
Stefan Metzmacher [Mon, 23 Jan 2006 11:23:39 +0000 (11:23 +0000)]
r13079: add SAMBA_VERSION_RELEASE_NICKNAME

if it's set in source/VERSION

smbd --version will print
4.0.0tp1 (Nickname)

metze
(This used to be commit 780870293b8109250b16101649f110ba22c1932b)

16 years agor13078: fixed the ldb comparison function for objectSids
Andrew Tridgell [Mon, 23 Jan 2006 05:03:20 +0000 (05:03 +0000)]
r13078: fixed the ldb comparison function for objectSids
(This used to be commit 3f0600e223c079f82190f7e2a709447d679163e9)

16 years agor13077: Allow the mkversion script to be used for technology preview releases
Jelmer Vernooij [Mon, 23 Jan 2006 04:52:14 +0000 (04:52 +0000)]
r13077: Allow the mkversion script to be used for technology preview releases
(This used to be commit 2636e6c948c850e61debf75ff63b5d02f537e917)

16 years agor13076: catch a easy to make error during vampire install
Andrew Tridgell [Mon, 23 Jan 2006 04:40:57 +0000 (04:40 +0000)]
r13076: catch a easy to make error during vampire install
(This used to be commit 1c49ce8df0fd2150c68d0bf4162f1ef69ff3392a)

16 years agor13075: tell the admin what needs to be done to finish the install
Andrew Tridgell [Mon, 23 Jan 2006 04:40:28 +0000 (04:40 +0000)]
r13075: tell the admin what needs to be done to finish the install
(This used to be commit a6f5ad5289bb635be3b6c490a03dc7a1913baa30)

16 years agor13074: Add oLschema2ldif manpage
Jelmer Vernooij [Mon, 23 Jan 2006 04:13:06 +0000 (04:13 +0000)]
r13074: Add oLschema2ldif manpage
(This used to be commit 3e3a0c96cdb631798cf2192d0b441d29b33428c0)

16 years agor13073: Add manpage for getntacl, disable setntacl
Jelmer Vernooij [Mon, 23 Jan 2006 03:24:06 +0000 (03:24 +0000)]
r13073: Add manpage for getntacl, disable setntacl
(This used to be commit 656e202233ff11b162a1137150faaaec68d74d2f)

16 years agor13071: Work around a really annoying compiler warning where header file
James Peach [Sun, 22 Jan 2006 23:48:56 +0000 (23:48 +0000)]
r13071: Work around a really annoying compiler warning where header file
ordering causes MIN and MAX to be redefined.
(This used to be commit 0eda8a31975fa6cf4f7026bccc5468fba957860d)

16 years agor13070: Add a simple smbd manpage, based on the Samba 3 one.
Jelmer Vernooij [Sun, 22 Jan 2006 23:34:28 +0000 (23:34 +0000)]
r13070: Add a simple smbd manpage, based on the Samba 3 one.
(This used to be commit cbcce3b5731d27e863c916731fe30acac0602c16)

16 years agor13069: adding a hack on instructions from andrew
Andrew Tridgell [Sun, 22 Jan 2006 23:19:48 +0000 (23:19 +0000)]
r13069: adding a hack on instructions from andrew
(This used to be commit 65cf522b5e079de2cfd5fc989350cc127f6c5baa)

16 years agor13067: Don't install ldbtest
Jelmer Vernooij [Sun, 22 Jan 2006 23:04:47 +0000 (23:04 +0000)]
r13067: Don't install ldbtest
(This used to be commit cc35a4bc0e6d44735fc3efabb1901161e2c6d36c)

16 years agor13066: Add (very simple) manpages for gepdump and gwcrontab, remove gwsam from
Jelmer Vernooij [Sun, 22 Jan 2006 22:53:58 +0000 (22:53 +0000)]
r13066: Add (very simple) manpages for gepdump and gwcrontab, remove gwsam from
installed binaries (as it's not ready for use yet)
(This used to be commit 219aebe7e4283d2075ca3910ae700a16919120e4)

16 years agor13064: Add 'tags' target to LDB's makefile
Jelmer Vernooij [Sun, 22 Jan 2006 08:33:32 +0000 (08:33 +0000)]
r13064: Add 'tags' target to LDB's makefile
(This used to be commit 8195e4f8566ecc71c801aec6638869c494e6bbb4)

16 years agor13063: Add --realm option to upgrade
Jelmer Vernooij [Sun, 22 Jan 2006 08:32:34 +0000 (08:32 +0000)]
r13063: Add --realm option to upgrade
(This used to be commit e6aa4e92f044712ecaa4bd7099d53d9c7d083c42)

16 years agor13062: Fix upgrade of WINS entries
Jelmer Vernooij [Sun, 22 Jan 2006 08:31:04 +0000 (08:31 +0000)]
r13062: Fix upgrade of WINS entries
(This used to be commit cc4cab341e51d26c90534777eae65b7683ed93ce)

16 years agor13060: - return only active addresses in name query responses
Stefan Metzmacher [Sat, 21 Jan 2006 08:53:56 +0000 (08:53 +0000)]
r13060: - return only active addresses in name query responses
- replicate only active addresses

metze
(This used to be commit 6325abd95c5df855e8d1de2be9745940a29ba00a)

16 years agor13059: stop playing ping-pong while replicating special group records,
Stefan Metzmacher [Sat, 21 Jan 2006 07:57:39 +0000 (07:57 +0000)]
r13059: stop playing ping-pong while replicating special group records,
if the addresses and their owners are idetical to the old record
and we're the owner of the old record then we should just gnore the replica

metze
(This used to be commit e4f823ef038eeb74a8a6de05207f2f9aae7262a1)

16 years agor13051: this is correct
Stefan Metzmacher [Fri, 20 Jan 2006 12:29:17 +0000 (12:29 +0000)]
r13051: this is correct

metze
(This used to be commit ccfc991ad90a44784fc4372cfc8eb22756a09a6f)

16 years agor13050: when we have reloaded the partners from wins_config.ldb
Stefan Metzmacher [Fri, 20 Jan 2006 12:26:09 +0000 (12:26 +0000)]
r13050: when we have reloaded the partners from wins_config.ldb
after a new partner connects, try to find the partner struct on a per call
basis if it's not present on the connection yet

add some more useful debug messages

metze
(This used to be commit e57158e216e3564faa337288734d9efb30ab838d)

16 years agor13044: I finally understand that the [charset()] and [string] properties
Stefan Metzmacher [Thu, 19 Jan 2006 23:04:14 +0000 (23:04 +0000)]
r13044: I finally understand that the [charset()] and [string] properties
are independent...

fix some warnings

metze
(This used to be commit 6ae621437cdfd9ca5beac1d056f60d875a057b22)

16 years agor13037: fill in the corrent maxVersion in table replies
Stefan Metzmacher [Thu, 19 Jan 2006 16:34:05 +0000 (16:34 +0000)]
r13037: fill in the corrent maxVersion in table replies

metze
(This used to be commit 165538245b0772c4618895779cd468feac8494c0)

16 years agor13035: active,special group replicas are overwritten by tombstone,special group...
Stefan Metzmacher [Thu, 19 Jan 2006 13:01:12 +0000 (13:01 +0000)]
r13035: active,special group replicas are overwritten by tombstone,special group replicas

metze
(This used to be commit cf669e4b2a4dcfb080cbb01a108797acad802f36)

16 years agor13034: A couple of clarifications on the release notes.
Andrew Bartlett [Thu, 19 Jan 2006 10:28:11 +0000 (10:28 +0000)]
r13034: A couple of clarifications on the release notes.

We still need a lot of work here.

Andrew Bartlett
(This used to be commit c975469f893f67a57fe9a333421ff83f9c365bc0)

16 years agor13033: Thankyou very much to Brad Henry for fixing up many aspects of the
Andrew Bartlett [Thu, 19 Jan 2006 10:26:00 +0000 (10:26 +0000)]
r13033: Thankyou very much to Brad Henry for fixing up many aspects of the
release notes.  I will answer some questions and clarify some points
in the next commit.

Andrew Bartlett
(This used to be commit d01c4dd84895efdde6043b63dd377fe441366094)

16 years agor13031: A first stab at some release notes. Much work needed.
Andrew Bartlett [Thu, 19 Jan 2006 07:09:52 +0000 (07:09 +0000)]
r13031: A first stab at some release notes.  Much work needed.

Andrew Bartlett
(This used to be commit 8ff6461e050077f2a94b1daad2c30b291b3e2a29)

16 years agor13019: Again protect us against format string mismatches, with the new split
Andrew Bartlett [Wed, 18 Jan 2006 21:52:19 +0000 (21:52 +0000)]
r13019: Again protect us against format string mismatches, with the new split
out proto headers.

The reason this is done in this way is that the attribute must be on
the prototype, not the actual function defintion.  Hence the macros
which expand to nothing in the C file, but expand to an __attribute__
in the prototype header.

Andrew Bartlett
(This used to be commit a88933668f908a398bb0d8bc7dc39c96cee40de6)

16 years agor13018: Fix (correct) warning about mixing C/js interface function types. I
Andrew Bartlett [Wed, 18 Jan 2006 21:41:24 +0000 (21:41 +0000)]
r13018: Fix (correct) warning about mixing C/js interface function types.  I
don't use the arguments, but you must connect as the right type
anyway.

Andrew Bartlett
(This used to be commit f50186e9306714b25ae8f92eff9a3e95ad706274)

16 years agor13007: let our winsclient code register multihomed records with
Stefan Metzmacher [Wed, 18 Jan 2006 16:36:53 +0000 (16:36 +0000)]
r13007: let our winsclient code register multihomed records with
our winsserver and don't defend our local name against
our own register packets...

this won gave quite confusing logmessages...

metze
(This used to be commit 31ce24d7b1d2945c45c4f5d6376d5041df8b6982)

16 years agor13006: always debug the unicast and broadcast address
Stefan Metzmacher [Wed, 18 Jan 2006 16:32:24 +0000 (16:32 +0000)]
r13006: always debug the unicast and broadcast address

metze
(This used to be commit f7481a4c8c9933e8a9ccfe10ca8e15afad717d99)

16 years agor13005: - use nbtd:max_refresh_time=12345 also for name refresh with a wins server
Stefan Metzmacher [Wed, 18 Jan 2006 16:27:29 +0000 (16:27 +0000)]
r13005: - use nbtd:max_refresh_time=12345 also for name refresh with a wins server

metze
(This used to be commit 5e3639edaf551068466caaf48faa9b2bbfed1041)

16 years agor13004: fix compiler warnings
Stefan Metzmacher [Wed, 18 Jan 2006 16:20:33 +0000 (16:20 +0000)]
r13004: fix compiler warnings

metze
(This used to be commit 833efdf8a943b210ba8e5b219dc754260001bedb)

16 years agor13002: fix compiler warning
Stefan Metzmacher [Wed, 18 Jan 2006 16:05:27 +0000 (16:05 +0000)]
r13002: fix compiler warning

metze
(This used to be commit 3365ad950b1ffdbcff9e6c7fc8525988d1621938)

16 years agor13001: fix compiler warnings
Stefan Metzmacher [Wed, 18 Jan 2006 16:01:13 +0000 (16:01 +0000)]
r13001: fix compiler warnings

metze
(This used to be commit 32cfd7c8df0fb0fe1da8a4d3acabbaa111326352)

16 years agor13000: fix compiler warnings
Stefan Metzmacher [Wed, 18 Jan 2006 15:51:50 +0000 (15:51 +0000)]
r13000: fix compiler warnings

metze
(This used to be commit 880dd3538ef54af100a715acb72cc16b9947b617)

16 years agor12999: fix compiler warnings
Stefan Metzmacher [Wed, 18 Jan 2006 15:46:00 +0000 (15:46 +0000)]
r12999: fix compiler warnings

metze
(This used to be commit ec30a40f042016bc167382b63bd284f656ed7cb1)

16 years agor12998: A big update to samldb.c
Andrew Bartlett [Wed, 18 Jan 2006 12:06:36 +0000 (12:06 +0000)]
r12998: A big update to samldb.c

This updates the module to handle both SID allocation and nextRid
updating while importing users.  (As imported users already have a
SID, so don't go via the allocation step).  We also ensure that SIDs
in the database are unquie at create time.

Furthermore, at allocation time, we double-check the SID isn't already
in use, and that we don't create a foriegnSecurityPrincipal for a
'local' sid.

Also create random samAccountName entries for users without one (we
were setting $000000-000000000000).

We may want to seperate the uniqueness code from the rest of samldb,
and into a module with the objectguid code, which needs similar
checks.  These checks also need to apply to modification, or those
modifications denied outright.

Also update part of the testsuite to validate this.

Andrew Bartlett
(This used to be commit 7a9c8eee4bea88f5f0bb7c62f701476384b7dc84)

16 years agor12997: Feed the right event context to libnet in ejsnet and the auth code.
Andrew Bartlett [Wed, 18 Jan 2006 11:25:30 +0000 (11:25 +0000)]
r12997: Feed the right event context to libnet in ejsnet and the auth code.
This should give better behaviour in SWAT.

Fix authentication as Samba, rather than System, users in SWAT.

Andrew Bartlett
(This used to be commit 498d72c4ad4d57d10f43ca58830d6ee8292a55f4)

16 years agor12996: Restrict this search to domain objects.
Andrew Bartlett [Wed, 18 Jan 2006 11:22:30 +0000 (11:22 +0000)]
r12996: Restrict this search to domain objects.

Andrew Bartlett
(This used to be commit 4d69eae382a789910d24ecadfb08b8d95a3c04b0)

16 years agor12995: Don't allow overrides on "name" from above, as it can't be correct.
Andrew Bartlett [Wed, 18 Jan 2006 11:21:52 +0000 (11:21 +0000)]
r12995: Don't allow overrides on "name" from above, as it can't be correct.

Andrew Bartlett
(This used to be commit 4a50bf95b93310f640a4ba28990f054e85215551)

16 years agor12989: move the control parsing and handleng functions to cmdline.c
Simo Sorce [Wed, 18 Jan 2006 04:36:30 +0000 (04:36 +0000)]
r12989: move the control parsing and handleng functions to cmdline.c
so that they can be used by the other ldb tools as well
(This used to be commit c12b3c5cb46d428f815c623efacff8edebb6f6e3)

16 years agor12988: delete an ancient file that misteriously survived till now.
Simo Sorce [Wed, 18 Jan 2006 03:10:52 +0000 (03:10 +0000)]
r12988: delete an ancient file that misteriously survived till now.
(This used to be commit 7b9b1ced7d36a1adf8d86b3b434c9e5d4bdfab87)

16 years agor12984: add parse code and ldbsearch cmdline code for
Stefan Metzmacher [Tue, 17 Jan 2006 18:56:04 +0000 (18:56 +0000)]
r12984: add parse code and ldbsearch cmdline code for
NOTIFICATION LDAP Controls
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ldap/ldap/ldap_server_notification_oid.asp

this doesn't work yet, but it shows that we need to extend ldb to correctly
handle async requests...

metze
(This used to be commit 1fe67189490c9faf499b68a28071a6294a53db0e)

16 years agor12983: - fix using a DIRSYNC cookie from the command line
Stefan Metzmacher [Tue, 17 Jan 2006 17:23:11 +0000 (17:23 +0000)]
r12983: - fix using a DIRSYNC cookie from the command line
- also w2k doesn't work correct with max_attrs = 0, so we should use
  a high number, with this I'm getting the same results from w2k and w2k3

metze
(This used to be commit ce9f086c3c1a65bf1b4c843ec44e8817d9361182)

16 years agor12982: fix parsing of LDAP DIRSYNC cookies
Stefan Metzmacher [Tue, 17 Jan 2006 17:15:07 +0000 (17:15 +0000)]
r12982: fix parsing of LDAP DIRSYNC cookies

metze
(This used to be commit 31d2bf3ca15842ff3f7a74aa35e3753fadba6177)

16 years agor12979: Grr, I forgot to commit this file (from Brad Henry's libnet_site
Andrew Bartlett [Tue, 17 Jan 2006 10:27:18 +0000 (10:27 +0000)]
r12979: Grr, I forgot to commit this file (from Brad Henry's libnet_site
patch) before the power went out :-)

Andrew Bartlett
(This used to be commit 352d6493bbb9591aebb32a0c22124b61da959666)

16 years agor12977: Some code to implement the client side of the Dirsync control
Simo Sorce [Tue, 17 Jan 2006 04:04:57 +0000 (04:04 +0000)]
r12977: Some code to implement the client side of the Dirsync control
Still investigating how it works.

Simo.
(This used to be commit bebd403523e581606505e05e7cb621efbc22fa36)

16 years agor12976: Patch from Brad Henry <j0j0@riod.ca>:
Andrew Bartlett [Tue, 17 Jan 2006 03:44:37 +0000 (03:44 +0000)]
r12976: Patch from Brad Henry <j0j0@riod.ca>:

This patch pulls the AD site name generation and site join code from
libnet/libnet_join.c and puts it into a new file, libnet/libnet_site.c.
This way, a common means for site name, configuration dn and server dn
generation exists so it doesn't need to be rewritten in new code (such
as the future libnet_leave for example).

I've made a couple of changes, but nothing dramatic.  Nice work Brad!

Andrew Bartlett
(This used to be commit 45f67b3f6d506cc8cb9922184a8c0c9b59a8f702)

16 years agor12972: Use single quotes in the showflags and showlayout targets to stop the
James Peach [Tue, 17 Jan 2006 01:18:27 +0000 (01:18 +0000)]
r12972: Use single quotes in the showflags and showlayout targets to stop the
shell interpreting the expanded make variables.
(This used to be commit ae7541a377eb9bd4a5b8b2bd779811e354f80d4a)

16 years agor12971: Fix spelling.
Tim Potter [Mon, 16 Jan 2006 23:42:07 +0000 (23:42 +0000)]
r12971: Fix spelling.
(This used to be commit e9ec3a379c45ea210a810b1cb5d65b966b7319cc)

16 years agor12959: hopefully fix bug #3365 this time
Stefan Metzmacher [Mon, 16 Jan 2006 15:23:06 +0000 (15:23 +0000)]
r12959: hopefully fix bug #3365 this time

metze
(This used to be commit 8fc2b68aa8d1a6bb3a828b3a1ab5f2a4f354f6f7)

16 years agor12958: don't bind to '255.255.255.255'
Stefan Metzmacher [Mon, 16 Jan 2006 14:01:34 +0000 (14:01 +0000)]
r12958: don't bind to '255.255.255.255'

fix bug #3411

metze
(This used to be commit 2cb587c779b5f70e4818fa57fcb2b8ee4a2a276b)

16 years agor12948: fix compiler warning
Stefan Metzmacher [Sun, 15 Jan 2006 19:04:51 +0000 (19:04 +0000)]
r12948: fix compiler warning

metze
(This used to be commit 157fd2734dfb9b3ac6f6c5ad60bbbd7a50998453)

16 years agor12947: added some error checking that I stumbled across while testing domain migration
Andrew Tridgell [Sun, 15 Jan 2006 16:24:55 +0000 (16:24 +0000)]
r12947: added some error checking that I stumbled across while testing domain migration
(This used to be commit c7951d17b1c4f53dd710d6a0fcf87ce678be3ff1)

16 years agor12945: Try to move closer to getting Samba3 import working again.
Andrew Bartlett [Sun, 15 Jan 2006 09:03:28 +0000 (09:03 +0000)]
r12945: Try to move closer to getting Samba3 import working again.

There still a few things to work out

Andrew Bartlett
(This used to be commit 701558b5fe917555416eb0d100ef756f8ef7cf65)

16 years agor12944: Update scripts in setup to match changes in the provision.js
Andrew Bartlett [Sun, 15 Jan 2006 07:02:34 +0000 (07:02 +0000)]
r12944: Update scripts in setup to match changes in the provision.js

DNS is now done as a seperate step, to assist in migrations.

Andrew Bartlett
(This used to be commit 916607d1d08b6a41c375766a69fd609989e35bed)

16 years agor12943: Generate a SID for the domain join account using the modules, rather
Andrew Bartlett [Sun, 15 Jan 2006 06:59:56 +0000 (06:59 +0000)]
r12943: Generate a SID for the domain join account using the modules, rather
than a hardcoded SID.

Fix the samldb module to return the what *was* the nextrid, rather
than the new nextrid (that is for next time).

Andrew Bartlett
(This used to be commit ffe9042e15cebbc7ff1bac90ec39835753d6caa7)

16 years agor12942: this way is better
Simo Sorce [Sun, 15 Jan 2006 06:43:43 +0000 (06:43 +0000)]
r12942: this way is better
(This used to be commit 982576d2489c9ac3f7d854f598a64a8c4d91a485)

16 years agor12941: Add Attribute Scoped Search control
Simo Sorce [Sun, 15 Jan 2006 06:12:29 +0000 (06:12 +0000)]
r12941: Add Attribute Scoped Search control

want to see what it does ?

do aq make test and try:
./bin/ldbsearch -H st/private/sam.ldb --controls=asq:1:member -s base -b 'CN=Administrators,CN=Builtin,DC=samba,DC=example,DC=com' 'objectclass=*'

have fun.
simo.
(This used to be commit 900f4fd3435aacc3351f30afb77d3488d2cb4804)

16 years agor12934: do somemore debugging of the received browse packets,
Stefan Metzmacher [Sat, 14 Jan 2006 10:11:04 +0000 (10:11 +0000)]
r12934: do somemore debugging of the received browse packets,
(so I may learn about the protocol, while watching the debug output)

metze
(This used to be commit 40d7033a1472e5f6b7760984b7d2b6b7db2db860)

16 years agor12933: fix parsing of browse packets based on the infos on http://ubiqx.org/cifs...
Stefan Metzmacher [Sat, 14 Jan 2006 10:06:18 +0000 (10:06 +0000)]
r12933: fix parsing of browse packets based on the infos on ubiqx.org/cifs/Browsing.html

metze
(This used to be commit 811683e5561a70c8f97f325a8a786d4aac17a564)

16 years agor12932: export function prototypes
Stefan Metzmacher [Sat, 14 Jan 2006 10:03:18 +0000 (10:03 +0000)]
r12932: export function prototypes

metze
(This used to be commit 8208a4abf0cacb9ee3496611f121c095b5d1bcca)

16 years agor12931: Remove some prefixes. We have:
Andrew Bartlett [Sat, 14 Jan 2006 07:46:04 +0000 (07:46 +0000)]
r12931: Remove some prefixes.  We have:

Login failed: Login Failed: Logon failure - please try again

In SWAT currently...

Andrew Bartlett
(This used to be commit 51eded818093320e7d6b9e95ad11fa21a81c3f93)

16 years agor12930: Fix ADS join: I wasn't filling in the flag 'realm' variable any more.
Andrew Bartlett [Sat, 14 Jan 2006 07:27:01 +0000 (07:27 +0000)]
r12930: Fix ADS join:  I wasn't filling in the flag 'realm' variable any more.

Andrew Bartlett
(This used to be commit 5c5a2974c94ae6b929ada7aaa2cd12a15b7468b8)

16 years agor12929: Fix more implict global and shadowing variables.
Andrew Bartlett [Sat, 14 Jan 2006 07:24:15 +0000 (07:24 +0000)]
r12929: Fix more implict global and shadowing variables.

Andrew Bartlett
(This used to be commit def31956181833db4c8e5079b745ca60fdf35136)

16 years agor12928: This patch improves the interaction between the vampire and provsion code.
Andrew Bartlett [Sat, 14 Jan 2006 06:17:24 +0000 (06:17 +0000)]
r12928: This patch improves the interaction between the vampire and provsion code.

Previously, we had to know (or guess) the host and domain guid at the
provision stage.  Now we query the database post-provision, to extract
the values and fill in the zone file.

This allows us to generate a correct zone file in the Windows migration case.

In an effort to make SWAT easier to use, I have removed and renamed
some of the provision options.

I have also fixed a nasty issue in my js code.  I had implictly
declared a global variable of the name 'join', with disasterious
results for any subsequent user of the string utility function:

esp exception - ASSERT at lib/appweb/ejs/ejsParser.c:2064, 0

Backtrace:
        [ 0]       substitute_var:20   ->               list[i] = join("", list2)
        [ 1]           setup_file:9    ->       data = substitute_var(data, subobj)

Andrew Bartlett
(This used to be commit a38ceefd11f8b748f30383ef36a4752f178bfca1)

16 years agor12927: Fix typo.
Andrew Bartlett [Sat, 14 Jan 2006 01:43:21 +0000 (01:43 +0000)]
r12927: Fix typo.
(This used to be commit 01e98966ca955e86ec46f8bce3892899e2717df9)

16 years agor12926: Syncronsise GUIDs on users and domains from the server. These also
Andrew Bartlett [Sat, 14 Jan 2006 01:29:38 +0000 (01:29 +0000)]
r12926: Syncronsise GUIDs on users and domains from the server.  These also
appear in DNS, so need to match.

Andrew Bartlett
(This used to be commit d092b0493d7c61112ef132c8fb259c15f189c5f6)

16 years agor12925: implement client side of ASQ control
Simo Sorce [Sat, 14 Jan 2006 01:06:16 +0000 (01:06 +0000)]
r12925: implement client side of ASQ control
(This used to be commit dd386bdc6ca6fe0b25705d5a375d29e6940b437f)

16 years agor12919: Ensure we never 'extend' the session key length, or fill in past the
Andrew Bartlett [Fri, 13 Jan 2006 23:08:20 +0000 (23:08 +0000)]
r12919: Ensure we never 'extend' the session key length, or fill in past the
length of the (possibly null) pointer.

In reality this should come to us either 16 or 0 bytes in length, but
this is the safest test.

This is bug 3401 in Samba3, thanks to Yau Lam Yiu <yiuext at cs.ust.hk>

Andrew Bartlett
(This used to be commit f3aa702944ed7086d93bf05075f910e7e4617d9c)

16 years agor12918: Don't tell the user the difference between 'no such user' and 'wrong
Andrew Bartlett [Fri, 13 Jan 2006 22:55:23 +0000 (22:55 +0000)]
r12918: Don't tell the user the difference between 'no such user' and 'wrong
password'.

Andrew Bartlett
(This used to be commit e13cb0ab175069eb670c8b2f57379ababacfcce3)

16 years agor12917: fix decoding of ldap controls
Simo Sorce [Fri, 13 Jan 2006 22:48:08 +0000 (22:48 +0000)]
r12917: fix decoding of ldap controls
some more work on timeouts
(This used to be commit a7e2fe3cb33be2effff7eb764047567f2da3cd55)

16 years agor12911: try to fix bug #3365
Stefan Metzmacher [Fri, 13 Jan 2006 17:32:43 +0000 (17:32 +0000)]
r12911: try to fix bug #3365

metze
(This used to be commit e70ca698cea901a66f7201c16bb3ba1faa7e7289)

16 years agor12910: fix bug #3069
Stefan Metzmacher [Fri, 13 Jan 2006 17:07:28 +0000 (17:07 +0000)]
r12910: fix bug #3069

metze
(This used to be commit 1768a698a461bfb8aeaa8f28efaab4ad300823a2)