1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00

14477 Commits

Author SHA1 Message Date
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
John Terpstra
63a5f178e2 patch from Guenther Deschner <gd@suse.de>
(This used to be commit 2e23491bb3bbf638ef37bace4e2fd22ade637618)
2003-08-27 02:31:06 +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
5e6c6d766f sync with changes from Jerome Tournier @ IDEALX; should now work with sambaSamAccount schema
(This used to be commit 5f41cd76b793305e1e9e4da76d58daa2d8438c63)
2003-08-26 04:36:27 +00:00
Gerald Carter
92d05d1f40 include enhancements from Buchan Milne to generate LDIF modify output in addition to add
(This used to be commit 49457669f32ed1d8122633e2d0abdebaf05790da)
2003-08-26 04:17:05 +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
f19d202e2e run autogen when making a tarball
(This used to be commit d9d50b6cfe6525ccd0173394fd17e545440ecfa8)
2003-08-25 21:08:46 +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
Jeremy Allison
5dfeda0002 Use correct size (17 not 16) when doing a push_ascii(). Ensure that
wins hook is called with unix charset.
Jeremy.
(This used to be commit ecb80573870103de7b3f332fb53bf6b952f25ee7)
2003-08-22 21:41:50 +00:00
Gerald Carter
eff91556a3 * Fix for bug 290:
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-22 18:00:17 +00:00
Gerald Carter
16712a4c0d add a quick script to create a tarball for CVS snapshots
(This used to be commit 9ef4abcd490c3343069d7cbf5752dec212530d4f)
2003-08-22 16:57:00 +00:00
Gerald Carter
75ac8c17c0 fixing some packaging stuff for Solaris
(This used to be commit b0d3f40ffe666f768f5ec0d93b84488148b5527e)
2003-08-22 16:53:17 +00:00
Gerald Carter
a1be0fbbb4 don't complain if the using_samba book is not in the tree
(This used to be commit 20603faf2c6e37b1db139cdbbfd4131cb5c33869)
2003-08-22 16:23:56 +00:00
Gerald Carter
ac5665f204 revert abartet's change that removed the check for CAP_EXTENDED_SECURITY when decidiing whether or not use ntlmv2 in client connections
(This used to be commit 6e82c9fdf9c1db6feec319b4550b07cbfad4defb)
2003-08-22 14:24:38 +00:00
Gerald Carter
0c42b6deea fix compile problem (stray character)
(This used to be commit 9554a661c2400e9148f7572e4de20064faea5f2a)
2003-08-22 13:39:49 +00:00
Gerald Carter
ed08721016 ensure that 'available = no' works for [homes]; reported by Walter Haidinger
(This used to be commit 1278d2496162c6427729a795dd940b9863261a6d)
2003-08-22 12:50:53 +00:00
Jeremy Allison
647a048ad0 Ensure nmb_namestr() converts back from CH_DOS to CH_UNIX.
Jeremy.
(This used to be commit eb792727437c74417f5ef7614b300ab84f06fdaf)
2003-08-22 00:26:37 +00:00
Jeremy Allison
e88593f1c0 Ensure nmblookup correctly converts from CH_DOS to CH_UNIX when displaying
a printable name on node status.
Jeremy.
(This used to be commit 6585446afd29768fde8c3f882bfb57554cf4e4da)
2003-08-22 00:13:42 +00:00
Jeremy Allison
a8eda05d75 Shut conversion errors up when initialising tables.
Jeremy.
(This used to be commit 94d0f888c9abd52e26ef5fc597ade5426a521227)
2003-08-21 23:55:29 +00:00
Herb Lewis
409dd6454e define SYSV for IRIX
(This used to be commit f4e47012ff9704d85e017bfbc0b13030e8f5dee8)
2003-08-21 22:48:58 +00:00
Gerald Carter
5600804bfa fix bug 327; make sure to link SMBLDAP_OBJ with PAM_SMBPASS_OBJ
(This used to be commit b7ccfb1592e45366bef92ea6439f81797840ec28)
2003-08-21 21:09:29 +00:00
Gerald Carter
49f7298ae0 fix for BUG 245; make sure we set the sid type when falling back to the rid algorithm stuff
(This used to be commit f6363aa31aa3479a9566328752ecb4aeadde10b7)
2003-08-21 21:05:01 +00:00
Herb Lewis
9f4ffd78ae update for new version.h format
(This used to be commit 523f2554c0fa8512d805b5f8e1fb122c02f856f2)
2003-08-21 19:27:01 +00:00
Jelmer Vernooij
eb052f397b Keep list of ignored and shared modules
(This used to be commit d0f394dac344edbb732eecdba5fbab1523acf2b3)
2003-08-21 18:49:01 +00:00
Gerald Carter
98b749a7d3 adding note about change in 'unix extensions' behavior
(This used to be commit 71dc428fbef10a3d6e7c8463119f1a290ccdaa42)
2003-08-21 15:31:18 +00:00
Gerald Carter
c3c3ea3367 packaging fix for winbind NSS libraries from Brian King
(This used to be commit 04369b39897aec899957fb08665959b530ff9210)
2003-08-21 15:07:43 +00:00
Gerald Carter
f8c3883996 remove unneedced script
(This used to be commit 9c9cc30093b141d07d79c3cddb2ff663e7a7ac80)
2003-08-21 13:05:09 +00:00
Gerald Carter
35063a3cc3 actually check in the fix for make torture
(This used to be commit 4d49ebf7138f1e27c39b511f7f0417bfb146fc26)
2003-08-21 13:04:42 +00:00
Alexander Bokovoy
6cdfb4aa63 Ignore only getdate.* in modules/, not the whole directory. Fixes static builds of modules
(This used to be commit df6eeca5f6ddd1345d77a0efd64afc0d861d978c)
2003-08-21 08:46:48 +00:00
Steve French
0536fc2bce Checkin cifs vfs manpage
(This used to be commit ada291956a3d7fd9225921d065fe7d4f73b1862e)
2003-08-21 04:45:11 +00:00
Jeremy Allison
f13e880e7b Unix extensions now default to on.
Jeremy.
(This used to be commit 343d361d4c963fab2686eb23cf76603c63e7968e)
2003-08-21 01:49:59 +00:00
Jeremy Allison
d422025f42 Turn UNIX extensions on by default. Yes I will change the docs :-).
Jeremy.
(This used to be commit 17b09eed96fa2793a5947fa811e8543a1b263d6f)
2003-08-21 01:38:48 +00:00
Jeremy Allison
ecddae8bf0 Attempt to fix the charcnv issues causing nmbd to crash. If we get a failed
conversion simply copy as is. Also fixed the horrid malloc-twice-copy code
in the convert alloc path.
Jeremy.
(This used to be commit cfde7477fd12caef943a9422b52174438092a135)
2003-08-20 22:06:19 +00:00
Gerald Carter
873f925a51 adding old NDS schema so I can update it
(This used to be commit 25753e2a336a72dc2275a0046003c3a659a0f880)
2003-08-20 21:53:18 +00:00
Gerald Carter
a750624f4d checlking in initial version of 2.2 scripts so I can start updating them
(This used to be commit 766a5070d58ada7a871a7fab45b5f7e203264952)
2003-08-20 21:52:52 +00:00
Gerald Carter
8bfe26b62d metze's autogenerate patch for version.h
(This used to be commit ae452e51b02672a56adf18aa7a7e365eeaba9272)
2003-08-20 17:13:38 +00:00
Gerald Carter
0722fc16a4 fix comments about schema dependencies
(This used to be commit f72f51d39ff3e6d22dbda8b9c115ca10e93e7022)
2003-08-20 16:08:39 +00:00