[wpkg-users] AD -> WPKG xml files

simon.begin at institutsmq.qc.ca simon.begin at institutsmq.qc.ca
Tue Nov 10 14:48:53 CET 2009


Anyone has scripts for integrating AD groups into Hosts / Profiles.xml ?

I look into making a filter, ex: all groups starting by "G WPKG ..."

With that info the script could modify XML files like this 

(hosts.xml)

    <host name="PC1" profile-id="G WPKG Package1"/>
    <host name="PC2" profile-id="G WPKG Package1"/>
    <host name="PC3" profile-id="G WPKG Package1"/>
    <host name="PC4" profile-id="G WPKG Package1"/>
    <host name="PC5" profile-id="G WPKG Package1"/>

    <host name="PC1" profile-id="G WPKG Package2"/>
    <host name="PC2" profile-id="G WPKG Package2"/>
    <host name="PC3" profile-id="G WPKG Package2"/>

Thanks,
Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20091110/1e903f1a/attachment-0001.html>


More information about the wpkg-users mailing list