Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Enable the SWAT Samba config tool in 10.4' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Enable the SWAT Samba config tool in 10.4
Authored by: growler on Dec 26, '06 12:24:40AM
I figured out a way to get SWAT to authenticate properly. As noted above, the logs indicate it is a pam authentication problem. I do NOT know anything about how pam works, so if this solution doesn't work for you... well, I can't help you.

Basically, I completely followed gxw's hint above, however I decided to leave the smb server switch set to "-d 10" per the default. (I did not use the "-a" option, which nullifies the need to authenticate at all....) Much googling suggested that pam was looking for a samba authentication file, so using the terminal I cd'd to "/etc/pam.d" and sure enough, there was no file named "samba"... so I simply entered this command:

sudo cp ./passwd ./samba

I rebooted, and when the machine came up, I was able to use Safari to navigate to http://localhost:901/ and successfully logon to the SWAT configuration tool.

Hope this helps some folks!

PS: I am running OS X 10.4.8 on a PPC Mac Mini, with the latest patches and updates applied. The version of SWAT installed is 3.0.10. Also, I didn't have to mess around with NetInfo Manager: the root account had already been activated on my machine.

[ Reply to This | # ]

Enable the SWAT Samba config tool in 10.4
Authored by: Scooper on Jun 01, '07 10:35:49PM

This worked, I have no idea why I needed to do it but now I can get into swat. Thanks very much.



[ Reply to This | # ]