[Samba] normal auth - compiled with ldap
Chris Bünger
cb at trimon.de
Mon Feb 4 16:58:13 GMT 2002
have you set the "ldap admin dn" in smb.conf and the admin password
("smbpasswd -w very_secret")
chris
----- Original Message -----
From: "Gerald Carter" <jerry at samba.org>
To: <tdavis at birddog.com>
Cc: <samba at lists.samba.org>
Sent: Monday, February 04, 2002 3:40 PM
Subject: Re: [Samba] normal auth - compiled with ldap
> 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--
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
>
>
More information about the samba
mailing list