- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SWAT not working
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2005 07:10 AM
тАО02-22-2005 07:10 AM
I have just downloaded and installed the new version of CIFS server (A.02.01.01).
I tried using SWAT to configure it with no luck... it always says authentication error. Finally I set it up to demo mode for configuration purposes but that's not secure at all...
Any clues?
Regards,
Xavier.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2005 07:19 AM
тАО02-22-2005 07:19 AM
Re: SWAT not working
I got Samba to work by setting swat to demo mode.
Even though, if I set swat back to normal mode I cannot seem to authenticate.
Xavier.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2005 07:22 AM
тАО02-22-2005 07:22 AM
Re: SWAT not working
1) Newer version: http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8725AA
Based on Samba 3.0.7
2) looking at the /etc/opt/samba/smb.log file(name is set in smb.conf folr error messages. Post them or search itrc for the text
3) Set up a special user for this.
4) Make sure the smbnull user has not been deleted. CIFS/Samba needs that user to be present.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2005 07:33 AM
тАО02-22-2005 07:33 AM
Re: SWAT not working
The problem is with the SWAT administration tool: Everytime I try to point my web browser to it I get the "Error 401: Bad Authentication" message.
BTW, that's the CIFS version I'm using. I have lots of servers running prior versions and for which SWAT works perfectly.
Cheers,
Xavier.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2005 07:36 AM
тАО02-22-2005 07:36 AM
Re: SWAT not working
[2005/02/22 15:30:44, 0] auth/pampass.c:smb_pam_account(576) smb_pam_account: PAM: UNKNOWN PAM ERROR (32) during Account Management for User: root
[2005/02/22 15:30:44, 0] auth/pampass.c:smb_pam_passcheck(819)smb_pam_passcheck: PAM: smb_pam_account failed - Rejecting User root !
Cheers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2005 08:55 AM
тАО02-22-2005 08:55 AM
Re: SWAT not working
shoulde be a line like this:
swat 901/tcp
is there a line in /etc/inetd.conf like -
swat stream tcp nowait.400 root /usr/local/samba/bin/swat swat
If you don't have these - then you may want to add them and restart inetd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2005 10:01 AM
тАО02-22-2005 10:01 AM
Re: SWAT not working
As I wrote before, I made SWAT work in demo mode. How could I have done that without those two lines in place?
The problem seems to be with authentication within SWAT. No problems within Samba, which is working *great*.
I have tried setting up both root and my personal username in smbpasswd (even though this was not necessary with prior samba versions) with identical luck.
For now I'm clueless, I posted the question.
Regards,
Xavier.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2005 06:17 PM
тАО02-22-2005 06:17 PM
Re: SWAT not working
SWAT is currently not working on trusted systems.
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2005 06:47 PM
тАО02-22-2005 06:47 PM
Re: SWAT not working
cp "/etc/pam.con" "/etc/pam.d"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2005 10:00 PM
тАО02-22-2005 10:00 PM
Re: SWAT not working
Have you tried connecting to SWAT from a different browser in case it has cached a previous password?
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2005 01:14 AM
тАО02-23-2005 01:14 AM
Re: SWAT not working
Darren: Yes, I tried Mozilla and IE and tried clearing cache too on both... no success.
Rainer: You are correct... We tested on a box that is not trusted and SWAT works... Once we converted the box to trusted mode y stopped working.
So, (and this is related to what Andrew said) it seems that enhancing the security of the system prevents SWAT from working and it seems to have something to do with PAM authentication.
There are no clear references to SWAT or root user in /etc/pam.conf but I'll dig around to see if I acn make it work.
Any suggestions on how to do this will be appreciated.
Best regards,
Xavier.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2005 01:45 AM
тАО02-23-2005 01:45 AM
Solutionan enhancement request has alread been issued for this broken feature
SEE:
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000077312328
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2005 03:44 AM
тАО02-23-2005 03:44 AM