sfrench/samba-autobuild/.git
21 years agowrong alignment size calculation
Simo Sorce [Fri, 13 Sep 2002 08:53:53 +0000 (08:53 +0000)]
wrong alignment size calculation
spot by Florian Weimer <Weimer@CERT.Uni-Stuttgart.DE>
(This used to be commit eda0e7589f2591edc29e6c1eef44aa21628977be)

21 years agoUpdated some comments in the NET_USER_INFO_3 structure for the other_sids
Tim Potter [Fri, 13 Sep 2002 08:17:02 +0000 (08:17 +0000)]
Updated some comments in the NET_USER_INFO_3 structure for the other_sids
field.
(This used to be commit d153d692a0f8499e1d6dac791a4d119cd9c15e45)

21 years agoFixed up FreeBSD sendfile code - only Solaris left then I can add the
Jeremy Allison [Thu, 12 Sep 2002 18:18:35 +0000 (18:18 +0000)]
Fixed up FreeBSD sendfile code - only Solaris left then I can add the
configure tests...
Jeremy.
(This used to be commit 9dad88e1d4d09f61da87dab2633c6e989a9dd77f)

21 years agoChanged profile version number to 7 - added sendfile statistics.
Jeremy Allison [Thu, 12 Sep 2002 06:28:13 +0000 (06:28 +0000)]
Changed profile version number to 7 - added sendfile statistics.
Jeremy.
(This used to be commit 2d080d7579c0a59bcb03608600c6b28243bbe353)

21 years agoHPUX takes offset, not pointer to offset.
Jeremy Allison [Thu, 12 Sep 2002 06:26:06 +0000 (06:26 +0000)]
HPUX takes offset, not pointer to offset.
Jeremy.
(This used to be commit d7024e8cb94a20cba789deb2c5b70221f6cca4fd)

21 years agoFixup sendfile to match HPUX semantics with signal interrups. This was
Jeremy Allison [Thu, 12 Sep 2002 06:24:41 +0000 (06:24 +0000)]
Fixup sendfile to match HPUX semantics with signal interrups. This was
fiddly.... :-(.
Jeremy.
(This used to be commit 2b33a500a8ad13acdd7e4f593aba65229dc8dd96)

21 years agoMerge undone cleanups.
Tim Potter [Thu, 12 Sep 2002 05:39:55 +0000 (05:39 +0000)]
Merge undone cleanups.
(This used to be commit d87c1f507d38444e627bce59b6c765d9c9479ac6)

21 years agoMerge of winbind auth cleanups from appliance.
Tim Potter [Thu, 12 Sep 2002 04:30:23 +0000 (04:30 +0000)]
Merge of winbind auth cleanups from appliance.
(This used to be commit 26d486aa740e283f546efc1f2ca40af3452a4f52)

21 years agoFirst cut at portable sendfile code. Only used in readX at the moment
Jeremy Allison [Thu, 12 Sep 2002 02:12:52 +0000 (02:12 +0000)]
First cut at portable sendfile code. Only used in readX at the moment
and doesn't actually call sendfile. Needs to be vectored through the
VFS and tested on all supported platforms (Solaris/HPUX/FreeBSD/Linux).
Linux doesn't actually work (2.4.19 kernel) at the moment because it
doesn't have a 64-bit clean sendfile.
Jeremy.
(This used to be commit fd772ca7b16cd86e0d50c7ed8d537c202976a6d2)

21 years agoMerge of cut&paste fix from appliance.
Tim Potter [Thu, 12 Sep 2002 01:44:53 +0000 (01:44 +0000)]
Merge of cut&paste fix from appliance.
(This used to be commit f75d61b03a3377f3a791b56fc307dc7e56e4707a)

21 years agoSpelling fix.
Tim Potter [Thu, 12 Sep 2002 01:25:50 +0000 (01:25 +0000)]
Spelling fix.
(This used to be commit d9fa865e5ce8ba0b7539f9a218fc7dd132eb3d38)

21 years agomerge from APP_HEAD for GetJob()
Gerald Carter [Wed, 11 Sep 2002 19:29:02 +0000 (19:29 +0000)]
merge from APP_HEAD for GetJob()
(This used to be commit 3524a4a348686ae5144a744696606123e4a66622)

21 years agoDelPrinterDrvEx() fix from APP_HEAD
Gerald Carter [Wed, 11 Sep 2002 17:35:12 +0000 (17:35 +0000)]
DelPrinterDrvEx() fix from APP_HEAD
(This used to be commit 7841753a03f7fdbd2f7f22e1b184dc1891118283)

21 years agoMerge the cli_shutdown change from 2_2. All except one call to
Volker Lendecke [Wed, 11 Sep 2002 15:18:53 +0000 (15:18 +0000)]
Merge the cli_shutdown change from 2_2. All except one call to
attempt_netbios_... assumed that cli_shutdown was _not_ called on
error anyway...

Volker
(This used to be commit f0c741594f0dad2da16b1d5692dd56a48b4157f1)

21 years agoadded gencache implementation from mimir - thanks!
Andrew Tridgell [Wed, 11 Sep 2002 14:07:21 +0000 (14:07 +0000)]
added gencache implementation from mimir - thanks!
(This used to be commit 05a202c287f5daeb1ccbaf9479aa93e7928e93db)

21 years agoImplemented getpw{nam,uid} functions.
Tim Potter [Wed, 11 Sep 2002 04:55:45 +0000 (04:55 +0000)]
Implemented getpw{nam,uid} functions.
(This used to be commit 19adbf1faed3d076207ec55e398f15f87d48c9f7)

21 years agoAdded char *, uid_t and gid_t types to generic conversion routines.
Tim Potter [Wed, 11 Sep 2002 04:54:20 +0000 (04:54 +0000)]
Added char *, uid_t and gid_t types to generic conversion routines.
(This used to be commit a938863914cbfec247586c92fd06203fec7febde)

21 years agoFix some dodgy stuff that accidentally was committed.
Tim Potter [Wed, 11 Sep 2002 04:53:16 +0000 (04:53 +0000)]
Fix some dodgy stuff that accidentally was committed.
(This used to be commit d6d0f121d95b79d4acc68354b35fb0fb3e42e1c0)

21 years agoFix imports for printerdata browser.
Tim Potter [Wed, 11 Sep 2002 04:50:18 +0000 (04:50 +0000)]
Fix imports for printerdata browser.
(This used to be commit d36fd6651726ffee059f4b39211da66b5b6d7ec1)

21 years agoPut pid number in invalid request size debug.
Tim Potter [Wed, 11 Sep 2002 03:57:19 +0000 (03:57 +0000)]
Put pid number in invalid request size debug.
(This used to be commit e63afabf98350353fac79ffc2ae2ddf88d61260f)

21 years agoBugfix merge:
Tim Potter [Wed, 11 Sep 2002 03:53:41 +0000 (03:53 +0000)]
Bugfix merge:

>Initialise user_rid value in WINBIND_USERINFO structure returned by
>the rpc version of query_user().  This fixes a caching bug found by
>Gavrie Philipson from disksite.
(This used to be commit 77bde1fa33cc387accda8f38bf654377310f5dbe)

21 years agoIgnore *.pyc
Tim Potter [Wed, 11 Sep 2002 02:26:47 +0000 (02:26 +0000)]
Ignore *.pyc
(This used to be commit 9d639cd4156e6b8fcb84e20e0b8adaa3fc5dc5ba)

21 years agoFormatting tidyups before I look at implementing the sendfile in READX.
Jeremy Allison [Wed, 11 Sep 2002 01:44:32 +0000 (01:44 +0000)]
Formatting tidyups before I look at implementing the sendfile in READX.
Jeremy.
(This used to be commit 640f061ab2c0fa772c0b181a5492aaf94b21fd3e)

21 years agoChange 'import spoolss' to 'from samba import spoolss'.
Tim Potter [Wed, 11 Sep 2002 01:20:49 +0000 (01:20 +0000)]
Change 'import spoolss' to 'from samba import spoolss'.
(This used to be commit 06f6e7110029d5d60c4f34123f470bfb4c96364a)

21 years agoEnsure we've failed a lock with a lock denied message before automatically
Jeremy Allison [Wed, 11 Sep 2002 01:05:22 +0000 (01:05 +0000)]
Ensure we've failed a lock with a lock denied message before automatically
pushing it onto the blocking queue.
Jeremy.
(This used to be commit 237e36124cedf0485deaff81f34688fa862c3317)

21 years agoFix missing braces around push lock call.
Jeremy Allison [Wed, 11 Sep 2002 00:50:13 +0000 (00:50 +0000)]
Fix missing braces around push lock call.
Jeremy.
(This used to be commit c93b40f43d5f5027f26c9b6bb906011a9075db2d)

21 years agoremoving compiler warnings about shadowed globals
Gerald Carter [Tue, 10 Sep 2002 21:48:07 +0000 (21:48 +0000)]
removing compiler warnings about shadowed globals
(This used to be commit 6f0561acadd139e37f86e30a2bbf10f428178eaf)

21 years agoremoved warning about shadowed globals
Gerald Carter [Tue, 10 Sep 2002 21:41:25 +0000 (21:41 +0000)]
removed warning about shadowed globals
(This used to be commit 8021bbbd0c5fad6db45a4c862848ea667cad0b79)

21 years agoAbortPrinter() fix merged from APP_HEAD.
Gerald Carter [Tue, 10 Sep 2002 21:37:53 +0000 (21:37 +0000)]
AbortPrinter() fix merged from APP_HEAD.
(This used to be commit 97ede49e1271fa00c6ffdf9e6e3c2330ea935461)

21 years agoPatch from Andy Levine andyl@epicrealm.com who discovered that W2K DMB's
Jeremy Allison [Tue, 10 Sep 2002 17:24:17 +0000 (17:24 +0000)]
Patch from Andy Levine andyl@epicrealm.com who discovered that W2K DMB's
return empty NetServerEnum2 on port 445, but not on port 139.
Jeremy.
(This used to be commit a9112a1e4b24ccd94be4d0d055ddc9d1bdfef1be)

21 years agoCheck in examples for tdb packer
Martin Pool [Tue, 10 Sep 2002 08:36:55 +0000 (08:36 +0000)]
Check in examples for tdb packer
(This used to be commit e8f9fbd32b73f60db3683d23a979dc09e7204258)

21 years agoUpdated examples for new top level module layout.
Tim Potter [Tue, 10 Sep 2002 06:41:27 +0000 (06:41 +0000)]
Updated examples for new top level module layout.

Fixed some bugs also.
(This used to be commit 3e19e3afdb6fd1f63dee9ca52a5d33090670832e)

21 years agochange notify merge from APP_HEAD
Gerald Carter [Tue, 10 Sep 2002 02:38:15 +0000 (02:38 +0000)]
change notify merge from APP_HEAD
(This used to be commit b5227f0a645fdf2358fcb880f22e4662efdfe8e3)

21 years agoAdded final Steve French patch for "required" attributes with old
Jeremy Allison [Tue, 10 Sep 2002 01:58:51 +0000 (01:58 +0000)]
Added final Steve French patch for "required" attributes with old
dir listings. Added regression test in smbtorture (in HEAD) also.
Jeremy.
(This used to be commit 3c9d24d7c3bad2beb641880a97f0eda5cd3e4ec7)

21 years agoMerged Steve French's fix for OS/2 EA return error being removed.
Jeremy Allison [Mon, 9 Sep 2002 21:48:23 +0000 (21:48 +0000)]
Merged Steve French's fix for OS/2 EA return error being removed.
Jeremy.
(This used to be commit af2168c0344d49041b1fe78cd5219ac50308deb3)

21 years agoUse SAM debug class in skeleton - patch from metze
Jelmer Vernooij [Mon, 9 Sep 2002 21:38:42 +0000 (21:38 +0000)]
Use SAM debug class in skeleton - patch from metze
Shouldn't we use dynamic debug classes here?
(This used to be commit db0f742e0ea619e69457f15cdb3740ae7c85cebd)

21 years agoPatch from Steve French to fix difference in responses to
Jeremy Allison [Mon, 9 Sep 2002 21:06:06 +0000 (21:06 +0000)]
Patch from Steve French to fix difference in responses to
smbclient //server/share
ls /
on Samba and Windows 2000.
Jeremy.
(This used to be commit b3fe55838d23001f634f6a75f08330718353d3ad)

21 years agolowercase global_myname in %L substitution
Herb Lewis [Mon, 9 Sep 2002 21:01:53 +0000 (21:01 +0000)]
lowercase global_myname in %L substitution
(This used to be commit 43a39e85b67c026a5edd93bcd58b76ae67315975)

21 years agoMerged Volkers (correct) fix from 2.2 for crash on unable to connect.
Jeremy Allison [Mon, 9 Sep 2002 19:02:53 +0000 (19:02 +0000)]
Merged Volkers (correct) fix from 2.2 for crash on unable to connect.
Jeremy.
(This used to be commit 05e2aba52f9b027bbab7c65cc02fd5c83d3c61aa)

21 years agoAdd python_install target. Not called by default. Delegates most
Martin Pool [Mon, 9 Sep 2002 08:51:55 +0000 (08:51 +0000)]
Add python_install target.  Not called by default.  Delegates most
of the work to setup.py
(This used to be commit 29d7ee7e0d6eea53a596973d157d377fbaaab3d1)

21 years agoPut all Python modules into the 'samba' subpackage. Now you need to
Martin Pool [Mon, 9 Sep 2002 08:34:35 +0000 (08:34 +0000)]
Put all Python modules into the 'samba' subpackage.  Now you need to
write

  import samba.tdbutil
  samba.tdbutil.pack('f', ['hello'])

You need 'cvs update -d' to get the new subdirectory for this to build
properly.
(This used to be commit 0d3276355e0511d6aff110a3943199629b3c00fd)

21 years agoBuild py_tdbpack as well.
Martin Pool [Mon, 9 Sep 2002 08:06:17 +0000 (08:06 +0000)]
Build py_tdbpack as well.
(This used to be commit fc5e8b8f672d461809f113fe14435841608b046f)

21 years agoPython's setup.py does not need to be munged by configure.in -- it is
Martin Pool [Mon, 9 Sep 2002 07:49:25 +0000 (07:49 +0000)]
Python's setup.py does not need to be munged by configure.in -- it is
sufficient to just pass the relevant variables to Python from the
Makefile.  Therefore, remove setup.py.in.
(This used to be commit 8bebe9ee2b6bd56c297acc6b01cb0856aad1c4f3)

21 years agoActually, I think Jerrys patch was incorrect as it didn't ever
Jeremy Allison [Mon, 9 Sep 2002 06:44:29 +0000 (06:44 +0000)]
Actually, I think Jerrys patch was incorrect as it didn't ever
add the printing msg flag, only remove it. Also, we already
refcount the printer backchannel connection to add the connection
tdb flag just before after we register/deregister the notification
message handler.
Jerry please check !
Jeremy.
(This used to be commit c45364ae82e06364cbb11545d1262032e12a21b1)

21 years agoImport my code to do reasonably fast tdbpack/unpack from Python
Martin Pool [Mon, 9 Sep 2002 06:30:48 +0000 (06:30 +0000)]
Import my code to do reasonably fast tdbpack/unpack from Python
(This used to be commit 1f7ed8bb863fdacd0b9f3bc2e1e5d72ec7051feb)

21 years agoUpdate documentation for newly merged modules
Martin Pool [Mon, 9 Sep 2002 06:26:41 +0000 (06:26 +0000)]
Update documentation for newly merged modules
(This used to be commit a0e58fd2cef5891e874a08f71d5d7a3f10ec6454)

21 years agoThis patch has now been applied and no longer needs to exist separately
Martin Pool [Mon, 9 Sep 2002 06:23:43 +0000 (06:23 +0000)]
This patch has now been applied and no longer needs to exist separately
(This used to be commit 5b2fa5260e22c0d8bc9fb0973a6247ad99d2ed4b)

21 years agoAdd --with-python=PYTHONNAME configure option, so that the libraries
Martin Pool [Mon, 9 Sep 2002 06:05:39 +0000 (06:05 +0000)]
Add --with-python=PYTHONNAME configure option, so that the libraries
get linked for the appropriate version.
(This used to be commit 2ea647bbfaba5a4ee7cb232ae1a21acbd2a9b5c6)

21 years agoMerge tpot's Python patch. ./configure now writes to the Python
Martin Pool [Mon, 9 Sep 2002 05:54:11 +0000 (05:54 +0000)]
Merge tpot's Python patch.  ./configure now writes to the Python
makefile-equivalent (setup.py).  Remember to do "cvs update -d" to get
the new directory.
(This used to be commit 87396c559b60780e6f0613170f78ce863f0b71fd)

21 years agoMerge tpot's patch to add targets to build Python stuff. It's not
Martin Pool [Mon, 9 Sep 2002 05:46:59 +0000 (05:46 +0000)]
Merge tpot's patch to add targets to build Python stuff.  It's not
built by default.
(This used to be commit 452769f595c87ba14bde96cebf06e442e79402f3)

21 years agoAdd little meta note
Martin Pool [Mon, 9 Sep 2002 05:22:13 +0000 (05:22 +0000)]
Add little meta note
(This used to be commit c651720633e3affb192eef9e676fad37a0ad4fae)

21 years agoFix crash bugs in getprinter info level code (yay unit tests).
Tim Potter [Mon, 9 Sep 2002 04:43:38 +0000 (04:43 +0000)]
Fix crash bugs in getprinter info level code (yay unit tests).

Let the cli_spoolss function return invalid info level error rather
than checking for it ourselves.
(This used to be commit fc5e186821abc429ea8314d0785b76cbe1ec5f74)

21 years agoPass level keyword down to cli_spoolss_getform()
Tim Potter [Mon, 9 Sep 2002 04:42:01 +0000 (04:42 +0000)]
Pass level keyword down to cli_spoolss_getform()
(This used to be commit 69bb58b92e92113b3ce2c72a3bfa46ed3056c261)

21 years agoFormatting tidyup.
Tim Potter [Mon, 9 Sep 2002 04:38:12 +0000 (04:38 +0000)]
Formatting tidyup.
(This used to be commit 4132d9680a0b6ed829663399bba209a49ca41d56)

21 years agoReturn WERR_UNKNOWN_LEVEL for unknown info levels.
Tim Potter [Mon, 9 Sep 2002 03:22:39 +0000 (03:22 +0000)]
Return WERR_UNKNOWN_LEVEL for unknown info levels.
(This used to be commit d30da51956accfc4ea4662cece00d4df223421cd)

21 years agoReturn WERR_UNKNOWN_LEVEL for getprinterdriver level 6 as we don't
Tim Potter [Mon, 9 Sep 2002 01:13:27 +0000 (01:13 +0000)]
Return WERR_UNKNOWN_LEVEL for getprinterdriver level 6 as we don't
know how to decode a printer driver into a DRIVER_INFO_6 structure.
(This used to be commit 1338f623c2a1e539ee9ee5fedbaf16baf3eb171e)

21 years agoRemove todo comment.
Tim Potter [Mon, 9 Sep 2002 01:09:23 +0000 (01:09 +0000)]
Remove todo comment.
(This used to be commit 95831c8266119284264f7f42b08fb4d8e21e9deb)

21 years agoCheck no extra fields are present when parsing credentials.
Tim Potter [Mon, 9 Sep 2002 01:06:20 +0000 (01:06 +0000)]
Check no extra fields are present when parsing credentials.
(This used to be commit fff081d3440373071d8859b7a7d71cf6489126a4)

21 years agoUpdate patch.
Tim Potter [Sun, 8 Sep 2002 23:57:40 +0000 (23:57 +0000)]
Update patch.
(This used to be commit 31feae9e8f0c9831284cfa85f9b771113549ed2f)

21 years agoPatch from Kai Krüger for the new SAM system
Jelmer Vernooij [Sun, 8 Sep 2002 15:25:22 +0000 (15:25 +0000)]
Patch from Kai Krüger for the new SAM system
(This used to be commit 771878a2d94009b6eccef5f98d4e782cd85c291e)

21 years agoPatch from Stefan (metze) Metzmacher with more updates for the SAM subsystem
Jelmer Vernooij [Sun, 8 Sep 2002 14:58:23 +0000 (14:58 +0000)]
Patch from Stefan (metze) Metzmacher with more updates for the SAM subsystem
(This used to be commit 56cb03bfc68727384df46bde6df03950f7cdfcf9)

21 years agochange parametric option name to vfs_recycle_bin it is more sane and do not pollute...
Simo Sorce [Sun, 8 Sep 2002 03:55:37 +0000 (03:55 +0000)]
change parametric option name to vfs_recycle_bin it is more sane and do not pollute standard options namespace too much

changed also the mode options to be indipendente boolean values, make it easier to understand how to configure them

eg:
vfs_recycle_bin:keeptree=yes
vfs_recycle_bin:versions=yes
(This used to be commit d904d50d3945f5f6a80b59850a82f3e37863c125)

21 years agoforgot to commit configure with configure.in
Simo Sorce [Sun, 8 Sep 2002 00:36:22 +0000 (00:36 +0000)]
forgot to commit configure with configure.in
(This used to be commit db883ae1e659496696c17f2901634cada5e4aa13)

21 years ago"disable charset" -> "display charset". oops
Jelmer Vernooij [Sat, 7 Sep 2002 19:06:37 +0000 (19:06 +0000)]
"disable charset" -> "display charset". oops
(This used to be commit 67543ea43d6c76f10f6757ae35a29044ce0020c5)

21 years agomerge of printer change notify fix from APP_HEAD
Gerald Carter [Sat, 7 Sep 2002 17:08:59 +0000 (17:08 +0000)]
merge of printer change notify fix from APP_HEAD
(This used to be commit 6a53a9cb7c56927423dea125c65d66605fae566f)

21 years agoThis is the 'main' inclue for for winbind clients - all clients should include
Andrew Bartlett [Sat, 7 Sep 2002 09:25:36 +0000 (09:25 +0000)]
This is the 'main' inclue for for winbind clients - all clients should include
only this file, and not any others.  It includes the function prototypes.
(Forgot to commit with earlier patch)

Andrew Bartlett
(This used to be commit 3ec3861445e7da1347c3b5ba180b33441f59640c)

21 years agoDon't leak file desciptors in this (impossible?) error case.
Andrew Bartlett [Sat, 7 Sep 2002 06:04:28 +0000 (06:04 +0000)]
Don't leak file desciptors in this (impossible?) error case.
(This used to be commit b440418f13b840860be42690bf475c1ee3cb3647)

21 years agoWinbind client-side cleanups.
Andrew Bartlett [Sat, 7 Sep 2002 05:41:23 +0000 (05:41 +0000)]
Winbind client-side cleanups.

The global winbind file descriptor can cause havoc in some situations -
particulary when it becomes 0, 1 or 2.  This patch (based on some very nice
work by Hannes Schmidt <mail@schmidt-net.via.t-online.de>) starts to recitfy
the problem by ensuring that the close-on-exec flag is set, and that we move
above 3 in the file descriptor table.

I've also decided that the PAM module can close it's pipe handle on every
request - this isn't performance-critical code.

The next step is to do the same for nss_winbind.  (But things like getent()
might get in our way there).

This also cleans up some function prototypes, puts them in just one place.

Andrew Bartlett
(This used to be commit 442eb39657b98f67cd229ed3110b63aae8bf4e3c)

21 years agoconfigure.in:
Simo Sorce [Sat, 7 Sep 2002 04:08:03 +0000 (04:08 +0000)]
configure.in:
reflect the new example/VFS/ directory organization

lib/substitue.c:
added helper functions needed by recycle bin
(This used to be commit 29b4b9a2b5a0347d227b1a30e3f34bf40afa6de4)

21 years agorecycle.c:
Simo Sorce [Sat, 7 Sep 2002 04:05:42 +0000 (04:05 +0000)]
recycle.c:
merged in modifications made my differnt people, cleaned up things, yet some work todo
the code works but there are still some cases to be handled properly

Makefile.in:
this one seem much simpler and effective than the previous hack with file inclusion
it should also be more portable
we still need to find a solution to support multiple platforms or go back to libtool
(This used to be commit e9f4bc77f84eeece82dea25f9c693cfb1d0a8464)

21 years agoAs per the 'OK' at CIFS2002, only use the readline headers (and this crasy
Andrew Bartlett [Fri, 6 Sep 2002 23:10:28 +0000 (23:10 +0000)]
As per the 'OK' at CIFS2002, only use the readline headers (and this crasy
#ifdef mess...) in readline.c, we don't need or use them in the rest of Samba.

(This OK was of course conditional on 'if you break it, you better fix it...')

Andrew Bartlett
(This used to be commit 55ee289f587f107fa03c5f889491fdaab101df2d)

21 years agoSeems I missed commiting this when I added the rest of metze's ADS patch.
Andrew Bartlett [Fri, 6 Sep 2002 13:46:36 +0000 (13:46 +0000)]
Seems I missed commiting this when I added the rest of metze's ADS patch.

Oh well, here it is...

Andrew Bartlett
(This used to be commit 7c2a667640b01a0f19ddc3515c5ca7ac43d26e25)

21 years agothe current block module is completely broken, jelmer will commit a new one later.
Simo Sorce [Fri, 6 Sep 2002 13:39:46 +0000 (13:39 +0000)]
the current block module is completely broken, jelmer will commit a new one later.
simo
(This used to be commit 830f9910bb77562aa2dbef2f479c01493928692d)

21 years agomove everything to flat VFS/ directory
Simo Sorce [Fri, 6 Sep 2002 13:37:40 +0000 (13:37 +0000)]
move everything to flat VFS/ directory
(This used to be commit d383c309d4a259fb28d7541777a8b3b53cca23bf)

21 years agoThis is the 'easy' parts of the trusted domains patch n+3 patch from
Andrew Bartlett [Fri, 6 Sep 2002 13:37:11 +0000 (13:37 +0000)]
This is the 'easy' parts of the trusted domains patch n+3 patch from
Rafal Szczesniak <mimir@diament.ists.pwr.wroc.pl>

It includes a conversion of make_user_info*() to NTSTATUS and some minor
changes to other files.

It also picks up on a nasty segfault that can occour in some security=domain
cases.

Andrew Bartlett
(This used to be commit d1e1fc3e4bf72717b3593685f0ea5750d676952a)

21 years agoFix some missing ; on the end of our SAM_ASSERT()...
Andrew Bartlett [Fri, 6 Sep 2002 13:21:54 +0000 (13:21 +0000)]
Fix some missing ; on the end of our SAM_ASSERT()...
(This used to be commit 4d642e1fa4ed454a421a9f219a8cdecddb57fd31)

21 years agoGet our consts back in line with current norms - only for pointer protection.
Andrew Bartlett [Fri, 6 Sep 2002 13:17:55 +0000 (13:17 +0000)]
Get our consts back in line with current norms - only for pointer protection.
Debate about extending this policy welcomed on samba-technical.

Andrew Bartlett
(This used to be commit 5f59abb410110c22b6fffd7502443b5259d12e5a)

21 years agoMake it possible to actually build these modules - process the Makefile.in at
Andrew Bartlett [Fri, 6 Sep 2002 13:05:04 +0000 (13:05 +0000)]
Make it possible to actually build these modules - process the Makefile.in at
the end of configure.
(This used to be commit 6953db6a98432cfbb946dd2d3cbe64e7dee0b71d)

21 years agoUpdates to sam_skel from metze, add sam/group.c and add a DEBUG() to the
Andrew Bartlett [Fri, 6 Sep 2002 13:00:37 +0000 (13:00 +0000)]
Updates to sam_skel from metze, add sam/group.c and add a DEBUG() to the
SAM_ASSERT if we are not going to crash.
(This used to be commit f91fcb166107e45ffb3de95a3da65c79992341eb)

21 years agoThis commit includes part of the patch from metze posted to the list, and a few
Andrew Bartlett [Fri, 6 Sep 2002 12:57:12 +0000 (12:57 +0000)]
This commit includes part of the patch from metze posted to the list, and a few
of my own changes.

In particular:  I've added a SAM_ASSERT macro.  This expands to either
SMB_ASSERT() (which should help us track down bugs) or a return of
NT_STATUS_CHECK_FAIL.

Metze's changes are mostly to bring the code into line with current discussions
on things like adding users/groups, flags etc.

I've adjusted a fair bit of the 'const' in the SAM stuff.  Const is currently
used only for pointers, not for local variables or non-pointer paramters.  The
benifits and reasons for extending this further need discussion on
samba-technical.

Also, some of the 'context' paramters should not be const, to allow backend
modules to do fancy caching etc in them.

Andrew Bartlett
(This used to be commit e13bc432628a6131be082caedc75cd8a3d206e5a)

21 years agopatch from metze: add a 'vfs' debug class
Andrew Bartlett [Fri, 6 Sep 2002 11:58:18 +0000 (11:58 +0000)]
patch from metze:  add a 'vfs' debug class
(This used to be commit 601b56e04fddd9ddfb9be5b0a625d6d279df7f4c)

21 years agoRevert accidental commit - I'll need to do a fair bit more testing before I
Andrew Bartlett [Fri, 6 Sep 2002 11:49:16 +0000 (11:49 +0000)]
Revert accidental commit - I'll need to do a fair bit more testing before I
commit changes to NTLMSSP flags.
(This used to be commit d200770796d871b3994a06fab45624068fdc5682)

21 years agoPatch from "Stefan (metze) Metzmacher" <metze@metzemix.de>
Andrew Bartlett [Fri, 6 Sep 2002 11:46:59 +0000 (11:46 +0000)]
Patch from "Stefan (metze) Metzmacher" <metze@metzemix.de>
to extend the ADS_STATUS system to include NTSTATUS, and to provide a better
general infrustructure for his sam_ads work.

I've also added some extra failure mode DEBUG()s to parts of the code.

NOTE:  The ADS_ERR_OK() macro is rather sensitive to braketing issues - without
the final set of brakets, the test is essentially inverted - causing some
intersting 'error = success' messages...

Andrew Bartlett
(This used to be commit 5b9a7ab901bc311f3ad08462a8a68d133c34a8b4)

21 years agoOops...
Andrew Bartlett [Fri, 6 Sep 2002 10:43:52 +0000 (10:43 +0000)]
Oops...
(This used to be commit 9a6f932da1c85a331a8427f055b5fa798dbda89b)

21 years agoAdd some DEBUG()s to some libads failure modes.
Andrew Bartlett [Fri, 6 Sep 2002 10:39:34 +0000 (10:39 +0000)]
Add some DEBUG()s to some libads failure modes.
(This used to be commit ad3c8da13b9d510f78fd56364cd0987de88a9b9f)

21 years agoOne less user of Get_Pwnam_modify()...
Andrew Bartlett [Fri, 6 Sep 2002 10:38:26 +0000 (10:38 +0000)]
One less user of Get_Pwnam_modify()...

Andrew Bartlett
(This used to be commit 06b8a6fef466e006724bc49165fe936cf8fcfbfa)

21 years agoDetect and use syslog.h or sys/syslog.h corretly. Fixes lack of prototype for
Andrew Bartlett [Fri, 6 Sep 2002 10:00:24 +0000 (10:00 +0000)]
Detect and use syslog.h or sys/syslog.h corretly.  Fixes lack of prototype for
syslog() since Paul Green's POSIX patch.
(This used to be commit d3b29b0b2d2ffd5c050900ff8cae441b91f95526)

21 years agoInitial version of printerdata_ex browsing.
Tim Potter [Fri, 6 Sep 2002 07:44:21 +0000 (07:44 +0000)]
Initial version of printerdata_ex browsing.
(This used to be commit c201a61a52ffbaf1b1b70e25e0ef2b29a89f921c)

21 years agoMove printerdata dictionary object into it's own file.
Tim Potter [Fri, 6 Sep 2002 07:34:57 +0000 (07:34 +0000)]
Move printerdata dictionary object into it's own file.
(This used to be commit c211d2deca1019d3ef9bd08f5a01e76ede2d0191)

21 years agoDecode list of dependent files in printer driver info3 and info6.
Tim Potter [Fri, 6 Sep 2002 07:01:40 +0000 (07:01 +0000)]
Decode list of dependent files in printer driver info3 and info6.

It's a null terminated list of null terminated unicode strings.  What
a mess!
(This used to be commit aae48211ff4f22e0c2e2fe57c370f465df4332bc)

21 years agolevel keys are inserted by conv routines.
Tim Potter [Fri, 6 Sep 2002 06:59:40 +0000 (06:59 +0000)]
level keys are inserted by conv routines.
(This used to be commit b5068bb9fe28cfdd7a00dbc50196eb60e3a46af1)

21 years agoDisplay debug data we are marshalling/unmarshalling a UNISTR in a
Tim Potter [Fri, 6 Sep 2002 06:13:16 +0000 (06:13 +0000)]
Display debug data we are marshalling/unmarshalling a UNISTR in a
similar format to UNISTR2.
(This used to be commit 2d227bdce26674affad87ad6d118e77604fb210a)

21 years agocli_spoolss_enumprinterdrivers:
Tim Potter [Fri, 6 Sep 2002 01:12:52 +0000 (01:12 +0000)]
cli_spoolss_enumprinterdrivers:

    Return WERR_UNKNOWN_LEVEL if we can't decode the returned buffer.
(This used to be commit 0379a32d825e036c7f0dcabef46547cd678a2a1d)

21 years agoMove the fancy NT_STATUS macros to a new file, so we can include them earlier
Andrew Bartlett [Thu, 5 Sep 2002 15:47:22 +0000 (15:47 +0000)]
Move the fancy NT_STATUS macros to a new file, so we can include them earlier
in includes.h

Andrew Bartlett
(This used to be commit ed184ed1905b49956528b6835f48a69ba3c1a045)

21 years agoRevert the "reverse" change to rpc_server/srv_spoolss_nt.c, simply
Jeremy Allison [Thu, 5 Sep 2002 12:55:56 +0000 (12:55 +0000)]
Revert the "reverse" change to rpc_server/srv_spoolss_nt.c, simply
add then entries to the end of the list in printing/notify.c using
DLIST_ADD_END.
Jeremy.
(This used to be commit 047d6a05fb60172a2607bb7d7d03dda5403c61fa)

21 years agoFixed a little, long standing bug: smbclient -M <name> should resolve
Volker Lendecke [Thu, 5 Sep 2002 11:40:06 +0000 (11:40 +0000)]
Fixed a little, long standing bug: smbclient -M <name> should resolve
name#03, not name#20.

Volker
(This used to be commit 99017e887e4189ac7f6e3b7df08f028dc155191e)

21 years agoDelivery notify messages over the back channel in *reverse* order in
Tim Potter [Thu, 5 Sep 2002 06:49:08 +0000 (06:49 +0000)]
Delivery notify messages over the back channel in *reverse* order in
which they are sent in the message.  This is because a DLIST_ADD is
used by the message sender which results in the first (post!) message
being at the end of the list.  Notify messages must be delivered in
the order the events occur in otherwise the port monitor gets
confused.
(This used to be commit d41ff1f1a6cfad71ef35698d45e9fb97d9100898)

21 years agoRemove donotify as notifies are cheap now.
Jeremy Allison [Thu, 5 Sep 2002 05:26:29 +0000 (05:26 +0000)]
Remove donotify as notifies are cheap now.
Jeremy.
(This used to be commit 78585de5811d10bcca156e296c7dd51eabe5d626)

21 years agoWe shouldn't add printing flag here.
Jeremy Allison [Thu, 5 Sep 2002 04:33:52 +0000 (04:33 +0000)]
We shouldn't add printing flag here.
Jeremy.
(This used to be commit f00102ba77d752bdf714fa83ac7fdc679e8d7f17)

21 years agoSend any queued up print notify messages in exit_server() so they
Tim Potter [Thu, 5 Sep 2002 04:33:07 +0000 (04:33 +0000)]
Send any queued up print notify messages in exit_server() so they
don't get lost if the client exits before timeout_processing()
has a chance to run.
(This used to be commit d7dde74aae64e9e142b80b7e3ba1bd69cec149b0)