Difference between revisions of "Samba Access"

From UFRC
Jump to navigation Jump to search
(New page: 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 passwor...)
 
(Added password changing method, and cleared up what it takes to create a Samba account)
Line 1: Line 1:
 +
==Changing Samba Passwords==
 +
To change your samba password (after your samba account has been created), do the following:
 +
<pre>
 +
$ smbpasswd -r samba
 +
Old SMB password:
 +
New SMB password:
 +
Retype new SMB password:
 +
Password changed for user <USERNAME>
 +
</pre>
 +
As can be seen, the command will ask for the old password, then for the new password twice.
 +
==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.
 
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.

Revision as of 15:55, 24 May 2010

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.

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.