jelmer/samba4-debian.git
11 years agor13155: Large amount of updates to smbclient to:
Jelmer Vernooij [Thu, 26 Jan 2006 06:33:45 +0000 (06:33 +0000)]
r13155: Large amount of updates to smbclient to:
 - Remove global variables (pass things around as variables, add a 'struct smbclient_context')
 - Get rid of pstring
 - Fix up some of the return values
 - Fix some generally weird code

11 years agor13154: Add some const
Jelmer Vernooij [Thu, 26 Jan 2006 06:29:59 +0000 (06:29 +0000)]
r13154: Add some const

11 years agor13153: Try to move closer to FHS. This probably breaks everything...
Andrew Bartlett [Thu, 26 Jan 2006 05:57:53 +0000 (05:57 +0000)]
r13153: Try to move closer to FHS.  This probably breaks everything...

Andrew Bartlett

11 years agor13152: Jelmer assures me that this won't break anything, but does make it
Andrew Bartlett [Thu, 26 Jan 2006 05:05:26 +0000 (05:05 +0000)]
r13152: Jelmer assures me that this won't break anything, but does make it
much clearer where things go.

Andrew Bartlett

11 years agor13150: Correct comment.
Andrew Bartlett [Thu, 26 Jan 2006 02:02:47 +0000 (02:02 +0000)]
r13150: Correct comment.

Andrew Bartlett

11 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

11 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

11 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

11 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

11 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

11 years agor13123: Some small doc updates.
Jelmer Vernooij [Tue, 24 Jan 2006 23:38:43 +0000 (23:38 +0000)]
r13123: Some small doc updates.

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 years agor13100: removed unused menu item
Andrew Tridgell [Tue, 24 Jan 2006 00:47:58 +0000 (00:47 +0000)]
r13100: removed unused menu item

11 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 /

11 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

11 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

11 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)

11 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

11 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

11 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

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

metze

11 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

11 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

11 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

11 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

11 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

11 years agor13074: Add oLschema2ldif manpage
Jelmer Vernooij [Mon, 23 Jan 2006 04:13:06 +0000 (04:13 +0000)]
r13074: Add oLschema2ldif manpage

11 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

11 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.

11 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.

11 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

11 years agor13067: Don't install ldbtest
Jelmer Vernooij [Sun, 22 Jan 2006 23:04:47 +0000 (23:04 +0000)]
r13067: Don't install ldbtest

11 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)

11 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

11 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

11 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

11 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

11 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

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

metze

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

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

metze

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

metze

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

metze

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

metze

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

metze

11 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

11 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

11 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

11 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

11 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

11 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.

11 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

11 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

11 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

11 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

11 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.

11 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

11 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.

11 years agor12971: Fix spelling.
Tim Potter [Mon, 16 Jan 2006 23:42:07 +0000 (23:42 +0000)]
r12971: Fix spelling.

11 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

11 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

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

metze

11 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

11 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

11 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

11 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

11 years agor12942: this way is better
Simo Sorce [Sun, 15 Jan 2006 06:43:43 +0000 (06:43 +0000)]
r12942: this way is better

11 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.

11 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

11 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

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

metze

11 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

11 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

11 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

11 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

11 years agor12927: Fix typo.
Andrew Bartlett [Sat, 14 Jan 2006 01:43:21 +0000 (01:43 +0000)]
r12927: Fix typo.

11 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

11 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