[SSSD-users] Re: sss_override user-export is empty

2018-07-04 Thread Spike White
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_wh...@amer.dell.com::4311:
[root@spikerealmd02 sssd]# systemctl restart sssd
[root@spikerealmd02 sssd]# sss_override  user-show spike_white
spike_wh...@amer.dell.com::4311:
[root@spikerealmd02 sssd]# sss_override  user-export foo
[root@spikerealmd02 sssd]# cat foo
spike_wh...@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  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-le...@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/
>
___
sssd-users mailing list -- sssd-users@lists.fedorahosted.org
To unsubscribe send an email to sssd-users-le...@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/O24TLOUHCYB2H2BZG2GVAVBTXD2PF7AU/


[SSSD-users] Re: sss_override user-export is empty

2018-07-03 Thread John Hearns
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,  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-le...@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/
>
>
___
sssd-users mailing list -- sssd-users@lists.fedorahosted.org
To unsubscribe send an email to sssd-users-le...@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/KKYT7GT2FIK43MQOG4NXYNWTYJOSQZV6/


[SSSD-users] Re: sss_override user-export is empty

2018-06-26 Thread vadud3
On Tue, Jun 26, 2018 at 4:15 AM Pavel Březina  wrote:

> On 06/24/2018 05:04 AM, vad...@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



-- 
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-le...@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/GIEJGWT5SF43M6L2BERLCKD4HSRK7X4U/


[SSSD-users] Re: sss_override user-export is empty

2018-06-26 Thread Pavel Březina

On 06/24/2018 05:04 AM, vad...@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
___
sssd-users mailing list -- sssd-users@lists.fedorahosted.org
To unsubscribe send an email to sssd-users-le...@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/IBUJ2G2VLZIX5GYTEEZO3I3HDJEX4F76/


[SSSD-users] Re: sss_override user-export is empty

2018-06-25 Thread JOHE (John Hearns)
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: vad...@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/

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-le...@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/ZVMZKXFBMIXFQO2VXL37TAJLRV6LGA6I/