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

12400 Commits

Author SHA1 Message Date
Gerald Carter
f13957824d bumping version
(This used to be commit e5f091e79511c5dc15f750e81063a962471634f2)
2003-08-29 04:15:59 +00:00
Tim Potter
48cb8f8d5f Fix some compiler warnings.
(This used to be commit f566de0541373fab97caa6b0f574f79e68ae74dc)
2003-08-29 01:33:00 +00:00
Tim Potter
d425729fd9 Add log2pcap to everything target.
(This used to be commit fb446ba8117c5e24489520aaea6abd25d6396287)
2003-08-29 01:25:17 +00:00
Jeremy Allison
fcdebdae6f Fix bug found by tridge in 2.2.x. Ensure that %U substitution is
restored on next valid packet if a logon fails. This has relevence
if people are using su.exe within logon scripts !
Jeremy.
(This used to be commit d405a93a9d3f9a1d93bb3289b00683fba3160bbe)
2003-08-28 23:57:34 +00:00
Jeremy Allison
afe845235a Fixed warnings in secret code.
Jeremy.
(This used to be commit 86ebf990431903b12ec24a4d9af00d665e828145)
2003-08-28 23:38:13 +00:00
Gerald Carter
9809c98f24 make sure using_samba 2ed. files get installed ok
(This used to be commit 55b6129bd106898ebfe976facacfe1d079492993)
2003-08-28 21:23:04 +00:00
Gerald Carter
019349339e getting rid of copmpiler warning
(This used to be commit d3f5c5c22026b2e1e4f02617a823505ae88eab24)
2003-08-28 20:48:04 +00:00
Gerald Carter
494bb81bb0 fixing typos pointed out by Vance in WHATSNEW
Include patch to manually set the machine trust account
password (on request from jht) to mimic 2.2. behavior.

last changes before RC2 (not counting syncing the docs).
(This used to be commit ce090371449097d4e5010e1219d449db8b0ccac5)
2003-08-28 20:24:25 +00:00
Jeremy Allison
569c2827fa Add length warning on register name.
Jeremy.
(This used to be commit 68d02ebbcd9bc4cf7c84763d03c903b1f2e55fb8)
2003-08-28 18:23:05 +00:00
Jeremy Allison
6872f392f1 Fixed off-by-one bugs in workgroup name comparisons. Complain when a
workgroup name is >15 characters.
Jeremy.
(This used to be commit 35a0b3c035d50474eda97b015676885722737a95)
2003-08-28 18:12:59 +00:00
Jeremy Allison
76bcb93c66 Fix rename of struct gap. ab - LOOK AT THIS. You changed one module
but not the other. This now compiles but I need verification.
Jeremy.
(This used to be commit 787c9764b300651af83a6e54f3090cfcf078a8a9)
2003-08-28 18:11:11 +00:00
Alexander Bokovoy
e83031c84d Refactor charset plugins a bit and add CP437 module.
Now all 8-bit charsets with gaps (not all symbols defined) could be produced through
one macro -- SMB_GENERATE_CHARSET_MODULE_8_BIT_GAP(CHARSETNAME) within source file
with three charset tables. Full source code for such modules can be generated by
source/script/gen-8bit-gap.sh script which was taken from GNU libc and changed slightly
to follow our data types and structure.
(This used to be commit 37042c7bc0f349370e93e4bed37d8fa371013247)
2003-08-28 17:16:27 +00:00
Gerald Carter
3d393502e7 revert a change to r1.397.2.91 because to operate like the docs; browseable for new home directories should be inheritied from the global defaults, not [homes]
(This used to be commit ea54bfc211f874c23b79572d8fb89bac73ec21a3)
2003-08-28 16:13:16 +00:00
Jim McDonough
53a2778363 Fix email address in copyright statement
(This used to be commit ffc82460f2b6b703739d9f95dc878d31bc9b3367)
2003-08-28 14:57:23 +00:00
Alexander Bokovoy
811bd3b3ba skel_ -> cap_
(This used to be commit 8bb033273a0fa20ba88ad6797c9a6ba092224e3b)
2003-08-28 12:30:35 +00:00
Jeremy Allison
ce236ad65d Remove what looks like gcc-isms.
Jeremy.
(This used to be commit ed72e0a1d56f0da29e4ef964f560f0962630e080)
2003-08-27 23:23:17 +00:00
Rafal Szczesniak
06fb721d7f Typo fix.
(This used to be commit 934fb418a3a3628ee4cde699df872bc1035fc769)
2003-08-27 22:05:52 +00:00
Gerald Carter
7f3e60d837 remove 'ldap trust ids' since there was no way for it to work now
(This used to be commit 3724063f1518c25e33ba6b65cd3bb1e36cec51fa)
2003-08-27 21:17:10 +00:00
Gerald Carter
c2983f9323 Fix bug 327 (again and I think for the last time). Make sure that
pam_smbpass.so will load ok.  Had to move some functions around to work
around dependency problems (hence the new passdb/lookup_sid.c)

Also make sure that libsmbclient.a is built and installed when
we support shared libraries.
(This used to be commit 780055f4422f11fb0524ac1f003cdc5f317f8b19)
2003-08-27 20:52:56 +00:00
Gerald Carter
2f70d0d9a7 renaming some functions for consistency
(This used to be commit f4ca4aae8ad0496b76c710cf79c791724bdaa4ec)
2003-08-27 20:50:24 +00:00
Jim McDonough
270a59f7d3 Fix to properly set AP_OPTS_SUBKEY in heimdal. In MIT it is a #define, but
in heimdal it is an enum.  Thanks to Guenther Deschner (gd@suse.de).

With this join will work, but without a keytab, cifs connections will still
fail with heimdal.  Fix to come later.
(This used to be commit d30bef4c37e8203c273eb3852215a89348bece7a)
2003-08-27 20:22:12 +00:00
Alexander Bokovoy
da0397bd2f Add CAP VFS module from Monyo. Primary purpose of this module is to provide CAP-compatible encoded file names for CJKV
(This used to be commit e8a5a962ed2218144cbb9c593d8e996c7d034b0c)
2003-08-27 20:04:23 +00:00
Jeremy Allison
46765d97fa Check for embedded mb chars when testing for illegal characters like /.
Should fix mangling for Japanese language.
Jeremy.
(This used to be commit a238bcc440e310a9ea7800e4fb0b4d39c1f0a0d7)
2003-08-27 19:01:55 +00:00
Jeremy Allison
9511c987df Fix initial debug.
Jeremy.
(This used to be commit bd40da06352184ed1c4bcaf3449dcdc7fdc59bbd)
2003-08-27 18:21:26 +00:00
Alexander Bokovoy
6008bd4aeb Ignore smbiconv binary as well
(This used to be commit eea27b9a9cc749b3a67f2ced36ab72586a3905a1)
2003-08-27 18:19:52 +00:00
Jeremy Allison
8df07f37a2 Remove completely unneeded malloc/free out of this codepath.
Jeremy.
(This used to be commit fda254169778cc3fa9c226473b5a1f95c17c99a7)
2003-08-27 18:17:33 +00:00
Jeremy Allison
8dc1a4f300 Ensure we use correct length nstrings for workgroup and browser names.
Jeremy.
(This used to be commit be534c8adf6c3cb8921ce49dbb79991c632d501e)
2003-08-27 18:00:09 +00:00
Gerald Carter
4561b811df fix segfault on empty wins server name registration reply
(This used to be commit 743560284cebd686be1094ce1d657e6d06c291b0)
2003-08-27 15:07:46 +00:00
Paul Green
cd8c082b79 Be consistent about using capital letters in the function names. (The only
one that really matters is the init entrypoint, but I changed the others
to remain consistent).
(This used to be commit ce0469ad1c01b36d3f0000756f6917478df37d02)
2003-08-27 15:05:05 +00:00
Gerald Carter
35a42eebed fix bug 230; make sure to set #define SYSV for solaris; do this outside of the checks for shared library support (move the IRIX define as well)
(This used to be commit 42d9b75d8c6ab61afd3b399ab485da6733af5bd2)
2003-08-27 14:37:24 +00:00
Alexander Bokovoy
bc0f3c1792 Fix typo in configure.in for libsmbclient
(This used to be commit 302da352a2f7f23c39ab97076505b5297ffdbe8d)
2003-08-27 10:42:16 +00:00
Tim Potter
64ca334696 Print an error instead of crashing if no argument is specified for
smbclient -T

Fixes bug 345.
(This used to be commit a46e58e2b6e3d9526012d6a2d903163a3373fa59)
2003-08-27 07:39:26 +00:00
Tim Potter
c60f385691 Update last scan time in rescan_trusted_domains().
Fix from Ken Cross.
(This used to be commit 45775b48a0d91390aa698b750d59cda0150cfbd0)
2003-08-27 07:26:02 +00:00
Tim Potter
a5cddd08c8 Undo SYSV define for Solaris. Things are more complicated than they
appear.  (-:

I've closed bug 355 as a duplicate of bug 230 which is still a going
concern.
(This used to be commit dfb5050b7732836ade12beba27a88c5e8c1a1b95)
2003-08-27 06:32:22 +00:00
Tim Potter
92484cab4e Follow on from herb's patch for 1.300.2.145 - define SYSV for solaris to fix
vendor supplied lp printing (bug #355).

For some reason this is not being set in Samba 3.  In Samba 2.2 the
SYSV define was only set from include/includes.h in a haphazard
fashion.  It's probably better to explicitly define it on a per-operating
system basis anyway.
(This used to be commit e653e13f45c3fa3c2cac792d78e47a2ee0df2b5a)
2003-08-27 05:07:25 +00:00
Jeremy Allison
9fdc1363be Fix the character set handling properly in nmbd. Also fix bug where
iconv wasn't re-initialised on reading of "charset" parameters. This
caused workgroup name to be set incorrectly if it contained an
extended character.
Jeremy.
(This used to be commit 84ae44678a6c59c999bc1023fdd9b7ad87f4ec18)
2003-08-27 01:25:01 +00:00
Alexander Bokovoy
7e27147422 Fix for #150.
We now fallback to Samba-provided CP850 charset module if CP850 or IBM850 does not exist on target system at runtime.
1. Introduce CP850 charset module based on charmaps table from GNU libc 2.2.5
2. Make CP850 charset module shared and build it by default

Should fix Solaris run-time
(This used to be commit e855dc8c9115fa11d315eb34d57722ff612daa11)
2003-08-26 19:48:16 +00:00
Gerald Carter
399ac9a703 adding some debugs while tracking down a bug
(This used to be commit 627ff578613b8762415cc03cbbaff68e70f96dbf)
2003-08-26 03:13:39 +00:00
Gerald Carter
6e090f1d7d make sure we keep the trusted domain cache up to date
(This used to be commit 3324adcaceb9191b5d4d671ac9b51c85c6714598)
2003-08-25 21:45:57 +00:00
Gerald Carter
93ccb7b817 update python libraries for new cli_spoolss_getprinterdriver() call
(This used to be commit 331a69919c3d4457e4c700b1fd4033f338d0ec98)
2003-08-25 21:16:17 +00:00
Gerald Carter
23d4796ed4 ignore generated smbadduser
(This used to be commit bef5ad0dea18fd1aea3421adc3de2609b1cf2eb1)
2003-08-25 21:08:06 +00:00
Gerald Carter
6153bc0f5b fix bug 289; make sure to reset the offset into a string when reallocating space
(This used to be commit 66dd20c7eaa66abdf99fa57475ccc4c9f978f1b5)
2003-08-25 20:42:24 +00:00
Gerald Carter
a1d6ba950b fix bugs 327 & 340; make sure pam_smbpass.so gets linked with all the neccessary files & libs
(This used to be commit e52f95d681ef2263166f5468f2a3f068b67915b7)
2003-08-25 19:09:24 +00:00
Gerald Carter
658ccccdde fix bug #39; save the -W value and restore it after lp_load()
(This used to be commit 79efe7d72ba503b58c8ad3b9b1c711f5ebb33521)
2003-08-25 17:55:33 +00:00
Gerald Carter
14eb5f108e make sure the printer data value exists before saying you deleted it
(This used to be commit 017133ea0c3eb0579710727379585df2b585614d)
2003-08-25 13:05:48 +00:00
Volker Lendecke
f474b7fb4e Fix memleak.
(This used to be commit afbf15f94189f50cd447d9bcdebbc4886800b05a)
2003-08-25 09:13:54 +00:00
Volker Lendecke
51dfb55b8a Fix segfault. krb5_free_ticket does not check if it got a NULL ticket.
(This used to be commit 97e4778103744419ecaeb0058460041ef01b2e2a)
2003-08-25 09:13:20 +00:00
Gerald Carter
983b4e7011 it never amazes me when some new things crawls out of the windows
spooler. :-(

When installing the Adobe PS driver onto a Samba printer via cupsaddsmb,
I noticed a WIN2k client sending DeletePrinterData("DependentFiles")
pver and over.  I also noticed that we never checked to see if the
value was valid.  No now we do and return WERR_BADFILE which I think
is correct.

Next, I noticed that we never wrote the updated printer out to disk
after a succesfully DeletePrinterData[Ex]().

Finally, I found a driver (Canon BJC 1000 using the Adobe PS drivers
and foomatic PPD file) that was destroying the device name string
in the devmode.  So now get_a_printer_2() always writes out the
device name in \\server\share form.

I think these changes might fix bug 294.
(This used to be commit deb25780874b66e68ac597db24fbc50e7f7458b5)
2003-08-23 03:34:24 +00:00
Jeremy Allison
dac11b890b Half-way though the big conversion of all nmbd access to wire elements being
converted to pull/push_ascii. This will not work right at the moment for non
English codepages, but compiles - I will finish the work over the weekend.
Then nmbd should be completely codepage correct.
Jeremy.
(This used to be commit 236d6adadf32397b28028ea82ae2ec027366f7c8)
2003-08-23 01:59:14 +00:00
Jeremy Allison
e745d4e602 struct nmb_name should have 16 byte namestrings, not 17.
Jeremy.
(This used to be commit daf7b5fbd93c640c7660bdf173079fa1039794af)
2003-08-22 22:45:34 +00:00