[wpkg-users] wpkg and ad groups problem

Adrian Valeanu Adrian.Valeanu at idiada.com
Mon Feb 17 17:14:36 CET 2014


Hi,
I try to deploy some software packages based on AD group membership. 
The computer is member in the groups s_wpkg_managed and s_gimp.
In the hosts.xml I have it configured like this:
 <host name=".+" groups="s_wpkg_managed" profile-id="standard" />
 <host name=".+" groups="s_wpkg_managed,s_gimp" profile-id="gimp" />
The logfile shows me that something goes wrong:
2014-02-17 16:41:47, DEBUG   : Host properties:
hostname='wswin7024'|architecture='x64'|os='microsoft windows 7
professional, , sp1, 6.1.7601'|ipaddresses='192.168.10.29'|domain
name='notforyou'|groups='Domänencomputer,s_wpkg_managed,s_tightvnc,s_gimp'|lcid='407'|lcidOS='407'
2014-02-17 16:41:47, DEBUG   : Comparing multi-valued attribute
'groups' with value 'Domänencomputer' using expression
's_wpkg_managed'.
2014-02-17 16:41:47, DEBUG   : Comparing multi-valued attribute
'groups' with value 's_wpkg_managed' using expression 's_wpkg_managed'.
2014-02-17 16:41:47, DEBUG   : Match for attribute 'groups' with value
's_wpkg_managed' found.
2014-02-17 16:41:47, DEBUG   : XML node with special host attribute
match found: groups=s_wpkg_managed
2014-02-17 16:41:47, DEBUG   : Comparing multi-valued attribute
'groups' with value 'Domänencomputer' using expression
's_wpkg_managed,s_gimp'.
2014-02-17 16:41:47, DEBUG   : Comparing multi-valued attribute
'groups' with value 's_wpkg_managed' using expression
's_wpkg_managed,s_gimp'.
2014-02-17 16:41:47, DEBUG   : Comparing multi-valued attribute
'groups' with value 's_tightvnc' using expression
's_wpkg_managed,s_gimp'.
2014-02-17 16:41:47, DEBUG   : Comparing multi-valued attribute
'groups' with value 's_gimp' using expression 's_wpkg_managed,s_gimp'.
2014-02-17 16:41:47, DEBUG   : No value of 'groups' matched
's_wpkg_managed,s_gimp'. Skipping to next definition.
2014-02-17 16:41:47, DEBUG   : Could not match all attributes of XML
node to current host. Skipping to next definition.
2014-02-17 16:41:47, DEBUG   : Profiles applying to the current
host:|standard|
2014-02-17 16:41:47, DEBUG   : Getting profiles which apply to this
node.
2014-02-17 16:41:47, DEBUG   : Initializing new log file:
'C:\Windows\TEMP\wpkg-wswin7024.log' in append mode.
 
As you see wpkg.js tries to match against 's_wpkg_managed,s_gimp' .
The groups example at http://wpkg.org/Extended_host_attribute_matching
also separates the groups by comma.
What am I doing wrong here? Have I misunderstood the purpose of the
groups option?
Bye 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20140217/970a1e68/attachment-0002.html>


More information about the wpkg-users mailing list