similar to: Adding indexing to samba AD question.

Displaying 20 results from an estimated 500 matches similar to: "Adding indexing to samba AD question."

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 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
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 Nov 02
0
Adding indexing to samba AD question.
On Fri, 2017-10-27 at 10:36 +0200, L.P.H. van Belle via samba wrote: > 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 :
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
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
2010 Dec 07
3
Samba4 LDAP LDB Indexes
I have a system running Samba 4 Alpha 11, and I seem to have a corrupted LDB file in my directory. (Probably the result of taking a backup without using tdbbackup). Right now, running tdbbackup on the file produces an error message similar to the following: Failed to insert into DC=WWW,DC=EXAMPLE,DC=COM.ldb.bak.tmp failed to copy DC=WWW,DC=EXAMPLE,DC=COM.ldb If I run ldbsearch -H
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
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
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
2017 Mar 07
4
LDAP logins failing after installing Samba 4.4.5
Hi all,   I had an LDAP application (mailserver) running on Samba 4.1.3 which wrked flawlessly. Also using an LDAP browser with a simple bind worked OK. I than replaced the Samba installation with version 4.5 and the LDAP functionality broke. I first thought it had to do with a non-SSL or non -TLS and though I now get an error message when doing a simple bind without encryption, activating
2015 May 07
4
4.2.1 Indexing attributes
Hi all, System is Centos 7 and Samba is 4.2.1 sernet version. The database contains 120k users and 150k computers. It's size is 3.3GB on DC01 where the imports were performed and 2.8GB on the second DC. I was trying to index uid attribute and I have a strange behaviour. According to https://msdn.microsoft.com/en-us/library/ms679765%28v=vs.85%29.aspx it is the "searchFlags"
2019 Jan 10
2
[Oddity] SAMAccountName and 20+ chars logins...
Hai Marco, What i did mean. You can have 255 chars in total with these limitation's Windows NT 4.0, Windows 95, Windows 98, and LAN Manager : 20 = sAMAccountName Windows 2000 and up : 256 chars = sAMAccountName at alias.domain.tld ( full distinguished name ) The SAM-Account-Name attribute (also known as the pre?Windows 2000 user logon name) is limited to 256 characters in the Active
2015 May 07
1
4.2.1 Indexing attributes
Thank you a lot Luca! I was able to change searchFlags using ldbedit command and I can't test right now the ldbmodify tool as samba seems to be indexing it's database (one thread eating 100% CPU for several minute, since I launched a ldbsearch on "uid" field). I'll try without my typo error (thank you again :) the ldbmodify command (to stop telling it doesn't work when
2003 Sep 19
1
What is wrong with m?
I've been programming in one directory and recently switched to another directory. It appears that in doing so I've uncovered a problem. My environment was saving something so that my code would work and now I don't know how to fix it. I have the following bit of code: for(i in 1:index){ indexList = lst[i] for(j in 2:jobs-1){ indexList =
2014 Mar 17
1
Additional indexes in Samba4
Hi, I've found in the list how to add new indexes to Samba4. I read the you have to modify the searchFlags attr in the schema. I've tried but fails. # ldapmodify -f uid.ldif SASL/GSSAPI authentication started SASL username: administrator at mydomain.local SASL SSF: 56 SASL data security layer installed. modifying entry "CN=uid,CN=Schema,CN=Configuration,DC=mydomain,DC=local"
2004 Aug 15
1
index and by groups statement
Dear R-users Im working with a dataset that contains information for 8 groups of data and I need to select a sample of certain size (100 cubic feet by group) from this database for each of these 8 groups. To clarify, here is the starting code Im working with: k<-nrow(dataset) ix<-sort(runif(k),index.return=TRUE)$ix M<-max(which(cumsum(dataset$volume[ix])<100))+1
2004 May 31
4
Printer accounting/quota ?
Hi all, I am about to install a Samba server at a local school, and i need some advice and/or experience from others who have worked on a installation of that type/size. My plan is to roll-out a Samba server (of course), with LDAP back-end, and a number of printer queue's via CUPS. There will be aprox. 1000 user accounts, mostly students. The school has asked for a solution that would
2020 Feb 23
2
Missing attributes on RODC.
Hello, we use Samba 4.10.13 as RODC for our Kopano mailserver. We have certain users and groups, were not all attributes are synced over to the RODC. For the users in question, we found out that if we do a manual "samba-tool rodc preload user", then that would also make the missing attributes appear on the RODC. So, any reason why certain attributes will not sync to a RODC? In our case