I have downloaded, build and installed samba-4.0.9 from source  on two separate 
boxes running RHEL6.4. My problem is that despite having identical 
configurations, swat is running on one server and not on the other.
Here is my xinetd conf


service swat
{
        port  = 901
        socket_type = stream
        wait    = no
        only_from = 192.168.1.0/24
        user    = root
        server  = /usr/local/samba/sbin/swat
        log_on_failure  += USERID
        disable = no
}

I'm getting the below error

Oct  7 20:25:55 server1 xinetd[21938]: START: swat pid=21940 
from=::ffff:192.168.1.3
Oct  7 20:25:55 server1 xinetd[21938]: EXIT: swat status=0 pid=21940 
duration=0(sec)
Oct  7 20:26:00 server1 xinetd[21938]: START: swat pid=21942 
from=::ffff:192.168.1.3
Oct  7 20:26:00 server1 swat[21942]: [2013/10/07 20:26:00.374208,  0] 
../source3/auth/pampass.c:827(smb_pam_passcheck)
Oct  7 20:26:00 server1 swat[21942]:   smb_pam_passcheck: PAM: smb_pam_auth 
failed - Rejecting User root !
Oct  7 20:26:00 server1 xinetd[21938]: EXIT: swat status=0 pid=21942 
duration=0(sec)


Another thing I noticed on the box where swat is not working is that there is a 
directory called security, containing two libraries "pam_smbpass.so" and 
"pam_winbind.so" under "/usr/local/samba/lib"

I configured the build on both the boxes using "./configure --enable-debug 
--enable-selftest --enable-gnutls" on both the boxes. What seems to be wrong 
here ??


Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email. 

www.wipro.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to