1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-15 05:57:49 +03:00

8627 Commits

Author SHA1 Message Date
Tim Potter
3600395b37 Fix some dodgy stuff that accidentally was committed.
(This used to be commit d6d0f121d95b79d4acc68354b35fb0fb3e42e1c0)
2002-09-11 04:53:16 +00:00
Tim Potter
18e72f5fac Fix imports for printerdata browser.
(This used to be commit d36fd6651726ffee059f4b39211da66b5b6d7ec1)
2002-09-11 04:50:18 +00:00
Tim Potter
6b694ec39c Put pid number in invalid request size debug.
(This used to be commit e63afabf98350353fac79ffc2ae2ddf88d61260f)
2002-09-11 03:57:19 +00:00
Tim Potter
7c152afe16 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)
2002-09-11 03:53:41 +00:00
Tim Potter
1d3bef09b6 Ignore *.pyc
(This used to be commit 9d639cd4156e6b8fcb84e20e0b8adaa3fc5dc5ba)
2002-09-11 02:26:47 +00:00
Jeremy Allison
36c50870f1 Formatting tidyups before I look at implementing the sendfile in READX.
Jeremy.
(This used to be commit 640f061ab2c0fa772c0b181a5492aaf94b21fd3e)
2002-09-11 01:44:32 +00:00
Tim Potter
324846f08d Change 'import spoolss' to 'from samba import spoolss'.
(This used to be commit 06f6e7110029d5d60c4f34123f470bfb4c96364a)
2002-09-11 01:20:49 +00:00
Jeremy Allison
99928976ea 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)
2002-09-11 01:05:22 +00:00
Jeremy Allison
6b956c8c1e Fix missing braces around push lock call.
Jeremy.
(This used to be commit c93b40f43d5f5027f26c9b6bb906011a9075db2d)
2002-09-11 00:50:13 +00:00
Gerald Carter
1bc851e314 removing compiler warnings about shadowed globals
(This used to be commit 6f0561acadd139e37f86e30a2bbf10f428178eaf)
2002-09-10 21:48:07 +00:00
Gerald Carter
f1be21f211 removed warning about shadowed globals
(This used to be commit 8021bbbd0c5fad6db45a4c862848ea667cad0b79)
2002-09-10 21:41:25 +00:00
Gerald Carter
5d390fc5c7 AbortPrinter() fix merged from APP_HEAD.
(This used to be commit 97ede49e1271fa00c6ffdf9e6e3c2330ea935461)
2002-09-10 21:37:53 +00:00
Jeremy Allison
96cf2abf9d 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)
2002-09-10 17:24:17 +00:00
Martin Pool
31737ace97 Check in examples for tdb packer
(This used to be commit e8f9fbd32b73f60db3683d23a979dc09e7204258)
2002-09-10 08:36:55 +00:00
Tim Potter
d4b6d5db91 Updated examples for new top level module layout.
Fixed some bugs also.
(This used to be commit 3e19e3afdb6fd1f63dee9ca52a5d33090670832e)
2002-09-10 06:41:27 +00:00
Gerald Carter
5793e15a27 change notify merge from APP_HEAD
(This used to be commit b5227f0a645fdf2358fcb880f22e4662efdfe8e3)
2002-09-10 02:38:15 +00:00
Jeremy Allison
df920a60b5 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)
2002-09-10 01:58:51 +00:00
Jeremy Allison
8de41d5948 Merged Steve French's fix for OS/2 EA return error being removed.
Jeremy.
(This used to be commit af2168c0344d49041b1fe78cd5219ac50308deb3)
2002-09-09 21:48:23 +00:00
Jeremy Allison
9a3542b80e 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)
2002-09-09 21:06:06 +00:00
Herb Lewis
dc1c14ca22 lowercase global_myname in %L substitution
(This used to be commit 43a39e85b67c026a5edd93bcd58b76ae67315975)
2002-09-09 21:01:53 +00:00
Jeremy Allison
48c91e8b2a Merged Volkers (correct) fix from 2.2 for crash on unable to connect.
Jeremy.
(This used to be commit 05e2aba52f9b027bbab7c65cc02fd5c83d3c61aa)
2002-09-09 19:02:53 +00:00
Martin Pool
2517c20b9e Add python_install target. Not called by default. Delegates most
of the work to setup.py
(This used to be commit 29d7ee7e0d6eea53a596973d157d377fbaaab3d1)
2002-09-09 08:51:55 +00:00
Martin Pool
0ad8d0c768 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)
2002-09-09 08:34:35 +00:00
Martin Pool
462818caba Build py_tdbpack as well.
(This used to be commit fc5e8b8f672d461809f113fe14435841608b046f)
2002-09-09 08:06:17 +00:00
Martin Pool
b2536ccfdd 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)
2002-09-09 07:49:25 +00:00
Jeremy Allison
4c471811a4 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)
2002-09-09 06:44:29 +00:00
Martin Pool
63f411a3f9 Import my code to do reasonably fast tdbpack/unpack from Python
(This used to be commit 1f7ed8bb863fdacd0b9f3bc2e1e5d72ec7051feb)
2002-09-09 06:30:48 +00:00
Martin Pool
3245349610 Update documentation for newly merged modules
(This used to be commit a0e58fd2cef5891e874a08f71d5d7a3f10ec6454)
2002-09-09 06:26:41 +00:00
Martin Pool
f099013fcb This patch has now been applied and no longer needs to exist separately
(This used to be commit 5b2fa5260e22c0d8bc9fb0973a6247ad99d2ed4b)
2002-09-09 06:23:43 +00:00
Martin Pool
01e7afadd6 Add --with-python=PYTHONNAME configure option, so that the libraries
get linked for the appropriate version.
(This used to be commit 2ea647bbfaba5a4ee7cb232ae1a21acbd2a9b5c6)
2002-09-09 06:05:39 +00:00
Martin Pool
b15ffb766a 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)
2002-09-09 05:54:11 +00:00
Martin Pool
4a0c063cac Merge tpot's patch to add targets to build Python stuff. It's not
built by default.
(This used to be commit 452769f595c87ba14bde96cebf06e442e79402f3)
2002-09-09 05:46:59 +00:00
Martin Pool
0b819e864a Add little meta note
(This used to be commit c651720633e3affb192eef9e676fad37a0ad4fae)
2002-09-09 05:22:13 +00:00
Tim Potter
8a36292471 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)
2002-09-09 04:43:38 +00:00
Tim Potter
b32f4ccf5b Pass level keyword down to cli_spoolss_getform()
(This used to be commit 69bb58b92e92113b3ce2c72a3bfa46ed3056c261)
2002-09-09 04:42:01 +00:00
Tim Potter
317ce5fc06 Formatting tidyup.
(This used to be commit 4132d9680a0b6ed829663399bba209a49ca41d56)
2002-09-09 04:38:12 +00:00
Tim Potter
18c3436f9d Return WERR_UNKNOWN_LEVEL for unknown info levels.
(This used to be commit d30da51956accfc4ea4662cece00d4df223421cd)
2002-09-09 03:22:39 +00:00
Tim Potter
1f919364f4 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)
2002-09-09 01:13:27 +00:00
Tim Potter
35d9e886fb Remove todo comment.
(This used to be commit 95831c8266119284264f7f42b08fb4d8e21e9deb)
2002-09-09 01:09:23 +00:00
Tim Potter
bffdffcbb1 Check no extra fields are present when parsing credentials.
(This used to be commit fff081d3440373071d8859b7a7d71cf6489126a4)
2002-09-09 01:06:20 +00:00
Tim Potter
e7561581ff Update patch.
(This used to be commit 31feae9e8f0c9831284cfa85f9b771113549ed2f)
2002-09-08 23:57:40 +00:00
Jelmer Vernooij
e889fc07ac Patch from Kai Krger for the new SAM system
(This used to be commit 771878a2d94009b6eccef5f98d4e782cd85c291e)
2002-09-08 15:25:22 +00:00
Jelmer Vernooij
8a5abe4dbe Patch from Stefan (metze) Metzmacher with more updates for the SAM subsystem
(This used to be commit 56cb03bfc68727384df46bde6df03950f7cdfcf9)
2002-09-08 14:58:23 +00:00
Simo Sorce
1e7b61514c forgot to commit configure with configure.in
(This used to be commit db883ae1e659496696c17f2901634cada5e4aa13)
2002-09-08 00:36:22 +00:00
Gerald Carter
2968f8a6be merge of printer change notify fix from APP_HEAD
(This used to be commit 6a53a9cb7c56927423dea125c65d66605fae566f)
2002-09-07 17:08:59 +00:00
Andrew Bartlett
8352336ad0 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)
2002-09-07 09:25:36 +00:00
Andrew Bartlett
9378cbb019 Don't leak file desciptors in this (impossible?) error case.
(This used to be commit b440418f13b840860be42690bf475c1ee3cb3647)
2002-09-07 06:04:28 +00:00
Andrew Bartlett
885f4f9379 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)
2002-09-07 05:41:23 +00:00
Simo Sorce
ec4f2af04a 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)
2002-09-07 04:08:03 +00:00
Andrew Bartlett
df4e6c9bcc 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)
2002-09-06 23:10:28 +00:00