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 please try using the -n option also
sss_override user-add mwvande -n mwvande -u 4311
Also you perhaps need the group option -g 4311 (I assume here the users group is 4311)
On 24 June 2018 at 05:04, 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/
Have you used the -n option ?
sss_overriide user-add mwvande -n mwvande -u 4311 -g4311
I also added a group option there, you might need it.
________________________________ From: vadud3@gmail.com vadud3@gmail.com Sent: 24 June 2018 05:04:21 To: End-user discussions about the System Security Services Daemon Subject: [SSSD-users] sss_override user-export is empty
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/https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fjhrozek.wordpress.com%2F2016%2F02%2F15%2Fsssd-local-overrides%2F&data=01%7C01%7Cjohe%40novozymes.com%7Cdc64b06ec710449bbaf808d5d97f40ec%7C43d5f49ee03a4d22a2285684196bb001%7C0&sdata=8ppSj4Bc47UGcuy9HTO3pu3zGpo018EVL2PCKY8KNBU%3D&reserved=0
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.eduhttps://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpgp.mit.edu&data=01%7C01%7Cjohe%40novozymes.com%7Cdc64b06ec710449bbaf808d5d97f40ec%7C43d5f49ee03a4d22a2285684196bb001%7C0&sdata=n1GxzVwsOalErpeNkaESL3pYdTfTNnvDWWBrBjdO%2Fe8%3D&reserved=0 A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing?
On 06/24/2018 05:04 AM, 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
Hi Asif, does 'getent passwd mwvande' yield overridden uid? Does the following command yield anything?
# sss_override user-find
On Tue, Jun 26, 2018 at 4:15 AM Pavel Březina pbrezina@redhat.com wrote:
On 06/24/2018 05:04 AM, 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
Hi Asif, does 'getent passwd mwvande' yield overridden uid? Does the following command yield anything?
$ getent passwd mwvande mwvande:*:4311:4311:mwvande:/home/mwvande:/bin/bash
# sss_override user-find
comes out empty
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....
sssd-users@lists.fedorahosted.org