Problems encountered when the LinuxCUPS printing server automatically installs the driver for a Windows Client

Source: Internet
Author: User
Linux Enterprise Application-Linux server application information is a problem encountered when the LinuxCUPS printing server automatically installs drivers for Windows clients. For details, see the following. Today, I tested using Linux as the printing server and installed the printer driver automatically for the Windows client. When an error occurs in cupsaddsmb-H localhost-U root-a-v, the system prompts an authentication error. Because my Linux is configured as a domain member AND Security = ADS, I changed root to administrator. This error is

NT_STATUS_MEDIA_WRITE_PROTECTED making remote directory \ W32X86
NT_STATUS_ACCESS_DENIED opening remote file \ W32X86/hp1_jet6600.ppd
NT_STATUS_ACCESS_DENIED opening remote file \ W32X86/ps5ui. dll
NT_STATUS_ACCESS_DENIED opening remote file \ W32X86/pscript. hlp
NT_STATUS_ACCESS_DENIED opening remote file \ W32X86/pscript. ntf
NT_STATUS_ACCESS_DENIED opening remote file \ W32X86/pscript5.dll

It is probably a permission issue. After searching for a long time on the Internet, no matter how you set the directory permissions, you cannot modify the read only and write list of [print $] in smb. conf. Finally, the smb. after the conf file is backed up, the simplest smb file is copied from the Internet. conf: change the path in [print $] to your own path, use local authentication, and use smbpasswd-a root to add the root user, run cupsaddsmb-H localhost-U root-a-v and restore the original smb. conf to restart samba.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.