[Openslp-devel] OpenSLP 2.0 release?

2013-03-08 Thread Jim Marshall


Hi,
 Was wondering if there was a status on making a 2.0 release?

Thank you
--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
Openslp-devel mailing list
Openslp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-devel


Re: [Openslp-devel] What platforms are being tested?

2012-12-12 Thread Jim Marshall
Title: mail

  
  
Once I get some free time I will test
  the latest tree on CentOS 5.5, Solaris 10 (sparc and intel),
  Windows and possibly AIX 5.3. Hopefully this will be done by the
  end of this week.
  
  Jim
  
  Nick Wagner wrote:

I've discovered that my OS X setup at work isn't
  currently going to work for testing openslp. Before I try to set
  something up at home, I thought I'd check if anyone else was
  testing Mac? Is anyone hitting the Windows version?
  

  
  While it was great that the work Jim Marshall did spurred on
this release, it would have been nice if this work was in place
_before_ he did all of his testing. :)
  
  
  --Nick


  
  
  
  
  --
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
  
  
  
  ___
Openslp-devel mailing list
Openslp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-devel




-- 
  
  
  Jim Marshall
  Sr. Software Engineer

  
  
  

  

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Openslp-devel mailing list
Openslp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-devel


Re: [Openslp-devel] slptool hangs on AIX?

2012-11-01 Thread Jim Marshall
Title: mail

  
  
Are there any other changes that are
  being waited on? I've run our tests and they all work, so I would
  like to propose we roll out 2.0.
  
  Thanks
  
  John Calcote wrote:


  
  
  
  
Fixed
in revision 1693  SLP atomics now return the correct (new)
value on AIX.

John


  

  From:
  John Calcote [mailto:john.calc...@gmail.com] 
  Sent: Tuesday, October 30, 2012 12:14 PM
  To: Jim Marshall
  Cc: openslp-devel@lists.sourceforge.net
  Subject: Re: [Openslp-devel] slptool hangs on
  AIX?

  
  
  Hi Jim,
  
On Tue, Oct 30, 2012 at 10:54 AM, Jim
  Marshall jim.marsh...@wbemsolutions.com
  wrote:

  Hi,
Been testing the AIX build I have and the agent is
working fine but when I invoke slptool it basically
hangs. Stepping into the code we get to libslp_handle.c
line 66

if (SLPAtomicInc(s_OpenSLPHandleCount) == 1)

The SLPAtomicInc function does this on AIX:

return (intptr_t)fetch_and_add((atomic_p)pn, 1);

This is the cause of the hang, because fetch_and_add
"[...] returns the original value of the variable" (from
the man page), in this case '0'. When this happens the
code enters a while loop


  


  


  Well, that's kind of useless, isn't
it?It should be replaced with:


  


   return
(intptr_t)fetch_and_add((atomic_p)pn, 1) + 1;


  


  The idea here is to atomically
increment the value stored at pn. If two threads try to
do it at once, then they could both read the value,
increment it and both write the same value back out. The
use of atomic_add should cause both threads to actually
increment the value, regardless of how in-sync they are
on their attempts to update the value.


  


  It's only a side-effect (that we take
advantage of) that most atomic incs return the newly
updated value. Since the AIX version returns the
original value, and we're guaranteed to
read/update/write atomically when we add 1 to that
original value, then we can assume that the value we get
back PLUS ONE is our actual desired return value.


  


  I'll fix it.


  


  John

  

  



-- 
  
      
  Jim Marshall
  Sr. Software Engineer

  
  
  

  

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
Openslp-devel mailing list
Openslp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-devel


[Openslp-devel] slptool hangs on AIX?

2012-10-30 Thread Jim Marshall
Title: mail

  
  
Hi,
Been testing the AIX build I have and the agent is working fine but
when I invoke slptool it basically hangs. Stepping into the code we
get to libslp_handle.c line 66

if (SLPAtomicInc(s_OpenSLPHandleCount) == 1)

The SLPAtomicInc function does this on AIX:

return (intptr_t)fetch_and_add((atomic_p)pn, 1);

This is the cause of the hang, because fetch_and_add "[...] returns
the original value of the variable" (from the man page), in this
case '0'. When this happens the code enters a while loop

 while (!s_HandlesInitialized) 
 sleep(0);

The only way I can work around this is to remove the "#define
USE_AIX_ATOMICS" (line 137 of slp_atomics.c).

This code has been in OpenSLP for a long time (Aug 2006), so I am
wondering if this is working for others? And if so, how?

Thank you
-- 
      
  
  Jim Marshall
  Sr. Software Engineer

  
  
  

  

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
Openslp-devel mailing list
Openslp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-devel


[Openslp-devel] AIX patches

2012-10-29 Thread Jim Marshall
Title: mail

  
  
Hi,
Got the build to work on AIX, turns out that the system was missing
a few required tools (like libtool and had older versions of
autoconf etc...).

I ran into a problem (which I had back in 2008??), on AIX 5.x IBM
did not have sockaddr_storage.ss_family instead they used
sockaddr_storage.__ss_family, however; it appears that in AIX 6.x
they have 'corrected' this so that 'ss_family' is used. So the build
failed because of this. 

Attached is the svn diff for the changes I made. I made changes to 2
files

configure.ac
- Added a check for sockaddr_storage.ss_family and if present it
sets a define.
slp_net.h
- In the AIX specific portion of the code added a check for the
define set via the configure.ac, if not set it will use
'__ss_family'.

Jim
-- 
  
  
  Jim Marshall
  Sr. Software Engineer

  
  
  

  

Index: configure.ac
===
--- configure.ac(revision 1692)
+++ configure.ac(working copy)
@@ -54,6 +54,11 @@
 #
 # Checks for structure members
 #
+AC_CHECK_MEMBER([struct sockaddr_storage.ss_family],
+   [AC_DEFINE(HAVE_SOCKADDR_STORAGE_SS_FAMILY,1,[whether sockaddr_storage 
+has ss_family])],
+[], [#include sys/socket.h])
+
 AC_CHECK_MEMBER([struct sockaddr_in.sin_len],
[AC_DEFINE(HAVE_SOCKADDR_IN_SIN_LEN,1,[whether sockaddr_in has 
sin_len])],
[], [#include netinet/in.h])
Index: common/slp_net.h
===
--- common/slp_net.h(revision 1692)
+++ common/slp_net.h(working copy)
@@ -73,7 +73,10 @@
 #ifdef _AIX
 # define SLP_IN6ADDR_ANY_INIT{{{0,0,0,0}}}
 # define SLP_IN6ADDR_LOOPBACK_INIT   {{{0,0,0,1}}}
+#ifndef HAVE_SOCKADDR_STORAGE_SS_FAMILY
+// ss_family is not present, use __ss_family (AIX 5.?)
 # define ss_family   __ss_family
+#endif
 #else
 # define SLP_IN6ADDR_ANY_INIT{{{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}}}
 # define SLP_IN6ADDR_LOOPBACK_INIT   {{{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1}}}
--
The Windows 8 Center - In partnership with Sourceforge
Your idea - your app - 30 days.
Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/___
Openslp-devel mailing list
Openslp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-devel


[Openslp-devel] Building issues on AIX

2012-10-25 Thread Jim Marshall

Has anyone built the current OpenSLP on AIX?  If so what version?

We have AIX 6.1 and the first issue we ran  into was in common/slp_net.h 
line 75


# define ss_family   __ss_family

it appears with AIX 6 they have changed to use 'ss_family' so you get a 
compile error on __ss_family, easy enough fix tho.


The major issue I am running into appears to be with the flex/bison 
stuff. Here is the output of the build


 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DAIX -maix64 -Wall -O3 -MT 
slp_filter_l.lo -MD -MP -MF .deps/slp_filter_l.Tpo -c slp_filter_l.c  
-DPIC -o .libs/slp_filter_l.o

slp_filter_l.l: In function 'filter_close_lexer':
slp_filter_l.l:174: warning: cast to pointer from integer of different size
slp_filter_l.l: In function 'slp_filter_init_lexer':
slp_filter_l.l:181: warning: cast from pointer to integer of different size
/bin/sh ../ylwrap slp_attr_y.y y.tab.c slp_attr_y.c y.tab.h slp_attr_y.h 
y.output slp_attr_y.output -- bison -y  -d

/usr/bin/m4: Not a recognized flag: -
Usage: m4 [-els] [-B Number] [-D Name[=Value]]... [-H Number]
   [-I Directory] [-S Number] [-T Number] [-U Name]... [File...]
make[2]: *** [slp_attr_y.c] Error 1


we have the following installed:
flex version 2.5.4
bison (GNU Bison) 2.6.2
m4 (GNU M4) 1.4.16


I don't seem to see the 'yywrap' call on Linux, so I am wondering if 
there is some tool I am missing?


Thank you

--
mail
Jim Marshall



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
Openslp-devel mailing list
Openslp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-devel


[Openslp-devel] Building on Solaris

2012-10-23 Thread Jim Marshall

Hi,
 We've got OpenSLP building and running on Sparc Solaris, we built it 
using GCC. My question revolves around the dependency of libgcc_s.so.1 
when built this way, it would be preferable if we could build it so that 
it did not have that dependency. Just wondering if anyone out there may 
have some thoughts on if this is possible and if so how?


I've tried various gcc and configure options (for example 
--static-libgcc, -nostdlib -lc, etc).


Thanks

--
mail
Jim Marshall


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
Openslp-devel mailing list
Openslp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-devel


[Openslp-devel] Code Freeze

2012-10-22 Thread Jim Marshall
Title: mail

  
  
Hi,
Per my earlier email (10/12/2012 12:15 PM) I would like to do a
code freeze on the tree (svn version 1692).

We've done testing on Centos 5.5 and Windows 7 and things appear to
be working fine (mixing 32bit slpd and 64bit slptool and vice-versa,
also using older 1.x slpd and slptool)

I believe that the 'hijacking' issue was resolved and tested.

We are having issues with building on Solaris at the moment (a gcc
issue right now) but will test on that and AIX this week.

Thank you
-- 
  
  
  Jim Marshall
  Sr. Software Engineer

  
  
  

  

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
Openslp-devel mailing list
Openslp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-devel


[Openslp-devel] Solaris 10 sparn, issue with signal.h

2012-10-22 Thread Jim Marshall
We got our Sparc machine up and running but when we ran configure we got 
the following warning:


checking signal.h presence... yes
configure: WARNING: signal.h: present but cannot be compiled
configure: WARNING: signal.h: check for missing prerequisite headers?
configure: WARNING: signal.h: see the Autoconf documentation
configure: WARNING: signal.h: section Present But Cannot Be Compiled
configure: WARNING: signal.h: proceeding with the preprocessor's result
configure: WARNING: signal.h: in the future, the compiler will take 
precedence




If you continue and try to run make you end up with an error message 
that is like this


In file included from /usr/include/sys/signal.h:34,
 from /usr/include/signal.h:26,
/usr/include/sys/siginfo.h:259: error: parse error before ctid_t
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token


We're using gcc 3.3.2 (I know, it's old) and the solution (after much 
googling) is pretty simple. What I read seems to imply it maybe specific 
to gcc 3.3.2 on Solaris. Here is the solution


cd /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/install-tools
./mkheaders


--
mail
Jim Marshall



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct___
Openslp-devel mailing list
Openslp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-devel


Re: [Openslp-devel] slptool displays multiple attributes when only 1 should be

2012-09-20 Thread Jim Marshall
What specifically do you want in terms of routing table? Below is the 
IPv4 table output from the 'route print' command.

In terms of it being a SA or DA, I set net.slp.isDA = true in 
slp.conf. I stopped the SLP service and restarted it with the slp.conf 
and I see the same behavior.

Jim

IPv4 Route Table
===
Active Routes:
Network DestinationNetmask  Gateway   Interface  Metric
   0.0.0.0  0.0.0.0  192.168.5.1192.168.5.101 10
 127.0.0.0255.0.0.0 On-link 127.0.0.1306
 127.0.0.1  255.255.255.255 On-link 127.0.0.1306
   127.255.255.255  255.255.255.255 On-link 127.0.0.1306
   169.254.0.0  255.255.0.0 On-link 169.254.37.23276
 169.254.37.23  255.255.255.255 On-link 169.254.37.23276
   169.254.255.255  255.255.255.255 On-link 169.254.37.23276
   192.168.5.0255.255.255.0 On-link 192.168.5.101266
 192.168.5.101  255.255.255.255 On-link 192.168.5.101266
 192.168.5.255  255.255.255.255 On-link 192.168.5.101266
  192.168.19.0255.255.255.0 On-link  192.168.19.1276
  192.168.19.1  255.255.255.255 On-link  192.168.19.1276
192.168.19.255  255.255.255.255 On-link  192.168.19.1276
 224.0.0.0240.0.0.0 On-link 127.0.0.1306
 224.0.0.0240.0.0.0 On-link 192.168.5.101266
 224.0.0.0240.0.0.0 On-link  192.168.19.1276
 224.0.0.0240.0.0.0 On-link 169.254.37.23276
   255.255.255.255  255.255.255.255 On-link 127.0.0.1306
   255.255.255.255  255.255.255.255 On-link 192.168.5.101266
   255.255.255.255  255.255.255.255 On-link  192.168.19.1276
   255.255.255.255  255.255.255.255 On-link 169.254.37.23276
===
Persistent Routes:
   None



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
Openslp-devel mailing list
Openslp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-devel


Re: [Openslp-devel] slptool displays multiple attributes when only 1 should be

2012-09-20 Thread Jim Marshall
Title: mail

  
  
Nick,
  When I start slpd as follows the directory agent does not show up
  with slptool
  
  slpd -start -c .\slp.conf -l slp_dafail.txt
  C:\Temp\openslp\win32\Win32\Debugslptool findsrvs
  service:directory-agent
  
  C:\Temp\openslp\win32\Win32\Debug
  
  however; if I add the '-d' option to the command line it works.
  In other words when starting slpd as follows results in the
  directory agent showing up and then doing the attribute test works
  as expected.
  
  slpd -start -c .\slp.conf -d -l slp_daworked.txt
  C:\Temp\openslp\win32\Win32\Debugslptool findsrvs
  service:directory-agent
  service:directory-agent://127.0.0.1,65535
  service:directory-agent://192.168.5.101,65535
  
  C:\Temp\openslp\win32\Win32\Debug
  Jim
  
  
  Nick Wagner wrote:

When you have it on, does slptool find directory
  agents appropriately?
  
  
  --Nick

On Thu, Sep 20, 2012 at 9:54 AM, Jim
  Marshall jim.marsh...@wbemsolutions.com
  wrote:
  What
specifically do you want in terms of routing table? Below is
the IPv4 table output from the 'route print' command.

In terms of it being a SA or DA, I set "net.slp.isDA = true"
in slp.conf. I stopped the SLP service and restarted it with
the slp.conf and I see the same behavior.

Jim

  

  


-- 
  
      
  Jim Marshall
  Sr. Software Engineer

  
  
  

  


Thu Sep 20 14:04:53 2012
SLPD daemon started

Command line = slpd
Using configuration file = .\slp.conf
Using registration file = C:\Windows\slp.reg
Listening on loopback TCP...
Listening on loopback UDP...
Listening on 192.168.5.101 ...
Multicast (IPv4) socket on 192.168.5.101 ready
SLPv1 DA Discovery Multicast socket on 192.168.5.101 ready
Unicast socket on 192.168.5.101 ready
Agent Interfaces = 192.168.5.101
Startup complete entering main run loop ...

Thu Sep 20 14:04:53 2012
MESSAGE - Trace message (IN)
Peer: 
   IP address: 192.168.5.101
Header:
   version = 2
   functionid = 1
   length = 49
   flags = 8192
   extoffset = 0
   xid = 25499
   langtag = en
Message SRVRQST:
   srvtype = service:directory-agent
   scopelist = empty
   predicate = empty

Thu Sep 20 14:04:53 2012
MESSAGE - Trace message (OUT)
Peer: 
   IP address: 192.168.5.101
Header:
   version = 2
   functionid = 8
   length = 77
   flags = 0
   extoffset = 0
   xid = 25499
   langtag = en
Message DAADVERT:
   scope = DEFAULT
   url = service:directory-agent://192.168.5.101
   attributes = empty

Thu Sep 20 14:04:53 2012
MESSAGE - Trace message (IN)
Peer: 
   IP address: 192.168.5.101
Header:
   version = 2
   functionid = 8
   length = 77
   flags = 0
   extoffset = 0
   xid = 25499
   langtag = en
Message DAADVERT:
   scope = DEFAULT
   url = service:directory-agent://192.168.5.101
   attributes = empty

Thu Sep 20 14:04:53 2012
KNOWNDA - Addition:
DA address = 192.168.5.101
directory-agent-url = service:directory-agent://192.168.5.101
bootstamp = 505b5ac5
scope = DEFAULT
attributes = empty

Thu Sep 20 14:04:55 2012
MESSAGE - Trace message (IN)
Peer: 
   IP address: 192.168.5.101
Header:
   version = 2
   functionid = 8
   length = 77
   flags = 8192
   extoffset = 0
   xid = 0
   langtag = en
Message DAADVERT:
   scope = DEFAULT
   url = service:directory-agent://192.168.5.101
   attributes = empty

Thu Sep 20 14:04:55 2012
MESSAGE - Trace message (IN)
Peer: 
   IP address: 192.168.5.101
Header:
   version = 1
   functionid = 8
   length = 64
   flags = 0
   extoffset = 0
   xid = 0
   langtag = en
Message DAADVERT:
   scope = invalid data!
   url = invalid data!
   attributes = invalid data!

Thu Sep 20 14:04:55 2012
MESSAGE - Trace message (IN)
Peer: 
   IP address: 192.168.5.101
Header:
   version = 2
   functionid = 1
   length = 62
   flags = 8192
   extoffset = 0
   xid = 25500
   langtag = en
Message SRVRQST:
   srvtype = service:directory-agent
   scopelist = empty
   predicate = empty

Thu Sep 20 14:04:55 2012
MESSAGE - Trace message (IN)
Peer: 
   IP address: 192.168.5.12
Header:
   version = 2
   functionid = 3
   length = 239
   flags = 16384
   extoffset = 0
   xid = 17729
   langtag = en
Message SRVREG:
   srvtype = service:management-software.IBM:platform-agent
   scope = DEFAULT
   url = service:management-software.IBM:platform-agent://192.168.5.12
   attributes = 
(vendor=IBM),(version=6.1.2),(uid=7F4BC4D3B2086B77),(ip-address=192.168.5.12),(hostname=RE-AIX6)

Thu Sep 20 14:04:55 2012
MESSAGE - Trace message (OUT)
Peer: 
   IP address: 192.168.5.12
Header:
   version = 2
   functionid = 5
   length = 18
   flags = 0
   extoffset = 0
   xid = 17729
   langtag = 

[Openslp-devel] Which linux do you use

2012-09-20 Thread Jim Marshall
Hi, its me again ;)

What version of Linux are you using to build openslp? What versions of 
autoconf, automake, libtool, gcc are you using?

I'm trying to build openslp on CentOS 5.5 and it is not going well. 
CentOS comes with autoconf 2.59, I upgraded to autoconf 2.63 but now 
when I do a make I get a compile error in slp_thread.c for 
pthread_mutexattr_settype not being declared and PTHREAD_MUTEX_RECURSIVE 
being undefined. I see there was a discussion in the openslp list back 
in Dec 2010 and May 2011, the resolution was a patch to the code base. 
As such I'm kind of at a loss as to why I am seeing the error.

Thanks

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
Openslp-devel mailing list
Openslp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-devel


[Openslp-devel] slptool displays multiple attributes when only 1 should be

2012-09-17 Thread Jim Marshall
Title: mail

  
  
Hi,
I am testing the trunk on Windows 7, code was built with Visual
Studio 11 (Beta of VS 2012). When doing a simple test to register a
service and then get its attributes I am getting back multiple
'entries' when only 1 such entry exists. This appears to be an issue
with the 2.0 slptool because if I use the older slptool 1.0.9.a on
the same registration I only get a single attribute back.

slptool example:
C:\Temp\openslp\win32\Win32\Debugslptool -v
slptool version = 2.0.0
libslp version = 2.0.0
libslp configuration file = (null)

C:\Temp\openslp\win32\Win32\Debugslptool.exe register service:myserv.x://myhost.com "(attr1=val1),(attr2=val2)"

C:\Temp\openslp\win32\Win32\Debugslptool findsrvs service:myserv.x
service:myserv.x://myhost.com,10785

C:\Temp\openslp\win32\Win32\Debugslptool findattrs service:myserv.x://myhost.com
(attr1=val1),(attr2=val2)
(attr1=val1),(attr2=val2)
(attr1=val1),(attr2=val2)

C:\Temp\openslp\win32\Win32\Debugslptool findattrs service:myserv.x://myhost.com attr1
(attr1=val1)
(attr1=val1)
(attr1=val1)



Server Info:
C:\Temp\openslp\win32\Win32\Debugslpd -v
slpd version: 2.0.0
compile options:
 debugging: disabled
 predicates: enabled
 slpv1 compatability: enabled
 slpv2 security: disabled
C:\Temp\linux64\openslp\win32\Win32\Debugslpd -stop

C:\Temp\linux64\openslp\win32\Win32\Debugslpd -start

-- 
  
      
  Jim Marshall
  Sr. Software Engineer

  
  
  

  

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Openslp-devel mailing list
Openslp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-devel


Re: [Openslp-devel] Building issue on Linux running on Windows

2012-09-14 Thread Jim Marshall
Title: mail

  
  
Ian Norton wrote:


  slp.h:
  

  SLP_NETWORK_TIMED_OUT
  = -19
  
  
  Are you running slpd of the right version?
  

Yes slpd 2.0 is running and as an aside the 1.x version runs fine

C:\Temp\openslp\win32\Win32\Debugslpd -install
Service Location Protocol installed.

C:\Temp\openslp\win32\Win32\Debugslpd.exe -version
slpd version: 2.0.0
compile options:
 debugging: disabled
 predicates: enabled
 slpv1 compatability: enabled
 slpv2 security: disabled

  
On 14 September 2012 17:55, Ian Norton
  inor...@gmail.com
  wrote:
  
I seem to recall that -19 means that you couldnt contact the
slpd process.

  

On 14 September 2012 16:56, Jim
  Marshall jim.marsh...@wbemsolutions.com
  wrote:
  Hi,
 We've written a test script to test the basic
functionality of OpenSLP
(basic sanity check stuff), it works fine with the
older SLP (1.0.9a). I
grabbed the trunk and built it on Windows 7 (with VS
2011 Beta), it
builds fine and slpd installs and runs. using
slptool to perfrom a
findsrvs operation works, however; when I try to
manually register a
service with slptool I get error "-19":

C:\Temp\openslp\win32\Win32\Debugslptool
register
service:myserv.x://myhost.com
"(attr1=val1),(attr2=val2)"
errorcode: -19

What am I doing wrong?

Additionally I brought the svn tree to a Linux
(CentOS 5.5, 64bit)
machine, it will not build. I run autogen.sh and it
spits out an error
regarding AC_USE_SYSTEM_EXTENSIONS but the configure
script is
generated. When I run the configure script I get the
following error:

./configure --prefix=/home/jmars/trees/openslp/
configure: error: cannot find install-sh or
install.sh in . ./.. ./../..

autoconf version: 2.59
automake version: 1.96
libtool version: 1.5.22
GNU Make version: 3.81

any thoughts on what I am doing wrong here?

Thank you
--
mail
    Jim Marshall

Sr. Software Engineer
WS http://ws-inc.com/



--
Got visibility?
Most devs has no idea what their production app
looks like.
Find out how fast your code is with AppDynamics
Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
Openslp-devel mailing list
Openslp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-devel
  


  

  


  



-- 
      
  
  Jim Marshall
  Sr. Software Engineer

  
  
  

  

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html___
Openslp-devel mailing list
Openslp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-devel