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
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
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@gmail.com> wrote:> On Wed, May 21, 2008 at 3:15 PM, Santiago Andres Triana > <triana@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 ? >
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 <linuxaddict7@gmail.com> wrote:> On Thu, May 22, 2008 at 9:36 AM, Santiago Andres Triana > <triana@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@gmail.com> > > wrote: > >> > >> On Wed, May 21, 2008 at 3:15 PM, Santiago Andres Triana > >> <triana@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? >
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...)
On Thu, May 22, 2008 at 11:55 AM, Santiago Andres Triana <triana@physics.umd.edu> 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 --usage Display brief usage message Common samba options: -d, --debuglevel=DEBUGLEVEL Set debug level -s, --configfile=CONFIGFILE Use alternate configuration file -l, --log-basename=LOGFILEBASE Base name for log files -V, --version Print version hope you are home this time..