[Samba] normal auth - compiled with ldap

Terry Davis tdavis at birddog.com
Mon Feb 4 11:18:09 GMT 2002


could/should this be a run-time configuration option?

-- 
Terry Davis
Systems Administrator
BirdDog Solutions, Inc.


Quoting Gerald Carter <jerry at samba.org>:

 On Sun, 3 Feb 2002 tdavis at birddog.com wrote:
 
 > Hello, I compiled 2.2.3 with ldap options.  I simply want to do auth out 
 > of a smbpasswd file.  I am getting these errors in my logs when I try to 
 > auth a user:
 > 
 > [2002/02/03 01:35:50, 0] passdb/pdb_ldap.c:ldap_open_connection(129)
 >    Failed to setup a TLS session
 > [2002/02/03 01:35:50, 0] passdb/secrets.c:fetch_ldap_pw(239)
 >    fetch_ldap_pw: no ldap secret retrieved!
 > [2002/02/03 01:35:50, 0] passdb/pdb_ldap.c:ldap_connect_system(158)
 >    ldap_connect_system: Failed to retrieve password for  from secrets.tdb
 > [2002/02/03 01:35:50, 1] smbd/password.c:pass_check_smb(555)
 >    Couldn't find user 'td' in passdb.
 > [2002/02/03 01:35:50, 0] passdb/pdb_ldap.c:ldap_open_connection(129)
 >    Failed to setup a TLS session
 > [2002/02/03 01:35:50, 0] passdb/secrets.c:fetch_ldap_pw(239)
 >    fetch_ldap_pw: no ldap secret retrieved!
 > [2002/02/03 01:35:50, 0] passdb/pdb_ldap.c:ldap_connect_system(158)
 >    ldap_connect_system: Failed to retrieve password for  from secrets.tdb
 > [2002/02/03 01:35:50, 1] smbd/password.c:pass_check_smb(555)
 >    Couldn't find user 'td' in passdb.
 > [2002/02/03 01:35:50, 1] smbd/reply.c:reply_sesssetup_and_X(988)
 >    Rejecting user 'td': authentication failed
 > 
 > 
 > What am I doing wrong here?    Like I said, I just want to do normal smb 
 > encrypted auth.  I compiled ldap for future use reasons.
 
 smbpasswd and --with-ldapsam are mutually exclusive.  If you want to use 
 smbpasswd, don't include --with-ldapsam.
 
 
 
 
 
 
 
 
 
 chau, jerry
  ---------------------------------------------------------------------
  Hewlett-Packard                                     http://www.hp.com
  SAMBA Team                                       http://www.samba.org
  --                                            http://www.plainjoe.org
  "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
  --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
 






More information about the samba mailing list