samba
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
samba [2009/11/11 08:57] – created 172.26.0.166 | samba [2009/12/07 05:32] – 172.26.14.218 | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Configuring Samba for Segolip ===== | ===== Configuring Samba for Segolip ===== | ||
- | Segolip' | + | Segolip' |
Customers have shell accounts and samba accounts. | Customers have shell accounts and samba accounts. | ||
Line 20: | Line 20: | ||
< | < | ||
# chmod o-rwx,g+s / | # chmod o-rwx,g+s / | ||
+ | ===== Add users ===== | ||
+ | To use Samba a user must also have a Unix account. | ||
+ | |||
+ | Add the user: | ||
+ | < | ||
+ | In ''/ | ||
+ | < | ||
+ | -- after -- | ||
+ | mkyalo: | ||
+ | </ | ||
+ | Add the user to the appropriate groups. For example, the above user is a part of the '' | ||
+ | < | ||
+ | Adding user mkyalo to group iita | ||
+ | # id 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 ===== | ||
+ | It is very important to synchronize the user and group information from the head node to the compute nodes. | ||
+ | < | ||
+ | This will automatically: | ||
+ | * Copy ''/ | ||
+ | * Copy ''/ | ||
+ | * Add NFS automount information to ''/ | ||
===== Set ACLs ===== | ===== Set ACLs ===== | ||
Line 51: | Line 76: | ||
* [[http:// | * [[http:// | ||
* http:// | * http:// | ||
- | |||
- | ===== Add users ===== | ||
- | Add users using useradd, then edit their account information to list their group affiliation (for reference, since three years down the line we'll have too many users and have no clue who they are): | ||
- | < | ||
- | In ''/ | ||
- | < | ||
- | -- after -- | ||
- | mkyalo: | ||
- | </ | ||
- | Add the user to the appropriate groups. For example, the above user is a part of the '' | ||
- | < | ||
- | Adding user mkyalo to group iita | ||
- | # id mkyalo | ||
- | uid=755(mkyalo) gid=755(mkyalo) groups=755(mkyalo), | ||
===== Add Samba shares ===== | ===== Add Samba shares ===== | ||
- | Add the following share definitions to ''/ | + | Add the following share definitions to ''/ |
< | < | ||
comment = Segolip group data | comment = Segolip group data | ||
Line 81: | Line 92: | ||
read only = yes | read only = yes | ||
valid users = @icipe</ | valid users = @icipe</ | ||
+ | The '' | ||
===== Configure SWAT ===== | ===== Configure SWAT ===== | ||
Line 112: | Line 124: | ||
Change the user's passwords by logging into Swat as root. | Change the user's passwords by logging into Swat as root. | ||
+ | |||
+ | ===== Standard Operating Procedure ===== | ||
+ | |||
+ | In order to access Segolip storage on the HPC a user first needs an account on the HPC (user/ | ||
+ | |||
+ | ==== In Windows: | ||
+ | |||
+ | - Click Start -> Run and type: \\hpc.ilri.cgiar.org\groupname (where " | ||
+ | - A message will appear asking for a username and password; enter the details you were given and press enter. | ||
+ | - 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. | ||
+ | |||
+ | ====On a Macintosh==== | ||
+ | |||
+ | - 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. | ||
+ | - 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. |
samba.txt · Last modified: 2010/05/22 14:19 by 127.0.0.1