1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

9866 Commits

Author SHA1 Message Date
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
Jelmer Vernooij
eaa4ee9bc0 Use SAM debug class in skeleton - patch from metze
Shouldn't we use dynamic debug classes here?
(This used to be commit db0f742e0ea619e69457f15cdb3740ae7c85cebd)
2002-09-09 21:38:42 +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
79f54d28f8 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)
2002-09-08 03:55:37 +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
Jelmer Vernooij
397ef9004e "disable charset" -> "display charset". oops
(This used to be commit 67543ea43d6c76f10f6757ae35a29044ce0020c5)
2002-09-07 19:06:37 +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
Simo Sorce
27cc26cec8 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)
2002-09-07 04:05:42 +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
Andrew Bartlett
7a76d0e854 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)
2002-09-06 13:46:36 +00:00
Simo Sorce
d0cef25c27 the current block module is completely broken, jelmer will commit a new one later.
simo
(This used to be commit 830f9910bb77562aa2dbef2f479c01493928692d)
2002-09-06 13:39:46 +00:00
Simo Sorce
afc1a220b7 move everything to flat VFS/ directory
(This used to be commit d383c309d4a259fb28d7541777a8b3b53cca23bf)
2002-09-06 13:37:40 +00:00
Andrew Bartlett
789d51b42c 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)
2002-09-06 13:37:11 +00:00
Andrew Bartlett
94d6c0e895 Fix some missing ; on the end of our SAM_ASSERT()...
(This used to be commit 4d642e1fa4ed454a421a9f219a8cdecddb57fd31)
2002-09-06 13:21:54 +00:00
Andrew Bartlett
29e092d4e0 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)
2002-09-06 13:17:55 +00:00