| United States-English |
|
|
|
![]() |
HP CIFS Server 2.2g Administrator's Guide: HP-UX 11.0, 11i version 1 and 2 > Chapter 2 Installing
and Configuring the HP CIFS ServerStep 3: Modify the Configuration |
|
HP CIFS Server requires configuration modifications for the following functionality:
Two ACL schemes are currently supported: unix UNIX file permissions and hpux_posix VxFS POSIX ACLs on HP-UX. Example values are shown below:
HP CIFS Server, version A.01.08, provides a share level variable called “nt acl support.” The possible values for this variable are “yes” and “no.” This variable defaults to “yes.” Using this variable, users can turn on/off ACL support on a per-share basis. Refer to chapter 3 in this manual for more information about ACLs.
By default, the HP CIFS Server is configured to be case insensitive, like DOS and NT.
For the CIFS Server, edit the server configuration file: /etc/opt/samba/smb.conf as follows. case sensitive = yes For the CIFS Client, in the /etc/opt/cifsclient/cifsclient.cfg file, ensure the following default is set: caseSensitive = yes There are three parameters, map system, map hidden, and map archive, that can be configured in Samba to map DOS file attributes to owner, group, and other execute bits in the UNIX file system. When using the CIFS Client, you may want to have all three of these parameters turned off. If the map archive parameter is on, any time a user writes to a file, the owner execute permission will be set. This is usually not desired behavior for HP CIFS clients or UNIX clients in general. By default, map system and map hidden are off, and map archive is on. To turn map archive off, modify /etc/opt/samba/smb.conf as follows: map archive = no This section provides information about configuring Print Services on systems running HP CIFS version A.01.07. Please refer to the next section if you are running HP CIFS version A.01.08. The minimal printing setup is shown below. Refer to chapter 7 in Using Samba for more detailed information on how to set up printing in Samba servers. To configure a printer share, modify /etc/opt/samba/smb.conf as follows: printable=yes Where printer_name_string is the name of an HP-UX-defined printer under the control of the LP spooler. This is a special share to automatically create printing services. Refer to chapter 7 in Using Samba for more detailed information on how to set up printing in Samba servers.If you create a share named [printers] in the smb.conf file, the server will automatically read in your printer capabilities file and create a printing share for each printer that appears in that file. Add the following information to the global and printers sections of the smb.conf file: [printers] Each client needs to install the appropriate driver for each printer it wants to use. Refer to chapter 7 in Using Samba for more detailed information on how to set up printing in Samba servers. Invoke the Windows Add Printer Wizard dialog by double-clicking on the printer icon in the Network Neighborhood. Enter the name of the printer. If you selected an uninstalled printer, Windows will ask you to select the printer manufacturer and model. Windows should load the appropriate driver. Printer drivers can be automatically set up for a specific printer. There are four steps:
Refer to chapter 7 in Using Samba for more detailed information on how to set up printing in Samba servers. Install the drivers using a Windows 95/98 client only. Other versions of Windows clients will be supported in future releases. The printer does not have to be attached to the machine to install the drivers.This step is getting the appropriate driver files into the Windows directory. Go to the Printers windows of My Computer and double-click on the Add Printer icon. Follow the Add Printer Wizard dialogs, providing the name or manufacturer and model of the printer. Copy the following four files from a Windows client: These files contain specific printer driver files. If the printer driver starts with the letter A-K, use either MSPRINT or MSPRINT3. If it begins with L-Z, user MSPRINT2 or MSPRINT4 in the next step. Use the make_printerdef script located in /opt/samba/bin Directory and the appropriate printer driver INF file to create a printer definition file: $make_printerdef MSPRINT3.INF HP DeskJet 560C Printer printers.def Create a PRINTER$ share in the smb.conf file
that points to an empty directory on the CIFS server as follows: Copy the files noted in step 2 to this location. Typically these files can be found in the C:\WINDOWS\SYSTEM directory. Copy the printers.def file that you created in step 2 to this location as well. Modify the smb.conf file by adding three options:
Example smb.conf entries: This section provides information about configuring Print Services on systems running HP CIFS version A.01.08. Please refer to the previous section if you are running HP CIFS version A.01.07. These enhancements are new for version A.01.08. The HP CIFS Server now provides the following NT printing functionality:
Information about setting up and configuring each of the Print Services (except ACLs) is shown in the following sections. Information about configuring ACL Support is discussed in a previous section. The following is a minimal printing setup. Use either one of the following two procedures to create a [printers] share:
Configure a [printers] share in the /etc/opt/samba/smb.conf file. Refer to the following example: [printers] This share is required if you want the printer’s list to be displayed in SWAT, which is not defined in the smb.conf file, but exists on the HP CIFS Server. If this share is not defined, the printer’s list will display only those printer shares which are defined in the smb.conf file. In order to add a new driver to your Samba host using version A.01.08 of the software, one of two conditions must hold true:
The connected account must still possess access to add files to the subdirectories beneath [print$]. Keep in mind that all files are set to ‘read only’ by default, and that the ‘printer admin =’ parameter must also contain the names of all users or groups that are going to be allowed to upload drivers to the server, not just ‘netadmin’. The following is an example of the other parameters required:
Printer driver files can be automatically uploaded from disk to the printers on a HP CIFS Server. Here are the steps:
The following are some typical reasons for migrating from a HP CIFS Server, version A.01.07, to version A.01.08:
This section will provide the procedures for:
After the DFS Tree is set up using this procedure, users on DFS clients can browse the DFS tree located on the HP CIFS Server at \\servername\DFS.
A Distributed File System (DFS) root directory on a HP CIFS Server can host DFS links in the form of symbolic links which point to other servers. Before setting up DFS links in the DFS root directory, you should set the permissions and ownership of the root directory so that only designated users can create, delete or modify the DFS links. Symbolic link names should be all lowercase. All clients accessing a DFS share should have the same user name and password. An example for setting up DFS links follows:
Highly Available HP CIFS Server allows the HP CIFS Server product to run on an MC/ServiceGuard cluster of nodes. MC/ServiceGuard allows you to create high availability clusters of HP 9000 server computers. Template files for version A.01.08 have been revised to allow any number of cluster nodes and other advantages over previous schemes. Follow the configuration procedures provided in Chapter 6. Modify the parameters below in the smb.conf file
for German character support: In order to view the file and directory names and contents correctly from the UNIX side, you must set the locale to ISO 8859-1 as follows: export LANG=de_DE.iso88591 Refer to the Internationalization section later in this chapter for more detailed information. To enable HP CIFS Japanese capabilities, start HP CIFS with the smb.conf variables set as follows: codingsystem = SJIS In order to view the file and directory names and contents correctly from the UNIX side, you must set the locale to Shift-JIS like this: export LANG=ja_JP.SJIS Refer to the Internationalization section later in this chapter for more detailed information. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||