From macenterprise on Google Groups:
I'm seeing some strange cases at the university where certain users are unable to print authenticated via smb when on Yosemite.
I had just about weaned our users off of unauthenticated lpd when printing to our Windows print server in favor of smb with their credentials stored pr. printer in the keychain.
There doesn't seem to be a pattern to who it affects but there are indications that it's sandbox related (cryptic log messages and the like)
Putting the "Sandboxing relaxed" directive in /etc/cups/cups-files.conf seems to fix it for some.
Has anyone else seen problems when printing to smb printers on Yosemite?
Regards,
Simon Andersen
Aarhus University, Denmark
REPLY:
Tony Skalski
Oct 29We added "-o auth-info-required=negotiate" to our lpadmin command in theOther recipients: MACENT...@lists.psu.edu
install script we package up for students to use. This seems to have fixed
the Yosemite printing issues we've seen.
ajs
Tony Skalski
Systems Administrator
St. Olaf College
Information Technology
1510 St. Olaf Avenue
-----------------------------------------------------
Poster in Stackoverflow suggested a fix was to add -E to enable at the very end, this did NOT work for me.
do shell script "/usr/sbin/lpadmin -L '3rd-floor-library' -o printer-is-shared=false -o Duplex=DuplexTumble -o Option1=True -p '3rd-floor-library' -v smb://server1.cua.edu/LAW_HP9050 -P " & quoted form of (POSIX path of myFile) as text & " -E"
Previously I did not need the -E switch. Adding printer via Printers and Scanners UI works fine under Yosemite, just adding it via lpadmin broke under Yosemite.
From Apple:
-E Enables the destination and accepts jobs;
From Stackoverflow
No comments:
Post a Comment