- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cifs 9000 unable to view shares
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
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
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
04-30-2001 08:05 AM
04-30-2001 08:05 AM
Cifs 9000 unable to view shares
I am trying to get an hp-ux 11.0 server to be a cifs server. I believe that I have configured cifs correctly.
Below is the file /etc/opt/samba/smb.conf
# Global parameters
[global]
workgroup = ****
netbios name = cifsserver
server string = Windows NT
security = SHARE
encrypt passwords = Yes
local master = No
wins server = a.b.c.d
admin users = andrewpe
[Public]
comment = Public Access
path = /data
admin users = andrewpe
read only = No
guest ok = Yes
#
I can see the server from the domain, but I can't access the server or any files on it.
When I try to connect I get an error message stating that \\cifsserver is no longer available and The specified network name is no longer available.
Also when I run "net view \\cifsserver" from a dos windows on my win2k workstation I get an error message
"System error 64 has occurred.
The specified network name is no longer available".
I have looked on the samba web page but found nothing to assist.
Thanks in Advance
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2001 10:14 PM
04-30-2001 10:14 PM
Re: Cifs 9000 unable to view shares
Have you tried accessing the cifs server by it's ip address instead of its netbios name?
Try the following:
net view \\
or
nbtstat -A
If this doesn't work, try adding "lm announce = yes" to your smb.conf.
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2001 01:44 AM
05-01-2001 01:44 AM
Re: Cifs 9000 unable to view shares
nbstat -A
C:\>nbtstat -A a.b.c.d
Local Area Connection:
Node IpAddress: [w.x.y.z] Scope Id: []
NetBIOS Remote Machine Name Table
Name Type Status
-------------------------------------------
cifserer <00> UNIQUE Registered
cifserer <03> UNIQUE Registered
cifserer <20> UNIQUE Registered
EUR-UKSR <00> GROUP Registered
EUR-UKSR <1E> GROUP Registered
MAC Address = 00-00-00-00-00-00
\Device\NetBT_Tcpip_{47B95381-6143-47C9-B85F-5C89C9B249F7}:
Node IpAddress: [0.0.0.0] Scope Id: []
Host not found.
C:\>
When I do a net view
"system error 64 has occurred
The specified Network name is no longer available".
I have added the lm announce = True command
to see if that makes any difference and restarted samba, but I still have the same problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2001 05:12 AM
05-01-2001 05:12 AM
Re: Cifs 9000 unable to view shares
Just A thought, do you have the deamon nmbd running?
No, start the deamon.
Marcel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2001 07:10 AM
05-01-2001 07:10 AM
Re: Cifs 9000 unable to view shares
Below is the output from ps -ef
# ps -ef |grep nmbd
root 1003 1 0 10:35:43 ? 0:05 /opt/samba/bin/nmbd -D
I get no errors when I restart it.
Thanks for the input
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2001 10:35 PM
05-01-2001 10:35 PM
Re: Cifs 9000 unable to view shares
Try "local master = Yes". Below my configuration file, maybe it helps, I had a similar problem and those settings worked.
[global]
workgroup = SAMBA-DOMEIN
netbios name = HP-UX SERVER
server string = SAMBA Server
security = SERVER
encrypt passwords = Yes
password server = nt-server
dns proxy = No
wins server = winserver_ip_adress
[tmp]
comment = temporary directory
path = /tmp
writeable = Yes
guest ok = Yes
[homes]
comment = home directories
path = /home
writeable = Yes
Best Regards,
Marcel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2001 11:23 PM
05-01-2001 11:23 PM
Re: Cifs 9000 unable to view shares
Which command generated the "host not found" error message, nbtstat or "net view"?
How do your clients map IP adresses to NETBIOS names? Do they use a wins server, or did you add an entry for CIFSSERVER to C:\WINDOWS\LMHOSTS?
Are the clients in the same domain/workgroup as CIFSSERVER?
You might want to try the following:
Add "wins support = yes" to smb.conf and set CIFSSERVER as wins server for your client pc's. If you do this, you won't have to rely on the capabilities of the samba server to announce itself to the workgroup.
Hope this helps.
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2001 08:37 AM
05-02-2001 08:37 AM
Re: Cifs 9000 unable to view shares
I do not administer the domain where I work, and I am not allowed administrative access onto any other server bar this HP-UX server.
There are already wins servers and Dns servers.
All I want to do is set this up as
"guest" share where everyone can share this drive without the need for my IT dept to control it! Hence the reason why I can't copy all of your settings because I am unable to set the security level to Server. Due to cifs then trying to become a primary domain controller, am I correct in saying that?
Vincent,
You also asked whether I could set up the Cifsserver as a wins server, I can't do that, due to the reasons above.
The command that gives the error
was
net view
I have added the entry
writeable = Yes
But that does not make any difference.
Thanks Again for all your help.
I appreciate all your help.
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2001 09:05 AM
05-02-2001 09:05 AM
Re: Cifs 9000 unable to view shares
The command that generated the host not found message was the nbtstat command.
I believe the way pc's lookup up their "windows" name is by using a wins server. The "arpa" hostname is looked up using dns. Dns is definetly configured correctly on this HP-UX server as I can do nslookup and find ip addresses of whatever I want. I have put the ip address of the wins server that my PC uses into the field
"wins server = ip address"
Is that correct?
I have also added the entry to the global section
"wins support = Yes"
That still does not fix it.
Sorry, for the previous replay I did not have my brain in gear!!!
Thanks
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2001 04:29 AM
05-04-2001 04:29 AM
Re: Cifs 9000 unable to view shares
First of all, you can set security to "Server" as long as you set "os level" to a very low number so the CIFS server won't win any elections. There should be some info on this in the man page for smb.conf.
Secondly, it's a bit strange that nbtstat generates a "host not found" error. This seems to mean that your PC can't resolve the CIFS server via the WINS server. You can bypass WINS resolution for the CIFS server by adding an entry for it to C:\WINDOWS\LMHOSTS. Take a look at C:\WINDOWS\LMHOSTS.SAM for information on how to add entry.
The "wins server" entry is correct, but in your current setup you can remove the "wins support = yes" entry because the CIFS server doesn't act as a WINS server.
Lastly, I wonder if you can configure a Samba server into a domain without having to "join" (smbpasswd -J) the domain. You'll need the Administrator password to be able to do this.
Did you find any relevant information in your Samba logging?
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2002 07:10 AM
02-14-2002 07:10 AM
Re: Cifs 9000 unable to view shares
When you are using share level security, you need to add the unix users name and password to the smbpasswd file. Information regarding how to do this is in the "Using Samba" book by O'Reilly on page 174-175.