1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

4826 Commits

Author SHA1 Message Date
Jeremy Allison
408672d382 It compiles for me now :-). rpc_server/srv_lsa.c - added fix to allow w2k
clients to join a Samba domain - odd or even domain name length. Needs more testing.
Jeremy.
-
Gerald Carter
a55a4fea97 change pstrcpy() in setup_pwret() to fstrcpy() since we are
using fstrings.  Spotted by Elrond.  Thanks :-)




jerry
-
Jeremy Allison
41d46a495b Fixup missing tests on code imported from tng.
Jeremy.
-
Jeremy Allison
8fc6bc170f Fix for DACL/SACL masking typo - spotted by medha@pezman.austin.ibm.com.
Jeremy.
-
Jeremy Allison
c0517d6f4e Merge of JohnR's changes to appliance-head, JF's changes to 2.2,
updated the POSIX_ACL code to be in sync.
Jeremy.
-
Richard Sharpe
244edad065 Fix calls to smbc_init in testsmbc.c and tree.c -
Richard Sharpe
3c66114346 Added commented/documented version of libsmbclient.h and fixed up a small
problem in libsmbclient.c where we no longer pass the workgroup.
-
Tim Potter
0102eea147 Updated proto.h -
Jeremy Allison
4f87f0f402 Ensure people know this is unused.
Jeremy.
-
Andrew Tridgell
c2a82a33da reverted *.* patch until someone explains to me what the test case is
that requires this.

i _know_ that this isn't the right solution and it breaks things,
which is why I am reverting now.
-
Gerald Carter
9347121ce6 merge from SAMBA_2_2 -
Gerald Carter
2b18c44843 replaced inet_aton() with inet_addr() to keep Solaris from complaining.
jerry
-
Gerald Carter
57165d1578 add pam_setcred() call to pam_auth(). Patch was submited last Oct.
jerry
-
Richard Sharpe
2b9c6d1c9e Add Makefile.in target for installing smbclientlib ... -
Richard Sharpe
7c50af3b71 Fix problems in libsmbclient with pring job struct plus add implementation
of last two print routines ...
-
Richard Sharpe
c19559a286 Implement two printing related functions and start the remaining two. -
Richard Sharpe
838cfad404 Fix some further small bugs in libsmbclient to make it pass the
Caldera test suite and start to add the printing routines.
-
Gerald Carter
0c57b05de4 merge from APPLIANCE_HEAD (mapping access_required 0x0 to
PRINTER_ACCESS_USE)
-
Jeremy Allison
8d3601c136 Merge from 2.2 - with connection fix.
Jeremy.
-
Tim Potter
2eabb7c229 Convert netbios name to dos codepage in make_nmb_name(). This allows
nmblookup and smbclient to work with i18n netbios names.
-
Tim Potter
d0c5339486 Added Baltic codepage support. From Toomas Soome <tsoome@ut.ee> -
David O'Neill
f449d871bf Changes from SAMBA_2_2:
source/rpc_server/srv_spoolss_nt.c
    source/rpc_server/srv_spoolss.c
    source/include/proto.h
        - correct checking of access_required in openprinterex as talked
          with John R. and Jerry.
          You can only do server stuff (adding printers, changing forms,
          ..) if you're root or if user is in printer admin list.
          Printers options are grayed if you don't have the
          PRINTER_ADMINISTER flag in the secdesc.
-
Tim Potter
5b38513cef Fixed duplicate free_sec_acl() call in free_sec_desc() function.
From "Richard Bollinger" <rabollinger@home.com>
-
Tim Potter
a86f219f2f Missing sys_endpwent() call in get_passwd_entries() -
Tim Potter
7a08c3a699 Fix for KOI8-R codepage from Andrey Kiselev <dron@at1895.spb.edu> -
Jeremy Allison
c4f810a758 lib/system.c: Fix for pw caching.
srv_samr.c: Fix for pw caching.
smbd/nttrans.c: Fix to allow trans create to set ACL on open.
Jeremy.
-
Tim Potter
1ec44d62ee Turned down noisy debug statement.
From "Richard Bollinger" <rabollinger@home.com>
-
Jeremy Allison
541c7df16f Fix inspited by Alan Romeril. 50% speedup in domain logins with this
change to default break response time of 10ms -> 0ms.
Jeremy.
-
David O'Neill
025f7a092a Changes from APPLIANCE_HEAD:
source/include/proto.h
        - make proto

    source/printing/nt_printing.c
    source/rpc_server/srv_spoolss_nt.c
        - Fix for the overwriting of printerdata entries when WinNT and
          Win2k are modifying printer parameters on PCL printers. Turns out
          that Win2k creates a printer with a NULL devmode entry and then
          expects to set it on *OPEN* (yes this is insane). So we cannot
          return a "default" devmode for a printer - and we must allow an
          open to set it.

    source/tdb/tdb.c
        - Show freelist in an easier format. Show total free.
        - When storing a new record, allocate memory for the key + data
          before the tdb_allocate() as if the malloc fails a (sparse) hole
          is left in the tdb.

    source/tdb/tdbtool.c
        - Show freelist in an easier format. Show total free.

    source/tdb/Makefile
        - cleaned up Makefile dependancies

    source/smbd/lanman.c
        -  Fix for Win9x corrupting it's own parameter string.

    source/printing/printfsp.c
    source/printing/printing.c
    source/rpc_server/srv_spoolss_nt.c
    source/smbd/close.c
        - Added normal close parameter into print_fsp_end() which treats an
          abnormal close as error condition and deletes the spool file.
-
David O'Neill
f24aa0b51f Changes from SAMBA_2_2:
- fix typo in cast from talloc
-
Richard Sharpe
4ae7812353 Fix some bugs and prepare for some other bug fixes ... -
Richard Sharpe
bca6b7dd20 Add an extra error code translation to clierror.c so that libsmbclient
gets some more error codes correct ...
-
David O'Neill
b9036a0778 Changes from APPLIANCE_HEAD:
source/printing/nt_printing.c
        - fix for Win2k sending NULL devicemode in setprinter calls which
          was making NT4 grumpy.  The solution is to never set a NULL
          devicemode if we previously had a valid one in the printer's TDB
          entry.
-
David O'Neill
bbe51d4b5f Changes from APPLIANCE_HEAD:
source/rpc_server/srv_spoolss_nt.c
        - Changed the se_access_check() call in _spoolss_open_printer_ex()
          to a print_access_check().  This allows the 'printer admins'
          smb.conf and other permission override parameters to affect the
          result of a printer open.
        - Don't perform access check when opening a handle on a print
          server as it breaks browsing the Printers folder.
-
David O'Neill
b4c98196fc Changes from APPLIANCE_HEAD:
source/smbd/server.c
    source/nmbd/nmbd.c
        - Fixed a very subtle bug with signals. Seems that POSIX requires
          that the signal mask be inhereted. So, if you happen to kick off
          smbd/nmbd from code that has the mask set on SIGUSR1, you lose
          messages.
-
Richard Sharpe
09902d2d4a Remove an inet_aton so that this code will compile on Solaris ...
Ahhh, the sweet smell of portability.
-
Anton Blanchard
b91f906467 io_bufsize was set too large and so full length reads
and writes got broken up into one ~64k and one ~1k packet.
-
Jeremy Allison
d04ed97eca Fixes from appliance-head for pdc searches.
Jeremy.
-
Jeremy Allison
f76dc952f7 Fixed "object picker can't determine if object in domain" bug seen from W2K
clients. Did this by importing Samba-TNG code that correctly handles LSA
lookups.
*MANY* thanks to Luke, Sander, Elrond and the rest of the TNG gang !
Jeremy
-
Andrew Tridgell
b987ce37ce fixed pipe in smb.conf description -
Jeremy Allison
2bd4f16389 Fix insure problems with passwd caching code.
Jeremy.
-
Jeremy Allison
e0431672cc Sync up with POSIX ACL code from 2.2.
Jeremy.
-
Jeremy Allison
3712e35c54 Added modification to Richard Bollinger getpw[nam|uid] cache patch. Only
uses cache max 100 times.
Jeremy.
-
Jeremy Allison
a72d12e992 smbd/process.c: & type with 0xff for paranioa sake...
smbd/reply.c smbd/service.c: cause all "add home service" calls to go through a
winbindd aware function.
Jeremy.
-
Jeremy Allison
a958f7822e smbd/lanman.c: Fix for calling qsort with 0 number.
smbd/nttrans.c: Realloc mem fixes based on those that went into trans2.c
smbd/process.c: Move to a table based dispatch, based on a comment from Andrew
				about Antons work.
Jeremy.
-
David O'Neill
be61c98832 Changes from APPLIANCE_HEAD:
source/printing/printing.c
        - When deleting a job, remove the entry from the back-end database
          if the delete succeeded.  This stops a spurious permission denied
          message appearing if the forced database update is within the lpq
          cache timeout and doesn't actually delete the job from the
          database.
-
Gerald Carter
158430ba6a getpw[nam|uid] caching patch from "Richard Bollinger"
<rabollinger@home.com>



jerry
-
Gerald Carter
a28d384e4d fixed typo in debug statement
jerry
-
Richard Sharpe
68614bac5a Fix a problem with smbc_unlink on directories where it was returning EACCES
instead of EPERM and a problem with SMBC_OPEN where it ignored an error
from the underlying cli_open routine and cheerfully returned a bogus FD.
-
Jeremy Allison
6e56833225 Fix from Kenichi Okuyama for memory leak on Realloc fail.
Jeremy.
-