Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running from a DFS share #62

Open
GoogleCodeExporter opened this issue Apr 4, 2015 · 9 comments
Open

Running from a DFS share #62

GoogleCodeExporter opened this issue Apr 4, 2015 · 9 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Configure WPKG-Gp to connect to wpkg.js on a DFS share which has security 
configured correctly.

What is the expected output? What do you see instead?
I would expect this to work but instead get an "Access Denied" error message.

What version of the product are you using? On what operating system?
0.14 with 2008 R2 file server.

Please provide any additional information below.
Strangely if the %SOFTWARE% environment variable is set to the DFS path 
installations work fine but I have to configure wpkg.js to run from the file 
server's UNC rather than the DFS path.

Original issue reported on code.google.com by chris%mi...@gtempaccount.com on 18 Aug 2011 at 1:32

@GoogleCodeExporter
Copy link
Author

I have reproduced this error here in our environment. If I use a standard UNC 
Path to run my WPKG instance it works just fine.  DFS gives me a an access 
denied error in the log. 

Original comment by chris.b...@gmail.com on 19 Aug 2011 at 6:49

@GoogleCodeExporter
Copy link
Author

Original comment by clei...@gmail.com on 24 Aug 2011 at 9:13

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

Maybe it's related to how the server name/paths are extracted?

Could you please provide the WpkgCommand variable for both the UNC (working) 
and the DFS (defunc) paths?

Could you also please provide relevant parts of the log file for a DFS session?

Original comment by clei...@gmail.com on 25 Aug 2011 at 12:28

@GoogleCodeExporter
Copy link
Author

Original comment by clei...@gmail.com on 26 Aug 2011 at 7:08

  • Added labels: Milestone-Release0.15

@GoogleCodeExporter
Copy link
Author

Is the path to wpkg.js on your your netlogon dfs share? 
(\\domain.name\netlogon) Or another dfs share named after your domain?

It seems that the system user already has a connection to the netlogon path, 
and the logics does not disconnect the connection if it already exists. It 
seems that I cannot successfully disconnect this connection, (it is being used 
by group policy/winlogon etc.). This connection is being done with the 
credentials of your machine account.

If I remove the username and password specified in wpkg-gp.ini and give the 
computer account access to my wpkg dir (that I created under 
\\domain.name\netlogon\wpkg) I successfully manage to execute wpkg.js. However, 
when I provide a username/pw and try to do the same (connecting to the share 
with different credentials) it fails with an error telling me that one 
connection already exists. And when I try to cancel this connection, it tells 
me that there is no connection.

If I let the service run as another user (providing credentials for it in 
services.msc), it also works.

Original comment by clei...@gmail.com on 14 Sep 2011 at 12:59

@GoogleCodeExporter
Copy link
Author

It would seem that you either have to:
1. Not provide any credentials for Wpkg-GP when connecting to the DFS share
2. Use another dfs share than netlogon.

Please reply back if this seems to help.

(Removing version dependency, as this is not really fixable)

Original comment by clei...@gmail.com on 14 Sep 2011 at 1:15

  • Removed labels: Milestone-Release0.15

@GoogleCodeExporter
Copy link
Author

Ahh, forgot:
3. Run Wpkg-GP service as another user.

Original comment by clei...@gmail.com on 14 Sep 2011 at 1:16

@GoogleCodeExporter
Copy link
Author

Could you please see if this issue persists in newly released version 0.15?

Original comment by clei...@gmail.com on 15 Sep 2011 at 2:04

@GoogleCodeExporter
Copy link
Author

I was trying to use DFS with WPKG and come across this problem with WPKG-GP 
0.15.
I'm not using netlogon but it is a domain DFS, it works when adding Domain 
Computers to the share permissions.

Original comment by jonathan...@gmail.com on 12 Apr 2013 at 8:54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant