Hi there, I'm quite new to Samba, especially advanced stuff. We have a single standalone Samba server with user auth against (Open)LDAP (passdb backend) and organizing all shares within the smb.conf. We are going to replace this standalone Server with a 3-Node Hyperconverged Proxmox/CEPH Cluster, each node running one Samba VM using the underlying CephFS storage for shares, CTDB clustered. Now I've read the samba LDAP schema and noticed the objectClasses "sambaConfig", "sambaShare" and "sambaConfigOption". But I can't find any documentation mentioning these objectClasses. Is it possible to have e.g. the whole share configuration stored in LDAP, and all samba servers in CTDB Cluster will read and honor it? If yes, is there any good documentation about this? We don't plan a Samba 4 AD, we just need File Server with LDAP Auth. Thanks in advance and kind regards Tobias -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 2261 bytes Desc: not available URL: <http://lists.samba.org/pipermail/samba/attachments/20220412/a6803a7e/smime.bin>
On 4/12/22 11:20, Tobias Hachmer via samba wrote:> I'm quite new to Samba, especially advanced stuff. We have a single > standalone Samba server with user auth against (Open)LDAP (passdb > backend) and organizing all shares within the smb.conf.the LDAP passdb backend has pretty much fallen out of favor and only very few are still using this kind of setup. Therefor I highly recommend looking into joining the fileservers to AD, possibly Samba 4 AD with password replication to an LDAP server. As for configuration, that is typically stored in a registy config backend, cf "REGISTRY-BASED CONFIGURATION" in man smb.conf. Cheers! -slow -- Ralph Boehme, Samba Team https://samba.org/ SerNet Samba Team Lead https://sernet.de/en/team-samba -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20220412/8c130f10/OpenPGP_signature.sig>
On Tue, 2022-04-12 at 11:20 +0200, Tobias Hachmer via samba wrote:> Hi there, > > I'm quite new to Samba, especially advanced stuff. We have a single > standalone Samba server with user auth against (Open)LDAP (passdb > backend) and organizing all shares within the smb.conf. > > We are going to replace this standalone Server with a 3-Node > Hyperconverged Proxmox/CEPH Cluster, each node running one Samba VM > using the underlying CephFS storage for shares, CTDB clustered. > > Now I've read the samba LDAP schema and noticed the objectClasses > "sambaConfig", "sambaShare" and "sambaConfigOption". But I can't > find > any documentation mentioning these objectClasses.There were some early experiments in this area, and so the names and OIDs were reserved. Nothing uses this. Andrew Bartlett -- Andrew Bartlett (he/him) https://samba.org/~abartlet/ Samba Team Member (since 2001) https://samba.org Samba Team Lead, Catalyst IT https://catalyst.net.nz/services/samba Samba Development and Support, Catalyst IT - Expert Open Source Solutions