I use the NS as a home server with the following options:
A) File server
B) eMail server (Sogo with CalDAV and CardDav)
C) virtual web server
D) VPN
E) nextcloud
As a client are used tablet with Android, Smartphone, Netbook and Linux computer.
I use no Windows computer, what makes more sense then:
Samba Active Directory or OpenLDAP
What would be the advantages / disadvantages for me?
I would be grateful for simple understandable meaningful help.
Many greetings from the rainy Hallertau - the heart of Bavaria!
Gerald
The troubles are more on the developer side, than in the user’s one…I hope
In fact now If I want to authenticate an app from ldap, whatever ldap or samba4, I need to test it and following what is installed, propose the good schema.
if ($sssd->isLdap()) {
...
} elsif ($sssd->isAD()) {
I’v been tinkering with this and more to understand why it’s not possible added the samba schema anyway. Could not get it to work, I think hit this brick wall:
network (windows) username= user1
ldap (uid) username = user1 with uidnumber = 1000
(posix)usernumber 1000 > through SSSD/nsswitch = user1@domain
Making local accounts outside Ldap does not appeal to me. But i’ll consider (mis)using this suggestion by creating “password protected” shares by introducing a (local) account (username = sharename) for each protected share.
The problem is not really adding back the Samba schema, but maintaining all the code needed to synchronize Samba and standard LDAP attributes (we deleted almost 2K lines of code!).
One of the main problems is to have password in sync, since Samba requires a different hash format.
Also, we need Samba fully integrated with AD, and this the only available path.
The solution suggested by @enzoturri works indeed, but it’s hard to maintain and normally admins want only one list of users