Many Samba shares on Linux, and shares on Windows Vista and Windows 7, require a username and password before they’ll let you in. Those credentials are set on the server:
- Windows Vista/7: the login username and password of the share owner on that machine.
- Linux Samba: any member of the server’s Samba user database who is allowed by the share’s definition.
Mount the Share with Credentials
Instead of the guest option, pass username= and password=:
mount -t cifs -o username=server_user,password=secret //192.168.44.100/share /path_to/mount
To mount it at boot, or to fix write permissions for non-root users, see fixing CIFS mount permissions with file_mode and dir_mode.
