1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source3/client
Andreas Schneider 9c707b4be2 s3:client: Fix a use-after-free issue in smbclient
Detected by

    make test TESTS="samba3.blackbox.chdir-cache"

with an optimized build or with AddressSanitizer.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15268

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Dec 22 10:52:31 UTC 2022 on sn-devel-184
2022-12-22 10:52:31 +00:00
..
client_proto.h s3: client. Move to all 32-bit attributes in smbclient. 2020-06-04 17:11:39 +00:00
client.c s3:client: Fix a use-after-free issue in smbclient 2022-12-22 10:52:31 +00:00
clitar_proto.h
clitar.c s3:client: Fix old-style function definition 2022-10-27 18:18:36 +00:00
dnsbrowse.c
README.smbspool
smbspool_krb5_wrapper.c s3: smbspool. Remove last use of 'extern char **environ;'. 2021-10-14 19:51:59 +00:00
smbspool.c s3:client: Remove unused smb encryption code 2020-08-19 16:22:42 +00:00
tree.c

smbspool
=========

smbspool is a very small print spooling program that sends a print file to an
SMB printer. The command-line arguments are position-dependent for
compatibility with the CUPS.

For printing support with Kerberos, CUPS 1.5+ needs a wrapper for the backend
which sets the correct location of the Kerberos credential cache.

smbspool_krb5_wrapper
======================

This tool can be used to print using Kerberos credentials. To get this working
smbspool_krb5_wrapper needs to be the smb backend of CUPS. It needs to be owned
by root and the permissions for the binary need to be 0700. Once
smbspool_krb5_wrapper switched to the user trying to print it executes smbspool.