[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:35:14 CEST 2010
http://bugzilla.wpkg.org/show_bug.cgi?id=118
--- Comment #5 from Daniel Dehennin <daniel.dehennin at ac-caen.fr> 2010-05-17 09:34:41 CEST ---
Created an attachment (id=160)
--> (http://bugzilla.wpkg.org/attachment.cgi?id=160)
getHostsApplying replace getHostNode
Extend host matching: use new attributes and permit to apply multiple match.
* wpkg.js (applymultiple): New variable to apply multiple host
definitions, default to false for compatibility.
(domainname): New variable to match host against windows domain name.
(ipaddresses): New variable to match host against IP addresses, this
match use a new host ipadresses attribute. For compatibility, IP
addresses are matched against name attribute too.
(hostgroups): New variable to match host against group membership in a
windows domain.
(applyHostNode): Renamed.
(applyHostNodes): New name of applyHostNode variable: array of
hostNodes. If applymultiple is false, it contains only the first
matching one.
(getDomainName): New function to get the windows domain name of a
computer.
(getHostGroups): New function to get the group membership of a member
computer.
(getHostNode): Renamed.
(getHostsApplying): New name of getHostNode, it extend the matching to
multiple attributes. Simplify direct/ipAddresses/regexp matches with
only regexp match. Keep compatibility with ipAddresses matching
against name attribute. Return the first matching host if
applymultiple is false.
(getHostVariables): Renamed.
(getHostsVariables): New name of getHostVariables, iterate over all the
apply host nodes.
(getProfileList): Iterate over all apply host nodes.
(parseArguments): Add applymultiple, ip, domainname and group options
handling.
(getIPAddresses): Does nothing if /ip is passed as argument.
(loadPackageEnv): Rename getHostVariable to getHostsVariables.
* config.xml: Add configuration for domainname and applymultiple.
--
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