13 years agor12397: Change the 'samba4' prefix in the Debian packages back to 'samba'
Jelmer Vernooij [Tue, 20 Dec 2005 14:15:35 +0000 (14:15 +0000)]
r12397: Change the 'samba4' prefix in the Debian packages back to 'samba'
(This used to be commit 2002ba90c58c5ae69d242986834d07f499e46253)

13 years agor12391: use the new periodic schedule system for the pull replication too
Stefan Metzmacher [Tue, 20 Dec 2005 00:55:28 +0000 (00:55 +0000)]
r12391: use the new periodic schedule system for the pull replication too

(This used to be commit 3383568c31545a6716eb7045b56d516d507c0b4d)

13 years agor12388: fix debug messages
Stefan Metzmacher [Tue, 20 Dec 2005 00:33:41 +0000 (00:33 +0000)]
r12388: fix debug messages

(This used to be commit 8b99b2d6c47ef5596269b57a71b275236b43a2a1)

13 years agor12385: call pidl with the perl found by configure
Stefan Metzmacher [Tue, 20 Dec 2005 00:06:31 +0000 (00:06 +0000)]
r12385: call pidl with the perl found by configure

(This used to be commit 00b7800695938e2374a26208273996efeb9ab258)

13 years agor12384: I can't spell...
Andrew Bartlett [Tue, 20 Dec 2005 00:02:08 +0000 (00:02 +0000)]
r12384: I can't spell...
(This used to be commit 566bbfd067f43d86eacc1e867e6f64bac85e285d)

13 years agor12383: Fixes for Apple's AD client. Don't segfualt in the KDC, and they
Andrew Bartlett [Tue, 20 Dec 2005 00:00:48 +0000 (00:00 +0000)]
r12383: Fixes for Apple's AD client.  Don't segfualt in the KDC, and they
require the isSynchronized flag in the rootDSE.

Andrew Bartlett
(This used to be commit e48464c8844b4af1976d8379aef8db9baddd3687)

13 years agor12382: Ensure to return OK on anonymous mapping.
Andrew Bartlett [Mon, 19 Dec 2005 23:43:17 +0000 (23:43 +0000)]
r12382: Ensure to return OK on anonymous mapping.

Andrew Bartlett
(This used to be commit d61817ebb754c2a7a6783415fdf5267eaad460e9)

13 years agor12381: Try not to segfault on an anonymous LDAP bind, and map to a guest login.
Andrew Bartlett [Mon, 19 Dec 2005 23:29:47 +0000 (23:29 +0000)]
r12381: Try not to segfault on an anonymous LDAP bind, and map to a guest login.

Andrew Bartlett
(This used to be commit 5ac4178e36fade330fccb2dbb0607f524fe1f6ae)

13 years agor12380: add a wraper script that calls the perl scripts in heimdal_build/
Stefan Metzmacher [Mon, 19 Dec 2005 23:17:10 +0000 (23:17 +0000)]
r12380: add a wraper script that calls the perl scripts in heimdal_build/
with the correct perl version, that was detected with configure

(This used to be commit 9e103e53d1245e44563eea78d398d1de9895bd0e)

13 years agor12379: export the detected perl
Stefan Metzmacher [Mon, 19 Dec 2005 23:14:13 +0000 (23:14 +0000)]
r12379: export the detected perl

(This used to be commit abfb04764637bff2c752675441046130628bad65)

13 years agor12378: fix perl warnings
Stefan Metzmacher [Mon, 19 Dec 2005 23:13:12 +0000 (23:13 +0000)]
r12378: fix perl warnings

(This used to be commit 918e7b4043f6c92997e66d552f62bf1bef81fb81)

13 years agor12373: Add RPC-JOIN as a test to always run.
Andrew Bartlett [Mon, 19 Dec 2005 22:37:46 +0000 (22:37 +0000)]
r12373: Add RPC-JOIN as a test to always run.

Andrew Bartlett
(This used to be commit 42c58d431268dcde9f195bf0c871c1c9ed75cb79)

13 years agor12372: - make the periodic scheduling a bit easier, instead of passing
Stefan Metzmacher [Mon, 19 Dec 2005 21:52:37 +0000 (21:52 +0000)]
r12372: - make the periodic scheduling a bit easier, instead of passing
  an uint32_t next_interval everywhere, we now call wreplsrv_periodic_schedule()
  if we want to schedule an event
- also prevent us from looping with a 0 interval, by using 1s as minimum interval

(This used to be commit b6943b11fc6e501d5081d591336185518943ee5a)

13 years agor12370: - if we got a reply without a pending request, mark the socket as dead
Stefan Metzmacher [Mon, 19 Dec 2005 21:19:14 +0000 (21:19 +0000)]
r12370: - if we got a reply without a pending request, mark the socket as dead
  instead of segfaulting

(This used to be commit 043f5c1054cd2dc95571d601b0872c4cb0d99588)

13 years agor12364: add UINT32_MAX and UINT64_MAX replacement defines
Stefan Metzmacher [Mon, 19 Dec 2005 17:10:18 +0000 (17:10 +0000)]
r12364: add UINT32_MAX and UINT64_MAX replacement defines
(hopefully fix the build on OpenBSD)

(This used to be commit cbe06ade214bd29eab5c11fcd011a3c463bf78db)

13 years agor12363: minor fixes for win2000 join/login
Andrew Tridgell [Mon, 19 Dec 2005 11:50:28 +0000 (11:50 +0000)]
r12363: minor fixes for win2000 join/login

 - the objectClass needs to be added to the list of attributes to make
   the check for objectClass=computer work

 - the short version of the name needs to be used for the 'cn' in
(This used to be commit 53f0fb77c3c1bd15620f1dbb12e0d8f9fededf4b)

13 years agor12362: Along with a cracknames change in the previous commit, this should
Andrew Bartlett [Mon, 19 Dec 2005 07:11:58 +0000 (07:11 +0000)]
r12362: Along with a cracknames change in the previous commit, this should
allow Win2000 machines to again use kerberos with Samba4.

Andrew Bartlett
(This used to be commit 5770409dcd0151a7303b16c565b1f68845b8622d)

13 years agor12361: Add a new function: ldb_binary_encode_string()
Andrew Bartlett [Mon, 19 Dec 2005 07:07:11 +0000 (07:07 +0000)]
r12361: Add a new function: ldb_binary_encode_string()

This is for use on user-supplied arguments to printf style format
strings which will become ldb filters.  I have used it on LSA, SAMR
and the auth/ code so far.

Also add comments to cracknames code.

Andrew Bartlett
(This used to be commit 8308cf6e0472790c1c9d521d19322557907f4418)

13 years agor12360: Add simple bind support into our LDAP server.
Andrew Bartlett [Mon, 19 Dec 2005 06:56:45 +0000 (06:56 +0000)]
r12360: Add simple bind support into our LDAP server.

Needs changes to our client code for automated testing.

Andrew Bartlett
(This used to be commit e751d814149d847ff1699542a4fa81eb8ca129ec)

13 years agor12327: ENT_TYPE_ANY isn't used anywhere in Samba4, so don't implement it in hdb...
Andrew Bartlett [Sun, 18 Dec 2005 22:50:01 +0000 (22:50 +0000)]
r12327: ENT_TYPE_ANY isn't used anywhere in Samba4, so don't implement it in hdb-ldb.

Andrew Bartlett
(This used to be commit 96e124b7bb9a916bbdfbfa36d24a1dafa262c552)

13 years agor12325: - remove the hostcc object files with make clean
Stefan Metzmacher [Sun, 18 Dec 2005 22:28:41 +0000 (22:28 +0000)]
r12325: - remove the hostcc object files with make clean
- move the .SUFFIXES statement before the suffix rules
  this fixes the build with bsd make

(This used to be commit 11da32df31db8cd0836bf66ce2650cb1c43c24c5)

13 years agor12324: use command line credentials if available in ldap.js
Andrew Tridgell [Sun, 18 Dec 2005 22:28:12 +0000 (22:28 +0000)]
r12324: use command line credentials if available in ldap.js
(This used to be commit f4f99f9af33699ac8fe43b09fa7542aab72a031a)

13 years agor12323: fixeed the use of options.get_credentials() for ldb
Andrew Tridgell [Sun, 18 Dec 2005 22:27:26 +0000 (22:27 +0000)]
r12323: fixeed the use of options.get_credentials() for ldb
(This used to be commit b27d81dca9fd07c83b11a5bb3a883ec3f28cca6a)

13 years agor12322: automatically use cmdline_credentials if the ldb object doesn't have
Andrew Tridgell [Sun, 18 Dec 2005 22:14:14 +0000 (22:14 +0000)]
r12322: automatically use cmdline_credentials if the ldb object doesn't have
its own credentials element
(This used to be commit de8975bdd3dc9b4f4d65000e126bbd11c43b3f06)

13 years agor12320: Add command-line processing hooks for simple bind DN, and password callback.
Andrew Bartlett [Sun, 18 Dec 2005 21:44:43 +0000 (21:44 +0000)]
r12320: Add command-line processing hooks for simple bind DN, and password callback.

We may change this in future.

Andrew Bartlett
(This used to be commit 5fec784d4795af0cf82d36766586ded134f62165)

13 years agor12310: Link simple bind support in our internal LDAP libs to LDB and the
Andrew Bartlett [Sun, 18 Dec 2005 05:01:15 +0000 (05:01 +0000)]
r12310: Link simple bind support in our internal LDAP libs to LDB and the
command line processing system.

This is a little ugly at the moment, but works.  What I cannot manage
to get to work is the extraction and propogation of command line
credentials into the js interface to ldb.

Andrew Bartlett
(This used to be commit f34ede763e7f80507d06224d114cf6b5ac7c8f7d)

13 years agor12309: fix a crash bug, which appens in an error case
Stefan Metzmacher [Sat, 17 Dec 2005 19:24:13 +0000 (19:24 +0000)]
r12309: fix a crash bug, which appens in an error case

(This used to be commit 292bb4b6cb600ce286ded90d32d72123fdaae1d7)

13 years agor12304: split out the wins partner configuration into a seperate ldb.
Stefan Metzmacher [Sat, 17 Dec 2005 15:45:38 +0000 (15:45 +0000)]
r12304: split out the wins partner configuration into a seperate ldb.

now $privatedir/wins_config.ldb contains the wins partners
and $lockdir/wins.ldb contains the name records

(This used to be commit baa4a7a9d4f16adf476846850a63dfbfd51b10b3)

13 years agor12302: - create the logfilebase directory with make install
Stefan Metzmacher [Sat, 17 Dec 2005 10:10:09 +0000 (10:10 +0000)]
r12302: - create the logfilebase directory with make install
- get rid of unreadable long lines

(This used to be commit 98fa61714b61d8a725b1aca82f830fd0d24456d3)

13 years agor12301: FHS 2.2 says that /var/cache/* contains only cached data, which can we remove...
Stefan Metzmacher [Sat, 17 Dec 2005 09:28:39 +0000 (09:28 +0000)]
r12301: FHS 2.2 says that /var/cache/* contains only cached data, which can we removed without
losing data, we should keep our databases under /var/lib/*

should I merge this to samba3 too?

(This used to be commit 82f5a0462e51e9e59d8d1ed402762d08cfca20fe)

13 years agor12294: Move dcerpc_pipe_open_sock() to async implementation.
Rafal Szczesniak [Fri, 16 Dec 2005 20:02:41 +0000 (20:02 +0000)]
r12294: Move dcerpc_pipe_open_sock() to async implementation.

(This used to be commit 02e79800346d232bb14c476f62a3e5ba30f79bd4)

13 years agor12288: make sure we always include heimdal_build/config.h, before
Stefan Metzmacher [Fri, 16 Dec 2005 14:48:14 +0000 (14:48 +0000)]
r12288: make sure we always include heimdal_build/config.h, before
heimdal/lib/roken/roken.h, this fixes the build on the 64bit machines

(This used to be commit 657345da222a7aa0fc2c8d96881a969805a4d7a5)

13 years agor12287: move the wins.ldb into lockdir
Stefan Metzmacher [Fri, 16 Dec 2005 12:55:54 +0000 (12:55 +0000)]
r12287: move the wins.ldb into lockdir

(This used to be commit bcf04a49e329af6c2a72c0a9cf037cc4efeeb26f)

13 years agor12286: handle absolute path and url in lock_path() as in private_path()
Stefan Metzmacher [Fri, 16 Dec 2005 12:49:51 +0000 (12:49 +0000)]
r12286: handle absolute path and url in lock_path() as in private_path()

(This used to be commit 35d76f733793aecb89d82ce30a8cecb7371d3e95)

13 years agor12285: move the smbd.tmp into piddir, --with-fhs piddir is different
Stefan Metzmacher [Fri, 16 Dec 2005 11:54:05 +0000 (11:54 +0000)]
r12285: move the smbd.tmp into piddir, --with-fhs piddir is different
from lockdir and they are typically set to piddir=/var/run/samba
and lockdir=/var/lib/samba, and we should keep the temporary stuff
under /var/run/samba

(This used to be commit 571a870618cf595930da3057b147058489c8a37b)

13 years agor12284: use the correct name for logging
Stefan Metzmacher [Fri, 16 Dec 2005 10:21:05 +0000 (10:21 +0000)]
r12284: use the correct name for logging

(This used to be commit 6c457873f78397b7da47a4d98fe27d63ae60a379)

13 years agor12269: Update to current lorikeet-heimdal. This changed the way the hdb
Andrew Bartlett [Thu, 15 Dec 2005 20:38:24 +0000 (20:38 +0000)]
r12269: Update to current lorikeet-heimdal.  This changed the way the hdb
interface worked, so hdb-ldb.c and the glue have been updated.

Andrew Bartlett
(This used to be commit 8fd5224c6b5c17c3a2c04c7366b7e367012db77e)

13 years agor12268: Use transactions to ensure that the schannel db is consistant.
Andrew Bartlett [Thu, 15 Dec 2005 20:29:02 +0000 (20:29 +0000)]
r12268: Use transactions to ensure that the schannel db is consistant.

Andrew Bartlett
(This used to be commit 949137e3122a3163a9fc923a418633a791364afe)

13 years agor12267: Try to avoid segfault in kerberos libs, because we talloc_free()'ed
Andrew Bartlett [Thu, 15 Dec 2005 20:25:37 +0000 (20:25 +0000)]
r12267: Try to avoid segfault in kerberos libs, because we talloc_free()'ed
the old event context in the standard process modal child.

Andrew Bartlett
(This used to be commit 0f52a9ab071c181c7f764adc8be83e162e649931)

13 years agor12266: add --with-libdir option to overwrite the result that is set by --with-fhs...
Stefan Metzmacher [Thu, 15 Dec 2005 19:23:35 +0000 (19:23 +0000)]
r12266: add --with-libdir option to overwrite the result that is set by --with-fhs=yes/no

(This used to be commit 8e3b0a99979021540a7fc741c441c6cc647755fe)

13 years agor12265: as all server_service modules are specified in smbd/
Stefan Metzmacher [Thu, 15 Dec 2005 19:13:40 +0000 (19:13 +0000)]
r12265: as all server_service modules are specified in smbd/
follow this rule for the winbind one too

(This used to be commit 2ace7e0d2d608f7b5e9d17a2d533514fe0d22840)

13 years agor12260: move the string "smbd" to one place
Stefan Metzmacher [Thu, 15 Dec 2005 18:08:25 +0000 (18:08 +0000)]
r12260: move the string "smbd" to one place

(This used to be commit dbb8f626706bc1d41d6629b04432a34840daa355)

13 years agor12256: Add helper script for installing pkg-config files
Jelmer Vernooij [Thu, 15 Dec 2005 17:19:27 +0000 (17:19 +0000)]
r12256: Add helper script for installing pkg-config files
(This used to be commit c05ffb05c85475669d72afcc183cfb54bd7c73d5)

13 years agor12255: - we don't use SIGUSR1 anymore, so ignore it
Stefan Metzmacher [Thu, 15 Dec 2005 16:53:20 +0000 (16:53 +0000)]
r12255: - we don't use SIGUSR1 anymore, so ignore it
- we don't handle SIGHUP just, so ignore it

(This used to be commit 09a517bd974e47547d6c3f3ff932289c47845efe)

13 years agor12254: Add some (hopefully correct) descriptions for libraries that are installed.
Jelmer Vernooij [Thu, 15 Dec 2005 16:32:08 +0000 (16:32 +0000)]
r12254: Add some (hopefully correct) descriptions for libraries that are installed.
Install pkg-config files.
(This used to be commit a86abe84e2cae7c6188c094a92c6b62aace02fdf)

13 years agor12253: Automatically build seperate binaries without -rpath to install when
Jelmer Vernooij [Thu, 15 Dec 2005 15:59:10 +0000 (15:59 +0000)]
r12253: Automatically build seperate binaries without -rpath to install when
using shared libraries and developer mode is enabled.
(This used to be commit 507bee76dc26b048ead317ec5e10a9deb1ff7f09)

13 years agor12252: With this change (hack) we can now do an provision onto Samba4's LDAP
Andrew Bartlett [Thu, 15 Dec 2005 02:39:29 +0000 (02:39 +0000)]
r12252: With this change (hack) we can now do an provision onto Samba4's LDAP
server.  Now to try another one...

Andrew Bartlett
(This used to be commit 175f616d74ac3567a35713343be0c63c96c5aede)

13 years agor12247: - reject freeing the wrepl_socket inside of wrepl_socket_dead()
Stefan Metzmacher [Wed, 14 Dec 2005 21:27:29 +0000 (21:27 +0000)]
r12247: - reject freeing the wrepl_socket inside of wrepl_socket_dead()
- free it at the end of wrepl_socket_dead() if needed

(This used to be commit 58285115c83a3b7bbc9bf52a105cebd11831e9d8)

13 years agor12242: - make the push notifications triggered by the change count
Stefan Metzmacher [Wed, 14 Dec 2005 19:19:43 +0000 (19:19 +0000)]
r12242: - make the push notifications triggered by the change count
- for now we fake the change count to '1', so we'll still have periodicly triggered push
  notifies, the interval is the 'wreplsrv:periodic_interval=60'
- add the 'pushUseInform' attribute to the wreplPartner objectClass
  to configure if we'll use WREPL_REPL_INFORM notifies

(This used to be commit fa1a5660bb2ef7fabd72ad9b993dd91d59ac409e)

13 years agor12241: fix the inform push notifies
Stefan Metzmacher [Wed, 14 Dec 2005 19:07:53 +0000 (19:07 +0000)]
r12241: fix the inform push notifies

(This used to be commit 626d0e6fe508603f5f28b88fd18ff5d71a4660ca)

13 years agor12240: if the caller isn't interessted in the reply packet, just free it
Stefan Metzmacher [Wed, 14 Dec 2005 19:04:45 +0000 (19:04 +0000)]
r12240: if the caller isn't interessted in the reply packet, just free it
(mostly use for send_only requests, where we don't have a reply at all)

(This used to be commit a01d5a769c63777232aad89f8c4b5460824ca2b1)

13 years agor12239: as we only get error from our events system when we wait for read events,
Stefan Metzmacher [Wed, 14 Dec 2005 18:24:59 +0000 (18:24 +0000)]
r12239: as we only get error from our events system when we wait for read events,
we need to initialy ask for read events too, otherwise we'll never get an
error back from socket_connect()

(This used to be commit 7d94054d0fc954e6d810573430f2c5d35b73125d)

13 years agor12238: don't crash when an error happens while connecting and the packet_context...
Stefan Metzmacher [Wed, 14 Dec 2005 18:22:38 +0000 (18:22 +0000)]
r12238: don't crash when an error happens while connecting and the packet_context isn't inplace yet

(This used to be commit 064d9409c3dda25a803fd5ca9ad15c48271e8905)

13 years agor12232: I hate SWAT code being outside 'source'. Add in code to push the
Andrew Bartlett [Wed, 14 Dec 2005 17:16:06 +0000 (17:16 +0000)]
r12232: I hate SWAT code being outside 'source'.  Add in code to push the
user's session info into ldb structure for the ldb tests.

Andrew Bartlett
(This used to be commit 4e1a60a24f7c38170a22d6092b4d5392f5bca5d3)

13 years agor12230: prepare for a generic periodic processing scheduling of
Stefan Metzmacher [Wed, 14 Dec 2005 10:56:43 +0000 (10:56 +0000)]
r12230: prepare for a generic periodic processing scheduling of
pull,push,scavenging and reread-config events

(This used to be commit 977117278c4b9fc1b7845b6aa6d5862e5a776651)

13 years agor12229: fix the expire time for released records
Stefan Metzmacher [Wed, 14 Dec 2005 08:46:52 +0000 (08:46 +0000)]
r12229: fix the expire time for released records

(This used to be commit 6d355a953838bb551b6aef05b2daaeae13682a7b)

13 years agor12228: fix the expire time for RELEASED records
Stefan Metzmacher [Wed, 14 Dec 2005 08:38:25 +0000 (08:38 +0000)]
r12228: fix the expire time for RELEASED records

(This used to be commit afb0f660a2e4e5ae78c2906e2acf9eba50ea598f)

13 years agor12227: I realised that I wasn't yet seeing authenticated LDAP for the ldb
Andrew Bartlett [Wed, 14 Dec 2005 07:22:25 +0000 (07:22 +0000)]
r12227: I realised that I wasn't yet seeing authenticated LDAP for the ldb

The idea is that every time we open an LDB, we can provide a
session_info and/or credentials.  This would allow any ldb to be remote
to LDAP.  We should also support provisioning to a authenticated ldap

(They are separate so we can say authenticate as foo for remote, but
here we just want a token of SYSTEM).

Andrew Bartlett
(This used to be commit ae2f3a64ee0b07575624120db45299c65204210b)

13 years agor12219: Use some more common functions
Jelmer Vernooij [Tue, 13 Dec 2005 21:42:03 +0000 (21:42 +0000)]
r12219: Use some more common functions
(This used to be commit 57ea480c24ff914dfa6cbc5a309020b21fa4af39)

13 years agor12218: Use common functions for generating lists
Jelmer Vernooij [Tue, 13 Dec 2005 21:00:52 +0000 (21:00 +0000)]
r12218: Use common functions for generating lists
(This used to be commit ba913b86e866a67402785d9177711beb16db2cab)

13 years agor12217: add my copyright
Stefan Metzmacher [Tue, 13 Dec 2005 19:45:24 +0000 (19:45 +0000)]
r12217: add my copyright

(This used to be commit f251c5709678415521b3ebae413a6616daa6e50a)

13 years agor12216: Couple of small fixes: reduce include/includes.h a bit, simplify headers
Jelmer Vernooij [Tue, 13 Dec 2005 19:38:12 +0000 (19:38 +0000)]
r12216: Couple of small fixes: reduce include/includes.h a bit, simplify headers
in build/smb_build/, remove unused pstring macros
(This used to be commit 432296207400636dd81d0929ec7b1b4cebbcaa62)

13 years agor12211: remove unused element
Stefan Metzmacher [Tue, 13 Dec 2005 17:39:24 +0000 (17:39 +0000)]
r12211: remove unused element

(This used to be commit 1c0586868083455780aec38f638277b313dcfa1a)

13 years agor12209: Fix some issues with XML entities.
Jelmer Vernooij [Tue, 13 Dec 2005 16:48:37 +0000 (16:48 +0000)]
r12209: Fix some issues with XML entities.
(This used to be commit 754e51b19d2d1fd6be8e01d62b6ec892688f934c)

13 years agor12208: Remove obsolete scons directory
Jelmer Vernooij [Tue, 13 Dec 2005 16:25:07 +0000 (16:25 +0000)]
r12208: Remove obsolete scons directory
(This used to be commit e90abfcc7d84d0cae566ecf395dbef4b927de0f9)

13 years agor12207: More improvements to the Debian package by Steinar Gunderson.
Jelmer Vernooij [Tue, 13 Dec 2005 16:11:45 +0000 (16:11 +0000)]
r12207: More improvements to the Debian package by Steinar Gunderson.
(This used to be commit 72df2de396a3d8ada56362b807532ca6416d99e4)

13 years agor12206: Fix some issues in NOEMIT
Jelmer Vernooij [Tue, 13 Dec 2005 13:14:23 +0000 (13:14 +0000)]
r12206: Fix some issues in NOEMIT
(This used to be commit 905cebd117f3b05a286f014e2c21b0843e8f7caf)

13 years agor12205: Support 'TFS' command in conformance files
Jelmer Vernooij [Tue, 13 Dec 2005 01:56:04 +0000 (01:56 +0000)]
r12205: Support 'TFS' command in conformance files
(This used to be commit 3241ce7ad75a2f91327815374ad698e8bedb2e73)

13 years agor12201: Remove some lines that I accidently added more then once
Jelmer Vernooij [Mon, 12 Dec 2005 21:56:40 +0000 (21:56 +0000)]
r12201: Remove some lines that I accidently added more then once
(This used to be commit 332dbf755796c7e51752bd735b5de3f693bbf88e)

13 years agor12200: - move the the winsreplication client and server code to the packet_context
Stefan Metzmacher [Mon, 12 Dec 2005 21:31:42 +0000 (21:31 +0000)]
r12200: - move the the winsreplication client and server code to the packet_context
- this needs to be in one big patch, because of the merging code,
  that changes client in server connections and the other way around
- use socket_connect_send/_recv() in the client code

(This used to be commit f0105b7fcdc3032d22444a1973927fff2dd9a06f)

13 years agor12198: Some more Debian updates. Thanks to Steinar H. Gunderson
Jelmer Vernooij [Mon, 12 Dec 2005 19:45:47 +0000 (19:45 +0000)]
r12198: Some more Debian updates. Thanks to Steinar H. Gunderson
(This used to be commit 049100bb9b2e39e20b79247f5111f86a9ca4118b)

13 years agor12197: Some improvements to the Debian package. Thanks to Steinar Gunderson
Jelmer Vernooij [Mon, 12 Dec 2005 19:33:09 +0000 (19:33 +0000)]
r12197: Some improvements to the Debian package. Thanks to Steinar Gunderson
(This used to be commit 538afb479d6d217ac6f7c64592e94966607f23fb)

13 years agor12181: Use BASE_HEX rather then BASE_DEC by default for bitmaps. Patch by Guy
Jelmer Vernooij [Sun, 11 Dec 2005 14:44:38 +0000 (14:44 +0000)]
r12181: Use BASE_HEX rather then BASE_DEC by default for bitmaps. Patch by Guy
Harris. Fixes #3313
(This used to be commit daff0cba2c8e4d56055673b1113e19c265a8bf63)

13 years agor12179: Allow our KDC to use LDAP to get to the backend database.
Andrew Bartlett [Sun, 11 Dec 2005 08:31:46 +0000 (08:31 +0000)]
r12179: Allow our KDC to use LDAP to get to the backend database.

To avoid a circular depenency, it is not allowed to use Krb5 as an
authentication mechanism, so this must be removed from the list.  An
extension to the credentials system allows this function.

Also remove proto.h use for any of the KDC, and use NTSTATUS returns
in more places.

Andrew Bartlett
(This used to be commit 5f9dddd02c9c821675d2ccd07561a55edcd7f5b4)

13 years agor12178: Make ldb_ildap work against localhost again, by setting the event
Andrew Bartlett [Sun, 11 Dec 2005 08:27:14 +0000 (08:27 +0000)]
r12178: Make ldb_ildap work against localhost again, by setting the event
context into the ldb opaque.  I'm sure this was done before, and must
have been lost by some other change.

Andrew Bartlett
(This used to be commit dddedf13717e860bda0dadd8a1dfc4f891e355b5)

13 years agor12162: More comments.
Rafal Szczesniak [Sat, 10 Dec 2005 10:10:44 +0000 (10:10 +0000)]
r12162: More comments.

(This used to be commit 2d69e4b13e547768a36e293a9164923e35da7334)

13 years agor12161: Fix a memleak and do the -O1 janitor :-)
Volker Lendecke [Sat, 10 Dec 2005 09:18:03 +0000 (09:18 +0000)]
r12161: Fix a memleak and do the -O1 janitor :-)
(This used to be commit 82d87d62614a33ec9d2ed20e63d80a7af64e8678)

13 years agor12158: added ldif handlers for the ntSecurityDescriptor attribute, so when
Andrew Tridgell [Fri, 9 Dec 2005 23:43:02 +0000 (23:43 +0000)]
r12158: added ldif handlers for the ntSecurityDescriptor attribute, so when
displaying security descriptors in ldbsearch or ldbedit you can see
the SDDL version.

This also allows us to specify security descriptors in our
setup/*.ldif files in SDDL format, which is much more convenient than
the NDR binary format!
(This used to be commit 8185731c1846412c1b3366824cdb3d05b2d50b73)

13 years agor12157: ldb_dump_results() is useful to call from within gdb, so you can see a
Andrew Tridgell [Fri, 9 Dec 2005 23:40:14 +0000 (23:40 +0000)]
r12157: ldb_dump_results() is useful to call from within gdb, so you can see a
set of results
(This used to be commit 2be62eb2dde9250f8bfe3a3272851e152a1d6b68)

13 years agor12156: added samdb_domain_sid(), a routine to get the domain sid by looking
Andrew Tridgell [Fri, 9 Dec 2005 23:39:00 +0000 (23:39 +0000)]
r12156: added samdb_domain_sid(), a routine to get the domain sid by looking
up the rootDomainNamingContext in the rootdse, then getting the
objectsid from the root of the domain
(This used to be commit 152590101e64ec260304e4b34cb1e2ef64333a02)

13 years agor12154: Torture test for bug # 3303.
Volker Lendecke [Fri, 9 Dec 2005 21:49:11 +0000 (21:49 +0000)]
r12154: Torture test for bug # 3303.

Jeremy, to run this against Samba3 at all you need to insert a "goto line 957"
in line 548. Without this we fail some tests before # 16 and bail out.

While looking at it, you wanted to fix the directory-based ones a while
ago.... :-))

(This used to be commit 45cd224102f21364c4f6ca056417f956f21eb02e)

13 years agor12153: work arround the fact that epoll reports EPOLLERR and EPOLLHUP, even if
Stefan Metzmacher [Fri, 9 Dec 2005 20:42:09 +0000 (20:42 +0000)]
r12153: work arround the fact that epoll reports EPOLLERR and EPOLLHUP, even if
you don't ask for.

with this patch the epoll mode behaves like the select mode

(This used to be commit f26c28a3ae7951657cc304659f3d19c16f462dd8)

13 years agor12151: match the select mode of the standard events system and the liboop system,
Stefan Metzmacher [Fri, 9 Dec 2005 20:14:55 +0000 (20:14 +0000)]
r12151: match the select mode of the standard events system and the liboop system,
and report errors as read events

(This used to be commit 5bbd54e96c75af765f827238d6c80101613ae64f)

13 years agor12150: Reformatting
Volker Lendecke [Fri, 9 Dec 2005 19:36:40 +0000 (19:36 +0000)]
r12150: Reformatting
(This used to be commit aaa21b7132ec81008ad2ec7b2aafc4604d13093d)

13 years agor12148: add the docs for the paged results control
Simo Sorce [Fri, 9 Dec 2005 18:33:30 +0000 (18:33 +0000)]
r12148: add the docs for the paged results control
(This used to be commit 9fab4ab2724d8276765cb42f5e8e177c4ef1ca20)

13 years agor12146: as epoll notifies EPOLLERR and EPOLLHUP implicit,
Stefan Metzmacher [Fri, 9 Dec 2005 17:49:48 +0000 (17:49 +0000)]
r12146: as epoll notifies EPOLLERR and EPOLLHUP implicit,
let our code make it explicit, to make it clear

(This used to be commit cf733e2684ab0d43d83b1ab5c9d178d895f768a1)

13 years agor12141: - move epoll related code into one big #ifdef, and use dummy #define's
Stefan Metzmacher [Fri, 9 Dec 2005 17:30:14 +0000 (17:30 +0000)]
r12141: - move epoll related code into one big #ifdef, and use dummy #define's
  for the case where, epoll isn't available at compile time
- only pass the private std_event_context, to the local function,
  to get rid of the talloc_get_type() calls
- use the private pointer to std_event_context_init() to decide if we want to
  disable epoll at runtime

(This used to be commit de322ea8b761df5434e60879b7eae3796ea68007)

13 years agor12140: - add an additional_flags field to the fd_event struct, so that
Stefan Metzmacher [Fri, 9 Dec 2005 16:43:19 +0000 (16:43 +0000)]
r12140: - add an additional_flags field to the fd_event struct, so that
  the events backend can store private flags
- add function to access the gtk event loop ops struct

(This used to be commit a5cc0758a393f36a770cdd57e317214d03934c13)

13 years agor12139: - fixed up the ace object flags checking
Andrew Tridgell [Fri, 9 Dec 2005 06:22:09 +0000 (06:22 +0000)]
r12139: - fixed up the ace object flags checking

- allow for arbitrary access masks in sddl_encode_ace()
(This used to be commit 5e2b1bd6afafe2eb96e98c4636e0a62235693183)

13 years agor12138: added use of 2 letter SID codes in sddl_encode_sid()
Andrew Tridgell [Fri, 9 Dec 2005 05:21:47 +0000 (05:21 +0000)]
r12138: added use of 2 letter SID codes in sddl_encode_sid()
(This used to be commit a0662ae9d3f719d2db193490361923095bd4d419)

13 years agor12137: added sddl_encode(), the reverse of the sddl_decode() function added a
Andrew Tridgell [Fri, 9 Dec 2005 04:54:30 +0000 (04:54 +0000)]
r12137: added sddl_encode(), the reverse of the sddl_decode() function added a
couple of days ago. Doesn't yet encode using the shorthand for well
known SIDs.
(This used to be commit 655a4ebe8e0ee18133103bfba0ca6d14cbf81d56)

13 years agor12136: fixed a bug in NetWkstaTransportEnum() from the recent merge with ethereal idl
Andrew Tridgell [Fri, 9 Dec 2005 04:11:44 +0000 (04:11 +0000)]
r12136: fixed a bug in NetWkstaTransportEnum() from the recent merge with ethereal idl
(This used to be commit 5ce6a62f2e8fd27e50bcbdcf13d34c60e70c9923)

13 years agor12135: Move named pipe connect on smb2 function to async implementation.
Rafal Szczesniak [Fri, 9 Dec 2005 00:04:38 +0000 (00:04 +0000)]
r12135: Move named pipe connect on smb2 function to async implementation.
Completely untested, it's a bit difficult without having vista
around (yet), so - Andrew, please test it and let me know what's

(This used to be commit b9e7522bd4b626402c51a69695bea0928f5baef7)

13 years agor12128: add --enable-socket-wrapper
Stefan Metzmacher [Thu, 8 Dec 2005 14:17:58 +0000 (14:17 +0000)]
r12128: add --enable-socket-wrapper

(This used to be commit 8d40b2f4d05615e77c3037726ca890aafde9c722)

13 years agor12127: add --option=rpc_login:samr_auth=yes, to work against w2k3
Stefan Metzmacher [Thu, 8 Dec 2005 14:06:42 +0000 (14:06 +0000)]
r12127: add --option=rpc_login:samr_auth=yes, to work against w2k3

(This used to be commit d8902e3513e518827f827dbf4bf3e0f17da2a95c)

13 years agor12126: get rid of the local ->terminate hacks, we do that genericly now
Stefan Metzmacher [Thu, 8 Dec 2005 10:23:56 +0000 (10:23 +0000)]
r12126: get rid of the local ->terminate hacks, we do that genericly now

(This used to be commit a7baf165c10c00096265b790d5362905c527806a)

13 years agor12125: make the deferred connection termination the default,
Stefan Metzmacher [Thu, 8 Dec 2005 09:13:28 +0000 (09:13 +0000)]
r12125: make the deferred connection termination the default,
so that I can remove all the other versions of it

(This used to be commit 82de98b8e9f3030449225634935a71a3dd7e117c)

13 years agor12124: we don't need this comment twice
Stefan Metzmacher [Thu, 8 Dec 2005 08:48:35 +0000 (08:48 +0000)]
r12124: we don't need this comment twice

(This used to be commit 62c4ae8dde918d8393a3b181a5cac1be1e57e158)

13 years agor12123: handle fde == NULL at the correct level
Stefan Metzmacher [Thu, 8 Dec 2005 08:31:59 +0000 (08:31 +0000)]
r12123: handle fde == NULL at the correct level

(This used to be commit 1dd5bb60a5047b94034eb084473bb8f4a9926e7c)

13 years agor12122: add forward declaration for packet_context
Stefan Metzmacher [Thu, 8 Dec 2005 07:52:52 +0000 (07:52 +0000)]
r12122: add forward declaration for packet_context

(This used to be commit 2ea8e61f2383c1d375c852bb0a44aac5a5af2d96)