1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source3/client
Volker Lendecke 3e1d8ab125 libsmb: Change cli_posix_readlink to return talloc'ed target
This is a deviation from the Posix readlink function that from my
point of view makes this function easier to use. In Posix, probably
the assumption is that readlink is cheap, so someone under memory
constraints could just start with a small buffer and incrementally
increase the buffer size. For us, it's a network round-trip, and we
have the luxury of [mt]alloc, which the syscall kernel interface does
not have.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Mar 27 12:31:37 UTC 2019 on sn-devel-144
2019-03-27 12:31:37 +00:00
..
client_proto.h s3: client: Add new utility function client_clean_name(). 2017-10-24 19:35:08 +02:00
client.c libsmb: Change cli_posix_readlink to return talloc'ed target 2019-03-27 12:31:37 +00:00
clitar_proto.h clitar: get tar context handle via helper function 2014-02-19 18:22:29 +01:00
clitar.c build: Make --with-libarchive the default 2018-05-15 03:36:08 +02:00
dnsbrowse.c client: Fix parameter mixup 2015-12-02 21:01:14 +01:00
README.smbspool s3-client: Add a KRB5 wrapper for smbspool 2016-01-25 19:58:46 +01:00
smbspool_krb5_wrapper.c s3:client: Pass DEVICE_URI and AUTH_INFO_REQUIRED env to smbspool 2019-03-18 15:30:13 +00:00
smbspool.c s3:client: Fix smbspool device uri handling 2019-03-18 16:47:55 +00:00
tree.c Convert all uint32/16/8 to _t in source3/client. 2015-05-13 19:11:23 +02:00

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.