Friends,
I am having a very strange problem that I can't debug. Please help.
I am using ldapsam which was working fine last night. Today without
having done anything, I cannot login.
"pdbedit -Lv" lists all the users
"passwd user" changes the password in openldap -- sometimes the user
is
not found
Here's the message from samba pc-client.log
[2003/12/13 16:43:55, 0] rpc_server/srv_netlog_nt.c:get_md4pw(201)
get_md4pw: Workstation BLUE$: no account in domain
Here's the message from openldap (please excuse the verbosity)
Dec 13 16:52:40 mail slapd[18813]: conn=3777 fd=36 ACCEPT from
IP=10.1.1.3:42893 (IP=0.0.0.0:389)
Dec 13 16:52:40 mail slapd[18816]: conn=3777 op=1 BIND
dn="cn=admin,dc=localsurface,dc=com" method=128
Dec 13 16:52:40 mail slapd[18816]: conn=3777 op=1 BIND
dn="cn=admin,dc=localsurface,dc=com" mech=simple ssf=0
Dec 13 16:52:40 mail slapd[18816]: conn=3777 op=1 RESULT tag=97 err=0
textDec 13 16:52:41 mail slapd[18819]: conn=3777 op=2 SRCH
base="dc=localsurface,dc=com" scope=2
filter="(&(objectClass=sambaDomain)(sambaDomainName=LANGROUP))"
Dec 13 16:52:41 mail slapd[18819]: conn=3777 op=2 SRCH
attr=sambaDomainName sambaNextRid sambaNextUserRid sambaNextGroupRid
sambaSID sambaAlgorithmicRidBase objectClass
Dec 13 16:52:41 mail slapd[18819]: conn=3777 op=2 SEARCH RESULT tag=101
err=0 nentries=1 textDec 13 16:52:41 mail slapd[18817]: conn=3777 op=3 SRCH
base="dc=localsurface,dc=com" scope=2
filter="(&(sambaSID=S-1-5-21-300576120-3276333874-2698746014-501)(objectClass=sambaSamAccount))"
Dec 13 16:52:41 mail slapd[18817]: conn=3777 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
Dec 13 16:52:41 mail slapd[18817]: conn=3777 op=3 SEARCH RESULT tag=101
err=0 nentries=0 textDec 13 16:52:41 mail slapd[18813]: conn=3778 fd=37 ACCEPT
from
IP=10.1.1.3:42894 (IP=0.0.0.0:389)
Dec 13 16:52:41 mail slapd[18816]: conn=3778 op=0 BIND
dn="uid=domainReadOnly,ou=domainUsers,dc=localsurface,dc=com"
method=128
Dec 13 16:52:41 mail slapd[18816]: conn=3778 op=0 BIND
dn="uid=domainReadOnly,ou=domainUsers,dc=localsurface,dc=com"
mech=simple ssf=0
Dec 13 16:52:41 mail slapd[18816]: conn=3778 op=0 RESULT tag=97 err=0
textDec 13 16:52:41 mail slapd[18816]: conn=3778 op=1 SRCH
base="dc=localsurface,dc=com" scope=2
filter="(&(objectClass=posixAccount)(uid=nobody))"
Dec 13 16:52:41 mail slapd[18816]: conn=3778 op=1 SRCH attr=uid
userPassword uidNumber gidNumber cn homeDirectory loginShell gecos
description objectClass
Dec 13 16:52:41 mail slapd[18816]: conn=3778 op=1 SEARCH RESULT tag=101
err=0 nentries=1 textDec 13 16:52:41 mail slapd[18817]: conn=3778 op=2 SRCH
base="dc=localsurface,dc=com" scope=2 filter="(uid=nobody)"
Dec 13 16:52:41 mail slapd[18817]: conn=3778 op=2 SEARCH RESULT tag=101
err=0 nentries=1 textDec 13 16:52:41 mail slapd[18817]: conn=3778 op=3 SRCH
base="dc=localsurface,dc=com" scope=2
filter="(&(objectClass=posixGroup)(|(memberUid=nobody)(uniqueMember=uid=nobody,ou=domainusers,dc=localsurface,dc=com)))"
Dec 13 16:52:41 mail slapd[18817]: conn=3778 op=3 SRCH attr=cn
userPassword memberUid uniqueMember gidNumber
Dec 13 16:52:41 mail slapd[18817]: <= bdb_equality_candidates:
(memberUid) index_param failed (18)
Dec 13 16:52:41 mail slapd[18817]: <= bdb_equality_candidates:
(uniqueMember) index_param failed (18)
Dec 13 16:52:41 mail slapd[18817]: conn=3778 op=3 SEARCH RESULT tag=101
err=0 nentries=0 textDec 13 16:52:41 mail slapd[18816]: conn=3777 op=4 SRCH
base="dc=localsurface,dc=com" scope=2
filter="(&(objectClass=sambaGroupMapping)(gidNumber=65534))"
Dec 13 16:52:41 mail slapd[18816]: conn=3777 op=4 SRCH attr=gidNumber
sambaSID sambaGroupType description displayName cn objectClass
Dec 13 16:52:41 mail slapd[18816]: conn=3777 op=4 SEARCH RESULT tag=101
err=0 nentries=0 textDec 13 16:52:41 mail slapd[18819]: conn=3778 op=4 SRCH
base="dc=localsurface,dc=com" scope=2
filter="(&(objectClass=posixAccount)(uid=nobody))"
Dec 13 16:52:41 mail slapd[18819]: conn=3778 op=4 SRCH attr=uid
userPassword uidNumber gidNumber cn homeDirectory loginShell gecos
description objectClass
Dec 13 16:52:41 mail slapd[18819]: conn=3778 op=4 SEARCH RESULT tag=101
err=0 nentries=1 textDec 13 16:52:41 mail slapd[18817]: conn=3778 op=5 SRCH
base="dc=localsurface,dc=com" scope=2
filter="(&(objectClass=posixAccount)(uid=nobody))"
Dec 13 16:52:41 mail slapd[18817]: conn=3778 op=5 SRCH attr=uid
userPassword uidNumber gidNumber cn homeDirectory loginShell gecos
description objectClass
Dec 13 16:52:41 mail slapd[18817]: conn=3778 op=5 SEARCH RESULT tag=101
err=0 nentries=1 textDec 13 16:52:41 mail slapd[18816]: conn=3777 op=5 SRCH
base="dc=localsurface,dc=com" scope=2
filter="(&(uid=BLUE$)(objectClass=sambaSamAccount))"
Dec 13 16:52:41 mail slapd[18816]: conn=3777 op=5 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
Dec 13 16:52:41 mail slapd[18816]: conn=3777 op=5 SEARCH RESULT tag=101
err=0 nentries=0 textDec 13 16:52:41 mail slapd[18819]: conn=3777 op=6 SRCH
base="dc=localsurface,dc=com" scope=2
filter="(&(uid=BLUE$)(objectClass=sambaSamAccount))"
Dec 13 16:52:41 mail slapd[18819]: conn=3777 op=6 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
Dec 13 16:52:41 mail slapd[18819]: conn=3777 op=6 SEARCH RESULT tag=101
err=0 nentries=0 textDec 13 16:52:52 mail slapd[18813]: conn=3777 fd=36 closed
Dec 13 16:52:52 mail slapd[18813]: conn=3778 fd=37 closed
Any ideas?
Thanks,
Craig Jackson