[Samba] Db4 ldap smldap-tools samba

2005-07-05 Thread Michael Trimarchi

Hi all,
I use the samba widh ldap and smbldap-tools to update the ldap db. If I 
execute from the terminal a non huge number of operation using the 
smbldap-usermode for change the mail, sometimes the operation still not 
respond and lock. After I find the db corrupted and I must do a 
db_recover. Why?

Regards
Michael


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


Re: [Samba] Db4 ldap smldap-tools samba

2005-07-05 Thread Tony Earnshaw
tir, 05.07.2005 kl. 14.35 skrev Michael Trimarchi:

 I use the samba widh ldap and smbldap-tools to update the ldap db. If I 
 execute from the terminal a non huge number of operation using the 
 smbldap-usermode for change the mail, sometimes the operation still not 
 respond and lock. After I find the db corrupted and I must do a 
 db_recover. Why?

If you're using an early version of OpenLDAP 2.1 (say before 2.1.26,
2.1.30 is the latest stable) with BDB 4.1 or 2.2 (say before 2.2.13,
IIRC 2.2.27 is the latest stable) with BDB 4.2.52 your DB will very
quickly become corrupt on crashes, or just spontaneously - especially
BDB 4.1.

You might want to update your OpenLDAP version.

--Tonni

-- 
mail: [EMAIL PROTECTED]
http://www.billy.demon.nl


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


Re: [Samba] Db4 ldap smldap-tools samba

2005-07-05 Thread trimarchi

Quoting Tony Earnshaw [EMAIL PROTECTED]:


tir, 05.07.2005 kl. 14.35 skrev Michael Trimarchi:


I use the samba widh ldap and smbldap-tools to update the ldap db. If I
execute from the terminal a non huge number of operation using the
smbldap-usermode for change the mail, sometimes the operation still not
respond and lock. After I find the db corrupted and I must do a
db_recover. Why?


If you're using an early version of OpenLDAP 2.1 (say before 2.1.26,
2.1.30 is the latest stable) with BDB 4.1 or 2.2 (say before 2.2.13,
IIRC 2.2.27 is the latest stable) with BDB 4.2.52 your DB will very
quickly become corrupt on crashes, or just spontaneously - especially
BDB 4.1.

You might want to update your OpenLDAP version.

--Tonni

--
mail: [EMAIL PROTECTED]
http://www.billy.demon.nl


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


Hi,
I use this version of software:
db4-4.2.52-6
db4-utils-4.2.52-6
openldap-clients-2.2.13-2
openldap-2.2.13-2
openldap-servers-2.2.13-2

This is my situation,
is it ok?




This message was sent using IMP, the Internet Messaging Program.

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


Re: [Samba] Db4 ldap smldap-tools samba

2005-07-05 Thread Tony Earnshaw
tir, 05.07.2005 kl. 18.22 skrev [EMAIL PROTECTED]:

[...]

  If you're using an early version of OpenLDAP 2.1 (say before 2.1.26,
  2.1.30 is the latest stable) with BDB 4.1 or 2.2 (say before 2.2.13,
  IIRC 2.2.27 is the latest stable) with BDB 4.2.52 your DB will very
  quickly become corrupt on crashes, or just spontaneously - especially
  BDB 4.1.
 
  You might want to update your OpenLDAP version.

[...]

 I use this version of software:
 db4-4.2.52-6
 db4-utils-4.2.52-6
 openldap-clients-2.2.13-2
 openldap-2.2.13-2
 openldap-servers-2.2.13-2
 
 This is my situation,
 is it ok?

Should be good. For the sake of interest, what Linux distro and version
are you using? What I've found is, that on my RHAS3 machines, OpenLDAP
2.2.17 and above, as well as BDB 4.2.52 and 2 patches, *both installed
from source* are stable as a rock, whatever you do to them.

--Tonni

-- 
mail: [EMAIL PROTECTED]
http://www.billy.demon.nl


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


Re: [Samba] Db4 ldap smldap-tools samba

2005-07-05 Thread Adam Tauno Williams
  I use the samba widh ldap and smbldap-tools to update the ldap db. If I
  execute from the terminal a non huge number of operation using the
  smbldap-usermode for change the mail, sometimes the operation still not
  respond and lock. After I find the db corrupted and I must do a
  db_recover. Why?
  If you're using an early version of OpenLDAP 2.1 (say before 2.1.26,
  2.1.30 is the latest stable) with BDB 4.1 or 2.2 (say before 2.2.13,
  IIRC 2.2.27 is the latest stable) with BDB 4.2.52 your DB will very
  quickly become corrupt on crashes, or just spontaneously - especially
  BDB 4.1.
  You might want to update your OpenLDAP version.
 I use this version of software:
 db4-4.2.52-6
 db4-utils-4.2.52-6
 openldap-clients-2.2.13-2
 openldap-2.2.13-2
 openldap-servers-2.2.13-2

While not completely current this should be stable.  Have you verified
that you have reasonable settings in you DB_CONFIG file?  Most of the
time when you get a corrupted DB it is because of an incorrect db4
version or insane settings in DB_CONFIG.  Besides those we've found it
very difficult to corrupt an OpenLDAP db.

ftp://ftp.kalamazoolinux.org/pub/pdf/LDAP106.pdf

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