Difference between revisions of "Samba Access"

From UFRC
Jump to navigation Jump to search
Line 1: Line 1:
 
==Connecting to the Samba server==
 
==Connecting to the Samba server==
 +
The UF HPC Center has a samba server located at samba.hpc.ufl.edu.
 +
 +
In order to connect to it, you can do one of the following:
 +
 +
* To simply connect to the shares there, you can click on your start menu, and where the search entry area is located, you can type \\samba.hpc.ufl.edu.
 +
 +
At this point a login box will appear for a username and password. Enter these and you should be connected to the system. If you are currently logging into the UF Active Directory (UFAD) domain, you may need to precede your username with "UFHPC\". So, if your username were normally "test", you would instead put "UFHPC\test" for your username.
  
 
==Changing Samba Passwords==
 
==Changing Samba Passwords==

Revision as of 16:57, 20 July 2011

Connecting to the Samba server

The UF HPC Center has a samba server located at samba.hpc.ufl.edu.

In order to connect to it, you can do one of the following:

  • To simply connect to the shares there, you can click on your start menu, and where the search entry area is located, you can type \\samba.hpc.ufl.edu.

At this point a login box will appear for a username and password. Enter these and you should be connected to the system. If you are currently logging into the UF Active Directory (UFAD) domain, you may need to precede your username with "UFHPC\". So, if your username were normally "test", you would instead put "UFHPC\test" for your username.

Changing Samba Passwords

To change your samba password (after your samba account has been created), do the following:

$ smbpasswd -r samba
Old SMB password:
New SMB password:
Retype new SMB password:
Password changed for user <USERNAME>

As can be seen, the command will ask for the old password, then for the new password twice.

Administrative Reset

In the case that a user has forgotten their samba password, their password can be reset by logging into phpLDAPAdmin and changing the values of sambaLMPassword and sambaNTPassword to a known value.

Creating Samba Accounts

Note: This can only be done by administrators

To allow users to mount HPC filesystems on their workstations on campus (or over campus VPN), we need to add a sambaSAMAccount objectclass to their LDAP entry and set their Sambas password.

[root@submit ~]# smbldap-usermod -a cpp
Warning: sambaPrimaryGroupSID could not be set beacuse group of user cpp is not
a mapped Domain group!
To get a list of groups mapped to Domain groups, use "net groupmap list" on a
Domain member machine.

[root@submit ~]# smbldap-passwd -s cpp
Changing samba password for cpp
New password: 
Retype new password: 

You can use 'smbpasswd' as opposed to 'smbldap-passwd' if you prefer.