[389-devel] Please review 50159: sssd.conf, ldap.conf and generic config generation

2019-01-28 Thread William Brown
https://pagure.io/389-ds-base/pull-request/50182

https://pagure.io/389-ds-base/issue/50159

—
Sincerely,

William Brown
Software Engineer, 389 Directory Server
SUSE Labs
___
389-devel mailing list -- 389-devel@lists.fedoraproject.org
To unsubscribe send an email to 389-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/389-devel@lists.fedoraproject.org


[389-devel] 389 DS nightly 2019-01-29 - 92% PASS

2019-01-28 Thread vashirov
https://fedorapeople.org/groups/389ds/ci/nightly/2019/01/29/report-389-ds-base-1.4.1.0-20190129git341eeab.fc29.x86_64.html
___
389-devel mailing list -- 389-devel@lists.fedoraproject.org
To unsubscribe send an email to 389-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/389-devel@lists.fedoraproject.org


[389-devel] Re: [discuss] composable object types in lib389

2019-01-28 Thread Ludwig



On 01/22/2019 08:57 AM, Anuj Borah wrote:
@Ludwig Krispenz   , exactly, Please check 
attached script , how it is implemented .


Filter role and aci combination .
I tried to run this, but after a sequence of failures I gave up, first 
it tried to import working_constants  which does not exist, then missed 
the import of pytest and then failed to find ensure_bytes. Could you 
please provide a complete test.


For the nsRole I will comment in the PR







On Tue, Jan 22, 2019 at 1:13 PM Ludwig > wrote:




On 01/21/2019 11:01 PM, William Brown wrote:
>
>> On 21 Jan 2019, at 17:08, Anuj Borah mailto:abo...@redhat.com>> wrote:
>>
>> One small correction here :
>>
>> using newly created nsUserAccountRole and nsUserAccountRoles (
Will be used only to create filter role ) , i am creating filter
roles only . This is the confusion here , we should remember
filter roles are nothing but entries with o='something'. I am not
touching any user here , but i am creating roles and these roles
are covering the users automatically a Ludwig Krispenzs  said
earlier. example-
>>
>>
>>
>>
>>

role=nsUserAccountRole(topo.standalone,'cn=tuser1,ou=People,dc=example,dc=com')
>> user_props={'cn':'Anuj', 'nsRoleFilter':'cn=*'}
>> role.create(properties=user_props, basedn=SUFFIX)
>>
>>
>>
>> In above example just created one filer role which will cover
all users having 'cn=*' in 'ou=People'. Here
'cn=tuser1,ou=People,dc=example,dc=com' is nothing but a filter
role which will cover all users having 'cn=*' in 'ou=People'.
>>
>> Another example as given bellow:
>>
>> dn: cn=FILTERROLEENGROLE,o=acivattr1,dc=example,dc=com
>> cn: FILTERROLEENGROLE
>> nsRoleFilter: cn=*
>> objectClass: top
>> objectClass: LDAPsubentry
>> objectClass: nsRoleDefinition
>> objectClass: nsComplexRoleDefinition
>> objectClass: nsFilteredRoleDefinition
>>
>> This above entry is nothing but filter role entry , which will
cover all users in 'o=acivattr1' which has sub entries that begins
with 'cn'. And this is the property of filter role .
>>
>> Yes , i must say that newly created nsUserAccountRole and
nsUserAccountRoles  which i renamed to  nsFilterAccountRole and
nsFilterAccountRoles will only cover filter role as you cant
create Filter role and other roles like Manage role all together .
For my porting stuff newly created nsFilterAccountRole and
nsFilterAccountRoles is more than enough because i need filter
roles only .
>>
>> Hope it clears all of your doubts.
>>
> So I think the idea of composing this with nsUsers/nsAccount is
so that the nsRoleFilter becomes:
>
> &(objectClass=account)(cn=*)
but this filter would probably match all accounts, to properly
test role
based acis you need to have a set of user matching the filter and get
access granted and a set of user not matching the filter and access
rejected.
>
> This way it’s limited to just those types. Else we would have
just “nsFilteredRole” lib389 type (which could be simpler, given
that this idea seems to have caused so much confusion already … :( )
>
> I still think it would be good to see a write of “how it works”
by hand, where you make the role, add the filter, show the roles
on the users, then how that translates to the lib389.
+1
>
> Thanks,
>
>
> —
> Sincerely,
>
> William Brown
> Software Engineer, 389 Directory Server
> SUSE Labs
> ___
> 389-devel mailing list -- 389-devel@lists.fedoraproject.org

> To unsubscribe send an email to
389-devel-le...@lists.fedoraproject.org

> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:

https://lists.fedoraproject.org/archives/list/389-devel@lists.fedoraproject.org
___
389-devel mailing list -- 389-devel@lists.fedoraproject.org

To unsubscribe send an email to
389-devel-le...@lists.fedoraproject.org

Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:

https://lists.fedoraproject.org/archives/list/389-devel@lists.fedoraproject.org



___
389-devel mailing list -- 389-devel@lists.fedoraproject.org
To unsubscribe send an email to 389-devel-le...@lists.fedoraproject.org
Fedora Code