[Samba] SSH SSO without keytab file

L.P.H. van Belle belle at bazuin.nl
Fri Jan 18 10:52:11 UTC 2019


Again, 

Test with a user NOT named : Administrator
 

> -----Oorspronkelijk bericht-----
> Van: Harpoon [mailto:harp00n at protonmail.com] 
> Verzonden: vrijdag 18 januari 2019 11:47
> Aan: L.P.H. van Belle
> CC: samba at lists.samba.org
> Onderwerp: Re: [Samba] SSH SSO without keytab file
> 
> > ...
> > Use : getent passwd username
> > Check if wbinfo -u works also.
> 
> With and without 'backend : ad', 'wbinfo -u' works fine. 
> However, with 'backend : ad', `getent passwd administrator` 
> doesn't show AD user; hence I'm unable to su or ssh.
> 
> > As tip, if you try these.
> >
> > id username
> > getent passwd username
> > wbinfo -u | grep username
> Tried all these.
> 
> Thanks!
> 
> 
> > If all work and show your usename, then you should be able 
> to login (sso) on ssh.
> >
> > If your users are only on this server and you dont need to 
> share homedirs.
> > Then you need mk_homedir in pam also.
> > To enable, its simple on ubuntu/debian
> >
> > pam-auth-update --package mkhomedir
> > pam-auth-update
> > And enable mkhomedir ( you can use pam-auth-update --force also )
> Got it!
> 
> Regards,
> Harp
> >
> >
> > 
> --------------------------------------------------------------
> --------------------------------------------------------------
> --------------------------------------------------------------
> --------------------------------------------------------------
> --------------------------------------------------------------
> --------------------------------------------------------------
> --------------------------------------------------------------
> --------------------------------------------------------------
> --------------------------------------------------------------
> --------------------------------------------------------------
> --------------------------------------------------------------
> -------------------------
> >
> > To unsubscribe from this list go to the following URL and read the
> > instructions: https://lists.samba.org/mailman/options/samba
> 
> 
> 




More information about the samba mailing list