vadud,

I'm guessing a bug.  I tried similar, but with a different AD user.  Looks fine, before and after systemctl restart.

[root@spikerealmd02 sssd]# id spike_white
uid=25431(spike_white) gid=25431(spike_white) groups=25431(spike_white),1010(amerunixusers)
[root@spikerealmd02 sssd]# sss_override user-add spike_white -u 4311
SSSD needs to be restarted for the changes to take effect.
[root@spikerealmd02 sssd]# sss_override  user-show spike_white
Spike_White@amer.dell.com::4311:::::
[root@spikerealmd02 sssd]# systemctl restart sssd
[root@spikerealmd02 sssd]# sss_override  user-show spike_white
Spike_White@amer.dell.com::4311:::::
[root@spikerealmd02 sssd]# sss_override  user-export foo
[root@spikerealmd02 sssd]# cat foo
Spike_White@amer.dell.com::4311:::::
[root@spikerealmd02 sssd]# sssd --version
1.16.0
[root@spikerealmd02 sssd]#

So -- good on version 1.16.0.

I'm curious where these sssd overrides reside.  I know for 'user' and 'group' access additions, they ultimately end up in /etc/sssd/sssd.conf file.  Not so for sss overrides.

Spike

On Sat, Jun 23, 2018 at 10:04 PM <vadud3@gmail.com> wrote:
I made a change in UID for a user with sss_override but user-export to a file does not export anything. I am using sssd version 1.15.2. Is this a bug or may be I am doing something wrong? I followed the steps from this https://jhrozek.wordpress.com/2016/02/15/sssd-local-overrides/

I ran these as root
# sssd --version
1.15.2
# sss_override user-add mwvande -u 4311
# systemctl restart sssd
# sss_override user-export foo
# cat foo 
(no output)

I also tried it without the restart

# sss_override user-add mwvande -u 4311
# sss_override user-export foo
# cat foo 
(no output)


--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

_______________________________________________
sssd-users mailing list -- sssd-users@lists.fedorahosted.org
To unsubscribe send an email to sssd-users-leave@lists.fedorahosted.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/sssd-users@lists.fedorahosted.org/message/OP6PWABJVAKWJ7PI3ALK7FNXJNC6VLMT/