samba
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
samba [2009/11/13 07:53] – 172.26.0.166 | samba [2010/05/22 14:19] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 20: | Line 20: | ||
< | < | ||
# chmod o-rwx,g+s / | # chmod o-rwx,g+s / | ||
- | |||
===== Add users ===== | ===== Add users ===== | ||
- | Add users using useradd, then edit their account | + | To use Samba a user must also have a Unix account. Create |
+ | |||
+ | Add the user: | ||
< | < | ||
In ''/ | In ''/ | ||
Line 34: | Line 35: | ||
# id mkyalo | # id mkyalo | ||
uid=755(mkyalo) gid=755(mkyalo) groups=755(mkyalo), | uid=755(mkyalo) gid=755(mkyalo) groups=755(mkyalo), | ||
+ | Set the user's Unix and Samba passwords: | ||
+ | < | ||
+ | # smbpasswd -a mkyalo</ | ||
+ | |||
===== Sync users and groups ===== | ===== Sync users and groups ===== | ||
It is very important to synchronize the user and group information from the head node to the compute nodes. | It is very important to synchronize the user and group information from the head node to the compute nodes. | ||
< | < | ||
- | This will, among other things: | + | This will automatically: |
* Copy ''/ | * Copy ''/ | ||
* Copy ''/ | * Copy ''/ | ||
* Add NFS automount information to ''/ | * Add NFS automount information to ''/ | ||
- | This is a good thing. | ||
===== Set ACLs ===== | ===== Set ACLs ===== | ||
Line 134: | Line 138: | ||
====On a Macintosh==== | ====On a Macintosh==== | ||
- | - Click Go -> Connect to Server and type: smb:// | + | - Click Go -> Connect to Server and type: %%smb:// |
- A message will appear asking for a username and password; enter the details you were given and make sure Domain is ILRI, then press enter. | - A message will appear asking for a username and password; enter the details you were given and make sure Domain is ILRI, then press enter. | ||
- If your account information is correct you will see a folder appear with your files inside. | - If your account information is correct you will see a folder appear with your files inside. | ||
- Your connection will remain active until the computer is shut down, restarted, or logged off. | - Your connection will remain active until the computer is shut down, restarted, or logged off. |
samba.1258098786.txt.gz · Last modified: 2010/05/22 14:19 (external edit)