How to connect to a NetWare 6.5 server using Linux over Samba
Novell Cool Solutions: Feature
By Joe Harmon
Digg This -
Posted: 9 Nov 2004
NOTE: Before proceeding you must have SP2 applied to your NetWare 6.5 server if your client is using Samba 3.x or newer.
Procedure for NetWare 6.5
- Native File Access must be installed. On NetWare 6.5 this is installed by default.
- You will need to have your simple password setup. This is not setup by default. To do this, simply login to iManager through a web browser, go to eDirectory Administration, and select modify object. Search for the user in question, and then go to NMAS Login Methods and select Simple Passwords. Once you put in the password, make sure that you click OK or APPLY to save your changes.
- Verify that anyone who requires access to these services over Samba has their eDirectory context listed in the SYS:/ETC/CIFSCTXS.CFG file. If there are multiple contexts to be listed, simply place each one on a new line.
Procedure for Linux Client
Access Via Gnome
- Double click on "Computer" or your home directory located on the Desktop. This will bring up Nautilus. If Nautilus is setup in browser mode you should see a location section. In this location field, type smb://IPorDNS/share. The /share section is optional. If you just put in the IP address or the DNS name, it should show up without prompting you to login. This is a good way of testing it.
- As soon as you click on a share (like the SYS volume) it will prompt you to login. You can choose to remember the password for the session AND / OR save the password in keyring.
- If you choose to save the password in keyring, then you will be prompted for a keyring password.
- You should now have access to the share.
- If you want to make the connection permanent, then simply copy the desired location, and choose FILE | CONNECT TO SERVER, put in a name and paste the location, and you will have a connection to that share the next time your workstation is restarted.
Access via KDE
- Click on "My Computer" that is located on your Desktop. This will launch Konqueror. You will see a location field. In this location field, type smb://IPorDNS/share. The /share section is optional. If you just put in the IP address or the DNS name, it should show up without prompting you to login. This is a good way of testing it.
- Once you click on the share or put in the share name, you will be prompted to login.
- Unlike Nautilus, there is not an option within Konqueror to create a permanent connection.
Access via Terminal
- If you prefer the terminal, then simply open a terminal, su to root, and type in the following command:
mount -t smbfs -o username=yourname,password=yourpassword //IPorDNS/share /mountpoint
More from Joe Harmon
Joe was the author of the wildly popular Cool Solutions series about NetWare 6.5 Web Components.
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com