I see two things: First, you're not binding to the LDAP server to set the passwords. You don't have a bindpw set (no secret retrieved).
Second, you're mixing local files with ldap. You've created /etc/samba/private/smbpasswd, but the smbpasswd program wants to set passwords in LDAP. If you don't need LDAP, don't use it. It's certainly possible to set up and use with Samba, but it can be complicated. On Mon, 3 Nov 2003, Alan Watson wrote: > I am having problems getting Samba to use encrypted passwords on Gentoo. > I have tried all the normal resources (read samba mailing lists) with no > success. I'm not completely new to the programme having run it > previously on an earlier version of Caldera Linux. But obviously without > ldap. > > After creating my password file with: > > cat /etc/passwd | mksmbpasswd.sh > /etc/samba/private/smbpasswd > > After running the command I then tried to set up my users with: > > smbpasswd [username] > > I get the response - New SMB password - which I enter (twice to confirm). > > But instead of completing I get the errors: > > LDAPS option set...! > > fetch_ldap_pw: no ldap secret retrieved! > > ldap_connect_system: Failed to retrieve password for from secrets.tdb > > Failed to find entry for user [username] > > Failed to modify password entry for user [username] -- Caution: Product will be hot after heating -- [EMAIL PROTECTED] mailing list
