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

fabricio bianco abreu fabricio at tc.df.gov.br
Thu Jul 28 18:36:35 GMT 2005


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 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.

Would anyone help me?

Thanks in advance,
________________________________________________________________

                     Fabricio Bianco Abreu 
          Núcleo de Informática e Processamento de Dados
TRIBUNAL DE CONTAS DO DISTRITO FEDERAL (http://www.tc.df.gov.br)
                   Tel 55 - 61 - 314 2236
                   Fax 55 - 61 - 314 2268
Utilize software livre (visite http://www.tc.df.gov.br/tcbrasil)        
________________________________________________________________







________ Information from NOD32 ________
This message was checked by NOD32 Antivirus System for Linux Mail Server.
http://www.nod32.com


More information about the samba mailing list