smbldap_search_suffix: Problem during the LDAP search: (No such object)




Hallo,

die Konfiguration meines Testusers
dn: uid=user06,ou=people,dc=rprengel,dc=de
cn: user06 user06
gidNumber: 100
givenName: user06
homeDirectory: /home/user06
loginShell: /bin/bash
objectClass: top
objectClass: posixAccount
objectClass: shadowAccount
objectClass: inetOrgPerson
objectClass: sambaSamAccount
objectClass: sambaIdmapEntry
objectClass: sambaConfig
objectClass: sambaUnixIdPool
shadowInactive: -1
shadowLastChange: 13230
shadowMax: 99999
shadowMin: 0
shadowWarning: 7
sn: user06
uid: user06
uidNumber: 1006
sambaSID: 15
userPassword: {CRYPT}DH3Z57ruZweyU
sambaNTPassword: 3B1B47E42E0463276E3DED6CEF349F93

srvdb:/etc/samba # vi smb.conf
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
add machine script = /sbin/yast /usr/share/YaST2/data/add_machine.ycp %m$
domain logons = No
domain master = No
ldap admin dn = cn=manager,dc=rprengel,dc=de
ldap delete dn = No
ldap filter = (uid=%u)
ldap user suffix = ou=people,dc=rprengel,dc=de
ldap group suffix = ou=group,dc=rprengel,dc=de
ldap idmap suffix =
ldap machine suffix =
ldap passwd sync = Yes
ldap replication sleep = 1000
# ldap ssl = Start_tls
ldap suffix =
ldap timeout = 5
ldap user suffix =
passdb backend = ldapsam:ldap://192.168.2.236 smbpasswd
security = user

das share
[tmp]
comment = test
inherit acls = No
path = /tmp
read only = No
valid users =
browseable = Yes


Das Resultat wenn ich versuche ein Samba-Share zu öffnen

Apr 1 08:03:38 srvdb slapd[32691]: conn=2 fd=10 closed
Apr 1 08:03:38 srvdb slapd[32691]: conn=3 fd=10 ACCEPT from
IP=192.168.2.236:3684 (IP=0.0.0.0:389)
Apr 1 08:03:38 srvdb slapd[32691]: conn=3 op=0 BIND
dn="cn=manager,dc=rprengel,dc=de" method=128
Apr 1 08:03:38 srvdb slapd[32691]: conn=3 op=0 BIND
dn="cn=manager,dc=rprengel,dc=de" mech=SIMPLE ssf=0
Apr 1 08:03:38 srvdb slapd[32691]: conn=3 op=0 RESULT tag=97 err=0 text=
Apr 1 08:03:38 srvdb slapd[32691]: conn=3 op=1 SRCH base="" scope=0
deref=0
filter="(objectClass=*)"
Apr 1 08:03:38 srvdb slapd[32691]: conn=3 op=1 SRCH attr=supportedControl
Apr 1 08:03:38 srvdb slapd[32691]: conn=3 op=1 SEARCH RESULT tag=101 err=0
nentries=1 text=
Apr 1 08:03:38 srvdb slapd[32691]: conn=3 op=2 SRCH base="" scope=2
deref=0
filter="(&(uid=user06)(objectClass=sambaSamAccount))"
Apr 1 08:03:38 srvdb slapd[32691]: conn=3 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
Apr 1 08:03:38 srvdb slapd[32691]: conn=3 op=2 SEARCH RESULT tag=101
err=32
nentries=0 text=
Apr 1 08:03:38 srvdb smbd[32702]: [2006/04/01 08:03:38, 0]
lib/smbldap.c:smbldap_search_suffix(1246)
Apr 1 08:03:38 srvdb smbd[32702]: smbldap_search_suffix: Problem during
the
LDAP search: (No such object)
Apr 1 08:03:38 srvdb slapd[32691]: conn=3 fd=10 closed


Hat jemand einen Tip was fehlt?


Gruß


--
Ralf Prengel
Dortmund
.



Relevant Pages

  • LDAP/SSL authentication in FC2
    ... My LDAP server is a FC1 box with OpenLDAP/TLS (stock standard from the ... objectClass: inetLocalMailRecipient ... objectClass: shadowAccount ...
    (Fedora)
  • Re: [opensuse] LDAP and PAM-LDAP modules
    ... Enter LDAP Password: ... YaST, I can then add any number of users via useradd without problem. ... objectClass: posixAccount ...
    (SuSE)
  • Re: LDAP Howto
    ... This is in fact what I find off-putting in almost all ldap documentation. ... In any case there should be some explanation ... objectclass: organization ... I'm still pondering the choice between LDAP and vCard ...
    (Fedora)
  • Re: LDAP Howto
    ... This is in fact what I find off-putting in almost all ldap documentation. ... objectclass: dcObject ... objectclass: organization ... I'm still pondering the choice between LDAP and vCard ...
    (Fedora)
  • LDAP serviceSearchDescriptor with filter part.
    ... for a test LDAP setup. ... # nihon, users, my-domain.com ... objectClass: account ... since I'd added a local attribute "accountStatus" which is set ...
    (comp.unix.solaris)