The default build options are to disable the code that implements security,
and this would give the error you are seeing.

If you run "slpd -v" it should tell you which of the build-time facilities
are enabled.

On mine (built from a recent trunk version), this gives :-
compile options:
   debugging:            disabled
   predicates:           enabled
   slpv1 compatability:  enabled
   slpv2 security:       disabled

If this is the case, you will need to rebuild from source, and enable
security by specifying the following option to "configure":
   --enable-slpv2-security

-----Original Message-----
From: Nadir Turkman [mailto:nadirturk...@hotmail.com]
Sent: 15 December 2009 18:14
To: openslp-users@lists.sourceforge.net
Subject: [Openslp-users] slpd security


Hi,

At the moment i'm running slpd on a Asus WL500 router running openWRT
Kamikaze 8.09.1. I've set up everything fine without using security, but now
that i'm trying to run the daemon with security i'm running into some
trouble. I changed the /etc/slp.conf file to enable security, and i've
created the .pem private_key since the daemon is running as DA and i've edit
the spi file to include the path to the private_key. When i try to run slpd
-c /etc/slp.cof -r /etc/slp.reg -s /etc/slp.spi i get this error:


r...@g11_network:~# slpd -c /etc/slp.conf -r /etc/slp.reg -s /etc/slp.spi 
USAGE: slpd [-d] [-c conf file] [-l log file] [-r reg file] [-s spi file]
[-v version]
A FATAL Error has occured:
Invalid command line

Can anyone help?

Cheers,

Nadir Amaral Turkman




----------------------------------------------------------------------------
--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Openslp-users mailing list
Openslp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-users

This email, including any attachment, is a confidential communication
intended solely for the use of the individual or entity to whom it is
addressed. It contains information which is private and may be proprietary
or covered by legal professional privilege. If you have received this email
in error, please notify the sender upon receipt, and immediately delete it
from your system.

Anything contained in this email that is not connected with the businesses
of this company is neither endorsed by nor is the liability of this company.

Whilst we have taken reasonable precautions to ensure that any attachment to
this email has been swept for viruses, we cannot accept liability for any
damage sustained as a result of software viruses, and would advise that you
carry out your own virus checks before opening any attachment.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Openslp-users mailing list
Openslp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-users

Reply via email to