[Samba] Win95 on a Samba3+LDAP domain on a Debian box

Geert Stappers stappers at stappers.nl
Thu Jul 28 21:48:10 GMT 2005


On Thu, Jul 28, 2005 at 03:36:35PM -0300, fabricio bianco abreu wrote:
> Hi folks,
> 
> I have successfuly migrated a WinNT 4.0 Domain to a Debian server with
> Samba3+Ldap following the Samba-3 by Example guide from John H. Terpstra (an
> impressive good guide) and The Linux Samba-OpenLADP Howto from Jerome Tournier &
> Olivier Lemaire. 
> 
> The domain holds about 800 accounts. There are WinNT servers, WinXP and Win95
> clients belonging to it.
> 
> WinNT servers and WinXP clients are working fine (i.e. as expected). 
> 
> Nevertheless, Win95 clients are now unable to share local folders because they
> cannot retrieve the user list from the domain. The following lines are logged on
> the samba server:
> 
> [2005/07/27 14:28:45, 0] passdb/pdb_ldap.c:ldapsam_setsampwent(1236)
>   ldapsam_setsampwent: LDAP search failed: Size limit exceeded
> [2005/07/27 14:28:45, 0] rpc_server/srv_samr_nt.c:load_sampwd_entries(342)
>   load_sampwd_entries: Unable to open passdb.
> 
> That makes the question an LDAP/Samba related issue (I believe).

:-)

I believe it is a Microsoft(TM) Windows(TM) 95  problem.
And the good part of the joke is that it can be solved
on the LDAP/Samba side (I believe)


To me it seems that the Win95 system requests
the password database, but has no rights the access it.
Hence the error: Unable to open passdb.


> I have browsed the list for help and found this:
> http://marc.theaimsgroup.com/?l=samba&m=109416402629367&w=2
> 
> which did not worked for me.
> 
> I do not want to bother you with boring details. As for the Debian distribuition
> caveats I'd like to mention:
> 1. There is no /etc/ldap.conf file. There are /etc/pam_ldap.conf from the
> libpam-ldap package and /etc/linbss-ldap.conf from libnss-ldap package.
> 2. Slapd does not start if a statement like 
> [limits dn="cn=manager,dc=tcdf,dc=net" size.soft=-1 size.hard=soft"] is found in
> /etc/ldap/slapd.conf. A statement like {sizelimit unlimited} is not a show stopper.
> 
> Debian 3.1 (sarge)
> slapd-2.2.23-8
> samba-3.0.14a-3
> smbldap-tools-0.8.7-4
> 
> The most interesting information is that it seems that Slapd is realy not
> limiting the amount of information delivered. The folowing comands work flawless
> in the Debian box:
> 1. pdbedit -L
> 2. getent passwd
> 3. ldapsearch -x
> 
> As for WinNT, no problems sharing folders and even User Manager for domains is
> operational. As for WinXP, no problems at all when sharing folders.

Find out which account the Win95 system uses to acces the Samba
passwords in LDAP.

> 
> Would anyone help me?
> 
> Thanks in advance,


Cheers
Geert Stappers



More information about the samba mailing list