[Samba] 回复: Configure samba with pam authorization

Rowland Penny rpenny at samba.org
Fri Jan 30 10:36:02 UTC 2026


On Fri, 30 Jan 2026 17:17:05 +0800
"adrian.liu--- via samba" <samba at lists.samba.org> wrote:

> Add attachments

Sorry, but this list strips attachments.

> 
> 
> 
> adrian.liu at vstecs.com
>  
> 发件人: adrian.liu--- via samba
> 发送时间: 2026-01-30 14:39
> 收件人: samba
> 主题: [Samba] Configure samba with pam authorization
> Hi samba experts:
>  
> I have been struggling with a samba configuration problem, and I
> could not find a solution which I might need your help : ) 
> VersionInfo
> OS Version: ubuntu-24.04.3
> Samba Version: Version 4.19.5-Ubuntu
>  
> Requirement
> 1. A group of users will need to access Linux (Ubuntu) shared folder
> (/opt/shared) via Window desktop. 2. Each of the user will use their
> own username/password, and the backend userinfo was stored in a
> OpenLDAP server. 

From the vstechs.com website:

'solutions using cutting edge technologies'

Again, I am sorry, but you cannot describe using Samba with openldap as
a 'cutting edge technology', especially as Samba is actively
advising anyone not to use openldap, it is really a legacy method.

You may be better off using the idmap_nss backend, but this will
require you to create all the users on the file server.

Is there no AD server available ?

Rowland




More information about the samba mailing list