memberUid : john
The user
john should be known to the system:
ubuntu@ldap−c l i e n t : ~ $ g e t e n t passwd john
john : * : 1 0 0 0 1 : 1 0 0 0 1 : John Smith : / home/ john : / b i n / bash
ubuntu@ldap−c l i e n t : ~ $ i d john
u i d =10001( john ) g i d =10001( john ) g ro u ps =10001( john ) , 1 0 1 0 0 ( E n g i n e e r i n g )
And we should be able to authenticate as
john:
ubuntu@ldap−c l i e n t : ~ $ sudo l o g i n
ldap−c l i e n t l o g i n : john
Password :
Welcome t o Ubuntu F o c a l Fossa ( development branch ) (GNU/ Linux 5.4.0 −24 − g e n e r i c
x86_64 )
( . . . )
C r e a t i n g d i r e c t o r y ’ / home/ john ’ .
john@ldap−c l i e n t : ~ $
SSSD, LDAP and Kerberos
Finally, we can mix it all together in a setup that is very similar to Active Directory in terms of the
technologies used: use LDAP for users and groups, and Kerberos for authentication.
Do'stlaringiz bilan baham: