[Samba] Re: swat password

John H Terpstra jht at samba.org
Thu May 22 15:20:47 GMT 2008


On Thursday 22 May 2008 10:04:11 am Santiago Andres Triana wrote:
> Tried again removing the only_from 10.1.1.1 line to no avail. I can't also
> find the pid of any SWAT daemon to attach strace to.
>
> var/log/messages shows SWAT started with a pid when i try to login from a
> web browser but then strace says there is no such process! what is going
> on?

Does the executable file /usr/sbin/swat exist?

- John T.

>
> On Thu, May 22, 2008 at 9:47 AM, Linux Addict <linuxaddict7 at gmail.com>
>
> wrote:
> > On Thu, May 22, 2008 at 9:36 AM, Santiago Andres Triana
> >
> > <triana at physics.umd.edu> wrote:
> > > Here's my /etc/xinet.d/swat
> > >
> > > service swat
> > > {
> > >         port            = 901
> > >         socket_type     = stream
> > >         protocol        = tcp
> > >         wait            = no
> > >         only_from       = 10.1.1.1
> > >         user            = root
> > >         server          = /usr/sbin/swat
> > >         log_on_failure  += USERID
> > >         disable         = no
> > > }
> > >
> > >
> > >
> > >
> > > On Wed, May 21, 2008 at 11:05 PM, Linux Addict <linuxaddict7 at gmail.com>
> > >
> > > wrote:
> > >> On Wed, May 21, 2008 at 3:15 PM, Santiago Andres Triana
> > >>
> > >> <triana at physics.umd.edu> wrote:
> > >> > Thanks for your reply Vickie,
> > >> >
> > >> > I actually have the OS root password and samba root password
> >
> > identical.
> >
> > >> > I
> > >> > did it issuing the command smbpasswd -a root and setting the
> > >> > password
> >
> > as
> >
> > >> > the
> > >> > same for the OS but swat still won't let me in...
> > >> >
> > >> > Santiago
> > >> > --
> > >> > To unsubscribe from this list go to the following URL and read the
> > >> > instructions:  https://lists.samba.org/mailman/listinfo/samba
> > >>
> > >> can you post your /etc/xinetd.d/swat ?
> >
> > Can u remove the    only_from       = 10.1.1.1 line and do
> > /etc/init.d/xinetd restart and give it a shot again?



-- 
John H Terpstra
Samba-Team Member
Phone: +1 (512) 970-0256

Author:
The Official Samba-3 HOWTO & Reference Guide, 2 Ed., ISBN: 0131882228
Samba-3 by Example, 2 Ed., ISBN: 0131882221X
Hardening Linux, ISBN: 0072254971
Other books in production.


More information about the samba mailing list