Leszek Szczepanowski
2023-Jan-11 11:28 UTC
[Samba] How to login with local account while Samba in AD?
Dears, Forgive me maybe stupid question, but can I login to Samba share, with local credentials, while it has joined AD domain? For now it seems it always tries to authenticate every user in AD. We have issues with AD itself, and until this is resolved I wanted to allow users use just one common user/pass pair to access the share. -- Leszek A. Szczepanowski twinsen at mspanc.net
Rowland Penny
2023-Jan-11 11:56 UTC
[Samba] How to login with local account while Samba in AD?
On 11/01/2023 11:28, Leszek Szczepanowski via samba wrote:> Dears, > > Forgive me maybe stupid question, but can I login to Samba share, with > local credentials, while it has joined AD domain? For now it seems it > always tries to authenticate every user in AD. We have issues with AD > itself, and until this is resolved I wanted to allow users use just one > common user/pass pair to access the share. >That is how Samba is supposed to work, it maps AD users to make them local users, this depends on the idmap backend and is one of the reasons not use a DC as a fileserver. You might be able to use the nss backend, but this will undoubtedly mean your users and groups getting different ID's. It might be easier to fix your AD, so what are your AD issues ? Rowland