I configured samba-3.0alpha21 --with-ldapsam To add a user with smbpasswd command I will get: # ./bin/smbpasswd -a test New SMB password: Retype new SMB password: ldap not detected at configure time, ldapsam not availalble! pdb backend ldapsam:ldap://localhost did not correctly init (error was NT_STATUS_UNSUCCESSFUL) Loading ldapsam:ldap://localhost failed! ldap not detected at configure time, ldapsam not availalble! pdb backend ldapsam:ldap://localhost did not correctly init (error was NT_STATUS_UNSUCCESSFUL) Loading ldapsam:ldap://localhost failed! Failed to add entry for user test. Failed to modify password entry for user test Any help to solve this problem Farah _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963