Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[trashbin]
comment = Main Work Directory
path = /mnt/novatec/trash
read only = no
public = yes
set mask = 0660
[mfoley]
comment = mfoley
path = /mnt/novatec/mfoley
read only = no
public = yes
set mask = 0660
From Windows 10 I could map [trashbin], no problem. With [mfoley] I get the error:
Quote:
The network folder specified is currently mapped using a different user name and password. To connect using a different user name and password, first disconnect any existing mapping to this network share.
If I disconnect [trashbin] and try again, I get, "The specified network password is not correct."
I have deleted all credentials in the Windows Credential Manager. I have added the user credentials to smbpasswd, twice in fact; in case I messed it up the 1st time.
I've checked to make sure the mapping user has permission to the shared directory.
Now that I've done all that credential removal and smbpasswd updating, I can no longer even map [trashbin].
I assume you are using the same user name to connect to mfoley as trashbin?
Yes
I don't know if this helps or adds to the confusion. If, logged into the samba sharing host as user mfoley and I do 'smbclient -L localhost -U mfoley' it fails when I enter my pw. If I do 'smbclient -L localhost', no -U, that works after entering the exact same password:
Code:
$ smbclient -L localhost -U mfoley
Password for [WORKGROUP\mfoley]:
session setup failed: NT_STATUS_LOGON_FAILURE
$ smbclient -L localhost
Password for [WORKGROUP\mfoley]:
Anonymous login successful
Sharename Type Comment
--------- ---- -------
homes Disk Home Directory on quadmon
backup Disk Backup Directory
trashbin Disk Main Work Directory
novatec Disk Novatec
mfoley Disk mfoley
IPC$ IPC IPC Service (QUADMON Samba Server)
SMB1 disabled -- no workgroup available
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.