Skip Navigation Links | |
Exit Print View | |
![]() |
Oracle Solaris Administration: SMB and Windows Interoperability Oracle Solaris 11 Information Library |
1. Windows Interoperability (Overview)
2. Identity Mapping Administration (Tasks)
3. SMB Server Administration (Tasks)
How to Disable the Samba Service
Configuring the SMB Server Operation Mode (Task Map)
How to Configure the SMB Server in Domain Mode
How to Configure the SMB Server in Workgroup Mode
Managing SMB Shares in This Release
Managing SMB Shares (Task Map)
How to Enable Cross-Protocol Locking
How to Create an SMB Share (zfs)
How to Enable Guest Access to an SMB Share
How to Enable Access-Based Enumeration for a Share
How to Modify SMB Share Properties (zfs)
How to Remove an SMB Share (zfs)
How to Create a Specific Autohome Share Rule
How to Restrict Client Host Access to an SMB Share (zfs)
Managing SMB Groups (Task Map)
How to Add a Member to an SMB Group
How to Remove a Member From an SMB Group
How to Modify SMB Group Properties
Enabling CATIA V4/V5 Character Translations
How to the Enable CATIA Interoperability Feature
SMB printing enables you to gain access to all of the Common UNIX Printing System (CUPS) printers. Each printer can be made accessible as SMB shares. The share names match the printer names, and the shared path is inherited from the print$ share that you create.
By default, support for SMB printing is disabled.
The following table points to the tasks that you can use to configure SMB printing.
|
This procedure shows how to enable support for SMB printing on your Oracle Solaris system. Part of this procedure includes the creation of a share called print$. The share path can point to any directory, which is used as the spool path for all SMB shared printers. This share must exist before you can print.
SMB printing is disabled by default, due to the print_enable property being set to false.
Note - You cannot map the print$ share as a disk share. Attempts to do so might result in the Password prompt being issued but access being denied. Such a failure is reported in the system log.
After SMB printing is enabled, you can use the Windows Add Printer wizard to attach your Windows client to shared printers. The SMB shared printers are connected to the network and can be selected by name.
For more information, see How to Obtain Administrative Rights in Oracle Solaris Administration: Security Services.
# zfs set share=name=print$,path=pathname,prot=smb pool-name/fsname
# chmod A=user:root:full_set:allow pathname
# zfs set sharesmb=on pool-name/fsname
# sharectl set -p print_enable=true smb
# sharectl get -p print_enable smb
If the SMB print service is enabled, the print_enable property is set to true.
# svcadm refresh smb/server
Example 3-7 Enabling the SMB Print Service
This example assigns the print$ share to an existing directory, /tank/printspool, and enables the SMB print service.
# zfs set share=name=print$,path=/tank/printspool,prot=smb tank/printspool # chmod A=user:root:full_set:allow /tank/printspool # zfs set sharesmb=on tank/printspool # sharectl set -p print_enable=true smb