[Samba] help for samba and ldap

Andrew Bartlett abartlet at samba.org
Thu Sep 12 10:49:00 GMT 2002


Ottavio Campana wrote:
> 
> Hi, I'm trying to use samba with ldap because I've several server with
> samba and it would be impossible to add the users to every server.
> 
> I'm using  samba from debian unstable  andfollowing the smb-ldap-3-howto
> but I'm having this error:
> 
> Sep 12 12:26:08 tele nmbd[24587]: [2002/09/12 12:26:08, 1] nmbd/nmbd_processlogon.c:process_logon_packet(100)
> Sep 12 12:26:08 tele nmbd[24587]:   process_logon_packet: Logon from 192.168.1.51: code = 0x0
> Sep 12 12:26:08 tele smbd[24649]: [2002/09/12 12:26:08, 0] passdb/pdb_ldap.c:ldapsam_connect_system(406)
> Sep 12 12:26:08 tele smbd[24649]:   Bind failed: Invalid credentials
> 
> I cannot undertsand the error.

Your ldap server won't just give the higly sensitive password hashes
required by samba to just anybody - samba has to login as 'manager'
(normally, but can be any user with the right permissions) to get these.

The smbpasswd -w command allows this, see the various HOWTOs for a bit
more detail.

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net



More information about the samba mailing list