[Samba] Samba 2.2.5 and openldap 2.1.2

Holger Eilhard h.eilhard at wallmedien.de
Sun Jun 23 16:10:03 GMT 2002


Hi,

I'm having problems with the current samba releases (2.2.4 + 2.2.5)
and the current openldap (openldap-2.1.2-1) redhat rawhide RPMS. I
suppose samba is having problems with LDAP v3, because when I try for
example:

[root at fatboy /tmp]# /usr/local/samba/bin/pdbedit -l
Bind failed: Protocol error

in syslog appears:

Jun 24 00:52:55 fatboy slapd[14370]: connection_get(16)
Jun 24 00:52:55 fatboy slapd[14378]: send_ldap_result: err=2
matched="" text="requested protocol version not allowed"
Jun 24 00:52:55 fatboy slapd[14370]: connection_get(16)

Also, when I try to access my shares on my samba server from my xp
client, I get the following errors in my samba log:

[2002/06/23 23:05:13, 2] passdb/pdb_ldap.c:ldap_open_connection(216)
  ldap_open_connection: connection opened
[2002/06/23 23:05:13, 0] passdb/pdb_ldap.c:ldap_connect_system(246)
  Bind failed: Protocol error
[2002/06/23 23:05:13, 1] smbd/password.c:pass_check_smb(545)
  Couldn't find user 'he' in passdb.
[2002/06/23 23:05:13, 1] smbd/reply.c:reply_sesssetup_and_X(998)
  Rejecting user 'he': authentication failed
[2002/06/23 23:05:13, 2] smbd/server.c:exit_server(461)
  Closing connections

(Yes, I added the bindpw to the secrets.tdb ;) I'm just irritated by
this Protocol Error.)

Could someone possibly direct me in a direction, so that I can solve
or just find the real problem. ldapsearch -x does show my LDAP entries
correctly:

[root at fatboy /tmp]# ldapsearch -x
# extended LDIF
#
# LDAPv3
# filter: (objectclass=*)
# requesting: ALL
#
[..]
# he, People, eilhard.net
dn: uid=he,ou=People,dc=eilhard,dc=net
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
loginShell: /bin/bash
uidNumber: 500
gidNumber: 500
homeDirectory: /home/he
uid: he
cn: Holger Eilhard
sn: Eilhard
[..]

Ok, accessing the samba server wouldn't work that way currently, but I
should get a bit further than "Protocol Error"... ;-)

I don't really know where to start searching, because this openldap
RPM has messed some things up on my test machine, so I'm just trying
to get a way through all this ;)

Thanks in advance
Holger






More information about the samba mailing list