Want to mount a CIFS share from a NetApp Filer on a Solaris server.

Solution:

Solaris 8,9 don’t support CIFS, so we need to workaround on this issue. There are different ways to set up CIFS client on Solaris server from the third-party or open source community.

1. sharity is a good solution on production server.

2. opensource CIFS client for Solaris (still under aplha development stage) recommended for testing

Detail of sharity set up on Solaris 8/9:

  • download free version or buy it from Sharity website.
  • as root install it on Solaris box
  • create a directory on Solaris box, on which we mount the shared folder from NetApp Filer

Example:

In this example: f400st1 is name of NetApp Filer, on which we have data. s400sus3 is Solaris server. windowsusername is a domain admin account on Windows (2000/2003) domain controller testorg.

I want to share the folder named “Oracle Finacials” from f400st1/peoplesoft$ (f400st1 is the NetAppFiler name) on /export/lanman/ps of Solaris server.

  • create /export/lanman/ps directory, make sure that it has proper permission for user.
  • log on Solaris box as regular user

#sharity mount smb:/f400st1/peoplesoft$/Oracle\ Financials/ /export/lanman/ps -U windowsusername -D testorg

The Filer will ask the password. Enter Windows password of windowsusername account.

To umount the share:

#sharity umount /export/lanman/ps

That’s it.