Hello, I'm installing 2.2.7a, or attempting to at any rate. I've compiled it from source using the following instructions: http://us2.samba.org/samba/docs/Samba-HOWTO-Collection.html Anyways, I've got it set up so that it works. Now I'm trying to get to a point where I can interface it like I have with a different Linux box that is working without any problems. When I did the other box, I did a binary distribution, so the file had apparently already existed. In following the instructions in the above link, this command doesn't seem to do anything: root# make nsswitch/pam_winbind.so Here's a quick quote from the manual: "You will need a PAM module to use winbindd with these other services. This module will be compiled in the ../source/nsswitch directory by invoking the command root# make nsswitch/pam_winbind.so from the ../source directory. The pam_winbind.so file should be copied to the location of your other pam security modules. On Linux and Solaris systems, this is the /lib/security directory." As far as I can tell, I'm doing something wrong, but maybe not. Can anyone offer some advise? Oh, btw, this is a RedHat 7.3 box that I'm trying to get all this configured on. Same with the other successful one that I have running. Thanks! Scott
> -----Original Message----- > From: Scott Wrosch [mailto:swrosch@MarketingAssociates.com]> When I did the other box, I did a binary distribution, so the file had > apparently already existed. In following the instructions in > the above > link, this command doesn't seem to do anything: > > root# make nsswitch/pam_winbind.soScott, look in the nsswitch subdirectory of your samba source directory and see if pam_winbind.so is there. If it is, you just have to copy it to /lib/secure/ with the other pam libraries. You'll also need to copy libnss_winbind.so to your /lib directory and make a softlink to libnss_winbind.so.2. None of these steps are done for you by 'make install'. If this doesn't help, maybe I've misunderstood your problem. I think the reason 'make nsswitch/pam_winbind.so' isn't doing anything is because the file's already been built, though. The regular 'make' routine seems to do this automatically.
pam_winbind.so doesn't seem to exist. I even did a 'find' to see if it did somewhere else, but not such luck. The libnss_winbind.so was there though. Just the pam_winbind.so isn't there.> -----Original Message----- > From: David Brodbeck [mailto:DavidB@mail.interclean.com] > Sent: Monday, February 17, 2003 12:01 PM > To: Scott Wrosch; Samba > Subject: RE: [Samba] pam_winbind.so - How do I create it? > > > > > -----Original Message----- > > From: Scott Wrosch [mailto:swrosch@MarketingAssociates.com] > > > When I did the other box, I did a binary distribution, so the filehad> > apparently already existed. In following the instructions in > > the above > > link, this command doesn't seem to do anything: > > > > root# make nsswitch/pam_winbind.so > > Scott, look in the nsswitch subdirectory of your samba sourcedirectory> and > see if pam_winbind.so is there. If it is, you just have to copy it to > /lib/secure/ with the other pam libraries. You'll also need to copy > libnss_winbind.so to your /lib directory and make a softlink to > libnss_winbind.so.2. None of these steps are done for you by 'make > install'. > > If this doesn't help, maybe I've misunderstood your problem. I thinkthe> reason 'make nsswitch/pam_winbind.so' isn't doing anything is becausethe> file's already been built, though. The regular 'make' routine seemsto do> this automatically.
> -----Original Message----- > From: Scott Wrosch [mailto:swrosch@MarketingAssociates.com]> pam_winbind.so doesn't seem to exist. I even did a 'find' to > see if it > did somewhere else, but not such luck. The libnss_winbind.so > was there > though. Just the pam_winbind.so isn't there.Hmm. Odd. I wonder if you need to use the --with-pam flag when you run ./configure to get that file to compile? I don't remember if I had to.
--- Scott Wrosch <swrosch@MarketingAssociates.com> wrote:> When I did the other box, I did a binary > distribution, so the file had > apparently already existed. In following the > instructions in the above > link, this command doesn't seem to do anything: > > root# make nsswitch/pam_winbind.so > > Here's a quick quote from the manual: > > > "You will need a PAM module to use winbindd with > these other services. > This module will be compiled in the > ../source/nsswitch directory by > invoking the command > > root# make nsswitch/pam_winbind.so > > from the ../source directory. The pam_winbind.so > file should be copied > to the location of your other pam security modules. > On Linux and Solaris > systems, this is the /lib/security directory." > > > As far as I can tell, I'm doing something wrong, but > maybe not. Can > anyone offer some advise? > > Oh, btw, this is a RedHat 7.3 box that I'm trying to > get all this > configured on. Same with the other successful one > that I have running.You'd follow these instructions if you were compiling from source. Samba 2.2.7a can be installed on RedHat 7.3 using RPMs from Samba's FTP site. Once installed, make sure you have the library: [supcd@hjx-app-01 supcd]$ ls -l /lib/security/pam_winbind.so -rwxr-xr-x 1 root root 17148 01-27 17:26 /lib/security/pam_winbind.so Good luck, /dev/idal __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com
That's what I'm trying to do though, is install from source. I know I wouldn't be having the problems if I was using the RPMs, but I figure I gotta learn somehow. So I decided to try source, and this is the only thing (so far) that I'm having troubles with. But, that's the file I'm looking for.> You'd follow these instructions if you were compiling > from source. Samba 2.2.7a can be installed on RedHat > 7.3 using RPMs from Samba's FTP site. > > Once installed, make sure you have the library: > [supcd@hjx-app-01 supcd]$ ls -l > /lib/security/pam_winbind.so > -rwxr-xr-x 1 root root 17148 01-27 17:26 > /lib/security/pam_winbind.so
--- Scott Wrosch <swrosch@MarketingAssociates.com> wrote:> > Back to your problem, someone else suggested you > go > > into your samba-X.X.X/source directory, run make > > nsswitch/pam_winbind.so, and then manually copy > > nsswitch/pam_winbind.so to /lib/security, then set > up > > a link to /lib/security/pam_winbind.so in /lib. > > > > I have no pam* files in /lib and it's working: > > [supcd@hjx-app-01 supcd]$ ls -l /lib/pam* > > ls: /lib/pam*: No such file or directory > > It can't hurt to make that link, but try first > without > > it. > > That's the problem. I can't even make it. I keep > getting errors > galore. And, from what I've been reading, the > pam_winbind.so file gets > copied to /lib/security .. So you might have it > there. I may just try > and copy it from the RPM version I have installed on > my other Linux box, > but I'm really confused as to why it isn't even > working in the first > place.I have a thought. Do you have the pam-devel package installed? rpm -q pam-devel If not, install it and try make nsswitch/pam_winbind.so again. If so, cut out the last dozen errors and post them to me and the list. Good luck, /dev/idal __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com
Hi Chris, It looks like that did the trick. Apparently the necessary package wasn't installed! Thanks for all your assistance! Who knows how long I would have been beating my head against the keyboard. Thanks! Scott Wrosch desk 248.333.7700 x227 email swrosch@marketingassociates.com> -----Original Message----- > From: Chris de Vidal [mailto:cdevidal@yahoo.com] > Sent: Monday, February 17, 2003 12:58 PM > To: Scott Wrosch > Cc: samba@lists.samba.org > Subject: Re: pam_winbind.so - How do I create it? > > --- Scott Wrosch <swrosch@MarketingAssociates.com> > wrote: > > > Back to your problem, someone else suggested you > > go > > > into your samba-X.X.X/source directory, run make > > > nsswitch/pam_winbind.so, and then manually copy > > > nsswitch/pam_winbind.so to /lib/security, then set > > up > > > a link to /lib/security/pam_winbind.so in /lib. > > > > > > I have no pam* files in /lib and it's working: > > > [supcd@hjx-app-01 supcd]$ ls -l /lib/pam* > > > ls: /lib/pam*: No such file or directory > > > It can't hurt to make that link, but try first > > without > > > it. > > > > That's the problem. I can't even make it. I keep > > getting errors > > galore. And, from what I've been reading, the > > pam_winbind.so file gets > > copied to /lib/security .. So you might have it > > there. I may just try > > and copy it from the RPM version I have installed on > > my other Linux box, > > but I'm really confused as to why it isn't even > > working in the first > > place. > > I have a thought. Do you have the pam-devel package > installed? > rpm -q pam-devel > If not, install it and try make > nsswitch/pam_winbind.so again. > > If so, cut out the last dozen errors and post them to > me and the list. > > Good luck, > /dev/idal > > __________________________________________________ > Do you Yahoo!? > Yahoo! Shopping - Send Flowers for Valentine's Day > http://shopping.yahoo.com