mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
3e1d8ab125
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 |
||
---|---|---|
.. | ||
client_proto.h | ||
client.c | ||
clitar_proto.h | ||
clitar.c | ||
dnsbrowse.c | ||
README.smbspool | ||
smbspool_krb5_wrapper.c | ||
smbspool.c | ||
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.