Begin File:samba-qnxbin-2.0.7.tgz Description:SAMBA 2.0.7 for QNX4 binaries Keywords:samba porting smb protocol Version: Entered-date:july 16 2000 Author-by: Ported: Origiinal-site: Copying-policy: Supplemental: SAMBA VERSION 2.0.7 QNX BINARIES ================================ This tar zip contains a QNX compiled version of samba 2.0.7. I downloaded the sources from ftp.samba.org. *********NOTE********** These binaries are linked with the new password encryption routines from QSSL. You'd have to install the qcrypt patch from QUICS for pw-lookups to work. *********************** To install, do the following: 1) unpack the package in a working dir: zcat samba-qnxbin-2.0.7.tgz | pax -vr 2) install the package make sure the target dir exists: mkdir ///usr/local/samba Note that you can install it on another node . Default is the current node. I'm not sure if it will run properly on another full-path than /usr/local/samba, because I configured it with that default. It might be possible to override this with config and/or command line options, but why bother? :-) cd to the source dir "samba-qnxbin-2.0.7/source" and run make install [prefix=///usr/local/samba] if you already had a version installed, you can revert back to the previous binaries with: make revert [prefix=///usr/local/samba] 3) Configuring SAMBA At this point the package is installed. Now you should set up SWAT to make life easier configuring samba. There's documentation on how to set up SWAT, but basically you just need to add a line in /etc/services: swat 901/tcp and in /etc/inetd.conf: swat stream tcp nowait.400 root /usr/local/samba/bin/swat swat Now you can use your favorite browser to configure samba by connecting to the server: http://:901 where is the IP address of the server you just installed samba on. You can use smbclient to test your configuration quickly. It has an ftp-like command set. You should also read the samba docs. Especially those concerning WinNT, Win98 and W2K where encrypted password negotiation is used by default. It's all explained in the docs how to revert back to clear-text negotiation. Basically you need to do some nasty registry hacking to achieve this. On the other hand, you could also enable encryption in samba. I've heard reports that this works with at least WinNT. I haven't tested it at all with W2K, simply because I don't have that. But according to postings in comp.protocols.smb this version should work with it. Check out that newsgroup for problems and tips tho... Enjoy! ONE FINAL NOTE: I'm not a samba guru. They can be found at www.samba.org. I merely ported it to QNX with that experience I have with samba. I tested it to a certain extent, and things seem to work thus far. One important area where problems could arise is the change-root functionality. I used the following hack to implement a chroot(): chroot(const char *path) { char fullpathbuf[PATH_MAX + 1]; qnx_fullpath(fullpathbuf, path); return qnx_prefix_setroot(fullpathbuf); } because the one in the QNX libs is not a "standard" chroot() and gave rise to problems with samba-printing. The above hack solved that problem. However, if you encounter any strange behavior which could point to this, then I'll be happy to build a binary set without change-root support. (Samba can work without it) Rick Lake Dutch National Press Agency ANP R&D department email rwlake@anp.nl archive contents: End