This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: cron problem with authentication

> -----Original Message-----
> From: cygwin-owner On Behalf Of Mike Kenny - BCX - Mngd Services
> Sent: 27 May 2004 10:07

> I have a situation where, on the windows side, cron is running as user
> 'mqdisp'.

> The PS shows that cron is running as SYSTEM, 

> I hope the above better explains my problem.

  Not exactly!

> On the cywin side, mqdisp is the user that
> is trying to run the cron job that attaches to MQ Series.

  AYS?  I take it you say this because you were logged in as that user when
you ran crontab?

> BTW, is there some way that I can login as 'system'? This 
> might provide a way around this problem.

  Also not exactly!

  Heh.  Let me be clearer.  It seems to me that you want cron to run as user
mqdisp rather than user SYSTEM.  SYSTEM is a local account; it has utmost
(rooter-than-root) priviliges on your local machine but it's not a member of
the domain and has no access rights there.

>  [754] MQSeries
>    Type:     WARNING
>    Computer: TEST1
>    Time:     2004/05/27 10:50:14   ID:       8074
> Authorization failed as the SID 
> 'S-1-5-21-776561741-1935655697-1343024091-1007'
> does not match the entity 'system'.
>   The Object Authority Manager received inconsistent data - 
> the supplied SID doe
> s not match that of the supplied entity information.
>   Ensure that the application is supplying valid entity and 
> SID information.

  Yep, that's mqdisp's sid, not SYSTEM's.

> SYSTEM:*:18:544:,S-1-5-18::
> mqdisp:unused_by_nt/2000/xp:1007:513:mqdisp,U-TEST1\mqdisp,S-1
> 35655697-1343024091-1007:/home/mqdisp:/bin/bash

  I think the real question is, did you use the --user and --passwd options
to cygrunsrv when you installed crond?  This tells cygrunsrv to use the
windoze 'RunAs' service to start crond as the user you choose.

Can't think of a witty .sigline today....

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]