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

14462 Commits

Author SHA1 Message Date
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
Gerald Carter
65409a49fe Fix bug #252. Implement missing SAMR_REMOVE_USER_FOREIGN_DOMAIN
call.
(This used to be commit dd2cf4897ec3db25c24a2724ffdef4f905625f6a)
2003-08-20 16:07:19 +00:00
Jelmer Vernooij
1ca0974768 Add log2pcap to ignorefile
(This used to be commit 9c3afa1c8520133b6c17116cfbffffa85e5e250b)
2003-08-20 14:33:08 +00:00
Jelmer Vernooij
f39a10993a Add W2k Deploy HOWTO
(This used to be commit 3a272ba3a25a70bac4b6319de6ad1c07d87a1934)
2003-08-20 08:21:39 +00:00
Jelmer Vernooij
1579089d91 Make compiling vfs_readonly static possible
(This used to be commit b8ef536b9e62ceeed6c4db58923a66ba8506871d)
2003-08-20 08:20:14 +00:00
Andrew Bartlett
aa9fb2a817 We now know a lot more about SMB signing, and this comment no longer applies
We can join Win2k with default settings.

Andrew Bartlett
(This used to be commit 758e5ffd3814c71d79ed247df0b5332148837ac0)
2003-08-20 04:49:48 +00:00
Gerald Carter
d30499c550 fix small logic error in cm_open_connection() to work with non-krb5 connections
(This used to be commit 2d85612752daa26c0773b86bd40eb3430b1cce3b)
2003-08-20 04:25:09 +00:00
Gerald Carter
caa5b47390 missing backtic
(This used to be commit bf271aadcfa77f13754202b8ca04e473be819dde)
2003-08-19 22:59:45 +00:00
Andrew Bartlett
f1be3a5c5d - Make 'net' use a single funciton for setting the 'use machine account' code.
- Make winbindd try to use kerberos for connections to DCs, so that it can
   access RA=2 servers, particularly for netlogon.
 - Make rpcclient follow the new flags for the NETLOGON pipe
 - Make all the code that uses schannel use the centralised functions for doing so.

Andrew Bartlett
(This used to be commit 96b4187963cedcfe158ff02868929b8cf81c6ebf)
2003-08-19 22:47:10 +00:00
Alexander Bokovoy
ec8b32df56 Ignore modules/*.c in make proto
(This used to be commit eaf883abc0a35dc648fca497248281ac68246341)
2003-08-19 21:52:33 +00:00
Gerald Carter
be491afeed removing using_samba docs from samba cvs module (not are in a separate cvs module)
(This used to be commit f7249014f4cb81364ab4c828c019dff3f16310a1)
2003-08-19 21:36:00 +00:00
Andrew Bartlett
f0cd6b35e5 - Fix the kerberos downgrade problem:
- When connecting to the NETOGON pipe, we make a call to auth2, in order
   to verify our identity.  This call was being made with negotiation flags
   of 0x1ff.  This caused our account to be downgraded.  If we instead make
   the call with flags > 1ff (such as 0x701ff), then this does not occour.

 - This is *not* related to the use of kerberos for the CIFS-level connection

My theory is that Win2k has a test to see if we are sending *exactly* what
NT4 sent - setting any other flags seems to cause us to remain intact.

Also ensure that we only have 'setup schannel' code in a few places, not
scattered around cmd_netlogon too.

Andrew Bartlett
(This used to be commit e10f0529fe9d8d245b3cd001cce6a9a86896679c)
2003-08-19 20:39:32 +00:00
Gerald Carter
842b6e8583 updating README a little; (bug 214)
(This used to be commit b9e9efbfa4eec41823446a03e313be453d1f7d3c)
2003-08-19 18:42:28 +00:00
Andrew Bartlett
83e576c09f Break up 'cli_full_connection' to allow for the session setups to be done
elsewhere in the code.  This will allow us to try kerberos, then another user
then guest in the winbindd code.

Also, re-introduce the seperate, NT1 'guest' session setup code, as I found
some problems with doing guest under NTLMSSP.

Andrew Bartlett
(This used to be commit 33109fefe7d306a97ac48a75e3e67c166daff4ea)
2003-08-19 17:47:44 +00:00
Gerald Carter
5ba60c5608 working on fix for BUG #294. Not done yet, but this at least clears
up some of the false positives in "rpcclient -c getdriver".
Also make sure that we ask for version2 and 3 drivers on x86.
(This used to be commit 5be51515680da910b623f486108d91f9ea914bd2)
2003-08-19 16:56:53 +00:00
Jelmer Vernooij
d125c31d2e Add log2pcap
(This used to be commit 04d7f0bba6ef110c1c7d2e98b816ab5b9f234d80)
2003-08-19 15:46:17 +00:00