[Samba] duplicate entries for user

consoleone at web.de consoleone at web.de
Wed Jul 20 19:51:22 GMT 2005


hello
iam new to this list but for more than a half year now i try to configure a samba with a ldap backend. The latest error makes me absolutely confusing. 
It says that  Duplicate entries for user exists
here a part of my config file ... maybe you have any idears whats wrong
smb.conf: 
        passdb backend = ldapsam:ldap://localhost
        ldap suffix = dc=rid-net,dc=de
        ldap admin dn = cn=Manager,dc=rid-net,dc=de
        ldap filter =
        ldap user suffix = ou=Users
        ldap group suffix = ou=Groups
        ldap idmap suffix = ldap:ldap://localhost
        ldap machine suffix = ou=Computers
        ldap passwd sync = Only
        ldap ssl = no

syslog output:
Jul 20 23:09:09 gamix slapd[6088]: conn=7 fd=10 ACCEPT from IP=127.0.0.1:2404 (IP=0.0.0.0:389)
Jul 20 23:09:09 gamix slapd[6095]: conn=7 op=0 BIND dn="cn=Manager,dc=rid-net,dc=de" method=128
Jul 20 23:09:09 gamix slapd[6095]: conn=7 op=0 BIND dn="cn=Manager,dc=rid-net,dc=de" mech=SIMPLE ssf=0
Jul 20 23:09:09 gamix slapd[6095]: conn=7 op=0 RESULT tag=97 err=0 text=
Jul 20 23:09:09 gamix slapd[6095]: conn=7 op=1 SRCH base="dc=rid-net,dc=de" scope=2 filter="(&(objectClass=sambaDomain)(sambaDomainName=RID-NET.DE))"
Jul 20 23:09:09 gamix slapd[6095]: conn=7 op=1 SRCH attr=sambaDomainName sambaNextRid sambaNextUserRid sambaNextGroupRid sambaSID sambaAlgorithmicRidBase objectClass
Jul 20 23:09:09 gamix slapd[6095]: conn=7 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
Jul 20 23:09:09 gamix slapd[6091]: conn=7 op=2 SRCH base="dc=rid-net,dc=de" scope=2 filter="(&(objectClass=sambaSamAccount))"
Jul 20 23:09:09 gamix slapd[6091]: conn=7 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
Jul 20 23:09:09 gamix slapd[6091]: conn=7 op=2 SEARCH RESULT tag=101 err=0 nentries=2 text=
Jul 20 23:09:09 gamix smbd[6244]: [2005/07/20 23:09:09, 1] passdb/pdb_ldap.c:ldapsam_getsampwnam(1304)
Jul 20 23:09:09 gamix smbd[6244]:   ldapsam_getsampwnam: Duplicate entries for this user [andreas-rid] Failing. count=2
Jul 20 23:09:09 gamix slapd[6095]: conn=7 op=3 SRCH base="dc=rid-net,dc=de" scope=2 filter="(&(objectClass=sambaSamAccount))"
Jul 20 23:09:09 gamix slapd[6095]: conn=7 op=3 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
Jul 20 23:09:09 gamix slapd[6095]: conn=7 op=3 SEARCH RESULT tag=101 err=0 nentries=2 text=
Jul 20 23:09:09 gamix smbd[6244]: [2005/07/20 23:09:09, 1] passdb/pdb_ldap.c:ldapsam_getsampwnam(1304)
Jul 20 23:09:09 gamix smbd[6244]:   ldapsam_getsampwnam: Duplicate entries for this user [andreas-rid] Failing. count=2
Jul 20 23:09:09 gamix slapd[6088]: conn=7 fd=10 closed

thats it. maybe its a ldap problem i don't know.  
same error message appears when username doesnt exist in ldap storage
it would be great if you could help me.
thanks

-- 
--> ConsoleOne <--
_________________________________________________________________________
Mit der Gruppen-SMS von WEB.DE FreeMail können Sie eine SMS an alle 
Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179





More information about the samba mailing list