HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Samba loses connection with domain
Operating System - HP-UX
1829930
Members
2126
Online
109998
Solutions
Forums
Categories
Company
Local Language
back
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
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
05-14-2007 07:38 AM
05-14-2007 07:38 AM
Samba loses connection with domain
I have samba set up on an HP-Ux server it runs fine except once in a while I will get a message like this.
\\servername\ is not accessible. you might not have permission to use this network resource. Contact the administrator of this server to see if you have access permissions.
The security database on the server does not have a computer account for the workstation trust relationship.
Now what we have done in the past is the following.
1. Delete the server from active directory
2. Add the server back and be sure to check the
"Allow Pre-Windows 2000 computers to use this account" box.
3. Delete /var/opt/samba/private/secrets.tdb
4. net rpc join –w charlotte –S "servername" –U [-d 10]
“-d 10” is optional debug level
At times we have also just been able to run the net rpc join and that would clear up the problem.
Here is the smb.conf
# Samba config file created using SWAT
# from 10.69.100.76 (10.69.100.76)
# Date: 2006/07/31 14:21:25
# Global parameters
[global]
workgroup = CHARLOTTE
server string = myrs-umsdbts-01 Samba Server
security = DOMAIN
password server = 10.69.10.65 10.31.0.16 10.19.0.12
username map = /etc/opt/samba/smbusers.map
log file = /var/opt/samba/log.%m
max log size = 10000
# log level = 10
log level = 3
keepalive = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
preferred master = No
local master = No
domain master = No
read only = No
hosts allow = myrs-umsdbts-01, 10.69., 10.31., 10.20., 127.0.0.1, 10.19.
hosts deny = ALL
case sensitive = No
preserve case = Yes
short preserve case = Yes
default case = lower
map archive = No
dos filetime resolution = Yes
guest ok = yes
map to guest = bad uid
[adv_db]
path = /u01/app/advantage
valid users = @starteam
[scripts]
# path = /nfs/scripts
path = /u01/scripts
valid users = @starteam
[ums-files]
# default case = UPPER
path = /u01/ums-files
read only = yes
guest only = yes
guest ok = yes
browseable = yes
I don't have this issue with any of our linux servers.
here are the samba versions
CIFS-Client A.02.02 CIFS Client
CIFS-Development A.02.02.01 HP CIFS Server Source Code Files
CIFS-Server A.02.02.01 HP CIFS Server (Samba) File and Print Services
Any help would be great.
Thanks
Shawn
\\servername\ is not accessible. you might not have permission to use this network resource. Contact the administrator of this server to see if you have access permissions.
The security database on the server does not have a computer account for the workstation trust relationship.
Now what we have done in the past is the following.
1. Delete the server from active directory
2. Add the server back and be sure to check the
"Allow Pre-Windows 2000 computers to use this account" box.
3. Delete /var/opt/samba/private/secrets.tdb
4. net rpc join –w charlotte –S "servername" –U
“-d 10” is optional debug level
At times we have also just been able to run the net rpc join and that would clear up the problem.
Here is the smb.conf
# Samba config file created using SWAT
# from 10.69.100.76 (10.69.100.76)
# Date: 2006/07/31 14:21:25
# Global parameters
[global]
workgroup = CHARLOTTE
server string = myrs-umsdbts-01 Samba Server
security = DOMAIN
password server = 10.69.10.65 10.31.0.16 10.19.0.12
username map = /etc/opt/samba/smbusers.map
log file = /var/opt/samba/log.%m
max log size = 10000
# log level = 10
log level = 3
keepalive = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
preferred master = No
local master = No
domain master = No
read only = No
hosts allow = myrs-umsdbts-01, 10.69., 10.31., 10.20., 127.0.0.1, 10.19.
hosts deny = ALL
case sensitive = No
preserve case = Yes
short preserve case = Yes
default case = lower
map archive = No
dos filetime resolution = Yes
guest ok = yes
map to guest = bad uid
[adv_db]
path = /u01/app/advantage
valid users = @starteam
[scripts]
# path = /nfs/scripts
path = /u01/scripts
valid users = @starteam
[ums-files]
# default case = UPPER
path = /u01/ums-files
read only = yes
guest only = yes
guest ok = yes
browseable = yes
I don't have this issue with any of our linux servers.
here are the samba versions
CIFS-Client A.02.02 CIFS Client
CIFS-Development A.02.02.01 HP CIFS Server Source Code Files
CIFS-Server A.02.02.01 HP CIFS Server (Samba) File and Print Services
Any help would be great.
Thanks
Shawn
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2007 09:22 AM
05-14-2007 09:22 AM
Re: Samba loses connection with domain
Shalom Shawn,
Though for security reasons, I'd patch my HP-UX CIFS/Samba the cause is probably not your setup.
I would suspect the Windows Samba Server is the cause as I saw this behavior after a security patch to Windows a year or so ago.
Look there first.
SEP
Though for security reasons, I'd patch my HP-UX CIFS/Samba the cause is probably not your setup.
I would suspect the Windows Samba Server is the cause as I saw this behavior after a security patch to Windows a year or so ago.
Look there first.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP