similar to: Samba4 LDAP LDB Indexes

Displaying 20 results from an estimated 2000 matches similar to: "Samba4 LDAP LDB Indexes"

2017 Mar 23
4
[Samba 4.5] Very slow LDAP Queries (almost unusable), performance tunning ?
Are use using zarafaAccount=1 withing the search filters? I use this things like this : (&(objectClass=person)(zarafaAccount=1)(|(mail=%s)(otherMailbox=%s))) Or for groups. (&(objectclass=group)(zarafaAccount=1)(|(mail=%s)(otherMailbox=%s))) That helps a lot. ! If you switch to kopano beware to change the SCHEMA and filters zarafaAccount changed to kopanoAccount Greetz. Louis
2017 Oct 27
3
Adding indexing to samba AD question.
Hai, I need to add some extra indexing on my AD DB, and im not sure if what the correct/best methode is. And is there any reason i should not do this, i did search on the wiki, but could not find the info i searched for. I know the following. Checked the current index. ( source info : https://wiki.samba.org/index.php/LDB ) ldbsearch -H /var/lib/samba/private/sam.ldb -s base -b @INDEXLIST
2017 Mar 27
4
[Samba 4.5] Very slow LDAP Queries (almost unusable), performance tunning ?
Can you tell more about your setup? Is zarafa and samba on the same server for example. Which MTA are you using postfix/exim?   My top was about 150 users, and all my printers are connected also so about 200 devices do ldap searches. but my setup is split over 10+ servers ( 2 are AD DC )   So best is to tell what you can about your setup, anonimize if needed.   Greetz,   Louis  
2013 Sep 14
2
samba4 adding an index to sam.ldb
I have a large installation >20k users. We're using samba4 for AD Authentication, and also email address validation. I'm trying to edit the @INDEXLIST in sam.ldb to add an index on otherMailbox to speed up searches (0.05 sec for indexed, vs 2.5 sec for non-indexed searches) I'm finding that when I use ldbedit to do this, it appears to add the additional @IDXATTR. However, when I
2017 Mar 27
3
[Samba 4.5] Very slow LDAP Queries (almost unusable), performance tunning ?
On Mon, 2017-03-27 at 10:43 +0200, Gaetan SLONGO via samba wrote: > Zarafa is not on the same server as Samba  > > We only have 2 AD/DC Samba 4.5 (CentOS 7) and we put required indexes > on LDAP .  > > Arround 1000 mailboxes but not all are simultaneously in use (approx > 1/3 in use).  > MTA is postfix (and is still connected to Samba AD, this one is not > causing the
2024 Nov 21
1
High cpu load on LDAP
On 20/11/24 21:44, Heinz H?lzl wrote: > hi, > >> It is possible to tell Samba to index 'member'. > > How i can do this? > > dbindex:member = yes in smb.conf ?? > No, that has no effect. If you run ldbsearch -s base -b @INDEXLIST you will see a list of "@IDXATTR" attributes. You need to modify it so that there is one saying:
2020 Feb 06
2
ldb errors after upgrade, cause?
L.P.H. van Belle via samba writes: > Is samba-dsdb-modules installed ? Yes, I checked again, and all packages are installed, all of them with the proper version, and no leftovers. This server works fine for a half a day, and then these errors happen, so I think it's unlikely that it's related to the install itself. I have already made a backup of all tdb files with tdbbackup and
2020 Feb 11
1
ldb errors after upgrade, cause?
Hi list, for future reference: we haven't been able to fix it. Upgrading to 4.9.18 didn't help, so in the end we decided to downgrade to our previous version (4.5.12) which doesn't have this problem. Hooray for tdbbackup! Thanks Louis for thinking with us. Best regards, Roel And for Google: smbd[16461]: ldb: Failure during ltdb_lock_read(): Locking error ? Busy smbd[16461]:
2020 Feb 05
2
ldb errors after upgrade, cause?
Hi! recently we upgraded a Debian jessie server to Debian buster, with Samba being upgraded from 4.5.12 (+dfsg-2+deb9u3) to 4.9.5 (+dfsg-5+deb10u1). A few hours later we saw these errors in syslog: smbd[26024]: [2020/02/03 11:13:13.631613, 0] ../lib/ldb-samba/ldb_wrap.c:79(ldb_wrap_debug) smbd[26024]: ldb: Failure during ltdb_lock_read(): Locking error ? Busy smbd[26024]:
2017 Aug 26
2
DC Upgrade from 4.1.7 to 4.6.7
> -----Message d'origine----- > De : Andrew Bartlett [mailto:abartlet at samba.org] > Envoyé : samedi 26 août 2017 12:40 > À : HB; samba at lists.samba.org > Objet : Re: [Samba] DC Upgrade from 4.1.7 to 4.6.7 > > On Sat, 2017-08-26 at 12:32 +0400, HB via samba wrote: > > > > > Here is the output of samba-tool dbcheck : > > # samba-tool dbcheck >
2017 Mar 23
1
[Samba 4.5] Very slow LDAP Queries (almost unusable), performance tunning ?
Dear users, We are facing to a big latency issue regarding the LDAP Server (both encrypted & plain). We have a Zarafa mail server which makes a lot of queries and puts a samba process to 100% usage. This latency makes the mail server unusable.. The mail server was previously on OpenLDAP and there was not performance issues. A simple LDAP query can take up to 25 sec to perform !! We
2018 Apr 12
2
Fwd: Samba broken after 4.8 upgrade
Hello, Today I tried to upgrade to samba 4.8.0, the upgrade seems to have failed, and I can't seem to fix it or back out. The issue seems to be I've lost the some KRB tickets. Here's and example of the errors i get: samba-tool domain exportkeytab /tmp/test2 samba_kdc_fetch: could not find own KRBTGT in DB: dsdb_search at ../source4/dsdb/common/util.c:4641 ERROR(runtime): uncaught
2017 Mar 27
0
[Samba 4.5] Very slow LDAP Queries (almost unusable), performance tunning ?
No, you have to do that manualy, or look the the samba4 ADS script for kopano ( or zarafa ) But I mostly follow the documentation.   And when i run : time ldbsearch -H /var/lib/samba/private/sam.ldb -s base -b @INDEXLIST .... real    0m0.230s user    0m0.184s sys     0m0.044s   so if yours take more that 20 sec there is something very wrong. I suggest check you samba AD database and
2020 Oct 14
1
Can I restore a Samba instance from an rsync backup?
Hello, I have Samba 4.3.11 running as an ADDC on Ubuntu 14.04. When I run samba-tool dbcheck, I get the following output: ltdb: tdb(/var/lib/samba/private/sam.ldb.d/DC=CORP,DC=EXAMPLE,DC=CO,DC=NZ.ldb): tdb_rec_read bad magic 0x3f3f3f3f at offset=2993916 ERROR(ldb): uncaught exception - Indexed and full searches both failed! File
2017 Mar 27
0
[Samba 4.5] Very slow LDAP Queries (almost unusable), performance tunning ?
Zarafa is not on the same server as Samba We only have 2 AD/DC Samba 4.5 (CentOS 7) and we put required indexes on LDAP . Arround 1000 mailboxes but not all are simultaneously in use (approx 1/3 in use). MTA is postfix (and is still connected to Samba AD, this one is not causing the issue). As a workarround, we currently deployed a synchronization connector from AD to OpenLDAP. It solves the
2017 Mar 27
0
[Samba 4.5] Very slow LDAP Queries (almost unusable), performance tunning ?
Thank you for your message Andrew. Then .. Waiting for this improvement... :-) Indexes seem correct to me. But I'm not sure at 100% because I cannot find clear explanation regarding the searchFlags attribute value .. 1, 2, ... ? Maybe you have one ? Thanks ! ----- Mail original ----- De: "Andrew Bartlett" <abartlet at samba.org> À: "Gaetan SLONGO" <gslongo
2017 Mar 27
1
[Samba 4.5] Very slow LDAP Queries (almost unusable), performance tunning ?
Hi,   I talked to Zarafa (Kopano now) support and they acknowledge that their product in combination with Samba does not scale welland is only suitable for what they call smaller setups.     Met Vriendelijke Groet, Kind Regards, Salutations,     Bart Coninckx Bits 'n Tricks BVBA   Hoge Mierdse Heide 182 2360 Oud-Turnhout tel. +32 14 480 820 gsm +32 478 88 33 08 info at bitsandtricks.com
2018 Apr 13
2
Fwd: Samba broken after 4.8 upgrade
Thanks for getting back to me. I managed to restore my domain from a backup that I forgot I had. Glad you know about the bug! On Fri, Apr 13, 2018 at 4:04 AM, Andrew Bartlett <abartlet at samba.org> wrote: > On Thu, 2018-04-12 at 13:02 -0400, Andrew Dumaresq via samba wrote: > > Hello, > > > > Today I tried to upgrade to samba 4.8.0, the upgrade seems to have >
2014 Sep 02
1
safe to replace just one ldb file?
Hi, Small question: I have removed 177000 deleted objects from our DC=DOMAINDNSZONES,DC=...ldb, effectively reducing it's filesize from 1.1GB to 6.3MB. Now I would like to replace the big .ldb with the small .ldb.backup Is it safe to do: - service sernet-samba-ad stop - tdbbackup DC=DOMAINDNSZONES,DC=...ldb -s .backup - mv DC=DOMAINDNSZONES,DC=...ldb DC=DOMAINDNSZONES,DC=...deleted - cp
2016 Oct 03
2
ldb-tools stand alone different than built-in?
On Mon, Oct 3, 2016 at 12:10 PM, Sketch <smblist at rednsx.org> wrote: > > I would assume they would work if you built Samba against them so that > it's ldb modules were built for the same version. But that seems like a > lot of work when you can just use the CentOS ldb-tools package. > Well the ldb-tools package from COS doesn't work, as we've discussed