[wpkg-users] [Bug 118] Users, windows version and LDAP objects support
bugzilla-daemon at bugzilla.wpkg.org
bugzilla-daemon at bugzilla.wpkg.org
Mon May 17 09:32:27 CEST 2010
http://bugzilla.wpkg.org/show_bug.cgi?id=118
--- Comment #4 from Daniel Dehennin <daniel.dehennin at ac-caen.fr> 2010-05-17 09:31:52 CEST ---
I rewrite the patch for 1.1.3-RC3, this is not a complete replacement, see TODO
below.
It comes in 2 patches:
1. getHostAttributes replace getHostNameAttribute:
* returns a Scripting.Dictionary object of attribute/value.
2. getHostsApplying replace getHostNode:
* Implement multi-attributes match and keep compatibility of matching
ipaddresses to the "name" attribute
* Implement multi host node match with /applymultiple, by default
getHostsApplying returns a array of one element.
* Use only regular expression match, I do not implement list like the
orignial patch, use regex alternate with "|" instead.
The following hosts.xml works for me, the applymultiple works as intended:
<!-- regular name match />
<host name='l-.+' profile-id='laptop'>
<profile id='base' />
</host>
<!-- IP address in name -->
<host name='192.168.+' profile-id='base' />
<!-- IP address attribute -->
<host ipaddresses='192.168.123.+' profile-id='extend-base' />
<!-- group match -->
<host groups='(7zip|zip)' profile-id='7zip' />
<!-- windows domain match -->
<host domainname='administration' profile-id='administration' />
TODO:
* add "dnsdomain" attribute match
* add "system" or "os" attribute match
* add user's attributes match
--
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the wpkg-users
mailing list