Hi all, I?m trying to do SAMBA work with LDAP, I?m almost there. When I tryed to authenticate, with a windows machine, the authentication doesn?t work. I found only these errors on LDAP log: Aug 30 09:43:05 zeus slapd[2135]: conn=82 op=2 SRCH base="dc=cultura,dc=gov,dc=br" scope=2 deref=0 filter="(&(uid=root)(objectClass=sambaSamAccount))" Aug 30 09:43:05 zeus slapd[2135]: conn=82 op=2 SRCH attr=uid uidNumber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn displayName sambaHomeDrive sambaHomePath sambaLogonScript sambaProfilePath description sambaUserWorkstations sambaSID sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName objectClass sambaAcctFlags sambaMungedDial sambaBadPasswordCount sambaBadPasswordTime sambaPasswordHistory modifyTimestamp sambaLogonHours modifyTimestamp Aug 30 09:43:05 zeus slapd[2135]: conn=82 op=2 SEARCH RESULT tag=101 err=0 nentries=0 textAug 30 09:43:05 zeus slapd[2135]: conn=82 fd=15 closed Aug 30 09:43:05 zeus slapd[2135]: conn=83 fd=15 ACCEPT from IP=127.0.0.1:32856 (IP=0.0.0.0:389) Aug 30 09:43:05 zeus slapd[2135]: conn=83 op=0 BIND dn="cn=samba,ou=DSA,dc=cultura,dc=gov,dc=br" method=128 Aug 30 09:43:05 zeus slapd[2135]: conn=83 op=0 BIND dn="cn=samba,ou=DSA,dc=cultura,dc=gov,dc=br" mech=SIMPLE ssf=0 Aug 30 09:43:05 zeus slapd[2135]: conn=83 op=0 RESULT tag=97 err=0 textAug 30 09:43:05 zeus slapd[2135]: conn=83 op=1 SRCH base="" scope=0 deref=0 filter="(objectClass=*)" Aug 30 09:43:05 zeus slapd[2135]: conn=83 op=1 SRCH attr=supportedControl Aug 30 09:43:05 zeus slapd[2135]: conn=83 op=1 SEARCH RESULT tag=101 err=0 nentries=1 textAug 30 09:43:05 zeus slapd[2135]: conn=83 op=2 SRCH base="dc=cultura,dc=gov,dc=br" scope=2 deref=0 filter="(&(uid=root)(objectClass=sambaSamAccount))" Aug 30 09:43:05 zeus slapd[2135]: conn=83 op=2 SRCH attr=uid uidNumber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn displayName sambaHomeDrive sambaHomePath sambaLogonScript sambaProfilePath description sambaUserWorkstations sambaSID sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName objectClass sambaAcctFlags sambaMungedDial sambaBadPasswordCount sambaBadPasswordTime sambaPasswordHistory modifyTimestamp sambaLogonHours modifyTimestamp Aug 30 09:43:05 zeus slapd[2135]: conn=83 op=2 SEARCH RESULT tag=101 err=0 nentries=0 textAug 30 09:43:05 zeus slapd[2135]: conn=83 fd=15 closed Aug 30 09:43:05 zeus slapd[2135]: conn=84 fd=15 ACCEPT from IP=127.0.0.1:32857 (IP=0.0.0.0:389) Aug 30 09:43:05 zeus slapd[2135]: conn=84 op=0 BIND dn="cn=samba,ou=DSA,dc=cultura,dc=gov,dc=br" method=128 Aug 30 09:43:05 zeus slapd[2135]: conn=84 op=0 BIND dn="cn=samba,ou=DSA,dc=cultura,dc=gov,dc=br" mech=SIMPLE ssf=0 Aug 30 09:43:05 zeus slapd[2135]: conn=84 op=0 RESULT tag=97 err=0 textAug 30 09:43:05 zeus slapd[2135]: conn=84 op=1 SRCH base="" scope=0 deref=0 filter="(objectClass=*)" Aug 30 09:43:05 zeus slapd[2135]: conn=84 op=1 SRCH attr=supportedControl Aug 30 09:43:05 zeus slapd[2135]: conn=84 op=1 SEARCH RESULT tag=101 err=0 nentries=1 textAug 30 09:43:05 zeus slapd[2135]: conn=84 op=2 SRCH base="dc=cultura,dc=gov,dc=br" scope=2 deref=0 filter="(&(uid=root)(objectClass=sambaSamAccount))" Aug 30 09:43:05 zeus slapd[2135]: conn=84 op=2 SRCH attr=uid uidNumber gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn displayName sambaHomeDrive sambaHomePath sambaLogonScript sambaProfilePath description sambaUserWorkstations sambaSID sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName objectClass sambaAcctFlags sambaMungedDial sambaBadPasswordCount sambaBadPasswordTime sambaPasswordHistory modifyTimestamp sambaLogonHours modifyTimestamp Aug 30 09:43:05 zeus slapd[2135]: conn=84 op=2 SEARCH RESULT tag=101 err=0 nentries=0 textAug 30 09:43:05 zeus slapd[2135]: conn=84 fd=15 closed I am a beginner with LDAP and SAMBA and I am having a some difficults to put things up. Found and fix errors is becoming a hard task to me. I need some help to finish It. I belive the searchs are returning an empty query from LDAP base to SAMBA, maybe that?s why I can?t authenticate through SAMBA against LDAP. But I don?t know how to fix It. Anyone have any ideas to help me. Thanks all. Sergio