- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: as/400 IFS and cifsclient
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
09-06-2005 03:06 AM
09-06-2005 03:06 AM
Re: as/400 IFS and cifsclient
However if smbclient works then I would think that you've got a name that works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 03:17 AM
09-06-2005 03:17 AM
Re: as/400 IFS and cifsclient
OS=[OS/400 V5R3M0] Server=[iSeries Support for Windows Network Neighborhood]
Also, I noticed when I run smbclient to connect to the AS/400, I do get the "called name not present" error, but it continues to allow me to login. Here is what I see when I use smbclinet to connect:
oot@grtux12# ./smbclient //DEVAS01/QIBM -U E0026887
added interface ip=166.99.3.161 bcast=166.99.3.255 nmask=255.255.255.0
session request to DEVAS01 failed (Called name not present)
Password:
Domain=[S105F6HM] OS=[OS/400 V5R3M0] Server=[iSeries Support for Windows Network Neighborhood]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 06:57 AM
09-06-2005 06:57 AM
Re: as/400 IFS and cifsclient
I agree with Gavin. It looks very much like the NetBIOS name of the server is different than its DNS name. That is what the NetBIOS "negative session response" would indicate. You are able to establish a TCP connection because you have the DNS name--you can see this in the output of tcpdump. But it's complaining about the NetBIOS name.
I suggest the following:
1. Check with the administrator of the server to see how NetBIOS name is configured on the server.
2. Also find out from the administrator if the server's CIFS software supports NetBIOS at all. It is possible to run the CIFS (SMB) protocol directly over TCP/IP, without the NetBIOS layer. My colleague on the HP CIFS Server team informs me that this in fact is the ONLY mode in which Samba 4 runs. If this is the case for the CIFS server running on the AS/400, then we (the HP CIFS Client team) would need to implement this feature as an enhancement in order to interoperate with that server (this actually is on our list of things to do). You could test this by trying to map a drive from a Windows NT system, if you have one. Native NT (I don't know about later service packs) does not support NetBIOS over TCP, so it would be instructive to know if NT does the same as your other Windows client, or the HP CIFS Client.
If 1. and 2. don't solve it, then...
3. A tcpdump or (t)ethereal trace from the PC, when is is mapping a drive, would also be useful.
And finally...
4. Consider opening a support call with HP. The direct contact would probably be a more efficient way to zero in on the root cause.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 07:07 AM
09-06-2005 07:07 AM
Re: as/400 IFS and cifsclient
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 07:17 AM
09-06-2005 07:17 AM
Re: as/400 IFS and cifsclient
We officially support only a limited set of CIFS Servers, so the support person to whom you spoke was probably going strictly by this list. However, interoperability is a major priority for us, and we have changed our code many times to ensure that we work with other servers (working around an IBM bug was one of these!). If the information you get from the as/400 admin does not solve the case, please call HP support again and tell them the lab said to take your call and to pass it up to the next level of support.
Thanks,
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 07:18 AM
09-06-2005 07:18 AM
Re: as/400 IFS and cifsclient
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 09:19 PM
09-06-2005 09:19 PM
Re: as/400 IFS and cifsclient
Perhaps you could post the eventual resolution to this here please?
That way if anyone else searches for it they will find the answer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2005 12:38 AM
09-08-2005 12:38 AM
Re: as/400 IFS and cifsclient
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2005 07:04 AM
09-08-2005 07:04 AM
Re: as/400 IFS and cifsclient
Not to belabor the details, but I want to ensure we have not missed anything. In particular, it is not a matter of the as/400 itself supporting NetBIOS, but the CIFS server software that is running on it. Please ensure that the administrator of the system understands this distinction.
As I mentioned previously, a good way to verify this is by using an NT client to map a drive to the share on the as/400; a 'tcpdump' trace of this would be helpful. Best would be to tell tcpdump to capture entire packets, and use tethereal (part of the ethereal software suite) to produce a fully exploded protocol tree of each packet, in ascii, and saved to a file. Then attach the file to a message in this thread.
The "SMB-over-TCP" feature will probably be available on the HP CIFS Client some time in 2006. Not what you wanted to hear. But I suggest you ensure there is no confusion on the NetBIOS support issue above.
-Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2005 01:21 AM
09-09-2005 01:21 AM
Re: as/400 IFS and cifsclient
The Iseries "emulates" a netbios for Windows over tcpip using the net server. It is not a true native stack.
I did confirm this with IBM. They recommended Samba. A straight out mount from Unix will not work.
Also We don't have an NT server left to test with.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2005 12:40 PM
09-09-2005 12:40 PM
Re: as/400 IFS and cifsclient
I've been discussing your case with my colleagues. We now believe that this is just a case of the wrong server name used in cifsmount, rather than a NetBIOS support issue. If smbclient can connect, the HP CIFS Client should also be able to connect.
First try this:
From a Windows system, open a DOS window, and enter:
nbtstat -A ip_address_of_server
The server should give a "NetBIOS Remote Machine Name Table". The entry with the designation "<20>" will be the NetBIOS name of the fileserver service. Use the corresponding name as the server name in cifsmount.
If that doesn't work, please reply, and attach a tcpdump trace of the smbclient mounting the server.
Thanks,
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2005 11:39 PM
09-11-2005 11:39 PM
Re: as/400 IFS and cifsclient
tcpdump: listening on lan0, link-type EN10MB (Ethernet), capture size 68 bytes
IP (tos 0x0, ttl 64, id 38506, offset 0, flags [DF], length: 48) grtux12.ch.etn.com.61374 > devas01.ch.etn.com.netbios_ssn: S [tcp sum ok] 429457827
0:4294578270(0) win 32768
arp who-has grtux12.ch.etn.com tell devas01.ch.etn.com
arp reply grtux12.ch.etn.com is-at 00:60:b0:c1:7d:6c
IP (tos 0x0, ttl 64, id 1, offset 0, flags [DF], length: 48) devas01.ch.etn.com.netbios_ssn > grtux12.ch.etn.com.61374: S [bad tcp cksum 440 (->d440
)!] 3009542321:3009542349(28) ack 4294578271 win 8192
IP (tos 0x0, ttl 64, id 38507, offset 0, flags [DF], length: 40) grtux12.ch.etn.com.61374 > devas01.ch.etn.com.netbios_ssn: . [tcp sum ok] 1:1(0) ac
k 1 win 32768
IP (tos 0x0, ttl 64, id 38508, offset 0, flags [DF], length: 112) grtux12.ch.etn.com.61374 > devas01.ch.etn.com.netbios_ssn: P 1:73(72) ack 1 win 32
768
IP (tos 0x0, ttl 64, id 2, offset 0, flags [DF], length: 44) devas01.ch.etn.com.netbios_ssn > grtux12.ch.etn.com.61374: P [tcp sum ok] 1:5(4) ack 73
win 32768
IP (tos 0x0, ttl 64, id 38509, offset 0, flags [DF], length: 208) grtux12.ch.etn.com.61374 > devas01.ch.etn.com.netbios_ssn: P 73:241(168) ack 5 win
32768
IP (tos 0x0, ttl 64, id 3, offset 0, flags [DF], length: 130) devas01.ch.etn.com.netbios_ssn > grtux12.ch.etn.com.61374: P 5:95(90) ack 241 win 3276
8
IP (tos 0x0, ttl 64, id 38510, offset 0, flags [DF], length: 40) grtux12.ch.etn.com.61374 > devas01.ch.etn.com.netbios_ssn: . [tcp sum ok] 241:241(0
) ack 95 win 32768
IP (tos 0x0, ttl 64, id 38511, offset 0, flags [DF], length: 214) grtux12.ch.etn.com.61374 > devas01.ch.etn.com.netbios_ssn: P 241:415(174) ack 95 w
in 32768
IP (tos 0x0, ttl 64, id 4, offset 0, flags [DF], length: 230) devas01.ch.etn.com.netbios_ssn > grtux12.ch.etn.com.61374: P 95:285(190) ack 415 win 3
2768
IP (tos 0x0, ttl 64, id 38512, offset 0, flags [DF], length: 124) grtux12.ch.etn.com.61374 > devas01.ch.etn.com.netbios_ssn: P 415:499(84) ack 285 w
in 32768
IP (tos 0x0, ttl 64, id 5, offset 0, flags [DF], length: 40) devas01.ch.etn.com.netbios_ssn > grtux12.ch.etn.com.61374: P [tcp sum ok] 285:285(0) ac
k 499 win 32768
IP (tos 0x0, ttl 64, id 6, offset 0, flags [DF], length: 93) devas01.ch.etn.com.netbios_ssn > grtux12.ch.etn.com.61374: P 285:338(53) ack 499 win 32
768
IP (tos 0x0, ttl 64, id 38513, offset 0, flags [DF], length: 40) grtux12.ch.etn.com.61374 > devas01.ch.etn.com.netbios_ssn: . [tcp sum ok] 499:499(0
) ack 338 win 32768
IP (tos 0x0, ttl 64, id 38514, offset 0, flags [DF], length: 84) grtux12.ch.etn.com.61374 > devas01.ch.etn.com.netbios_ssn: P 499:543(44) ack 338 wi
n 32768
IP (tos 0x0, ttl 64, id 7, offset 0, flags [DF], length: 40) devas01.ch.etn.com.netbios_ssn > grtux12.ch.etn.com.61374: P [tcp sum ok] 338:338(0) ac
k 543 win 32768
IP (tos 0x0, ttl 64, id 8, offset 0, flags [DF], length: 79) devas01.ch.etn.com.netbios_ssn > grtux12.ch.etn.com.61374: P 338:377(39) ack 543 win 32
768
IP (tos 0x0, ttl 64, id 38515, offset 0, flags [DF], length: 40) grtux12.ch.etn.com.61374 > devas01.ch.etn.com.netbios_ssn: . [tcp sum ok] 543:543(0
) ack 377 win 32768
20 packets captured
1777 packets received by filter
0 packets dropped by kernel
Also when I run the nbstat command as suggested above I get two records with the <20> designation. One for DEVAS01 nad one for QS105F6HM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2005 03:06 AM
09-12-2005 03:06 AM
Re: as/400 IFS and cifsclient
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2005 06:55 AM
09-13-2005 06:55 AM
Re: as/400 IFS and cifsclient
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2005 07:08 AM
09-13-2005 07:08 AM
Re: as/400 IFS and cifsclient
Congratulations. Even if you are not confident about it working on other AS/400s, this still proves it is a problem with a solution. Further, the solution is configuration, not code change--that is also good news.
When you got it to work, which NetBIOS name did you specify in cifsmount, DEVAS01 or QS105F6HM? And did you need the "-I ip_address" option?
-Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2005 07:13 AM
09-13-2005 07:13 AM
Re: as/400 IFS and cifsclient
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2005 07:18 AM
09-13-2005 07:18 AM
Re: as/400 IFS and cifsclient
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2005 07:50 PM
09-13-2005 07:50 PM
Re: as/400 IFS and cifsclient
I'm pleased to see that it works, at least in one instance.
Seems like a tricky one, do you have alot of AS/400s to monitor?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2005 11:14 PM
09-13-2005 11:14 PM
Re: as/400 IFS and cifsclient
- « Previous
-
- 1
- 2
- Next »