I cannot login to SWAT
I have recently wiped my old SAMBA and re-installed the new one (3.0.2a)
My problem is that after I setup SWAT, I cannot login to it. It gives me a 401 (not authenticated error) What is causeing this? My system: Pentium 166 w/MMX Slackware 8.0 - updated heavily - uses 2.2.19 kernel (Got issues with 2.4.x and haven't tried 2.6.x) No root password (Could this cause SWAT to fail?) |
I forgot...
my shares work, I can login from the network and stuff... everything but SWAT allows me to login. and PAM isn't compile into SAMBA (./configure --with-automount --with-smbmount --with-nisplus-home) |
Ack! Its Worse!
/etc/inetd.conf swat stream tcp nowait.400 root /usr/local/samba/sbin/swat swat -a /etc/services swat 901/tcp --------------------------- I just added the -a and it still won't let me log into SWAT!!! (I even rebotted when I changed it) --- Correction... I seemed to have not saved after I put the -a in the first time... =( - It now doesn't ask for ID... Not what I am wanting... =( do I have something messed up? and where is the mistake? Micah |
I got an answer!!! Took about 6 hours to get to it though...
<quote> If you are using Linux to run SWAT, you must also add the following information to be able to use SWAT in authentication mode. Because SWAT is using the PAM (Pluggable Authentication Module) system, you need to configure the PAM sub-system to be used by SWAT. So you will create a file called samba in the /etc/pam.d directory. This file will contain the following two lines : auth required /lib/security/pam_pwdb.so nullok shadow account required /lib/security/pam_pwdb.so </quote> src=http://samba.linuxbe.org/en/samba/learn/swat.html For anyone else having this problem, it looks as though Linux using SWAT requires PAM installed. Micah |
All times are GMT -5. The time now is 03:02 AM. |