[Samba] samba with pam: ad accounts ok, local ones not

Ryan Bair ryandbair at gmail.com
Thu Jun 26 10:46:00 GMT 2008


Did you create NT passwords for the local users with smbpasswd -a?

Also, why is your security setting on share? That seems a bit odd for
AD integration.

--Ryan

On Thu, Jun 26, 2008 at 6:06 AM, alex.blackbit
<alexander.huemer at sonydadc.com> wrote:
>
> hi,
>
> my smb.conf looks like this:
>
>        ...
>        security = share
>
>        update encrypted = yes
>        encrypt passwords = no
>        ...
>
> /etc/pam.d/samba:
>
>        #%PAM-1.0
>        auth       required     pam_nologin.so
>        auth       required     pam_stack.so service=system-auth
>        account    required     pam_stack.so service=system-auth
>        session    required     pam_stack.so service=system-auth
>        password   required     pam_stack.so service=system-auth
>
>
> pam is configured so that local and active directory accounts can login
> (e.g. with ssh).
> samba works correctly with ad accounts, but does not with local accounts.
> what could be the problem?
>
> thanks for the help.
> --
> View this message in context: http://www.nabble.com/samba-with-pam%3A-ad-accounts-ok%2C-local-ones-not-tp18130507p18130507.html
> Sent from the Samba - General mailing list archive at Nabble.com.
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>


More information about the samba mailing list