FW: Inconsistent results

new topic     » topic index » view thread      » older message » newer message

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C12A6F.5308D9F0
charset="iso-8859-1"


Writing a program for our sites help desk (large school system) that is
intended to change permissions for a user on a remote machine.
It performs a "net use" command, then a "xcacls", using the
system_exec(s1,s2) routine, using bindw/exw, version 2.2

The problem is that we cannot get consistent results.  First try works OK;
the xcacls returns the message "processed dir : x:|dir1\dir2".  And it may
work a second or third.  But on some trys we get the message "No mapping
between account names and security IDs were done."  Error code 1332.  The
people who would know say the  user accounts ARE there, and the same
commands can be performed successfully by typing in the "net use" and
"xcacls" directly via the command window.  Sometimes the xcacls in the
program would just not execute, with a -1 error code.

This is a simple program, meant to replace a *.bat file, and hide from view
the password used on the "new use" command.

I'm a first time user of euphoria, so is there something that needs to be
reset for each run?

------_=_NextPart_001_01C12A6F.5308D9F0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu