OpenSLP - Frequently Asked Questions


A really compresensive FAQ is not yet available for OpenSLP so please send
your questions to the OpenSLP mailing lists:

    openslp-devel@lists.sourceforge.net
    openslp-users@lists.sourceforge.net

Q: Where is the configure script to build OpenSLP?
A: Did you read section 3 of the README?  You need to run autogen.sh to
   generate the configure script.

Q: How do I build OpenSLP on Windows?
A: The MSVC project files used by the developers who ported OpenSLP to win32
   available in the source directories.  If you do not use MSVC and you are a
   Windows developer, then you will be used to trying to get MSVC makes to
   work with your tools

Q: Will OpenSLP work on my operating system
A: Yes, the OpenSLP code has proven to be very portable.  It currently works
   many operating systems including: Linux, BSD, Solaris, Tru64, HPUX, UnixWare,
   OSR5, and Win32

Q: I am having trouble discovering attributes using FindAttr() and  "slptool
   findattrs".  The functions seem to execute properly, and the services URL's
   can be discovered, but no attributes are returned.  I am registering
   services in slp.reg files. I don't think it is my syntax in the slp.reg
   file, because the example registrations in that file do not return
   attributes either.  Can anyone help?
A: If you just want to use slptool to see if things are working, you need to
   do the following:

   Contents of the slp.reg:
   ------------------------
   service:myservice1.x://myhost.caldera.com,en,65535
   owner=Matt Peterson
   email=mpeterson@caldera.com

   service:myservice1.x://yourhost.yourdomain.com,en,65535
   owner=Kim Jackson
   email=bjackson@yourhost.yourdomain.com
 

   IMPORTANT: Restart slpd and check the /var/log/slpd.log to ensure that
   there were no errors during parsing of the .reg file

   Use slptool to find attributes
   ------------------------------
   $ slptool findsrvs service:myservice1.x
   service:myservice1.x://myhost.caldera.com.com,65535
   service:myservice1.x://yourhost.yourdomain.com,65535

   $ slptool findattrs service:myservice1.x://myhost.mydomain.com
   (owner=Matt Peterson),(email=mpeterson@caldera.com)

   $ slptool findattrs service:myservice1.x://yourhost.caldera.com
   (owner=Kim Jackson),(email=bjackson@yourhost.yourdomain.com)

   Note that you need to supply the service-url as returned by findsrvs

Q: I have a multi-homed machine and OpenSLP is not working.
A: Please read the updated installation guide
   http://www.openslp.org/doc/html/UsersGuide/Installation.html.
   There are special instructions for users of multi-homed machines.