Flylib.com

Books Software

 
 
 

REFERENCES

     

REFERENCES

Bryan Costales with Eric Allman, sendmail , 3rd ed., O'Reilly and Associates Inc., ISBN 1-56592-839-3.

     

Chapter TWENTY. Common Internet Filesystem (CIFS/9000)

Chapter Syllabus

20.1 CIFS, SMB, and SAMBA

20.2 CIFS Client or Server: You Need the Software

20.3 CIFS Server Configuration

20.4 CIFS Client Configuration

20.5 NTLM: Using a Windows Server to Perform Authentication and Pluggable Authentication Modules (PAM)

CIFS/9000 is the software we use on HP-UX to share files and printers with Windows (and OS/2) based servers using the underlying protocol that Windows uses for browsing ”Server Message Blocks (SMB). To many UNIX administrators, the thought of working hand-in-hand with a Windows server is something akin to sacrilege. Regardless of your view of Windows, everyone has to admit that the prevalence of Windows on the desktop is nothing short of amazing. The fact that it is now infiltrating the computer-room is a testament to its increasing maturity and acceptance by IT managers as a corporate-level operating system.

     

20.1 CIFS, SMB, and SAMBA

When HP-UX 10.20 was the most recent version of HP-UX, CIFS/9000 wasn't available. If you were an HP-UX administrator and you wanted to integrate file sharing between HP-UX and Windows-based machines, you had three choices: purchase ASU/9000 (Advanced Server for UNIX, previously known as LanManager for UNIX), purchase PC-NFS, or use the freeware software known as SAMBA. Because it's freeware, HP would not offer any official support for the SAMBA software if you had problems. The adoption of CIFS as an official product has rectified this situation. Is CIFS/9000 based on SAMBA? Yes, very much so, although HP has augmented the software to support integration with PAM and Kerberos authentication as well as ONC AutoFS 2.3 (on HP-UX 11i version 2 not version 1) support. As of version 1.08, an HP-UX CIFS server can even act as a Primary Domain Controller, be a Browse Master , map Windows NT/XP/2000 Access Control Lists to UNIX permissions via HFS or VxFS ACLs, and provide NT printing support by uploading or downloading the necessary printer drivers from a Windows Server or client if necessary. CIFS is a protocol that supports remote file access. It was formerly known as SMB. Are CIFS and SMB the same? Yes, they are identical. In fact, Microsoft acknowledges that CIFS is simply a name change from SMB. The name change reflects the extent by which CIFS is now supported on other operating systems: UNIX, VMS, and MAC-OS to name a few. Whether we can ever consider it as a true Internet filesystem is a bit strong in my view, but the idea of operating system independence is a good one if not new; NFS was the de facto standard for file sharing on UNIX platforms for many years . The configuration files used on HP-UX are similar in format to other UNIX flavors, which makes life easier if you have configured CIFS/SAMBA on another version of UNIX. As you would expect, an HP-UX machine can act as a CIFS server, a CIFS client, or even both simultaneously .

     

20.2 CIFS Client or Server: You Need the Software

We can install the software from our source media, or we can download it free of charge from http://software.hp.com "Internet ready and networking currently titled "hp cifs client" and "hp cifs server". We can install either the client or the server component separately; it depends on what you are looking to achieve. Installing the software is a simple matter of a swinstall , although installing the CIFS-client software does require a reboot; the kernel needs to recognize CIFS as a valid filesystem type. If you have used an HP-UX 11i Operating Environment, you may have CIFS/9000 already installed; CIFS/9000 is part of the basic Operating Environment.



root@hpeos001[]

#

_

swlist -l product -s /cdrom HPUX11i-OE  grep -i cifs

HPUX11i-OE.CIFS-Server        A.01.08        CIFS/9000 (Samba) File and Print Services

  HPUX11i-OE.CIFS-Development   A.01.08       CIFS/9000 server source code files



  HPUX11i-OE.CIFS-Client        A.01.08        HP CIFS/9000 Client

root@hpeos001[] #

Checking is a simple matter of an swlist . Okay, so we installed it. What's next ?