Re: [Puppet Users] Scheduled_task + ad user

2012-08-23 Thread Jeff Sussna
Also, it doesn't look like scheduled_task supports setting "only run when logged on". On Tuesday, August 21, 2012 7:31:01 PM UTC-5, Josh Cooper wrote: > > Hi Jeff, > > It should be lib/puppet/util/adsi.rb > > Also please add yourself as a watcher to the ticket. > > Josh > > On Aug 21, 2012, at 3

Re: [Puppet Users] Scheduled_task + ad user

2012-08-22 Thread Jeff Sussna
The patch is working on XP but failing on Server 2003. Same domain/user on both. Can manually set the task to the user in question so I know it's a valid user/pw known to the 2003 machine. On Tuesday, August 21, 2012 7:31:01 PM UTC-5, Josh Cooper wrote: > > Hi Jeff, > > It should be lib/puppet/

Re: [Puppet Users] Scheduled_task + ad user

2012-08-21 Thread Josh Cooper
Hi Jeff, It should be lib/puppet/util/adsi.rb Also please add yourself as a watcher to the ticket. Josh On Aug 21, 2012, at 3:18 PM, Jeff Sussna wrote: > Stupid question: where is the source file for this hack? > > On Monday, July 2, 2012 11:19:46 PM UTC-5, fpommier wrote: > Hi Josh, > Thank

Re: [Puppet Users] Scheduled_task + ad user

2012-08-21 Thread Jeff Sussna
Stupid question: where is the source file for this hack? On Monday, July 2, 2012 11:19:46 PM UTC-5, fpommier wrote: > > Hi Josh, > Thank for your quick and good reply. > I remove "and LocalAccount = True' at line 56 and 58. > It now work perfectly. > Thanks again. > Fred > > Le lundi 2 juillet 201

Re: [Puppet Users] Scheduled_task + ad user

2012-07-02 Thread fpommier
Hi Josh, Thank for your quick and good reply. I remove "and LocalAccount = True' at line 56 and 58. It now work perfectly. Thanks again. Fred Le lundi 2 juillet 2012 07:27:33 UTC-10, Josh Cooper a écrit : > > Hi, > > On Sat, Jun 30, 2012 at 4:30 PM, fpommier wrote: > >> Hi, >> When a want to use

Re: [Puppet Users] Scheduled_task + ad user

2012-07-02 Thread Josh Cooper
Hi, On Sat, Jun 30, 2012 at 4:30 PM, fpommier wrote: > Hi, > When a want to use scheduled_task for create a windows task and when i > give a AD user, i have this message : > err: /Stage[main]/Mirnas/Scheduled_task[test]/ensure: change from absent > to present failed: Invalid user: DOMAIN\oper >

[Puppet Users] Scheduled_task + ad user

2012-06-30 Thread fpommier
Hi, When a want to use scheduled_task for create a windows task and when i give a AD user, i have this message : err: /Stage[main]/Mirnas/Scheduled_task[test]/ensure: change from absent to present failed: Invalid user: DOMAIN\oper My user domain and the password are correct. I have the same err