|
From: Leif M. <le...@ta...> - 2003-05-14 10:57:31
|
Great, sorry I wasn't more help. Most likely the problem that others are having accessing their printers has the same root cause. (Hopefully) Glad you kept digging, Cheers, Leif Suo Anders wrote: > YES! > Problem solved! I'm no expert at NT, users and domains but it seems my > problem was that the UNIX server (from which I mapped a directory) was > not part of the same domain as the user that run the service. Now > we've created a new user in the same domain (active directory) as the > unix server, and given that user the "log on as service" and "act as > operating system" privilegies. I still have no idea why it worked > earlier when running in debugger and console mode. For now, I don't > think I'll dig deeper into that, though. > > Cheers, > Anders > > > > -----Ursprungligt meddelande----- > Från: Ben Dolman [mailto:bd...@by...] > Skickat: den 13 maj 2003 16:41 > Till: wra...@li... > Ämne: RE: [Wrapper-user] Re: SV: Access network directories from > NT service! > > Anders, > > It does indeed seem that way. The problem is that I cannot figure > out what the problem is. Could you perhaps tell me exactly what > steps you took to make your shared network drive accessible to the > java wrapper service? I have tried mapping the shared directory > to a drive on the console, I have tried using AutoExNT to map the > drive on startup, and I have just tried connecting directly using > UNC (//server/share). I have tried multiple users, all with > permission to log on as a service, and all with permissions to > access the shared drive. > > > > Did you do anything differently? I appreciate your help. > > > > Cheers, > > Ben > > > > -----Original Message----- > From: wra...@li... > [mailto:wra...@li...] On Behalf Of Suo > Anders > Sent: Tuesday, May 13, 2003 5:22 AM > To: wra...@li... > Subject: SV: [Wrapper-user] Re: SV: Access network directories > from NT service! > > > > Ben, > > I've successfully installed and run the service on my Win2K > machine! Wouldn't this indicate that somehow the priviligies of > the user are not correct, or that the user that runs the service > in some way is not treated equal as if run through e.g. console? > > > > Regards, > > Anders > > -----Ursprungligt meddelande----- > Från: Ben Dolman [mailto:bd...@by...] > Skickat: den 12 maj 2003 18:52 > Till: wra...@li... > Ämne: [Wrapper-user] Re: SV: Access network directories from > NT service! > > I don't think it is just an NT problem, since I am having > exactly the same problem on a Win2k machine. I have verified, > using procexp, that the wrapper and the JVM processes are both > running as the correct user. I have tried accessing the > network drive as both X:/ and //server/share, but to no > avail. When I log in to the console as the same user, I can > see the network drive, but for some reason my java program can't. > > > > Thanks for the help, > > Ben Dolman > > > > Leif Mortenson wrote: > >> Suo, >> If the same settings are working on your Win2k box, that > makes me >> wonder if it is a problem with NT. I'm not sure if there are > any differences >> in the way NT handles account privileges. >> >> Could you give the program that David posted a try and > verify that both >> the Wrapper and JVM processes are both running as the > intended user? >> Most likely they are but it would be nice to confirm. > >> Cheers, >> Leif > > |