Open-E Knowledgebase
Search:     Advanced search

How to connect to SMB share with NIS authentication from MAC OS X

Article ID: 2751
Last updated: 29 Dec, 2015
Views: 1543
Posted: 29 Dec, 2015
by:
Updated: 29 Dec, 2015
by: Kula T.

Enable plaintext authentication on Mac OS:

1. Make sure that you are not currently connected to any Samba or Windows (SMB/CIFS) servers and that you do not have any Samba or Windows-related error messages open.
2. Open the Terminal (/Applications/Utilities/).
3. At the prompt, type: sudo pico /etc/nsmb.conf
4. Press Return.
5. Enter your password when prompted, then press Return again.
6. You should see an empty file and a "New File" notice at the bottom of the pico window. If you do not see the "New File" notice, this file already exists.
7. Enter the following into the file so that it appears as follows:

[default]
minauth=none

8. Save the file (press Control-O), press Return, then exit pico (Control-X).
9. Type: sudo chmod a+r /etc/nsmb.conf
10. Press Return.
11. Restart your computer.

Make sure NIS uses plain text, or MD5 passwords.

Example how to prepare md5 password:

root@ubuntu:/var/yp# openssl passwd -1 -salt test test  (generate md5 pass)
$1$test$pi/xDtU5WFVRqYS6BMU8X/
root@ubuntu:/var/yp# cat /etc/shadow | grep user4  (edit shadow file with new pass)
user4:$1$test$pi/xDtU5WFVRqYS6BMU8X/:16791:0:99999:7:::
root@ubuntu:/var/yp# cd /var/yp
root@ubuntu:/var/yp# make (compile nis database)

Fetch the NIS data again from DSS by connecting to it once more

This article was:   Excellent | Very Good | Good | Fair | Poor
Also listed in
folder Information -> General info -> NAS

Prev   Next
Recycle bin for SMB shares.     Updates

The Knowledge base is managed by Open-E data storage software company.
RSS