MInlogon File Sharing

  • Thread starter Thread starter Michells
  • Start date Start date
M

Michells

Hello,

Currently I am working on Minlogon with CustomShell.Every thing seems
to be working fine except accessing Files from shared folder.

I have shared folders both in my PC as well as Target PC. when I try
to access the shared folder it asks for UserName and password. this
happens in both PC. both Target and MY PC will prompt for the same
when I try to access each other.

Is there a way to access the shared folder from Target PC without
prompting for username and password. like if I provide my PC name, it
has to display folders shared from my PC without prompting for
username and Password.
or
Is there any compoennt needs to be added which helps in solving this
problem.

P.S: I am using Minlogon with Custom Shell.
 
Sorry I forgot to mention in my above post.

When I tried to MAP the shared folder i was getting the following
error.
**********************************************************************************
C:\>net use L: \\169.254.63.18\Dup
The password is invalid for \\169.254.63.18\Dup.

Enter the user name for '169.254.63.18': administrator
Enter the password for 169.254.63.18:
System error 1327 has occurred.

Logon failure: user account restriction. Possible reasons are blank
passwords n
ot allowed, logon hour restrictions, or a policy restriction has been
enforced.
*******************************************************************************************************

Kinldy help me out!!
 
Michells,

To access your PC shares from Minlogon XPe image you can use either "net.exe use <drive letter> \\share /user:<domain\user name>
password" command or relevant API - WNetUseConnection/WNetAddConnection2 (http://msdn2.microsoft.com/en-us/library/aa385482.aspx,
http://msdn2.microsoft.com/en-us/library/aa385413.aspx). (don't use CONNECT_INTERACTIVE flag)

IIRC, you may also need to call LogonUser (http://msdn2.microsoft.com/en-us/library/aa378184.aspx) and ImpersonateLoggedOnUser
(http://msdn2.microsoft.com/en-us/library/aa378612.aspx) first since WNet functions use LUID (locally unique identifier), associated
with a logon session. [Minlogon doesn't create a user logon session]

Not sure how and what you managed to share out folders from XPe image, though.
 
Michells,

Was 169.254.63.18 the IP of the target [XPe] system? You can't create shares under Minlogon image.
(better say, you can't *easy* create shares under Minlogon)
 
Back
Top