• [Samba] ldap owncloud and samba ad

    From Micha Ballmann via samba@21:1/5 to All on Thu Mar 16 19:10:01 2017
    Hello,

    im authenticating my Owncloud aigainst one of my three domain controller
    and add a second one of it as failover. The authentication works pretty
    well. When im trying to share files or folders i have the problem, that
    it takes a lot of time until i get the username i want to share.
    Compared to my open ldap the samba4 ad needs about 10-15 seconds more to
    find a result, thats pretty stressful if you want to share for serveral
    users.

    I hope you can help me to speed up :-D.

    Best regards,

    Micha


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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrew Bartlett via samba@21:1/5 to Micha Ballmann via samba on Thu Mar 16 19:50:01 2017
    On Thu, 2017-03-16 at 19:05 +0100, Micha Ballmann via samba wrote:
    Hello,

    im authenticating my Owncloud aigainst one of my three domain
    controller 
    and add a second one of it as failover. The authentication works
    pretty 
    well. When im trying to share files or folders i have the problem,
    that 
    it takes a lot of time until i get the username i want to share. 
    Compared to my open ldap the samba4 ad needs about 10-15 seconds more
    to 
    find a result, thats pretty stressful if you want to share
    for  serveral 
    users.

    Indeed.

    I hope you can help me to speed up :-D.

    I don't have any silver bullets, but Samba 4.6 will be a little faster
    than previous versions. The big improvement normally comes from
    working out what search expressions are in use and ensuring they always
    use an index.

    Samba sadly still uses a single process for all LDAP, and this can be a bottleneck.

    If you build from source with debugging symbols, then a 'linux perf'
    flame graph per
    http://www.brendangregg.com/FlameGraphs/cpuflamegraphs.html can help a
    lot with understanding what is slow.

    I hope this helps,

    Andrew Bartlett

    --
    Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org
    Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba


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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)