[Samba] 回复: Configure samba with pam authorization

Rowland Penny rpenny at samba.org
Wed Feb 11 08:03:30 UTC 2026


On Wed, 11 Feb 2026 08:38:49 +0100
Christian Naumer via samba <samba at lists.samba.org> wrote:

> Hi Adrian,
> maybe idmap_nss is what you are looking for:
> 
> https://www.samba.org/samba/docs/current/man-html/idmap_nss.8.html
> 
> You would still need to create all the users on the Samba side but I
> see no other option. Rowland also mentioned this.
> 
> Regards
> 
> Christian
> 
> 

I have thought about this and idmap_nss maps SIDs to local users, it
sounds like the OP doesn't have any SIDs, so they may be able to get
this working, or more likely, not.

I have two thoughts on this, either dump the users from the ldap and
recreate them on a Samba standalone server and then somehow script a
connection to the legacy system, or just accept that this is now 2026
and the legacy system needs to be replaced.

Rowland



More information about the samba mailing list