Swat. Admin username and password required
cave.dnb2m97pp at aliceadsl.fr
Tue Mar 23 16:04:38 UTC 2010
On Tuesday 23 March 2010 09:40, Alvin wrote:
> On Saturday 20 March 2010 20:17:46 Nigel Henry wrote:
> > I'm having an awfull job getting samba server on Debian Lenny accessable
> > from Kubuntu Intrepid, having set up the samba server using swat on
> > Lenny. I thought of trying the samba server on Intrepid, and accessing it
> > from Lenny. , but swat "http://localhost:901/" wants an admin username
> > and password, and there is no way to do that with Kubuntu, as far as I
> > know.
> > My username and password only give limited access to parts of swat, with
> > no way to configure /etc/samba/samba.conf, which requires root access.
> > Anyone know a workaround to this problem.
> Those are different problems. I read:
> - You want to run a samba server on Debian Lenny, but it does not work.
> - You then want to run samba + swat on Intrepid, but it asks for thr not-
> existing root password.
> First, the problem you have on Lenny could stop it working the other way
> around. I'd search first for a solution there.
Ok, I've fixed the samba server on Lenny after a bit of google, and finding
out how to add the user and password to /etc/samba/smbpasswd.
Thats odd. Just looked in /etc/samba on Kubuntu Intrepid, and there is no
smbpasswd file. I suppose I just create it.
> The second problem is a bug in the Ubuntu packaging of SWAT:
> There are workarounds in the bug report.
Right. Thanks for the link to the bug report. comment 8 worked by doing the
following, and now I can get swat up using the normal user name, and
sudo chgrp adm /etc/samba/smb.conf
sudo chmod g+w /etc/samba/smb.conf
> Is there a specific reason you're using MS Windows networking between Linux
> hosts instead of NFS?
Well my son has an MS vpn server using pptp. I can access it ok using an old
XP install, but have problems with accessing the data on it from my linux
os's. This is why I'm messing about with samba on the linux boxes, to make
sure that I can retrieve data from a samba server.
I can connect to the vpn server ok from Intrepid, and Archlinux, although the
Wireshark output is a lot different on Linux to what it is on XP. The MS vpn
server uses MPPC compression, and I found an MPPC patched kernel, and pppd
for Archlinux, but not for Intrepid. there were a couple of earlier ones, a
2.6.15 for Dapper, and a 2.6.17.
I think I also need to create a route to the addresses that are asigned by the
vpn server once connected. Not sure how to do that.
Anyway thanks for your reply, it's appreciated.
More information about the kubuntu-users