Table of Contents
- About the Author
- Tell Us What You Think!
- Part I: Introduction to Mac OS X
- Chapter 1. Mac OS X Component Architecture
- Chapter 2. Installing Mac OS X
- Chapter 3. Mac OS X Basics
- Chapter 4. The Finder: Working with Files and Applications
- Chapter 5. Running Classic Mac OS Applications
- Part II: Inside Mac OS X
- Chapter 6. Native Utilities and Applications
- Chapter 7. Internet Communications
- Chapter 8. Installing Third-Party Applications
- Part III: User-Level OS X Configuration
- Chapter 9. Network Setup
- Chapter 10. Printer and Font Management
- Chapter 11. Additional System Components
- Part IV: Introduction to BSD Applications
- Chapter 12. Introducing the BSD Subsystem
- Chapter 13. Common Unix Shell Commands: File Operations
- Part V: Advanced Command-Line Concepts
- Chapter 14. Advanced Shell Concepts and Commands
- Chapter 15. Command-Line Applications and Application Suites
- Chapter 16. Command-Line Software Installation
- Chapter 17. Troubleshooting Software Installs, and Compiling and Debugging Manually
- Chapter 18. Advanced Unix Shell Use: Configuration and Programming (Shell Scripting)
- Part VI: Server/Network Administration
- Chapter 19. X Window System Applications
- Chapter 20. Command-Line Configuration and Administration
- Chapter 21. AppleScript
- Chapter 22. Perl Scripting and SQL Connectivity
- Chapter 23. File and Resource Sharing with NetInfo
- Chapter 24. User Management and Machine Clustering
- Chapter 25. FTP Serving
- Chapter 26. Remote Access and Administration
- Chapter 27. Web Serving
- Part VII: Server Health
- Chapter 28. Web Programming
- Chapter 29. Creating a Mail Server
- Chapter 30. Accessing and Serving a Windows Network
- Chapter 31. Server Security and Advanced Network Configuration
- Chapter 32. System Maintenance
- Appendix A. Command-Line Reference
- Appendix B. Administration Reference
Mac OS X 10.1 SMB/CIFS Client
With Mac OS X 10.1, Apple has finally acknowledged that Mac users do need to access Windows networks. Although it does not providing nearly as friendly service as AppleShare, the Mac OS X CIFS client is still relatively straightforward.
Before trying to connect to a Windows or Samba share, you must first know the resource string required to access the share. Those accustomed to Microsoft Windows may have seen these strings denoted in the fashion:
\\<server name>\<resource name>
Mac OS X changes this into a more conventional URL, prefixed by either cifs or smb to denote the protocol. For example, the Windows connection string of \\pointy\mp3 becomes smb://pointy/mp3 in Mac OS X. Besides using the names of local servers, you can also enter the domain name or IP address for the server you want to access.
Unfortunately, it does not appear that Apple will be including the capability of browsing Windows networks (unless they are using SLP—the service locator protocol) at this time, so you will need to know the name of the resource you're accessing before you connect. If you'd like a more user-friendly method of connection, read about the Sharity application in the next section of this chapter.
After you determine the CIFS/SMB URL for the connection youwant to make, choose Connect to Server (Command+K) from the Finder's Go menu, enter the URL into the Address field (as shown in Figure 30.11), and then click Connect.
Figure 30.11 Enter the CIFS/SMB URL to connect to.
After a few seconds, the system should prompt you for Domain/Workgroup information as well as the username and password for the connection, demonstrated in Figure 30.12.
Figure 30.12 Provide the login information for your CIFS/SMB server, then click OK.
Fill in the requested information appropriately. For peer-to-peer connections, you can typically leave the Workgroup/Domain field blank. The username and password are determined by the administrator of the Windows or Samba resource and are not related to your Mac OS X login. When finished, click OK.
After a few seconds, the network share will be mounted on your system and will be virtually indistinguishable from a standard AppleShare connection. This capability is extremely important for the acceptance of the Mac inside existing networks. Some users, however, might need a more advanced solution, such as Sharity.