Web lists-archives.com

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



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba