[Samba] Make Samba4 ignore domain prefix on share logon

Rowland Penny rowlandpenny241155 at gmail.com
Sun Aug 16 15:27:00 UTC 2015

On 16/08/15 16:17, Felix Matouschek wrote:
> Hello Jakub,
> "map untrusted to domain = yes" should probably do what you want.
> Greetings,
> Felix
> Am 15.08.2015 um 07:24 schrieb Jakub VeselĂ˝:
>> Hello,
>> at my work we are migrating from samba 3.6.24 on gentoo + openLDAP to
>> Windows Server 2012 AD DC + Samba 4.1.6 Ubuntu Member server for file
>> sharing. Our old configuration ignores domain prefixes when logging 
>> on to
>> shares i.e. I just need to type user instead of SAMDOM\user when 
>> accessing
>> share from windows machines. The Windows DC behaves like this too, but
>> samba 4 does not. Is there any way to replicate this behavior on the new
>> version? Our users are used to not typing it and it would be quite
>> troublesome to retrain them. Additionally, we have a lot of windows 
>> batch
>> files that mount shares that also contain non-prefixed credentials,
>> scattered all around our organization.
>> Thanks for help,
>> Jakub Vesely

yes, but most people use 'winbind use default domain = yes' instead.

see 'man smb.conf' for more info.


More information about the samba mailing list