Attach SMB (samba) drive to windows machine

Linux side:

after adduser to add the user mySmbUser, run

sudo smbpasswd -a mySmbUser

sometimes you may need to use the file username map = /etc/samba/smbusers

Check you have at least shared the home directories in smb.conf:

[homes]

   comment = Home Directories

   browseable = yes

   read only = no

   create mask = 0775

   directory mask = 0775

Restart smbd to force it to see the new users: 

sudo service smbd restart

When mapping a drive, select the "connect using different credentials" option on windows. This is the key point. And then provide the IP address of the server.

Popular posts from this blog

Can send GSM/SMS but can't receive on MTN

Spotting a phishing (hacker) email

Adding your email service to Gmail under Google's professional suite (Workplace)