Hi, I just installed Samba 3.0.24 on AIX. I was able to installed it and configure it to share a directory with NT users. However, I can't login to SWAT as root. I am getting 401 bad authorization error. Can anybody help? Thanks, Yun Lee
---- Original message ---->Date: Fri, 16 Mar 2007 10:30:02 -0400 >From: "Lee, Yun" <yun.lee@gianteagle.com> >Subject: [Samba] Samba 3.0.24 on AIX >To: <samba@lists.samba.org> > >Hi, > >I just installed Samba 3.0.24 on AIX. I was able to installed it and >configure it to share a directory with NT users. However, I can't login >to SWAT as root. I am getting 401 bad authorization error. Can anybodyYeah, that's my bad. Please go to ftp://ftp.hvcc.edu/pub/pware/aix52 And download 3.0.24 from there. I put the PAM version on the Samba site by mistake. I'll get a new one to Jerry today to move to the download site. Apologies for the screw up... Cheers, Bill>help? > >Thanks, > >Yun Lee > >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/listinfo/samba
---- Original message ---->Date: Tue, 27 Mar 2007 12:31:16 -0500 >From: "Hillel Seltzer" <hseltzer@larich.com> >Subject: Re: [Samba] Samba 3.0.24 on AIX >To: samba@lists.samba.org > >That was it? Cool, it works now! Thanks for fixing it. >See previous posts on Swat not working with root on AIX. > >There is still one issue with the pware samba distribution. >To use the samba programs and utilities, the library files >sitting in /opt/pware/lib are required to be in the LIBPATH >ahead of any directories that might have libraries with the >same names. However, setting the LIBPATH environment >variable as such messes with just about everything else >outside of samba (or, more accurately, outside of pware >provided packages). >If you check the README, there should be a section that says you should "unset LIBPATH" prior to running the software and this will force the software to use the libraries and paths embedded in the executable.>For running smbd, nmbd, winbindd, and swat, I wrote a >short script in /opt/pware/sbin that just sets PATH and >LIBPATH evironment variables and then runs the corresponding >program with all the desired arguments. I then set this >script as the startup for nmbd and smbd in the AIX system >resource controller and for swat in inetd.conf. This gets >around the environment problem of having to start or restart >the daemon processes or swat. However, any user on an AIX >terminal window who sets the environment to use the samba >command line utilities cannot do anything else in that terminal window. >Agreed. Your script should simply "unset LIBPATH" and launch the software with fully qualified paths. Then you should not need to alter /etc/profile, /etc/environment or any other file. :-) Cheers, Bill>---Hillel > >On Tue, 27 Mar 2007 10:07:26 -0400 (EDT), William Jojo wrote >> >> Yeah, that's my bad. Please go to >> >> ftp://ftp.hvcc.edu/pub/pware/aix52 >> >> And download 3.0.24 from there. I put the PAM version on the Samba >> site by mistake. I'll get a new one to Jerry today to move to the >> download site. >> >> Apologies for the screw up... >> >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/listinfo/samba
OK. I tried it with "unset LIBPATH" and it works. However, AFAICT it is not mentioned anywhere in the README on the samba.org AIX binary web page or in any README file that came with the pware samba packages. Thanks. ---Hillel On Tue, 27 Mar 2007 15:09:55 -0400 (EDT), William Jojo wrote> > If you check the README, there should be a section that says you > should "unset LIBPATH" prior to running the software and this will > force the software to use the libraries and paths embedded in the executable. >
---- Original message ---->Date: Tue, 27 Mar 2007 16:26:55 -0500 >From: "Hillel Seltzer" <hseltzer@larich.com> >Subject: Re: [Samba] Samba 3.0.24 on AIX >To: samba@lists.samba.org >Cc: William Jojo <jojowil@hvcc.edu> > >OK. I tried it with "unset LIBPATH" and it works. However, AFAICT it >is not mentioned anywhere in the README on the samba.org AIX binary >web page or in any README file that came with the pware samba packages. >Hey! You're right! I'll fix that for the next release. Thanks a lot! Cheers, Bill>Thanks. >---Hillel > >On Tue, 27 Mar 2007 15:09:55 -0400 (EDT), William Jojo wrote >> >> If you check the README, there should be a section that says you >> should "unset LIBPATH" prior to running the software and this will >> force the software to use the libraries and paths embedded in the executable. >>