Re: 回复: Configure samba with pam authorization

Rowland Penny via samba <[email protected]>
Newsgroups gmane.network.samba.general
Message-ID <[email protected]>
On Fri, 30 Jan 2026 17:17:05 +0800
"adrian.liu--- via samba" <[email protected]> wrote:

> Add attachments

Sorry, but this list strips attachments.

> 
> 
> 
> [email protected]
>  
> 发件人: 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


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.