summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2003-08-28Add length warning on register name.Jeremy Allison1-2/+12
Jeremy. (This used to be commit 68d02ebbcd9bc4cf7c84763d03c903b1f2e55fb8)
2003-08-28Fixed off-by-one bugs in workgroup name comparisons. Complain when aJeremy Allison3-9/+16
workgroup name is >15 characters. Jeremy. (This used to be commit 35a0b3c035d50474eda97b015676885722737a95)
2003-08-28Fix rename of struct gap. ab - LOOK AT THIS. You changed one moduleJeremy Allison1-1/+1
but not the other. This now compiles but I need verification. Jeremy. (This used to be commit 787c9764b300651af83a6e54f3090cfcf078a8a9)
2003-08-28Refactor charset plugins a bit and add CP437 module.Alexander Bokovoy9-75/+597
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-28revert a change to r1.397.2.91 because to operate like the docs; browseable ↵Gerald Carter1-0/+7
for new home directories should be inheritied from the global defaults, not [homes] (This used to be commit ea54bfc211f874c23b79572d8fb89bac73ec21a3)
2003-08-28Fix email address in copyright statementJim McDonough1-1/+1
(This used to be commit ffc82460f2b6b703739d9f95dc878d31bc9b3367)
2003-08-28skel_ -> cap_Alexander Bokovoy1-51/+51
(This used to be commit 8bb033273a0fa20ba88ad6797c9a6ba092224e3b)
2003-08-27Remove what looks like gcc-isms.Jeremy Allison1-16/+17
Jeremy. (This used to be commit ed72e0a1d56f0da29e4ef964f560f0962630e080)
2003-08-27Typo fix.Rafal Szczesniak1-1/+1
(This used to be commit 934fb418a3a3628ee4cde699df872bc1035fc769)
2003-08-27remove 'ldap trust ids' since there was no way for it to work nowGerald Carter2-3/+5
(This used to be commit 3724063f1518c25e33ba6b65cd3bb1e36cec51fa)
2003-08-27Fix bug 327 (again and I think for the last time). Make sure thatGerald Carter4-467/+493
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-27renaming some functions for consistencyGerald Carter2-10/+10
(This used to be commit f4ca4aae8ad0496b76c710cf79c791724bdaa4ec)
2003-08-27Fix to properly set AP_OPTS_SUBKEY in heimdal. In MIT it is a #define, butJim McDonough2-1/+13
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-27Add CAP VFS module from Monyo. Primary purpose of this module is to provide ↵Alexander Bokovoy4-7/+470
CAP-compatible encoded file names for CJKV (This used to be commit e8a5a962ed2218144cbb9c593d8e996c7d034b0c)
2003-08-27Check for embedded mb chars when testing for illegal characters like /.Jeremy Allison1-1/+23
Should fix mangling for Japanese language. Jeremy. (This used to be commit a238bcc440e310a9ea7800e4fb0b4d39c1f0a0d7)
2003-08-27Fix initial debug.Jeremy Allison1-1/+1
Jeremy. (This used to be commit bd40da06352184ed1c4bcaf3449dcdc7fdc59bbd)
2003-08-27Ignore smbiconv binary as wellAlexander Bokovoy1-0/+1
(This used to be commit eea27b9a9cc749b3a67f2ced36ab72586a3905a1)
2003-08-27Remove completely unneeded malloc/free out of this codepath.Jeremy Allison1-12/+11
Jeremy. (This used to be commit fda254169778cc3fa9c226473b5a1f95c17c99a7)
2003-08-27Ensure we use correct length nstrings for workgroup and browser names.Jeremy Allison8-25/+24
Jeremy. (This used to be commit be534c8adf6c3cb8921ce49dbb79991c632d501e)
2003-08-27fix segfault on empty wins server name registration replyGerald Carter1-2/+4
(This used to be commit 743560284cebd686be1094ce1d657e6d06c291b0)
2003-08-27Be consistent about using capital letters in the function names. (The onlyPaul Green1-5/+5
one that really matters is the init entrypoint, but I changed the others to remain consistent). (This used to be commit ce0469ad1c01b36d3f0000756f6917478df37d02)
2003-08-27fix bug 230; make sure to set #define SYSV for solaris; do this outside of ↵Gerald Carter1-1/+9
the checks for shared library support (move the IRIX define as well) (This used to be commit 42d9b75d8c6ab61afd3b399ab485da6733af5bd2)
2003-08-27Fix typo in configure.in for libsmbclientAlexander Bokovoy1-1/+1
(This used to be commit 302da352a2f7f23c39ab97076505b5297ffdbe8d)
2003-08-27Print an error instead of crashing if no argument is specified forTim Potter1-0/+4
smbclient -T Fixes bug 345. (This used to be commit a46e58e2b6e3d9526012d6a2d903163a3373fa59)
2003-08-27Update last scan time in rescan_trusted_domains().Tim Potter1-0/+2
Fix from Ken Cross. (This used to be commit 45775b48a0d91390aa698b750d59cda0150cfbd0)
2003-08-27Undo SYSV define for Solaris. Things are more complicated than theyTim Potter1-1/+0
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-27Follow on from herb's patch for 1.300.2.145 - define SYSV for solaris to fixTim Potter1-0/+1
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-27Fix the character set handling properly in nmbd. Also fix bug whereJeremy Allison23-5745/+5337
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-26Fix for #150.Alexander Bokovoy4-13/+436
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-26adding some debugs while tracking down a bugGerald Carter1-0/+5
(This used to be commit 627ff578613b8762415cc03cbbaff68e70f96dbf)
2003-08-25make sure we keep the trusted domain cache up to dateGerald Carter2-10/+33
(This used to be commit 3324adcaceb9191b5d4d671ac9b51c85c6714598)
2003-08-25update python libraries for new cli_spoolss_getprinterdriver() callGerald Carter1-2/+3
(This used to be commit 331a69919c3d4457e4c700b1fd4033f338d0ec98)
2003-08-25ignore generated smbadduserGerald Carter1-0/+1
(This used to be commit bef5ad0dea18fd1aea3421adc3de2609b1cf2eb1)
2003-08-25fix bug 289; make sure to reset the offset into a string when reallocating spaceGerald Carter1-1/+2
(This used to be commit 66dd20c7eaa66abdf99fa57475ccc4c9f978f1b5)
2003-08-25fix bugs 327 & 340; make sure pam_smbpass.so gets linked with all the ↵Gerald Carter1-2/+2
neccessary files & libs (This used to be commit e52f95d681ef2263166f5468f2a3f068b67915b7)
2003-08-25fix bug #39; save the -W value and restore it after lp_load()Gerald Carter1-1/+18
(This used to be commit 79efe7d72ba503b58c8ad3b9b1c711f5ebb33521)
2003-08-25make sure the printer data value exists before saying you deleted itGerald Carter1-0/+5
(This used to be commit 017133ea0c3eb0579710727379585df2b585614d)
2003-08-25Fix memleak.Volker Lendecke1-1/+3
(This used to be commit afbf15f94189f50cd447d9bcdebbc4886800b05a)
2003-08-25Fix segfault. krb5_free_ticket does not check if it got a NULL ticket.Volker Lendecke1-1/+2
(This used to be commit 97e4778103744419ecaeb0058460041ef01b2e2a)
2003-08-23it never amazes me when some new things crawls out of the windowsGerald Carter3-2/+13
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-23Half-way though the big conversion of all nmbd access to wire elements beingJeremy Allison12-2176/+2088
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-22struct nmb_name should have 16 byte namestrings, not 17.Jeremy Allison1-3/+3
Jeremy. (This used to be commit daf7b5fbd93c640c7660bdf173079fa1039794af)
2003-08-22Use correct size (17 not 16) when doing a push_ascii(). Ensure thatJeremy Allison2-2/+2
wins hook is called with unix charset. Jeremy. (This used to be commit ecb80573870103de7b3f332fb53bf6b952f25ee7)
2003-08-22* Fix for bug 290:Gerald Carter3-6/+16
smbadduser must obeys the paths from configure options * Try to get libsmbclient files installed during 'make install' Still one outstanding problem with static lib. INSTALLCLIENTCMD_A is not getting set correctly. (This used to be commit 50ab28bd2524187b851732176553382fb811a051)
2003-08-22don't complain if the using_samba book is not in the treeGerald Carter1-12/+3
(This used to be commit 20603faf2c6e37b1db139cdbbfd4131cb5c33869)
2003-08-22revert abartet's change that removed the check for CAP_EXTENDED_SECURITY ↵Gerald Carter1-2/+2
when decidiing whether or not use ntlmv2 in client connections (This used to be commit 6e82c9fdf9c1db6feec319b4550b07cbfad4defb)
2003-08-22fix compile problem (stray character)Gerald Carter1-1/+1
(This used to be commit 9554a661c2400e9148f7572e4de20064faea5f2a)
2003-08-22ensure that 'available = no' works for [homes]; reported by Walter HaidingerGerald Carter1-3/+1
(This used to be commit 1278d2496162c6427729a795dd940b9863261a6d)
2003-08-22Ensure nmb_namestr() converts back from CH_DOS to CH_UNIX.Jeremy Allison2-21/+16
Jeremy. (This used to be commit eb792727437c74417f5ef7614b300ab84f06fdaf)
2003-08-22Ensure nmblookup correctly converts from CH_DOS to CH_UNIX when displayingJeremy Allison1-1/+1
a printable name on node status. Jeremy. (This used to be commit 6585446afd29768fde8c3f882bfb57554cf4e4da)