Hi, I have a problem and I was wondering if anyone out there can help, or cast light on the subject. We are currently using Samba on our Alpha Servers to provide home directories and applications drives to out NT users. I am in the process of writing a password synchronisation program which keeps NT, SMB and YP in synch. This is going to plan but is an absolute nightmare (funnily enough) However, I recently heard (although I cannot place the source) that Samba could authenticate against a YP Server. If this is true, then I am assuming that this will eliminate the need for a smbpasswd file, and I would then only have to keep YP and NT in synchronisation. Still a task, but one less thing to do, and more importantly one less thing to get out of synch. So, does anyone know if this is true, and if so how to achieve this? I have checked all the documentation I have but to no avail. I would appreciate any help anyone could give me in the matter. Finally, (as if I haven't talked enough) the same source talked about an automounter for samba, so no smb.conf file either! Does anyone know of this either? Best Regards, Anthony Farrow a.n.farrow@cranfield.ac.uk ------------------------------------------------------- Anthony Farrow BSc.(Hon.) Systems Programmer Cranfield University, England Tel : (01234) 754200 ext. 2833 Email : a.n.farrow@cranfield.ac.uk -------------------------------------------------------
On Wed, 24 Sep 1997, A.Farrow wrote:> However, I recently heard (although I cannot place the source) that Samba > could authenticate against a YP Server. If this is true, then I am assuming > that this will eliminate the need for a smbpasswd file, and I would thenGetting samba to authenticate against a YP server should be easy to implement if it doesn't happen already.> only have to keep YP and > NT in synchronisation. Still a task, but one less thing to do, and more > importantly > one less thing to get out of synch.There is a (in development) package called nisGINA to get NT to authenticate against a YP server. This should do the trick. If you like Linux (it runs on ALPHAs :-)), and follow PAM (http://www.redhat.com/pam), then there may be a way to authenticate all *nix services (including samba) against an NT server. Both approaches would give you a one password database system. Charlie Brady - Telstra |internet: cbrady@ind.tansu.com.au Network Products |Snail : Locked Bag 6581, GPO Sydney 2001 Australia Platform Technologies |Physical : Lvl 2, 175 Liverpool St, Sydney 2000 IN-Sub Unit - Sydney | Phone: +61 2 9206 3470 Fax: +61 2 9281 1301
On Wed, 24 Sep 1997 samba@samba.anu.edu.au wrote:> Date: Wed, 24 Sep 1997 11:58:15 +1000 (EST) > From: Charlie Brady <cbrady@ind.tansu.com.au> > To: "A.Farrow" <A.N.Farrow@cranfield.ac.uk> > Subject: Re: HELP : Getting Samba to authenticate against YP (NIS) > Message-ID: <Pine.GSO.3.96.970924115153.3814L-100000@hawk.ind.tansu.com.au> > > > On Wed, 24 Sep 1997, A.Farrow wrote: > > > However, I recently heard (although I cannot place the source) that Samba > > could authenticate against a YP Server. If this is true, then I am assuming > > that this will eliminate the need for a smbpasswd file, and I would then > > Getting samba to authenticate against a YP server should be easy to > implement if it doesn't happen already.this is true only if you're using 'encrypt passwords = no', correct?> > only have to keep YP and > > NT in synchronisation. Still a task, but one less thing to do, and more > > importantly > > one less thing to get out of synch. > > There is a (in development) package called nisGINA to get NT to > authenticate against a YP server. This should do the trick.i asked about nisgina recently but didn't get any response. i'm happily using nisgina-1.0.2.0 on my nt 4.0 workstation. what isn't working for me is the sambapasswdd program which allows nisgina to update the smbpasswd entry based on the nis password. is anyone else successfully using sambapasswdd on their samba/nis server? -- Todd Pfaff \ Email: pfaff@mcmaster.ca Computing and Information Services \ Voice: (905) 525-9140 x22920 ABB 132 \ FAX: (905) 528-3773 McMaster University \ Hamilton, Ontario, Canada L8S 4M1 \
Gerald W. Carter
1997-Sep-25 12:46 UTC
HELP : Getting Samba to authenticate against YP (NIS)
> > On Wed, 24 Sep 1997, A.Farrow wrote: > > > > > However, I recently heard (although I cannot place the source) that Samba > > > could authenticate against a YP Server. If this is true, then I am assuming > > > that this will eliminate the need for a smbpasswd file, and I would then > > > > Getting samba to authenticate against a YP server should be easy to > > implement if it doesn't happen already.Does currently happen.> > this is true only if you're using 'encrypt passwords = no', correct?Correct> > > only have to keep YP and > > > NT in synchronisation. Still a task, but one less thing to do, and more > > > importantly > > > one less thing to get out of synch. > >That's a mouthful. :) Isn't that still the initial problem?!?!!> i asked about nisgina recently but didn't get any response. i'm happily > using nisgina-1.0.2.0 on my nt 4.0 workstation. what isn't working for me > is the sambapasswdd program which allows nisgina to update the smbpasswd > entry based on the nis password. is anyone else successfully using > sambapasswdd on their samba/nis server? >I remember your question. Was posted to the nisgina list as well I believe. Am really tied up right now but am interested in looking into it more. If you can wait until next week, I will dig into it. j- ________________________________________________________________________ Gerald ( Jerry ) Carter Engineering Network Services Auburn University jerry@eng.auburn.edu http://www.eng.auburn.edu/users/cartegw "...a hundred billion castaways looking for a home." - Sting "Message in a Bottle" ( 1979 ) ________________________________________________________________________