Hi, I'm having trouble connecting to an Appleshare IP 6.2 Mac that is doing SMB file sharing from my RedHat Linux 7.2 box. I've looked and looked and looked at many things and many SMB clients. I've tried smbclient, smbmount, Sharity, and even just doing a mount -t smbfs. All of them come back with something of this form: Protocol Negotiation Failed SMB connection failed. I have tried using samba 2.2.1a, samba 2.2.2. I have upgraded my kernel from 2.4.9 to 2.4.13 in the hopes that some of the smbfs fixes in 2.4.11 would help. None of this has helped. What is funny is that I can use samba to connect to every other Windows shared directory. Works like a charm. I can mount Windows machine's shared files, but cannot connect to this Mac serving Windows files. Using verbose modes of smbclient and such don't yield any useful lines. And I know my DOMAIN is set up correctly. The absolute last thing I haven't tried yet is to upgrade the Appleshare IP Mac to 6.3.2. But to do that, I need to upgrade the entire OS from 8.6 to 9.0.4. While this is doable, it would be nice to avoid this. This is our main file server and I'd like to know if the upgrade would definitely fix this. Has anyone had success using samba with Appleshare IP??? Anyone??? I googled the web. No one seems clear on whether this will work. If I am asking the wrong person about this, please let me know who I should direct my questions to. Thanks. ======================William Mulvihill, Web Master DxR Development Group, Inc. 150 E. Pleasant Hill Road Carbondale, IL 62901 phone (618)453-4789 free (800)453-8040 fax (618)453-5309 =======================
On Wed, 14 Nov 2001, William Mulvihill wrote:> Hi, > I'm having trouble connecting to an Appleshare IP 6.2 Mac that is > doing SMB file sharing from my RedHat Linux 7.2 box. I've looked andLinux can (could?) be configured to talk appletalk. Perhaps that is easier (afpfs?) http://www-callug.cs.berkeley.edu/macwin.html> looked and looked at many things and many SMB clients. I've tried > smbclient, smbmount, Sharity, and even just doing a mount -t smbfs. All > of them come back with something of this form: > Protocol Negotiation Failed > SMB connection failed.So what protocol does your apple talk ... (no I don't expect you to know that). You could get a network trace from the linux box and send it to me, and I'll have a look later. Something like: tcpdump -w negotiate.trc -s 1600 port 139 & smbmount //server/share /mnt/smb -o ... [wait for failure] kill %1 The last may depend on your shell, do what it takes to kill tcpdump. Or you could look at the trace yourself and compare with the docs in the "specs" directory of the samba download area (www.samba.org, find a mirror). Please note: even if I can decode what is wrong with the negotiation, there is nothing that says the rest of it will just work. Even if it works with windows clients.> I have tried using samba 2.2.1a, samba 2.2.2. I have upgraded my > kernel from 2.4.9 to 2.4.13 in the hopes that some of the smbfs fixes in > 2.4.11 would help. None of this has helped. What is funny is that I > can use samba to connect to every other Windows shared directory. WorksThat is because developers of the listed clients have had access to windows machines doing SMB filesharing. For similar reasons smbfs, at least, is a rather poor client to OS/2 servers.> on whether this will work. If I am asking the wrong person about this, > please let me know who I should direct my questions to. Thanks.This is the right list for samba related problems, so I'd say you've got the right one. /Urban
William Mulvihill wrote:> > Hi, > I'm having trouble connecting to an Appleshare IP 6.2 Mac that is > doing SMB file sharing from my RedHat Linux 7.2 box. I've looked and > looked and looked at many things and many SMB clients. I've tried > smbclient, smbmount, Sharity, and even just doing a mount -t smbfs. All > of them come back with something of this form: > Protocol Negotiation Failed > SMB connection failed. > > I have tried using samba 2.2.1a, samba 2.2.2. I have upgraded my > kernel from 2.4.9 to 2.4.13 in the hopes that some of the smbfs fixes in > 2.4.11 would help. None of this has helped. What is funny is that I > can use samba to connect to every other Windows shared directory. Works > like a charm. I can mount Windows machine's shared files, but cannot > connect to this Mac serving Windows files. Using verbose modes of > smbclient and such don't yield any useful lines. And I know my DOMAIN > is set up correctly. > > The absolute last thing I haven't tried yet is to upgrade the > Appleshare IP Mac to 6.3.2. But to do that, I need to upgrade the > entire OS from 8.6 to 9.0.4. While this is doable, it would be nice to > avoid this. This is our main file server and I'd like to know if the > upgrade would definitely fix this. Has anyone had success using samba > with Appleshare IP??? Anyone??? I googled the web. No one seems clear > on whether this will work. If I am asking the wrong person about this, > please let me know who I should direct my questions to. Thanks.Unless you are running MacOS X, the only SMB server available for the Mac is 'Dave', see the links on the download page @ samba.org. If you want to be an appletalk client, then look at netatalk.sf.net. Andrew Bartlett -- Andrew Bartlett abartlet@pcug.org.au Manager, Authentication Subsystems, Samba Team abartlet@samba.org Student Network Administrator, Hawker College abartlet@hawkerc.net http://samba.org http://build.samba.org http://hawkerc.net
> > The absolute last thing I haven't tried yet is to upgrade the > Appleshare IP Mac to 6.3.2. But to do that, I need to upgrade the > entire OS from 8.6 to 9.0.4. While this is doable, it would be nice to > avoid this. This is our main file server and I'd like to know if the > upgrade would definitely fix this. Has anyone had success using samba > with Appleshare IP??? Anyone??? I googled the web. No one seems > clear on whether this will work. If I am asking the wrong person about > this, please let me know who I should direct my questions to. Thanks. >Don't bother upgrading. I saw your post, and I've been battling with it all day.. fyi, I have 9.1 and ASIP 6.3.3. The box works perfectly, but smbclient & smbmount won't talk to it. bash# smbclient -L cheese -U jnichols added interface ip=192.168.10.35 bcast=192.168.10.255 nmask=255.255.255.0 protocol negotiation failed bash# As root, as me.. doesn't matter. I'm going to send the query off to an Apple resource and see what he says... -jon