[Samba] create smbpasswd/tdbsam from ldapsam/LDAP query?
mangoo at wpkg.org
Wed Jan 25 14:54:20 GMT 2006
Josh Kelley schrieb:
> On 1/23/06, Tomasz Chmielewski <mangoo at wpkg.org> wrote:
>>Ilia Chipitsine schrieb:
>>>it is beatiful thing for converting from anything to anything :-)
>>I don't see if it can "convert" ldapsam to /etc/passwd and /etc/group.
> To get /etc/passwd and /etc/group from LDAP, run "getent passwd" and
> "getent group" on a computer that has LDAP/nsswitch configured.
And I began to think how to do it with sed/awk from the ldapsearch query :)
Indeed, it is perhaps easier to do getent and then transfer the
But then it's the "push" method, not pull (when I want exactly).
Perhaps I could use ssh keys to pull the data when I want from a central
server, but I'm not sure if it wouldn't be a unnecessary security risk.
Good, I have some options, now I need to evaluate them.
More information about the samba