Issue #3 resolved

Group object filter setting isn't used in LDAP filter

Matt Ryall
repo owner created an issue

The configured group object filter isn't actually used in the LDAP filter logic, as shown by this logging:

2012-10-18 09:39:36,742 INFO [TP-Processor6] [confluence.user.tokengroups.TokenGroupsAutoGroupAdderListener] updateTokenGroups Finding token groups for user 'TGDBIPA4'
2012-10-18 09:39:36,775 DEBUG [TP-Processor6] [confluence.user.tokengroups.TokenGroupsSearcher] findTokenGroups Found 307 group SIDs in tokenGroups attribute of user [ cn=tgdbipa4,ou=scs_personal,ou=scs_users,ou=scs_org,ou=scs,dc=corproot,dc=net ]. Looking up these groups.
2012-10-18 09:39:36,776 DEBUG [TP-Processor6] [confluence.user.tokengroups.PagedLdapSearcher] pageSearchResults Paged results are enabled with a paging size of 1000
2012-10-18 09:39:36,777 DEBUG [TP-Processor6] [confluence.user.tokengroups.PagedLdapSearcher] pageSearchResults Performing LDAP search with base DN [ dc=corproot,dc=net  ] and filter [ (&(objectClass=group)(|(objectSid=S-1-5-32-545)(objectSid=S-1-5-21-796845957-1547161642-839522115-482395)(objectSid=S-1-5-21-796845957-1547161642-839522115-139500)(objectSid=S-1-5-21-796845957-1547161642-839522115-399527)(objectSid=S-1-5-21-796845957-1547161642-839522115-388863)(objectSid=S-1-5-21-796845957-1547161642-839522115-454196)(objectSid=S-1-5-21-796845957-1547161642-839522115-383542)(objectSid=S-1-5-21-796845957-1547161642-839522115-396407)(objectSid=S-1-5-21-796845957-1547161642-839522115-549945)(objectSid=S-1-5-21-796845957-1547161642-839522115-549984)(objectSid=S-1-5-21-796845957-1547161642-839522115-443159)(objectSid=S-1-5-21-796845957-1547161642-839522115-66173)(objectSid=S-1-5-21-796845957-1547161642-839522115-204225)(objectSid=S-1-5-21-796845957-1547161642-839522115-477079)(objectSid=S-1-5-21-796845957-1547161642-839522115-562428)(objectSid=S-1-5-21-796845957-1547161642-839522115-597016)(objectSid=S-1-5-21-796845957-1547161642-839522115-456914)(objectSid=S-1-5-21-796845957-1547161642-839522115-552946)(objectSid=S-1-5-21-796845957-1547161642-839522115-216020)(objectSid=S-1-5-21-796845957-1547161642-839522115-591278)(objectSid=S-1-5-21-796845957-1547161642-839522115-300654)(objectSid=S-1-5-21-796845957-1547161642-839522115-393017)(objectSid=S-1-5-21-796845957-1547161642-839522115-550516)(objectSid=S-1-5-21-796845957-1547161642-839522115-410979)(objectSid=S-1-5-21-796845957-1547161642-839522115-443156)(objectSid=S-1-5-21-796845957-1547161642-839522115-443162)(objectSid=S-1-5-21-796845957-1547161642-839522115-448545)(objectSid=S-1-5-21-796845957-1547161642-839522115-549980)(objectSid=S-1-5-21-796845957-1547161642-839522115-178360)(objectSid=S-1-5-21-796845957-1547161642-839522115-482397)(objectSid=S-1-5-21-796845957-1547161642-839522115-194452)(objectSid=S-1-5-21-796845957-1547161642-839522115-410978)(objectSid=S-1-5-21-796845957-1547161642-839522115-180337)(objectSid=S-1-5-21-796845957-1547161642-839522115-393014)(objectSid=S-1-5-21-796845957-1547161642-839522115-375260)(objectSid=S-1-5-21-796845957-1547161642-839522115-298377)(objectSid=S-1-5-21-796845957-1547161642-839522115-549920)(objectSid=S-1-5-21-796845957-1547161642-839522115-386799)(objectSid=S-1-5-21-796845957-1547161642-839522115-390141)(objectSid=S-1-5-21-796845957-1547161642-839522115-443160)(objectSid=S-1-5-21-796845957-1547161642-839522115-549977)(objectSid=S-1-5-21-796845957-1547161642-839522115-236605)(objectSid=S-1-5-21-796845957-1547161642-839522115-527395)(objectSid=S-1-5-21-796845957-1547161642-839522115-477077)(objectSid=S-1-5-21-796845957-1547161642-839522115-549930)(objectSid=S-1-5-21-796845957-1547161642-839522115-396465)(objectSid=S-1-5-21-796845957-1547161642-839522115-148692)(objectSid=S-1-5-21-796845957-1547161642-839522115-188771)(objectSid=S-1-5-21-796845957-1547161642-839522115-364391)(objectSid=S-1-5-21-796845957-1547161642-839522115-443167)(objectSid=S-1-5-21-796845957-1547161642-839522115-443165)(objectSid=S-1-5-21-796845957-1547161642-839522115-286194)(objectSid=S-1-5-21-796845957-1547161642-839522115-350709)(objectSid=S-1-5-21-796845957-1547161642-839522115-286202)(objectSid=S-1-5-21-796845957-1547161642-839522115-443164)(objectSid=S-1-5-21-796845957-1547161642-839522115-549944)(objectSid=S-1-5-21-796845957-1547161642-839522115-184292)(objectSid=S-1-5-21-796845957-1547161642-839522115-443169)(objectSid=S-1-5-21-796845957-1547161642-839522115-269182)(objectSid=S-1-5-21-796845957-1547161642-839522115-488486)(objectSid=S-1-5-21-796845957-1547161642-839522115-549975)(objectSid=S-1-5-21-796845957-1547161642-839522115-545284)(objectSid=S-1-5-21-796845957-1547161642-839522115-448420)(objectSid=S-1-5-21-796845957-1547161642-839522115-410976)(objectSid=S-1-5-21-796845957-1547161642-839522115-275483)(objectSid=S-1-5-21-796845957-1547161642-839522115-486793)(objectSid=S-1-5-21-796845957-1547161642-839522115-443153)(objectSid=S-1-5-21-796845957-1547161642-839522115-384742)(objectSid=S-1-5-21-796845957-1547161642-839522115-141644)(objectSid=S-1-5-21-796845957-1547161642-839522115-549979)(objectSid=S-1-5-21-796845957-1547161642-839522115-139495)(objectSid=S-1-5-21-796845957-1547161642-839522115-482391)(objectSid=S-1-5-21-796845957-1547161642-839522115-420570)(objectSid=S-1-5-21-796845957-1547161642-839522115-388856)(objectSid=S-1-5-21-796845957-1547161642-839522115-479893)(objectSid=S-1-5-21-796845957-1547161642-839522115-274064)(objectSid=S-1-5-21-796845957-1547161642-839522115-405478)(objectSid=S-1-5-21-796845957-1547161642-839522115-562327)(objectSid=S-1-5-21-796845957-1547161642-839522115-388861)(objectSid=S-1-5-21-796845957-1547161642-839522115-388860)(objectSid=S-1-5-21-796845957-1547161642-839522115-443157)(objectSid=S-1-5-21-796845957-1547161642-839522115-139494)(objectSid=S-1-5-21-796845957-1547161642-839522115-345609)(objectSid=S-1-5-21-796845957-1547161642-839522115-443170)(objectSid=S-1-5-21-796845957-1547161642-839522115-134526)(objectSid=S-1-5-21-796845957-1547161642-839522115-486791)(objectSid=S-1-5-21-796845957-1547161642-839522115-375253)(objectSid=S-1-5-21-796845957-1547161642-839522115-405477)(objectSid=S-1-5-21-796845957-1547161642-839522115-563034)(objectSid=S-1-5-21-796845957-1547161642-839522115-391595)(objectSid=S-1-5-21-796845957-1547161642-839522115-396439)(objectSid=S-1-5-21-796845957-1547161642-839522115-275510)(objectSid=S-1-5-21-796845957-1547161642-839522115-134525)(objectSid=S-1-5-21-796845957-1547161642-839522115-189734)(objectSid=S-1-5-21-796845957-1547161642-839522115-549976)(objectSid=S-1-5-21-796845957-1547161642-839522115-395804)(objectSid=S-1-5-21-796845957-1547161642-839522115-419161)(objectSid=S-1-5-21-796845957-1547161642-839522115-419143)(objectSid=S-1-5-21-796845957-1547161642-839522115-405476)(objectSid=S-1-5-21-796845957-1547161642-839522115-549973)(objectSid=S-1-5-21-796845957-1547161642-839522115-161753)(objectSid=S-1-5-21-796845957-1547161642-839522115-549982)(objectSid=S-1-5-21-796845957-1547161642-839522115-249523)(objectSid=S-1-5-21-796845957-1547161642-839522115-275489)(objectSid=S-1-5-21-796845957-1547161642-839522115-396441)(objectSid=S-1-5-21-796845957-1547161642-839522115-388862)(objectSid=S-1-5-21-796845957-1547161642-839522115-388853)(objectSid=S-1-5-21-796845957-1547161642-839522115-416492)(objectSid=S-1-5-21-796845957-1547161642-839522115-549951)(objectSid=S-1-5-21-796845957-1547161642-839522115-215982)(objectSid=S-1-5-21-796845957-1547161642-839522115-443155)(objectSid=S-1-5-21-796845957-1547161642-839522115-111377)(objectSid=S-1-5-21-796845957-1547161642-839522115-415880)(objectSid=S-1-5-21-796845957-1547161642-839522115-108967)(objectSid=S-1-5-21-796845957-1547161642-839522115-286193)(objectSid=S-1-5-21-796845957-1547161642-839522115-142819)(objectSid=S-1-5-21-796845957-1547161642-839522115-549943)(objectSid=S-1-5-21-796845957-1547161642-839522115-275508)(objectSid=S-1-5-21-796845957-1547161642-839522115-190589)(objectSid=S-1-5-21-796845957-1547161642-839522115-134527)(objectSid=S-1-5-21-796845957-1547161642-839522115-549983)(objectSid=S-1-5-21-796845957-1547161642-839522115-419155)(objectSid=S-1-5-21-796845957-1547161642-839522115-549914)(objectSid=S-1-5-21-796845957-1547161642-839522115-443158)(objectSid=S-1-5-21-796845957-1547161642-839522115-549911)(objectSid=S-1-5-21-796845957-1547161642-839522115-396549)(objectSid=S-1-5-21-796845957-1547161642-839522115-148169)(objectSid=S-1-5-21-796845957-1547161642-839522115-549978)(objectSid=S-1-5-21-796845957-1547161642-839522115-315958)(objectSid=S-1-5-21-796845957-1547161642-839522115-488488)(objectSid=S-1-5-21-796845957-1547161642-839522115-144274)(objectSid=S-1-5-21-796845957-1547161642-839522115-443154)(objectSid=S-1-5-21-796845957-1547161642-839522115-396568)(objectSid=S-1-5-21-796845957-1547161642-839522115-591215)(objectSid=S-1-5-21-796845957-1547161642-839522115-148172)(objectSid=S-1-5-21-796845957-1547161642-839522115-443168)(objectSid=S-1-5-21-796845957-1547161642-839522115-454195)(objectSid=S-1-5-21-796845957-1547161642-839522115-477321)(objectSid=S-1-5-21-796845957-1547161642-839522115-148688)(objectSid=S-1-5-21-796845957-1547161642-839522115-549730)(objectSid=S-1-5-21-796845957-1547161642-839522115-549763)(objectSid=S-1-5-21-796845957-1547161642-839522115-549714)(objectSid=S-1-5-21-796845957-1547161642-839522115-4339)(objectSid=S-1-5-21-796845957-1547161642-839522115-309079)(objectSid=S-1-5-21-796845957-1547161642-839522115-134523)(objectSid=S-1-5-21-796845957-1547161642-839522115-317056)(objectSid=S-1-5-21-796845957-1547161642-839522115-405475)(objectSid=S-1-5-21-796845957-1547161642-839522115-549954)(objectSid=S-1-5-21-796845957-1547161642-839522115-562427)(objectSid=S-1-5-21-796845957-1547161642-839522115-410977)(objectSid=S-1-5-21-796845957-1547161642-839522115-397513)(objectSid=S-1-5-21-796845957-1547161642-839522115-388859)(objectSid=S-1-5-21-796845957-1547161642-839522115-488490)(objectSid=S-1-5-21-796845957-1547161642-839522115-443163)(objectSid=S-1-5-21-796845957-1547161642-839522115-443166)(objectSid=S-1-5-21-796845957-1547161642-839522115-292650)(objectSid=S-1-5-21-796845957-1547161642-839522115-317053)(objectSid=S-1-5-21-796845957-1547161642-839522115-175627)(objectSid=S-1-5-21-796845957-1547161642-839522115-31073)(objectSid=S-1-5-21-796845957-1547161642-839522115-306966)(objectSid=S-1-5-21-796845957-1547161642-839522115-31655)(objectSid=S-1-5-21-796845957-1547161642-839522115-285636)(objectSid=S-1-5-21-796845957-1547161642-839522115-285961)(objectSid=S-1-5-21-796845957-1547161642-839522115-382623)(objectSid=S-1-5-21-796845957-1547161642-839522115-539327)(objectSid=S-1-5-21-796845957-1547161642-839522115-563235)(objectSid=S-1-5-21-796845957-1547161642-839522115-274058)(objectSid=S-1-5-21-796845957-1547161642-839522115-399039)(objectSid=S-1-5-21-796845957-1547161642-839522115-565489)(objectSid=S-1-5-21-796845957-1547161642-839522115-317981)(objectSid=S-1-5-21-796845957-1547161642-839522115-565558)(objectSid=S-1-5-21-796845957-1547161642-839522115-399112)(objectSid=S-1-5-21-796845957-1547161642-839522115-613207)(objectSid=S-1-5-21-796845957-1547161642-839522115-613211)(objectSid=S-1-5-21-796845957-1547161642-839522115-410974)(objectSid=S-1-5-21-796845957-1547161642-839522115-142813)(objectSid=S-1-5-21-796845957-1547161642-839522115-215981)(objectSid=S-1-5-21-796845957-1547161642-839522115-184291)(objectSid=S-1-5-21-796845957-1547161642-839522115-548081)(objectSid=S-1-5-21-796845957-1547161642-839522115-527392)(objectSid=S-1-5-21-796845957-1547161642-839522115-548077)(objectSid=S-1-5-21-796845957-1547161642-839522115-548083)(objectSid=S-1-5-21-796845957-1547161642-839522115-419131)(objectSid=S-1-5-21-796845957-1547161642-839522115-397512)(objectSid=S-1-5-21-796845957-1547161642-839522115-443137)(objectSid=S-1-5-21-796845957-1547161642-839522115-488485)(objectSid=S-1-5-21-796845957-1547161642-839522115-420569)(objectSid=S-1-5-21-796845957-1547161642-839522115-548010)(objectSid=S-1-5-21-796845957-1547161642-839522115-396438)(objectSid=S-1-5-21-796845957-1547161642-839522115-482390)(objectSid=S-1-5-21-796845957-1547161642-839522115-548074)(objectSid=S-1-5-21-796845957-1547161642-839522115-388841)(objectSid=S-1-5-21-796845957-1547161642-839522115-269177)(objectSid=S-1-5-21-796845957-1547161642-839522115-477074)(objectSid=S-1-5-21-796845957-1547161642-839522115-4629)(objectSid=S-1-5-21-796845957-1547161642-839522115-479892)(objectSid=S-1-5-21-796845957-1547161642-839522115-375252)(objectSid=S-1-5-21-796845957-1547161642-839522115-180331)(objectSid=S-1-5-21-796845957-1547161642-839522115-637506)(objectSid=S-1-5-21-796845957-1547161642-839522115-482396)(objectSid=S-1-5-21-796845957-1547161642-839522115-548079)(objectSid=S-1-5-21-796845957-1547161642-839522115-548029)(objectSid=S-1-5-21-796845957-1547161642-839522115-148158)(objectSid=S-1-5-21-796845957-1547161642-839522115-486786)(objectSid=S-1-5-21-796845957-1547161642-839522115-636870)(objectSid=S-1-5-21-796845957-1547161642-839522115-548082)(objectSid=S-1-5-21-796845957-1547161642-839522115-482394)(objectSid=S-1-5-21-796845957-1547161642-839522115-415879)(objectSid=S-1-5-21-796845957-1547161642-839522115-386795)(objectSid=S-1-5-21-796845957-1547161642-839522115-388845)(objectSid=S-1-5-21-796845957-1547161642-839522115-393009)(objectSid=S-1-5-21-796845957-1547161642-839522115-388838)(objectSid=S-1-5-21-796845957-1547161642-839522115-547829)(objectSid=S-1-5-21-796845957-1547161642-839522115-410973)(objectSid=S-1-5-21-796845957-1547161642-839522115-405424)(objectSid=S-1-5-21-796845957-1547161642-839522115-591213)(objectSid=S-1-5-21-796845957-1547161642-839522115-562324)(objectSid=S-1-5-21-796845957-1547161642-839522115-161751)(objectSid=S-1-5-21-796845957-1547161642-839522115-391594)(objectSid=S-1-5-21-796845957-1547161642-839522115-275479)(objectSid=S-1-5-21-796845957-1547161642-839522115-488487)(objectSid=S-1-5-21-796845957-1547161642-839522115-190588)(objectSid=S-1-5-21-796845957-1547161642-839522115-188768)(objectSid=S-1-5-21-796845957-1547161642-839522115-456907)(objectSid=S-1-5-21-796845957-1547161642-839522115-410972)(objectSid=S-1-5-21-796845957-1547161642-839522115-399525)(objectSid=S-1-5-21-796845957-1547161642-839522115-309055)(objectSid=S-1-5-21-796845957-1547161642-839522115-634543)(objectSid=S-1-5-21-796845957-1547161642-839522115-364392)(objectSid=S-1-5-21-796845957-1547161642-839522115-562367)(objectSid=S-1-5-21-796845957-1547161642-839522115-350710)(objectSid=S-1-5-21-796845957-1547161642-839522115-405427)(objectSid=S-1-5-21-796845957-1547161642-839522115-548075)(objectSid=S-1-5-21-796845957-1547161642-839522115-204223)(objectSid=S-1-5-21-796845957-1547161642-839522115-390128)(objectSid=S-1-5-21-796845957-1547161642-839522115-547862)(objectSid=S-1-5-21-796845957-1547161642-839522115-474662)(objectSid=S-1-5-21-796845957-1547161642-839522115-384737)(objectSid=S-1-5-21-796845957-1547161642-839522115-548053)(objectSid=S-1-5-21-796845957-1547161642-839522115-548043)(objectSid=S-1-5-21-796845957-1547161642-839522115-4337)(objectSid=S-1-5-21-796845957-1547161642-839522115-513)(objectSid=S-1-5-21-796845957-1547161642-839522115-144272)(objectSid=S-1-5-21-796845957-1547161642-839522115-396406)(objectSid=S-1-5-21-796845957-1547161642-839522115-141642)(objectSid=S-1-5-21-796845957-1547161642-839522115-548013)(objectSid=S-1-5-21-796845957-1547161642-839522115-178277)(objectSid=S-1-5-21-796845957-1547161642-839522115-388842)(objectSid=S-1-5-21-796845957-1547161642-839522115-275488)(objectSid=S-1-5-21-796845957-1547161642-839522115-286191)(objectSid=S-1-5-21-796845957-1547161642-839522115-189732)(objectSid=S-1-5-21-796845957-1547161642-839522115-216019)(objectSid=S-1-5-21-796845957-1547161642-839522115-548078)(objectSid=S-1-5-21-796845957-1547161642-839522115-396544)(objectSid=S-1-5-21-796845957-1547161642-839522115-548072)(objectSid=S-1-5-21-796845957-1547161642-839522115-548019)(objectSid=S-1-5-21-796845957-1547161642-839522115-548050)(objectSid=S-1-5-21-796845957-1547161642-839522115-111376)(objectSid=S-1-5-21-796845957-1547161642-839522115-275509)(objectSid=S-1-5-21-796845957-1547161642-839522115-388843)(objectSid=S-1-5-21-796845957-1547161642-839522115-545269)(objectSid=S-1-5-21-796845957-1547161642-839522115-548044)(objectSid=S-1-5-21-796845957-1547161642-839522115-632649)(objectSid=S-1-5-21-796845957-1547161642-839522115-396464)(objectSid=S-1-5-21-796845957-1547161642-839522115-396440)(objectSid=S-1-5-21-796845957-1547161642-839522115-419113)(objectSid=S-1-5-21-796845957-1547161642-839522115-552919)(objectSid=S-1-5-21-796845957-1547161642-839522115-405426)(objectSid=S-1-5-21-796845957-1547161642-839522115-139485)(objectSid=S-1-5-21-796845957-1547161642-839522115-582457)(objectSid=S-1-5-21-796845957-1547161642-839522115-108966)(objectSid=S-1-5-21-796845957-1547161642-839522115-486788)(objectSid=S-1-5-21-796845957-1547161642-839522115-383540)(objectSid=S-1-5-21-796845957-1547161642-839522115-298220)(objectSid=S-1-5-21-796845957-1547161642-839522115-477072)(objectSid=S-1-5-21-796845957-1547161642-839522115-550515)(objectSid=S-1-5-21-796845957-1547161642-839522115-405425)(objectSid=S-1-5-21-796845957-1547161642-839522115-454189)(objectSid=S-1-5-21-796845957-1547161642-839522115-375245)(objectSid=S-1-5-21-796845957-1547161642-839522115-591279)(objectSid=S-1-5-21-796845957-1547161642-839522115-548076)(objectSid=S-1-5-21-796845957-1547161642-839522115-395768)(objectSid=S-1-5-21-796845957-1547161642-839522115-578053)(objectSid=S-1-5-21-796845957-1547161642-839522115-134472)(objectSid=S-1-5-21-796845957-1547161642-839522115-488489)(objectSid=S-1-5-21-796845957-1547161642-839522115-275507)(objectSid=S-1-5-21-796845957-1547161642-839522115-148161)(objectSid=S-1-5-21-796845957-1547161642-839522115-396525)(objectSid=S-1-5-21-796845957-1547161642-839522115-548042)(objectSid=S-1-5-21-796845957-1547161642-839522115-581418)(objectSid=S-1-5-21-796845957-1547161642-839522115-547813)(objectSid=S-1-5-21-796845957-1547161642-839522115-448419)(objectSid=S-1-5-21-796845957-1547161642-839522115-148248)(objectSid=S-1-5-21-796845957-1547161642-839522115-139491)(objectSid=S-1-5-21-796845957-1547161642-839522115-582423)(objectSid=S-1-5-21-796845957-1547161642-839522115-582469)(objectSid=S-1-5-21-796845957-1547161642-839522115-286192)(objectSid=S-1-5-21-796845957-1547161642-839522115-345094)(objectSid=S-1-5-21-796845957-1547161642-839522115-448540)(objectSid=S-1-5-21-796845957-1547161642-839522115-388844)(objectSid=S-1-5-21-796845957-1547161642-839522115-139486)(objectSid=S-1-5-21-796845957-1547161642-839522115-286200)(objectSid=S-1-5-21-796845957-1547161642-839522115-300652)(objectSid=S-1-5-21-796845957-1547161642-839522115-454190)(objectSid=S-1-5-21-796845957-1547161642-839522115-477320)(objectSid=S-1-5-21-796845957-1547161642-839522115-315957)(objectSid=S-1-5-21-796845957-1547161642-839522115-134468))) ]
2012-10-18 09:39:37,250 DEBUG [TP-Processor6] [confluence.user.tokengroups.PagedLdapSearcher] pageSearchResults Processed 307 results so far
2012-10-18 09:39:37,252 INFO [TP-Processor6] [confluence.user.tokengroups.TokenGroupsAutoGroupAdderListener] updateTokenGroups Updating 307 token groups for user 'TGDBIPA4'

Even if the filter isn't defined in the UI, it should default to '(objectCategory=group)'.

Comments (2)

  1. scs

    In which version was this resolved? 1.4 still doesn't apply the filter set in the UI when building the LDAP query.

    2012-10-19 13:54:43,347 DEBUG [TP-Processor6] [confluence.user.tokengroups.PagedLdapSearcher] pageSearchResults Paged results are enabled with a paging size of 1000

    2012-10-19 13:54:43,348 DEBUG [TP-Processor6] [confluence.user.tokengroups.PagedLdapSearcher] pageSearchResults Performing LDAP search with base DN [ dc=corproot,dc=net ] and filter [ (&(objectClass=group)(|(objectSid=S-1-5-32-545)..........

  2. Log in to comment