|
Re: how do you access network domain server shares from a 'NT Authority\SY: msg#00044package-management.wpkg.user
Urs Rau wrote: (...) So I am trying to use LocalSystem under XP and was trying to find what force user and force group combined with valid user = guest may be a bad choice. This can mean any user can theoretically remove all your software. but this does not allow me to map a drive or access files using UNC You have a Samba server, I guess it's a domain controller? You have a WPKG share, with access rights set like that: valid users = root, dom_admin, app_admin, guest So one can assume that everyone can access this share (we have a guest user in "valid users"). But, as it's a domain controller (or configured to work in a similar manner, via "security = ..." setting), before you can even access shares, you have to authenticate to the controller (as a domain user). As a result, you can't access the [wpkg] share as guest, because you don't have access to the domain controller yet (you have to enter a house first, then you can enter the room). I thought that my samba share as above would give the right guest access Check Samba logs (with log level = 3), it will confirm what I wrote before. I see at least three solutions for you, two of them described on http://wpkg.org/index.php/Installation_instructions already: 1) start WPKG as a domain admin with Windows Task Scheduler 2) start WPKG as a domain admin with cygrunsrv.exe These two are the best choices IMO. A third choice is to configure Samba to map every "bad user" (the one which didn't supply a valid password) to some username (i.e. guest). I think it is done with something like "bad user = ..." or "map to ..." - I just don't remember, you have to consult smb.conf documentation. It's a bad choice in my opinion, as everyone who connect with a laptop to your network can access this share (and perhaps copy installers with keys and other sensitive data). Hope this helps. To comment your [wpkg] share settings: I would remove force user, force group, guest ok and "guest" user from allow users, when you start WPKG with schtasks.exe or cygrunsrv.exe. -- Tomasz Chmielewski http://wpkg.org ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: how do you access network domain server shares from a 'NT Authority\SYSTEM' service account session?: 00044, Urs Rau |
|---|---|
| Next by Date: | new baby & pet strollers items: 00044, wwwjumellocom |
| Previous by Thread: | Re: how do you access network domain server shares from a 'NT Authority\SYSTEM' service account session?i: 00044, Urs Rau |
| Next by Thread: | [Bug 23] Package download patch: 00044, bugzilla-daemon |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |