[SSSD-users] override_homedir , GUIDs problem

Jakub Hrozek jhrozek at redhat.com
Wed Feb 27 11:36:32 UTC 2013


On Wed, Feb 27, 2013 at 10:11:03AM +0000, Longina Przybyszewska wrote:
> Hi,
> This is SSSD-VERSION 1.9.4 , Ubuntu Quantal 12.10
> If homedir doesn't exist, user cannot login - homedir is not created locally  on fly. Is it expected behavior?
> 
> 
> [nss]
> ...
> fallback_homedir = /home/%u 
> override_homedir = /home/%u
> ...
> 
> Do I suppose to  make change in pam to get it work?
> 

Yes, you should put pam_mkhomedir or pam_oddjob into the session stack.

> ------------------
> Another problem - with group IDs:
> 
> After login to the terminal, I get the long list  of warnings for all groups 1172xxxxx - it really delays login,
> as the list is long. Do I miss some config options ?
> 
> su - testuser 
> ...
> groups: cannot find name for group ID XXXXXXX
> ...
> 

That's quite suspicious. How deep is your nesting structure? Are the
groups that you only see numbers for two or more levels deep? The only
known bug that could be related is
https://fedorahosted.org/sssd/ticket/1755

can you try setting ldap_group_nesting_level to a higher number to check
if the issue is resolved?

> id -G testuser
> 332400513 332411734 332411220 332411221 332405659 332410635 332403786 332403699 332407177 332408204 332408312 332406100 332408307 332413664 332402685 332402830 332411184
> 
> id -G -n  testuser
> domain users data-nat-nat-it-groupdrive rw nat-fnc-pri-setdiscription nat-pri-setcomputerdesc imada-terminal-users nat-it-outlook-admin nat-terminal-users terminal brugere dl-nat-it-staff nat-it-ansatte nat-it-ad-hoc nat-esignatur dl-nat-it nat-ctxusers common_users nat-lectures nat-booking
> 
> id testuser
> uid=332405654(testuser) gid=332400513(domain users) groups=332400513(domain users),1172612322,1172651920,1172657894,1172606592,1172607216,
> 332411734(data-nat-nat-it-groupdrive rw),332411220(nat-fnc-pri-setdiscription),332411221(nat-pri-setcomputerdesc),332405659(i-terminal-users),
> 332410635(nat-it-outlook-a),332403786(nat-terminal-users),332403699(terminal brugere),332407177(dl-nat-it-staff),332408204(nat-it-ansatte),
> 332408312(nat-it-ad-hoc),332406100(nat-esignatur),1172648735,332413664(nat-ctxusers),332402685(common_users),332402830(nat-lectures),332411184(nat-booking),
> 332408307(dl-nat-it),1172668083,1172671850,1172626924,1172670697,1172632585,1172647528,1172673996,
> 1172630281,1172650784,1172649006,1172646018,1172626637,1172668082,1172647518,1172647527,1172647519,
> 1172671034,1172652129,1172650787,1172608193,1172646019,1172649007,1172645844,1172630472,1172648739,1172645167,
> 1172649004,1172649400,1172671853,1172650786,1172645166,1172645845,988802256,1172649005,1172659655,1172647852,1172633504,
> 1172667765,1172666809,1172645842,1172649046,1172667764,1172647523,1172626846,1172633505,1172645161,1172658369,1172645843,
> 1172616454,1172659249,1172645163,1172644173,1172670698,988803287,1172645162,1172645841,1172659248,1172666810,1172659262,1172626838,
> ........(a lot of groups)...
> 1172648736,1172679679,1172622933,1172679716,1172645975,1172671030,1172620701,1172681776,1172650191
> 
> 
> Best
> Longina
> 
> _______________________________________________
> sssd-users mailing list
> sssd-users at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/sssd-users


More information about the sssd-users mailing list