Réf. : Re: Réf. : Re: Réf. : Re: [Samba] using a master ldap server and a slave ldap server

2004-03-02 Thread stephane . purnelle




The origine of my message is a problem with my local LDAP server.

last thursday I upgraded my RH 8 with the glibc update from RedHAt, after
sometimes the LDAP server is unreachable.
In log :
Mar  2 11:40:02 coradm01 slapd[5342]: warning: cannot open
/etc/hosts.allow: Too many open files
Mar  2 11:40:02 coradm01 slapd[5342]: warning: cannot open /etc/hosts.deny:
Too many open files
Mar  2 11:40:02 coradm01 slapd[5342]: warning: cannot open
/etc/hosts.allow: Too many open files
Mar  2 11:40:02 coradm01 slapd[5342]: warning: cannot open /etc/hosts.deny:
Too many open files
Mar  2 11:40:02 coradm01 slapd[5342]: warning: cannot open
/etc/hosts.allow: Too many open files
Mar  2 11:40:02 coradm01 slapd[5342]: warning: cannot open /etc/hosts.deny:
Too many open files
Mar  2 11:40:02 coradm01 slapd[5342]: warning: cannot open
/etc/hosts.allow: Too many open files
Mar  2 11:40:02 coradm01 slapd[5342]: warning: cannot open /etc/hosts.deny:
Too many open files
Mar  2 11:40:02 coradm01 slapd[5342]: warning: cannot open
/etc/hosts.allow: Too many open files
Mar  2 11:40:02 coradm01 slapd[5342]: warning: cannot open /etc/hosts.deny:
Too many open files

Some peolple says : It's the limit of open file number, I verified this,
it's not  this problem.
I know, it's a HS mail, but I want to know howto resolve this.

Thanks


  Stéphane


---
Stéphane PURNELLE [EMAIL PROTECTED]
Service Informatique   Corman S.A.   Tel : 00 32 087/342467


|-+-
| |   Beast [EMAIL PROTECTED]   |
| |   Envoyé par :  |
| |   [EMAIL PROTECTED]|
| |   s.samba.org   |
| | |
| | |
| |   02/03/2004 12:18  |
| | |
|-+-
  
---|
  |
   |
  |Pour :   [EMAIL PROTECTED]  
   |
  |cc :
   |
  |Objet :  Re: Réf. : Re: Réf. : Re: [Samba] using a master ldap   server 
and a slave|
  |ldap server for one  samba  
   |
  
---|




* [EMAIL PROTECTED] nulis:





 If the first LDAP server faild, the second can be used directly.
 This server is a PDC server with more than 100 people connected and some
 application required domain authentification for running.

 For me is a critical server.

You can use one ldapsam with multiple server, see previous posting for the
syntax. You can also setup dedicated ldap server for samba though i dont
think that samba make a intensive call to ldap server, pam/nss_ldap yes,
but 100 (concurent) user will not that high :)


--beast

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: Réf. : Re: Réf. : Re: Réf. : Re: [Samba] using a master ldap server and a slave ldap server

2004-03-02 Thread Beast
* [EMAIL PROTECTED] nulis:

 
 
 
 
 The origine of my message is a problem with my local LDAP server.
 
 last thursday I upgraded my RH 8 with the glibc update from RedHAt, after
 sometimes the LDAP server is unreachable.
 In log :
 Mar  2 11:40:02 coradm01 slapd[5342]: warning: cannot open
 /etc/hosts.allow: Too many open files

This is (open)ldap problem not samba, so better fix this problem first before trying 
to configure samba. I also fighting with these problem after implementing ldap for 
mailserver, many peoples has similar problem, see openldap list archive.

You can compile ol without libwrap and use acl to restrict access, if your ldapserver 
is busy enough, use RH7.3 or 8 but never upgrade the glibc. i also has bad experience 
with unix domain socket too, so stick with tcp.


--beast

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba