Jelmer Vernooij [Thu, 26 Jan 2006 22:16:38 +0000 (22:16 +0000)]
r13169: Fix typo (noticed by Jeroen Keiren)
Simo Sorce [Thu, 26 Jan 2006 16:42:25 +0000 (16:42 +0000)]
r13167: handle cotrols' reply even in error
Simo Sorce [Thu, 26 Jan 2006 16:37:37 +0000 (16:37 +0000)]
r13166: Patches form Brad Hards
Stefan Metzmacher [Thu, 26 Jan 2006 12:59:55 +0000 (12:59 +0000)]
r13163: as we don't import the raw magic configure vars for
libdir, datadir, sysconfdir,localstatedir into our Makefile
we need to expand them in configure
I'll maybe rework this later but for now this works
metze
Jelmer Vernooij [Thu, 26 Jan 2006 11:48:45 +0000 (11:48 +0000)]
r13161: Remove optional password as second parameter. Improve return values a bit.
Jelmer Vernooij [Thu, 26 Jan 2006 11:47:45 +0000 (11:47 +0000)]
r13160: Fix some of the smbclient testsuite (after failures on the buildfarm)
Jelmer Vernooij [Thu, 26 Jan 2006 10:18:26 +0000 (10:18 +0000)]
r13158: Fix setup and ejs paths
Jelmer Vernooij [Thu, 26 Jan 2006 08:27:48 +0000 (08:27 +0000)]
r13157: Fix installation of js files
Jelmer Vernooij [Thu, 26 Jan 2006 06:35:13 +0000 (06:35 +0000)]
r13156: Add some tests for smbclient
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
Jelmer Vernooij [Thu, 26 Jan 2006 06:29:59 +0000 (06:29 +0000)]
r13154: Add some const
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
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
Andrew Bartlett [Thu, 26 Jan 2006 02:02:47 +0000 (02:02 +0000)]
r13150: Correct comment.
Andrew Bartlett
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
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
Stefan Metzmacher [Wed, 25 Jan 2006 12:54:30 +0000 (12:54 +0000)]
r13131: windows sends termination here, this fixes access with regedit
metze
Stefan Metzmacher [Wed, 25 Jan 2006 12:19:49 +0000 (12:19 +0000)]
r13129: fix the memory hierachie
metze
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
Jelmer Vernooij [Tue, 24 Jan 2006 23:38:43 +0000 (23:38 +0000)]
r13123: Some small doc updates.
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
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
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
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
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
Stefan Metzmacher [Tue, 24 Jan 2006 18:35:01 +0000 (18:35 +0000)]
r13112: merge over some stuff from samba3
metze
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
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
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
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
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
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
Andrew Tridgell [Tue, 24 Jan 2006 00:47:58 +0000 (00:47 +0000)]
r13100: removed unused menu item
Andrew Tridgell [Tue, 24 Jan 2006 00:34:58 +0000 (00:34 +0000)]
r13099: allow shares that point to /
Andrew Tridgell [Tue, 24 Jan 2006 00:16:54 +0000 (00:16 +0000)]
r13098: make check for workgroup and realm case insensitive
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
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)
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
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
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
Stefan Metzmacher [Mon, 23 Jan 2006 12:55:22 +0000 (12:55 +0000)]
r13080: fix crash bug
metze
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
Andrew Tridgell [Mon, 23 Jan 2006 05:03:20 +0000 (05:03 +0000)]
r13078: fixed the ldb comparison function for objectSids
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
Andrew Tridgell [Mon, 23 Jan 2006 04:40:57 +0000 (04:40 +0000)]
r13076: catch a easy to make error during vampire 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
Jelmer Vernooij [Mon, 23 Jan 2006 04:13:06 +0000 (04:13 +0000)]
r13074: Add oLschema2ldif manpage
Jelmer Vernooij [Mon, 23 Jan 2006 03:24:06 +0000 (03:24 +0000)]
r13073: Add manpage for getntacl, disable setntacl
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.
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.
Andrew Tridgell [Sun, 22 Jan 2006 23:19:48 +0000 (23:19 +0000)]
r13069: adding a hack on instructions from andrew
Jelmer Vernooij [Sun, 22 Jan 2006 23:04:47 +0000 (23:04 +0000)]
r13067: Don't install ldbtest
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)
Jelmer Vernooij [Sun, 22 Jan 2006 08:33:32 +0000 (08:33 +0000)]
r13064: Add 'tags' target to LDB's makefile
Jelmer Vernooij [Sun, 22 Jan 2006 08:32:34 +0000 (08:32 +0000)]
r13063: Add --realm option to upgrade
Jelmer Vernooij [Sun, 22 Jan 2006 08:31:04 +0000 (08:31 +0000)]
r13062: Fix upgrade of WINS entries
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
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
Stefan Metzmacher [Fri, 20 Jan 2006 12:29:17 +0000 (12:29 +0000)]
r13051: this is correct
metze
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
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
Stefan Metzmacher [Thu, 19 Jan 2006 16:34:05 +0000 (16:34 +0000)]
r13037: fill in the corrent maxVersion in table replies
metze
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
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
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
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
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
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
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
Stefan Metzmacher [Wed, 18 Jan 2006 16:32:24 +0000 (16:32 +0000)]
r13006: always debug the unicast and broadcast address
metze
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
Stefan Metzmacher [Wed, 18 Jan 2006 16:20:33 +0000 (16:20 +0000)]
r13004: fix compiler warnings
metze
Stefan Metzmacher [Wed, 18 Jan 2006 16:05:27 +0000 (16:05 +0000)]
r13002: fix compiler warning
metze
Stefan Metzmacher [Wed, 18 Jan 2006 16:01:13 +0000 (16:01 +0000)]
r13001: fix compiler warnings
metze
Stefan Metzmacher [Wed, 18 Jan 2006 15:51:50 +0000 (15:51 +0000)]
r13000: fix compiler warnings
metze
Stefan Metzmacher [Wed, 18 Jan 2006 15:46:00 +0000 (15:46 +0000)]
r12999: fix compiler warnings
metze
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
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
Andrew Bartlett [Wed, 18 Jan 2006 11:22:30 +0000 (11:22 +0000)]
r12996: Restrict this search to domain objects.
Andrew Bartlett
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
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
Simo Sorce [Wed, 18 Jan 2006 03:10:52 +0000 (03:10 +0000)]
r12988: delete an ancient file that misteriously survived till now.
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
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
Stefan Metzmacher [Tue, 17 Jan 2006 17:15:07 +0000 (17:15 +0000)]
r12982: fix parsing of LDAP DIRSYNC cookies
metze
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
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.
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
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.
Tim Potter [Mon, 16 Jan 2006 23:42:07 +0000 (23:42 +0000)]
r12971: Fix spelling.
Stefan Metzmacher [Mon, 16 Jan 2006 15:23:06 +0000 (15:23 +0000)]
r12959: hopefully fix bug #3365 this time
metze
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
Stefan Metzmacher [Sun, 15 Jan 2006 19:04:51 +0000 (19:04 +0000)]
r12948: fix compiler warning
metze
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
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
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
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
Simo Sorce [Sun, 15 Jan 2006 06:43:43 +0000 (06:43 +0000)]
r12942: this way is better
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.
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