<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1561" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hi List,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>Since second semester of 2006, i'm trying to config <STRONG>Samba(PDC and 
BDC)&nbsp;+ Fedora Directory Server.</STRONG></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Some informations:</FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; SO: Cent0S 4.3 
x86_64</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;Fedora-DS(Ldap) with 
<STRONG>Simple Bind</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; Samba 3.0.10 (I'll upgrade 
it&nbsp;in next CenOS version)</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; password hash: 
<STRONG>Crypt</STRONG> (Linux, Fedora-DS and Samba)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><STRONG>Problems</STRONG>:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2><FONT face=Arial><STRONG>1</STRONG> - [root@netuno1 ~]# 
<STRONG>passwd</STRONG> samuel<BR></FONT></FONT>
<DIV><FONT face=Arial size=2>Changing password for user samuel.<BR><STRONG>Enter 
login(LDAP) 
password</STRONG>:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG>New UNIX 
password</STRONG>:<BR><STRONG>Retype new UNIX password</STRONG>:<BR>LDAP 
password information changed for samuel<BR>passwd: all authentication tokens 
updated successfully.<BR></DIV></FONT>
<DIV><FONT face=Arial size=2><STRONG></STRONG></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><STRONG>Why</STRONG> this line "<STRONG>Enter 
login(LDAP) password:</STRONG>", if&nbsp;is root that is changing the samuel's 
password? It does not happen when the user is 
from&nbsp;/etc/passwd!.<BR></DIV></FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG></STRONG></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><STRONG>2</STRONG> - Depend on 
<STRONG>pam_passord</STRONG> (howto:wiki sugests <STRONG>exop</STRONG>) 
parameter&nbsp;smbpasswd fails:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>[root@netuno1 ~]# <STRONG>smbpasswd 
samuel</STRONG></FONT></DIV>
<DIV>ldapsam_modify_entry: LDAP Password could not be changed for user 
samuel:&nbsp;<BR>Confidentiality 
required<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Operation requires a 
secure connection.<BR>&nbsp;ldapsam_update_sam_account: failed to modify user 
with uid = samuel, error:&nbsp;<BR>Operation requires a secure 
connection.<BR>&nbsp;(Success)<BR>&nbsp;Failed to modify entry for user 
samuel.<BR>&nbsp;Failed to modify password entry for user 
samuel<BR>&nbsp;<BR></DIV>
<DIV><FONT face=Arial size=2><STRONG>3</STRONG> - When user try to change his 
password using CTRL + ALT + DEL from windows, after typing the 
passwords:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
If&nbsp;<STRONG>ldap passwd sync = yes</STRONG> is set&nbsp;in 
/etc/samba/smb.conf, it returns the message: <STRONG>current password or user's 
name&nbsp;is incorrect, </STRONG>in other hands, if <STRONG>unix 
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
password sync = yes</STRONG> (password chat ...)&nbsp;is set,&nbsp;&nbsp;it 
returns the message: <STRONG>you do not have permission to modify the 
password</STRONG>,</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;and 
only samba passwd is changed (in both cases). I need userPassword&nbsp;for 
<STRONG>single sign on </STRONG>because i use other services.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; <STRONG>Why&nbsp;the </STRONG><FONT face=Arial 
size=2><STRONG>smbldap-passwd always&nbsp;runs ok from the prompt and not from 
the password program parameter ?!</STRONG> </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV><FONT face=Arial size=2>
<DIV>I could see in the web that many&nbsp;people using Openldap, also 
have&nbsp;(had) the same problem.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am <STRONG>despaired</STRONG>, because i am has much time without 
obtaining the solution for this problem.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Please, help me!</DIV>
<DIV>What to do?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Grateful for your attention, </DIV>
<DIV></FONT><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Agnaldo 
Freitas</FONT></DIV></DIV></FONT></DIV></BODY></HTML>