In message <[EMAIL PROTECTED]> on Sun, 10 Aug 2003 02:25:38 +0200, "Ingo A. Kubbilun" 
<[EMAIL PROTECTED]> said:

ingo> Jeff:
ingo> 
ingo> In fact, it is sufficient to call the supplied function as described in
ingo> my last mail: IsService(EXENAME_SERVICES,EXENAME_WINLOGON,SYSTEM_SID)
ingo> The three arguments are just three #define's (refer to svccheck.h).
ingo> The function's prototype requires three params because I cloned the
ingo> stuff from another project I'm currently working on.
ingo> For your convenience, you can also add another #define:
ingo> 
ingo> #define _IsService
ingo> IsService(EXENAME_SERVICES,EXENAME_WINLOGON,SYSTEM_SID)
ingo> 
ingo> and use the macro "_IsService" instead. If you need another solution,
ingo> please
ingo> let me know.

Hmm, are EXENAME_SERVICES, EXENAME_WINLOGIN and SYSTEM_SID independent
of the windows version and so on that you happen to build it no?  If
not, your solution has the flaw that it will check with parameters
that were set when OpenSSL was built, not the correct parameters of an
actual run.

-- 
Richard Levitte   \ Tunnlandsvägen 3  \ [EMAIL PROTECTED]
[EMAIL PROTECTED]  \ S-168 36  BROMMA  \ T: +46-8-26 52 47
                    \      SWEDEN       \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to