Hi, This may be a silly question. I've got OpenLDAP 2.1.29 up and running on FC2, I imported passwd, group and hosts from NIS to LDAP server and we can authenticate with LDAP instead of NIS. We also have a Samba PDC running on another Linux box (FC2), it use smbpasswd as passwd db. So I am going to replace it with LDAP passwd db. I tried to configure Samba to use LDAP. but it didn't work. Do I need install something in the samba server? Thanks a lot. -- Regards, Steve Zeng Systems Administrator Mainframe Entertainment Inc suite 500, 2700 Production Way Burnaby, BC T: (604) 628-1000 ext 5293 Direc linet: (604) 628-1015
> passwd db. I tried to configure Samba to use LDAP. but it didn't work. > Do I need install something in the samba server?Could you be more specific than 'it didn't work'? Error messages, smb.conf, etc. would help. -- -- Paul Gienger Office: 701-281-1884 Applied Engineering Inc. Systems Architect Fax: 701-281-1322 URL: www.ae-solutions.com mailto: pgienger@ae-solutions.com
On Thu, 2005-02-24 at 12:46 -0800, Steve Zeng wrote:> Craig, > > Sorry. I missed username when I posted it. when I tried the command, I > gave it my username which works. > > I just change loglevel from 0 to 3 and got some messages which might > help here. > > I am wondering, if Samba server talk to LDAP server directly or not. If > not, do we need to configure Ldap client first which should be in the > same machine as Samba server.--- Let's keep this on the list please got something against documentation? http://us1.samba.org/samba/docs/man/ of course it talks directly to ldap - that's why you configure it in smb.conf - if you configure client first whether on samba machine or not, you should be able to confirm settings that you ultimately use in smb.conf and can query the information that ldap returns so you aren't surprised or left groping for answers. Craig