[Samba] RE: pam_unix.so likeauth? (Was: Help with Winbind)

Khanh Tran khanh at slc.edu
Thu Feb 20 14:59:51 GMT 2003


It makes it work!  I was reading through the other messages on the list with
similar subjects, and found this one:

-----Original Message-----
From: Matthias Rutzki [mailto:mrutzki at gmx.de]
Sent: Thursday, February 20, 2003 4:51 AM
To: david.boynton2 at asu.edu; bgmilne at cae.co.za; cdevidal at yahoo.com
Cc: samba at lists.samba.org
Subject: [Samba] domain users in local groups with Winbind/Samba/Redhat

It was a long message, so I won't quote it again, but if you read back,
you'll find this message.  I just decided I'd try his pam setup and it
worked after I added the likeauth option.  I tend to just do whatever it
takes to make it work first and then go back and figure out what
consequences I'll run into afterwards...

Khanh Tran
Network Operations
Sarah Lawrence College


-----Original Message-----
From: Chris de Vidal [mailto:cdevidal at yahoo.com]
Sent: Thursday, February 20, 2003 9:55 AM
To: Khanh Tran; 'Aaron Bennett'
Cc: samba at lists.samba.org
Subject: pam_unix.so likeauth? (Was: Help with Winbind)


--- Khanh Tran <khanh at slc.edu> wrote:
> auth       sufficient   /lib/security/pam_unix.so
> likeauth use_first_pass nullok
<snip>
> The only difference from what I had been using was
> the addition of the
> likeauth and nullok options on the pam_unix.so
> library.

Could you help my ignorance?  What does likeauth do
for you?  I'm only using use_first_pass, and I don't
want nullok.

In /usr/share/doc/pam-0.75/txts/pam.txt:
"The likeauth argument makes the module return the
same value when called as a credential setting module
and an authentication module.  This will help libpam
take a sane path through the auth component of your
configuration file."

That wasn't very helpful.

I Googled this option but didn't find anything useful.
 I didn't see an explanation of why you're using it in
this thread, either, unless I just missed it.

So could you explain, in human terms, how this helps
your setup?  (:

Thanks for the education,
/dev/idal

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/



More information about the samba mailing list