[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A pam question ?



From: "guy keren" <choo@actcom.co.il>
>
> On Sun, 24 Dec 2000, Oded Arbel wrote:
>
> > Thanks :-)
>
> ma "toda"? da've'ach!
>
> and seriously, once you get this thing working for a while, let us know
> how it works. i never actually tried this (authenticating unix users
> against an NT PDC? blah.. i don't even have a PDC).

Got it up and running in under 5 minutes (including compile, but not
download time ;-)
- downloaded the source RPM for pam_smb from rpmfind
- built it in a few seconds
- installed the RPM
- changed the conf file acording to instructions
- changed /etc/pam.d/login not acording to instructions :
    changed just the second auth lines - the rest remained unchanged
- created a new user with a user name that exists in a the PDC (didn't set
up a password)
- logged in using that user

notes :
setting the nolocal option causes 2 things -
1. any user that doesnt exist in the local password file still can't log on,
because getpwnam() fails
2. the root can't login (unless there exist a user "root" in the PDC) ;-)

aside from that - works great.

Oded

..
"Never pick a fight with a person from a higher gravity planet that that
which you come from."
 -- Ray's addendum to Murphy's Law


> > > On Thu, 21 Dec 2000, Oded Arbel wrote:
> > >
> > > > can I , and if so - then how, make users login to a linux system
agains
> > > > their samba passwords through an NT PDC ?
> > > > I'm guessing this would require some sort of PAM module. do you
happen
> > to
> > > > know if someone has already written something like this,and if not -
do
> > you
> > > > think it's possible ?
> > >
> > > possible and was already done (omeone has beat our haifux to it). go
to
> > > Haifux's web site (linuxclub.il.eu.org), look at the
'previouslectures'
> > > section, look for the PAM modules programming lecture, and see the
'other
> > > info'. it has links to 1 or 2 web sites with such PAM modules.
> > >
> > > hope this helps,



=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il