Score:0

Is it possible to overlay local LDAP attributes on top of a replicated tree?

id flag

A central LDAP server provides user data as posixAccount, whereby the attributes homeDirectory and loginShell are empty. I want allow users in this central LDAP server to access a Linux system.

If I use syncrepl to replicate the data to a local LDAP server, I can use sssd to set the homeDirectory. I could also use sssd to set everyone's loginShell to, say, /usr/bin/bash.

However, I would like to be able to set loginShell on a per-user basis, mainly to allow setting the shell to /sbin/nologin in order to lock individual users out of the system.

Is it possible to combine replicated data with local data in this way? If so, how?

Score:1
cn flag

Take a look at overlay slapo-translucent.

id flag
That looks like the answer to my question, thanks. However, could I also just exclude ```loginShell``` and ```homeDirectory``` from the attributes to be synced?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.