- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- Samba issue (Not able to access by domain users)
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
08-09-2009 09:52 AM
08-09-2009 09:52 AM
I am using samba 2.21 in HPUX 11.00.
The samba is running as domain member (security=domain), so all the users availabe in Domain (win2003 server) can access the samba shares.
today we wanted to stop the samba service for some reasons.
I have stopped the samba (smb and nmb) using SWAT (http://serverip:901).
Then after some time we started the samba thru SWAT.
After that it is asking for username and password whenever we are accessing the samba shares from Client (windows xp / 2003), then we entered the domain username and password but even after also not able to open the share.
Then i checked from console.
Then i stopped the service:
/sbin/init.t/samba stop
I am getting the error "Not able to stop gracefully.
it is not stopped.
Then i tried to start samba:
/sbin/init.d/samba start
I am getting the message "Samba service already up, and started".
But i am able to start and stop the samba completely from SWAT.
But what is the problem is after doing thru SWAT, it is asking for username and password to open the shares when trying to open from windows client.
Then i checked for log file (/var/opt/samba/)
Where i got the message:
[2009/08/06 11:52:32, 0] smbd/password.c:(1574)
domain_client_validate: could not fetch trust account password for domain XYZ
So i issued following command.
> smbpasswd -j XYZ -r pridc67 -U Administrator
Password:
Joined domain XYZ.
Even after also i am getting the same error when opening the shares from windows client.
Actually the samba was configured by prvious UNIX admin.
My DC name - pridc67.abc.domain.com
Some important setting in smb.conf
workgroup = XYZ
security = domain
password server = pridc67.abc.domain.com
encrypt passwords = yes
Please give me the answers for following questions:
1)Why it is showing error message when starting and stopping from console.
2)why it is asking for username and password even after integrated with domain once again?
3)is workgroup name of smb.conf file must be same as domain name?
here our domain name is "abc.domain.com"
but in smb.conf domain name is "xyz"
Solved! Go to Solution.
- Tags:
- samba
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-09-2009 10:04 AM
08-09-2009 10:04 AM
SolutionFew things.
HP provided a Samba Version 2 based Samba on HP-UX 11.00. They never provided any software based on Samba 3.
There is nothing in the post about the domain controller, but if its Windows Server 2003, that is based on Samba 3 and integration issues are likely.
The specific error seems to indicate the Samba daemon was not stopped. This indicates a possible problem with the samba installation.
Stop swat service and try again.
If the problem persists, back up the smb.conf file, swremove Samba and swinstall the latest depot you can get your hands on.
Or better yet, pull Samba 3 code from the Samba website and compile it. It will go a long way to dealing with integration issues.
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
- Email to a Friend
- Report Inappropriate Content
08-09-2009 10:45 AM
08-09-2009 10:45 AM
Re: Samba issue (Not able to access by domain users)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-10-2009 04:23 AM
08-10-2009 04:23 AM
Re: Samba issue (Not able to access by domain users)
How to stop SWAT. it is very urgent.
Please help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-10-2009 04:30 AM
08-10-2009 04:30 AM
Re: Samba issue (Not able to access by domain users)
You can also try 'man swat', 'man inetd'.
hth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-10-2009 04:36 AM
08-10-2009 04:36 AM
Re: Samba issue (Not able to access by domain users)
Quick way:
ps -ef | grep swat
as root
issue a kill command on the daemon.
I never bothered to turn swat on ever. I always manipulated smb.conf.
There is probably a startup script in /sbin/init.d for swat
There is also probably a start/stop configuration script for the service in /etc/rc.config.d
Here are a few links to help out for permanent changes to swat.
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1249907391949+28353475&threadId=33499
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1249907571751+28353475&threadId=994935
I just read that swat might be run by the inetd daemon in which case you modify /etc/inetd.conf comment out swat and:
inetd -c
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP