Para bailar la bamba / Se necesita una poca de gracia
Ordinary people get a lot more out of the ...

Samba

The Samba software implements Microsoft Windows networking protocols for Linux machines. Windows has features to access other Windows machines and servers; a Linux server running Samba would appear as a Windows server to the client PC.

Our Samba server is accessible from the Maths (internal) "wired" network only.
See also the network setup needed for internal laptops.


Current: for Windows 10 and beyond (Win10, Win11,...)

We have a Samba server running on enna. This Samba uses Maths login names, but with its own passwords (different from the enna login password).

For people "upgrading" from School Windows7 PCs (in romegroup), the Samba password may have been copied across, so maybe no need to create account or set password.
Maybe see also the Win11 HowTo instructions.

Ask Paul to create a Samba login (or password) for you. You must do this in person (in room 639) so you can set your own password. The Samba password should be different from any other passwords you may use, but could be the same as the password you use to log in to enna.
Afterwards you can change your Samba password: on enna, with Linux command   smbpasswd

Connect to Samba to access files: simply type the share name in the address bar of FileExplorer. The file shares this Samba server has, and suggested drive letter for map network drive:

      Share (folder)   Comment
   M:   \\enna.maths.usyd.edu.au\home   Your home directory (used to be H: on Windows7)
   N:   \\enna.maths.usyd.edu.au\nobackup   Your nobackup directory (a.k.a. /nb/MATHSNAME)
   L:   \\enna.maths.usyd.edu.au\sms   The Linux /usr/sms directory
   W:   \\enna.maths.usyd.edu.au\wwwfd   Your web directory (a.k.a. /u/MATHSNAME) when present
   T:   \\enna.maths.usyd.edu.au\teaching   The ~teaching directory
   Y:   \\enna.maths.usyd.edu.au\shared   (For admin people only)

or just go to \\enna.maths.usyd.edu.au and choose the share you want.

If (when) prompted for credentials, use:

  Username: ennagroup\MATHSNAME
(with your Maths login name for MATHSNAME), and your Samba password.

We now use the M: drive instead of H:, since ICT may have H: in use for something else.
There is no printing via Samba, but use CUPS or LPR/LPD.

To map network drives: command line

Can do on the "command line", within a CommandPrompt window
(Start > Programs > Accessories > CommandPrompt) or (Start > Run > cmd).

Any pre-existing drives with the same letters, or with enna, need to be un-mapped. Type command

  net use
to list all pre-existing connections, and use e.g.
  net use M: /delete
to delete any with the "same" drive letter, or with enna.

For the first drive type command:

  net use M: \\enna.maths.usyd.edu.au\home /persistent:yes /savecred
That will prompt you for the username, type ennagroup\MATHSNAME, then when prompted type the Samba password.

For subsequent drives:

  net use N: \\enna.maths.usyd.edu.au\nobackup /persistent:yes
and similar.

To map network drives: graphical interface

Any pre-existing drives with the same letters, or with enna, need to be un-mapped: To map your first drive, M: to \\enna\home do: To map subsequent drives:  


MacOS and Linux machines

Why would you use Samba, when you can use SFTP or SSHFS? But if you insist...

... to something like
  smb://enna/home
When prompted for authentication, use your Maths login name (without ennagroup, or any domain) and your Samba password.

 


Old and deprecated: for Windows 7 and prior

You need Samba to use the office Windows PCs, or you may use it also from your laptop or office Mac.

We have a Samba server running on rome. From your PC or laptop, use Samba to access files on the Linux machines (your home and nobackup directories, web pages, files in /usr/sms) and to access printers.

Ask Paul to create a Samba or "Windows" account for you. You must do this in person (in room 639) as you will need to set a password. The Samba password should be different from any other passwords you may use, but could be the same as the password you use to log in to enna.

To change your Samba password on a Windows office machine in ROMEGROUP, press Alt-Ctrl-Delete and choose Change password; otherwise try Start Menu > Settings > Control Panel > Users and Passwords.
You can also change your password from a Linux machine with command
/usr/sms/share/samba/n/bin/smbpasswd -c /usr/sms/share/samba/n/lib/smb.conf.rome -r rome

Connect to rome either by typing \\rome in the address bar of a Windows Explorer e.g. MyComputer window, or by going to Start Menu > Run > \\rome. Use your login name and Samba password at the prompt.

The directory shares have descriptive names; be sure to check out \\rome\sms\win\sfwinst\DataOnly\.

There are numerous printer shares (overwhelming, but they must all be visible so you can use them). To use printers, you must (once) set them up as they are a per-user setting. Choose from those in \\rome: double-click then say yes (then close the queue-list window that comes up), or copy them to your local (Start Menu > Settings > Printers) folder, or use Add printer and select something like \\rome\r7lw. Please see our list and description of printers. Before printing, each time after a reboot, you need to connect to \\rome and log in.

Instead of Samba, you could print via LPR/LPD.

Our office Windows PCs run Windows7 and are set to log in to the ROMEGROUP domain. Since users are logged in already, there is no further password prompt to connect or to print; have some directory shares mapped as network drives:
    H: home
    N: nobackup (a.k.a. /nb/MATHSNAME)
    W: ~/wwwfd (a.k.a. /u/MATHSNAME) when present
    L: sms (a.k.a. /usr/sms, used to be named local)
and the "roaming profiles" are kept in the ~/.profiles.V2 directory.
Admin PCs are set to log in to the BIANCOGROUP domain.


Paul Szabo [email protected] 16 Nov 24