There is a tricky sequence of mostly undocumented steps to follow even for mount.cifs to make it work, which has now been figured out thanks to several helpful experts on irc://irc.freenode.net/#samba-technical and irc://irc.freenode.net/#samba-os2.
One has to add several (comma-separated) parameters with -o to mount.cifs (with neither of them in its man page): 1. servernetbiosname=MYHOST, shorthand for which is servern=MYHOST This will work around the mount error 112 = Host is down caused by mount.cifs asking for a wildcard *SMBSERVER instead, which query is not answered by older systems such as OS/2 Warp 4 or Windows at least up to Windows 98 Second Edition. This "successfully" takes you to a mount error 95 = Operation not supported to remedy which the next step is to add: 2. sec=lanman This fails with a mount error 22 = Invalid argument because the cifs.ko module need to be rebuilt with the following uncommented in the kernel .config: CONFIG_CIFS_WEAK_PW_HASH Having to install the kernel sources and recompile means this is feasible only for the most enterprising users, and has taken years to sort out even with eminent experts subscribed to the upstream bug (in which further aspects that are not distribution-specific shall be addressed at https://bugzilla.samba.org/show_bug.cgi?id=1353). To avoid such issues preventing connectivity with many systems that are otherwise still perfectly usable (and in widespread use) these days, Ubuntu kernels ought to come with the above option enabled unless there are compelling reasons making it inevitable for it to remain turned off. -- I/O error on access to SMB shares of OS/2 Warp 4 host mounted in Ubuntu 7.04 https://bugs.launchpad.net/bugs/112839 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs