I just went through upgrading from 2.0.7 on Redhat 7.0 using the binary RPM provided by samba.org and noticed a problem with the swat install. It seems that the swat binary in the RPM is built to look for it's supporting files in /usr/share/samba/swat whereas the RPM installs said files in /usr/share/swat. This results in the following error message when you try to access swat: 400 Server Error chdir failed - the server is not configured correctly The most expedient work around is to create the directory /usr/share/samba and move /usr/share/swat there. Steve Sedlmeyer Crosswalk.com, Inc.
Thanks Steven! I'll test that this weekend... Charles> -----Original Message----- > From: samba-admin@lists.samba.org > [mailto:samba-admin@lists.samba.org]On > Behalf Of Steven Sedlmeyer > Sent: Thursday, April 19, 2001 5:07 PM > To: 'samba@lists.samba.org' > Subject: Install problems with RedHat 7.0 RPM for 2.2.0 > > > I just went through upgrading from 2.0.7 on Redhat 7.0 using > the binary RPM > provided by samba.org and noticed a problem with the swat install. > > It seems that the swat binary in the RPM is built to look for it's > supporting files in /usr/share/samba/swat whereas the RPM > installs said > files in /usr/share/swat. This results in the following > error message when > you try to access swat: > > 400 Server Error > chdir failed - the server is not configured correctly > > The most expedient work around is to create the directory > /usr/share/samba > and move /usr/share/swat there. > > > Steve Sedlmeyer > Crosswalk.com, Inc. > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
Ahha... yup, that fixed it. Thanks! Andy At 04:07 PM 4/19/01, Steven Sedlmeyer wrote:>400 Server Error >chdir failed - the server is not configured correctly > >The most expedient work around is to create the directory /usr/share/samba >and move /usr/share/swat there.
--On Friday, April 20, 2001 10:06 AM -0500 Andrew Rittner <arittner@gris.grad.uconn.edu> wrote:> Ahha... yup, that fixed it. Thanks! > > Andy > > At 04:07 PM 4/19/01, Steven Sedlmeyer wrote: >> 400 Server Error >> chdir failed - the server is not configured correctly >> >> The most expedient work around is to create the directory >> /usr/share/samba and move /usr/share/swat there.Well, we did that, and now I get the login prompt when I try to enter SWAT, but it fails with "authorization failed. retry?" dialog in Netscape, then "401 Bad Authorization username or password incorrect" on the screen. We are testing Samba, and have not gone (thankfully) into production yet! RH6.2 Samba 2.20 RPM off of the Samba site. I am now also unable to log into my Domain or manually map drives (which was working fine before the upgrade) and I am seeing these lines in the log.smbd: [2001/04/20 09:48:04, 0] passdb/pampass.c:pam_accountcheck(381) PAM: Account Validation Failed - Rejecting User! [2001/04/20 09:48:04, 0] passdb/pampass.c:pam_accountcheck(381) PAM: Account Validation Failed - Rejecting User! [2001/04/20 09:48:04, 0] passdb/pampass.c:pam_accountcheck(381) PAM: Account Validation Failed - Rejecting User! But we are NOT using PAM. It is installed - pam-0.72-20.6.x according to rpm -q, but we are not using it for Samba Could SWAT not working be tied into this other problem? TIA - john