[Samba] Windows Drive Mapping Using Other Credentials & w/Persistence Fails on Reboot But Manually Mapping Works

Rowland penny rpenny at samba.org
Fri Oct 25 17:20:04 UTC 2019

On 25/10/2019 17:49, Funk, Gregory M CTR DHA J-3 (USA) via samba wrote:
> Samba Experts,
> Has anyone ever seen/experienced an issue where a Windows client has a drive mapped with credentials, other than the credentials used to login to the Windows client, to a Samba share with the persistent option selected but after a restart of the Windows client the drive mapping fails.
I suppose this might depend on what you mean by 'other than the 
credentials used to login to the Windows client' . Are we talking about 
a different username and password ?
> Therefore, if the drive had been mapped with the credentials of the user logged in to the Windows client the drive would successfully persist after reboots of the Windows client but since the drive was mapped with different credentials the drive mapping fails.
> Post-restart we are able to manually re-map the drive with the appropriate credentials and the drive maps successfully.  The Samba logs show that Windows passed the Windows client's logged on username so this appears to be a Windows-related problem but so far there is no documentation to be located that indicates others have experienced this problem, nor a fix action, so I am reaching out to the Community.

It may assist us to give you help if you give us the following info:

What Unix OS

What Samba version

The contents of your smb.conf (sanitised if required)


More information about the samba mailing list