win32 authentifaction problems after implementing new dbus authentification update
Ralf Habacker
ralf.habacker at freenet.de
Fri Jun 22 00:43:24 PDT 2007
Havoc Pennington schrieb:
> Hi,
>
> Ralf Habacker wrote:
>> This leaves the question open how to skip such scripts on windows
>> while running dbus-test. Adding a platform postfix like renaming
>> external-root.aut-script to external-root.aut-script-unix ?
>>
>
> I think the easiest solution to code is probably to add a
> SKIP_ON_WINDOWS or UNIX_ONLY command to the .auth-script language,
> basically if you see that command then:
> #ifdef DBUS_WIN
> stop processing file
> #endif
>
See the appended patch. It adds new commands UNIX_ONLY, WIN_ONLY to
limit scripts to a specific platform.
Additional a command ADMIN_CREDENTIALS is added to be able to check sids
on windows, but this is optional.
Ralf
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dbus-auth-script.patch
Url: http://lists.freedesktop.org/archives/dbus/attachments/20070622/a5d600cb/attachment.txt
More information about the dbus
mailing list