Re: [Samba] Re: swat password

2008-05-23 Thread Santiago Andres Triana
Swat won't allow me to reset any passwords while in demo mode...

On Thu, May 22, 2008 at 4:28 PM, Linux Addict <[EMAIL PROTECTED]>
wrote:

> On Thu, May 22, 2008 at 4:21 PM, Santiago Andres Triana
> <[EMAIL PROTECTED]> wrote:
> > Thanks Linux Addict, it did work.
> >
> > I was able to see the swat page finally. Now the question is how to tell
> it
> > to accept my root login!
> >
> > On Thu, May 22, 2008 at 2:55 PM, Linux Addict <[EMAIL PROTECTED]>
> > wrote:
> >>
> >> On Thu, May 22, 2008 at 2:12 PM, Santiago Andres Triana
> >> <[EMAIL PROTECTED]> wrote:
> >> > hosts.allow has the internal network and hosts.deny is set to
> ALL(ALL).
> >> >
> >> > This might seem silly but I just don't know how to run swat if it is
> not
> >> > from /etc/xinetd.d/swat. Just issuing /usr/sbin/swat doesn't do
> anything
> >> > even if I remove swat from /etc/xinetd.d/ and(or) /etc/services/ .  By
> >> > the
> >> > same token I don't know how to use strace to check on its behavior...
> >> > How do
> >> > you run swat in the foreground?
> >> >
> >> > On Thu, May 22, 2008 at 12:12 PM, Linux Addict <
> [EMAIL PROTECTED]>
> >> > wrote:
> >> >>
> >> >> On Thu, May 22, 2008 at 11:55 AM, Santiago Andres Triana
> >> >> <[EMAIL PROTECTED]> wrote:
> >> >> > yes,  /usr/sbin/swat exists
> >> >> >
> >> >> > and every time I try to login from a web browswer a new line
> appears
> >> >> > in
> >> >> > /var/log/authpriv indicating that SWAT started with a pid number.
> How
> >> >> > do
> >> >> > I
> >> >> > use strace to see what SWAT is doing? Issuing strace -p somepid
> while
> >> >> > the
> >> >> > authentication dialog box is displayed does not work. Thanks
> >> >> > everybody
> >> >> > for
> >> >> > the prompt responses! (the problem still withstanding...)
> >> >> > --
> >> >> > To unsubscribe from this list go to the following URL and read the
> >> >> > instructions:  https://lists.samba.org/mailman/listinfo/samba
> >> >> >
> >> >>
> >> >> 1. Can u check /etc/hosts.deny and /etc/hosts.allow ? Check selinux
> as
> >> >> well. Disable selinux " setenforce 0"
> >> >>
> >> >> 2. Run swat on foreground with debug enabled, auth disabled.. and
> test
> >> >> it.
> >> >>
> >> >> $ swat --help
> >> >> Usage: swat [OPTION...]
> >> >>  -a, --disable-authentication   Disable authentication (demo
> mode)
> >> >>  -P, --password-menu-only   Show only change password menu
> >> >>
> >> >> Help options:
> >> >>  -?, --help Show this help message
> >> >>  --usageDisplay brief usage message
> >> >>
> >> >> Common samba options:
> >> >>  -d, --debuglevel=DEBUGLEVELSet debug level
> >> >>  -s, --configfile=CONFIGFILEUse alternate configuration file
> >> >>  -l, --log-basename=LOGFILEBASE Base name for log files
> >> >>  -V, --version  Print version
> >> >>
> >> >> hope you are home this time..
> >> >> --
> >> >> To unsubscribe from this list go to the following URL and read the
> >> >> instructions:  https://lists.samba.org/mailman/listinfo/samba
> >> >
> >> >
> >>
> >> All right.. Append " server_args = -a -d=5" on your
> >> /etc/xinetd.d/swat and restart xinetd. This shud allow you w/o any
> >> authentication and also enable verbose logging. Hit
> >> http://hostname:901 and see what happens...
> >> --
> >> To unsubscribe from this list go to the following URL and read the
> >> instructions:  https://lists.samba.org/mailman/listinfo/samba
> >
> >
>
> On the SWAT page itself you have a password tab. Reset the password
> there, remove the -a option on xinet.d/swat, restart the xinetd. Hope
> it fixes..
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: swat password

2008-05-22 Thread Santiago Andres Triana
Thanks Linux Addict, it did work.

I was able to see the swat page finally. Now the question is how to tell it
to accept my root login!

On Thu, May 22, 2008 at 2:55 PM, Linux Addict <[EMAIL PROTECTED]>
wrote:

> On Thu, May 22, 2008 at 2:12 PM, Santiago Andres Triana
> <[EMAIL PROTECTED]> wrote:
> > hosts.allow has the internal network and hosts.deny is set to ALL(ALL).
> >
> > This might seem silly but I just don't know how to run swat if it is not
> > from /etc/xinetd.d/swat. Just issuing /usr/sbin/swat doesn't do anything
> > even if I remove swat from /etc/xinetd.d/ and(or) /etc/services/ .  By
> the
> > same token I don't know how to use strace to check on its behavior... How
> do
> > you run swat in the foreground?
> >
> > On Thu, May 22, 2008 at 12:12 PM, Linux Addict <[EMAIL PROTECTED]>
> > wrote:
> >>
> >> On Thu, May 22, 2008 at 11:55 AM, Santiago Andres Triana
> >> <[EMAIL PROTECTED]> wrote:
> >> > yes,  /usr/sbin/swat exists
> >> >
> >> > and every time I try to login from a web browswer a new line appears
> in
> >> > /var/log/authpriv indicating that SWAT started with a pid number. How
> do
> >> > I
> >> > use strace to see what SWAT is doing? Issuing strace -p somepid while
> >> > the
> >> > authentication dialog box is displayed does not work. Thanks everybody
> >> > for
> >> > the prompt responses! (the problem still withstanding...)
> >> > --
> >> > To unsubscribe from this list go to the following URL and read the
> >> > instructions:  https://lists.samba.org/mailman/listinfo/samba
> >> >
> >>
> >> 1. Can u check /etc/hosts.deny and /etc/hosts.allow ? Check selinux as
> >> well. Disable selinux " setenforce 0"
> >>
> >> 2. Run swat on foreground with debug enabled, auth disabled.. and test
> it.
> >>
> >> $ swat --help
> >> Usage: swat [OPTION...]
> >>  -a, --disable-authentication   Disable authentication (demo mode)
> >>  -P, --password-menu-only   Show only change password menu
> >>
> >> Help options:
> >>  -?, --help Show this help message
> >>  --usageDisplay brief usage message
> >>
> >> Common samba options:
> >>  -d, --debuglevel=DEBUGLEVELSet debug level
> >>  -s, --configfile=CONFIGFILEUse alternate configuration file
> >>  -l, --log-basename=LOGFILEBASE Base name for log files
> >>  -V, --version  Print version
> >>
> >> hope you are home this time..
> >> --
> >> To unsubscribe from this list go to the following URL and read the
> >> instructions:  https://lists.samba.org/mailman/listinfo/samba
> >
> >
>
> All right.. Append " server_args = -a -d=5" on your
> /etc/xinetd.d/swat and restart xinetd. This shud allow you w/o any
> authentication and also enable verbose logging. Hit
> http://hostname:901 and see what happens...
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: swat password

2008-05-22 Thread Santiago Andres Triana
hosts.allow has the internal network and hosts.deny is set to ALL(ALL).

This might seem silly but I just don't know how to run swat if it is not
from /etc/xinetd.d/swat. Just issuing /usr/sbin/swat doesn't do anything
even if I remove swat from /etc/xinetd.d/ and(or) /etc/services/ .  By the
same token I don't know how to use strace to check on its behavior... How do
you run swat in the foreground?

On Thu, May 22, 2008 at 12:12 PM, Linux Addict <[EMAIL PROTECTED]>
wrote:

> On Thu, May 22, 2008 at 11:55 AM, Santiago Andres Triana
> <[EMAIL PROTECTED]> wrote:
> > yes,  /usr/sbin/swat exists
> >
> > and every time I try to login from a web browswer a new line appears in
> > /var/log/authpriv indicating that SWAT started with a pid number. How do
> I
> > use strace to see what SWAT is doing? Issuing strace -p somepid while the
> > authentication dialog box is displayed does not work. Thanks everybody
> for
> > the prompt responses! (the problem still withstanding...)
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  https://lists.samba.org/mailman/listinfo/samba
> >
>
> 1. Can u check /etc/hosts.deny and /etc/hosts.allow ? Check selinux as
> well. Disable selinux " setenforce 0"
>
> 2. Run swat on foreground with debug enabled, auth disabled.. and test it.
>
> $ swat --help
> Usage: swat [OPTION...]
>  -a, --disable-authentication   Disable authentication (demo mode)
>  -P, --password-menu-only   Show only change password menu
>
> Help options:
>  -?, --help Show this help message
>  --usageDisplay brief usage message
>
> Common samba options:
>  -d, --debuglevel=DEBUGLEVELSet debug level
>  -s, --configfile=CONFIGFILEUse alternate configuration file
>  -l, --log-basename=LOGFILEBASE Base name for log files
>  -V, --version  Print version
>
> hope you are home this time..
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: swat password

2008-05-22 Thread Santiago Andres Triana
yes,  /usr/sbin/swat exists

and every time I try to login from a web browswer a new line appears in
/var/log/authpriv indicating that SWAT started with a pid number. How do I
use strace to see what SWAT is doing? Issuing strace -p somepid while the
authentication dialog box is displayed does not work. Thanks everybody for
the prompt responses! (the problem still withstanding...)
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: swat password

2008-05-22 Thread Santiago Andres Triana
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?

On Thu, May 22, 2008 at 9:47 AM, Linux Addict <[EMAIL PROTECTED]>
wrote:

> On Thu, May 22, 2008 at 9:36 AM, Santiago Andres Triana
> <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
> > wrote:
> >>
> >> On Wed, May 21, 2008 at 3:15 PM, Santiago Andres Triana
> >> <[EMAIL PROTECTED]> 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 theonly_from   = 10.1.1.1 line and do
> /etc/init.d/xinetd restart and give it a shot again?
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: swat password

2008-05-22 Thread Santiago Andres Triana
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 <[EMAIL PROTECTED]>
wrote:

> On Wed, May 21, 2008 at 3:15 PM, Santiago Andres Triana
> <[EMAIL PROTECTED]> 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 ?
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: swat password

2008-05-21 Thread Santiago Andres Triana
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


[Samba] swat password

2008-05-21 Thread Santiago Andres Triana
Hello all,

I'm having trouble logging into swat. Not even root can login! I'm using
Rocks 4.1 (linux cluster based on CentOS) Has anybody experienced this?
Thanks in advance!

Santiago
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] swat password

2008-05-21 Thread Santiago Andres Triana
Hello all,

I'm having trouble logging into swat. Not even root can login! I'm using
Rocks 4.1 (linux cluster based on CentOS) Has anybody experienced this?
Thanks in advance!

Santiago
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba