Changes

WPKG with Active Directory

3 bytes added, 09:53, 9 August 2011
m
Moved the scheduling sub section below the scripts rather than in between them.
</source>
== Scheduling the script ==
=== Scheduled Task (Windows) ===
On your server click: Start > Programs > Accessories > Systems tools > Scheduled Tasks
In the scheduled tasks window create a new task to run:
<source lang="dos">
cscript \\myserver\wpkg$\ADHostExport.vbs
</source>
replace '''\\myserver\wpkg$''' with the path to your wpkg folder
=== Cron entry (linux) ===
 
You can start it every hour via cron on your Linux system:
<source lang="dos">
# generate hosts.xml from AD
01 * * * * root python /opt/ldap-wpkg.py &>/dev/null
</source>
== Multiple Profile Method ==
Alternatively if you want hosts listed with each OU they reside within '''separately''' to allow you to apply software to the higher level OUs, this should do the trick:
</wpkg>
</source>
 
 
== Scheduling the script ==
=== Scheduled Task (Windows) ===
On your server click: Start > Programs > Accessories > Systems tools > Scheduled Tasks
In the scheduled tasks window create a new task to run:
<source lang="dos">
cscript \\myserver\wpkg$\ADHostExport.vbs
</source>
replace '''\\myserver\wpkg$''' with the path to your wpkg folder
=== Cron entry (linux) ===
 
You can start it every hour via cron on your Linux system:
<source lang="dos">
# generate hosts.xml from AD
01 * * * * root python /opt/ldap-wpkg.py &>/dev/null
</source>
 
[[category:Documentation]]
[[category:Installation]]
73
edits