Re: 回复: Configure samba with pam authorization

Rowland Penny via samba <[email protected]> Wed, 11 Feb 2026 08:03:30 +0000
Newsgroups gmane.network.samba.general
Message-ID <[email protected]>
On Wed, 11 Feb 2026 08:38:49 +0100
Christian Naumer via samba <[email protected]> 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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba