[SSSD] Re: 'no primary group ID provided' when using AD in ldap mode

2016-08-29 Thread Jakub Hrozek
On Mon, Aug 29, 2016 at 04:49:57AM -, Daniel Hermans wrote: > HI, > sorry I didn't get any response on sssd-users This was just because nobody had the time to answer until today (most developers are in EU..). It's still better to post on the users list because the archives will be searchable l

[SSSD] Re: 'no primary group ID provided' when using AD in ldap mode

2016-08-28 Thread Daniel Hermans
HI, sorry I didn't get any response on sssd-users I'm totally out of practice with C ( 10 years+ ) but have got slightly further by editing function sdap_get_idmap_primary_gid in src/provides/ldap/sdap_async_users.c as a hack i commented out the 'goto' in this block: ret = sysdb_attr

[SSSD] Re: 'no primary group ID provided' when using AD in ldap mode

2016-08-26 Thread Jakub Hrozek
On Fri, Aug 26, 2016 at 07:16:36AM -, Daniel Hermans wrote: > > sorry about that - didn't realise there was a separate list - should i close > this request? > > - if i define ldap_idmap_default_domain_sid, clear /var/lib/sss/db/* and > restart sssd no longer reports this: > (Fri Aug 26 13:

[SSSD] Re: 'no primary group ID provided' when using AD in ldap mode

2016-08-26 Thread Daniel Hermans
sorry about that - didn't realise there was a separate list - should i close this request? - if i define ldap_idmap_default_domain_sid, clear /var/lib/sss/db/* and restart sssd no longer reports this: (Fri Aug 26 13:34:10 2016) [sssd[be[dev]]] [sdap_save_user] (0x0400): SID S-1-5-21-397089592

[SSSD] Re: 'no primary group ID provided' when using AD in ldap mode

2016-08-25 Thread Jakub Hrozek
On Fri, Aug 26, 2016 at 04:49:27AM -, daniel.herm...@nab.com.au wrote: > Hi, > i'd like to use sssd in ldap mode: > id_provider = ldap > auth_provider = ldap The users list is probably better then -devel for questions: https://lists.fedorahosted.org/archives/list/sssd-us...@lists.fedoraho