[Samba] Re: pdbedit dosen't send the sambaSID to the ldap
lipixx at gmail.com
Tue Mar 24 11:56:52 GMT 2009
The question was exactly the same than the one that was in the link I wrote :p
But now, 1h later it's time to answer myself:
If somebody needs to solve the mentionated problem, it only must be two things:
apt-get install libnss-ldap libpam-ldap
emacs /etc/ldap.conf and fill it with (according to their params):
passwd: compat ldap
group: compat ldap
shadow: compat ldap
hosts: files dns
protocols: db files
services: db files
ethers: db files
rpc: db files
Then, getent passwd and getent group must show ldap entries, and then
joining to a domain and the creation of automatic machine samba
accounts is well done.
http://www.cos.ufrj.br/docs/ldap#debian <-- if you use debian
Thank you all!
2009/3/24 Adam Tauno Williams <awilliam at whitemice.org>:
> On Tue, 2009-03-24 at 12:06 +0100, LiPi - wrote:
>> Hi people, did you find a solution for this problem? I'm having it too.
>> root at patata:/var/log/samba# pdbedit -am merlin
>> Cannot locate Unix account for merlin$
> Is that true - Does "id merlin" work?
>> But the unix account is in ldap and it creates automatically with
>> smbldap. If I add it manually or add the attributes by hand it works
> What do you mean by "add it manually"?
> Are you running nscd? If so, shut that service down and try again.
> OpenGroupware developer: awilliam at whitemice.org
> OpenGroupare & Cyrus IMAPd documenation @
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
More information about the samba