Re: more details



Hi Joseph

Maybe some of the more experienced guys here can explain any differences
from 4.2, but I have only used 5.0.

As athought, you can use the NTLMSetUserInfo function to set user names and
password from an app at startup maybe?

And regarding your other problem, my system has worked pretty well once I
have logged in. However, the system does stop responding if I use the 'up'
folder button to get from say "MyCEDevice\HardDisk" to "MyCEDevice".

Regards

Sean




"Joseph Garibaldi" wrote:

> hi sean,
>
> well, that does help me..thank you..am kind of relieved that it is what
> is the case with u as well...Is it the same way in 4.2? 'coz when i tried
> out, i remember giving \\box directly without using the remoteadmn to
> configure the name/adapter list and getting a login box at the host machine.
> Obviously, i cannot login 'coz i don't have the password...and for that i
> will have to go through remoteadmn ...
>
> but in 5.0, i don't get any login box unless i go through remoteadmn
> and set the passwd & select the Adapter.
>
> and have you observed by any chance anything like what i have mentioned
> in my previous mail? (w.r.t connection getting lost and the shared folder
> not responding). I have that problem with both 4.2 and 5.0.
>
>
> --
> cheers,
>
> Joseph Garibaldi.
> B'lore, India.
> "wrx03ppp" <yourdisplayname@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:C3AEB254-159F-43ED-89C6-C2342D421FBE@xxxxxxxxxxxxxxxx
> > Hi Joseph
> >
> > Sorry 'bout that, I was responding to your 2nd post and had somehow missed
> > your 1st post - that would have explained about your mac1.
> >
> > And yes, I follow your steps 1, 2 and 3 to enable file sharing on my
> system.
> > The registry is persisted, so I do this only once. I do not need step 4 as
> my
> > adapter already seems to be selected.
> >
> > My registry has the following:
> >
> > [HKEY_LOCAL_MACHINE\Services\Smbserver]
> > "AdapterList"="*"
> >
> > Maybe this will help?
> >
> > Sean
> >
> > Which
> > "Joseph Garibaldi" wrote:
> >
> > > hi sean,
> > >
> > > mac1 is one of the 2 available Miniport Adapters in the system.
> What i
> > > meant was i expected one of those two macs (mac1 'coz i selected that
> for
> > > the SMBServer using [HKEY_LOCAL_MACHINE\Services\Smbserver] (refer to my
> > > first post) to be preselected, which isn't happening.
> > >
> > > let me get this straight. Do you mean to say you also have to follow
> the
> > > following steps to enable sharing in 5.0?
> > >
> > > 1. access remoteadmn/deviceconfig.htm.
> > > 2. Set password for access.
> > > 3. Modify and apply the device name.
> > > 4. select the Miniport Adapter to be available for file sharing.
> > >
> > > Also there seems to be some timeout happening sometime after which
> the
> > > target device does respond, but it does not let the host machine to
> access
> > > any shared file. What i have on the host machine side is a FOLDER "Not
> > > Responding" kind of a situation. But on the target machine, everything
> else
> > > is fine, but i cannot even access remoteadmn page through both target
> and
> > > host. The following is the debug message i am getting during this
> > > behaviour. This is happening to me in 4.2 as well. Anybody has any
> inputs
> > > for that?
> > >
> > > Now, somewhere in the middle of that debug output, it stops
> responding
> > > positively...not at the beginning itself.
> > > --
> > > cheers,
> > >
> > > Joseph Garibaldi.
> > > B'lore, India.
> > >
> > > ==
> > >
> > > SECUR32: Locating package 'Negotiate' ...\par
> > > found (0x0004D3E0).\par
> > > SPNEGO:NegAcquireCredentialsHandle: Get a Negotiate CredHandle:\par
> > > SECUR32: Locating package 'NTLM' ...\par
> > > found (0x0004D3C0).\par
> > > SPNEGO: Added 00056CC0:00000004, NTLM\par
> > > SPNEGO:NegAcquireCredentialsHandle: returned 0x0\par
> > >
> > > SECUR32: Locating package 'Negotiate' ...\par
> > > found (0x0004D3E0).\par
> > > SPNEGO:AcceptLsaModeContext( 56d00, 0 )\par
> > > SPNEGO:buf 0E32F0B9\par
> > > SPNEGO:bufsize 56\par
> > > SPNEGO:Token size (post der) 6\par
> > > SPNEGO:buf 0E32F0BC\par
> > > SPNEGO:bufsize 53\par
> > > SPNEGO:header 1\par
> > > SPNEGO:OidLength 8\par
> > > SPNEGO:OidPtr 0E32F0BA\par
> > > SPNEGO:Incoming Mechanism: 1.3.6.1.4.1.311.2.2.10.\par
> > > SPNEGO:Comparing to Mechanism: 1.3.6.1.4.1.311.2.2.10.\par
> > > SPNEGO:Common Package is NTLM\par
> > > SPNEGO:Adding mech list for 00059CE0\par
> > > SPNEGO:Desired Package match with token!\par
> > > SPNEGO:WLsaAcceptContext( NTLM ) returned 90312\par
> > > SECUR32: Locating package 'Negotiate' ...\par
> > > found (0x0004D3E0).\par
> > > SPNEGO:AcceptLsaModeContext( 56d00, 59ce0 )\par
> > > SPNEGO:Failed to decode data: -1011\par
> > > SPNEGO:WLsaAcceptContext( NTLM ) returned 0\par
> > > SPNEGO:Freeing mech list for 00059CE0\par
> > > SPNEGO:Releasing credentials 00056D00\par
> > > SPNEGO:Deleting context 59ce0\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > KER: SMB_OpenX -- cant open because the file is a directory!!
> > > \\profiles\\default\par
> > > SECUR32: Locating package 'Negotiate' ...\par
> > > found (0x0004D3E0).\par
> > > SPNEGO:NegAcquireCredentialsHandle: Get a Negotiate CredHandle:\par
> > > SECUR32: Locating package 'NTLM' ...\par
> > > found (0x0004D3C0).\par
> > > SPNEGO: Added 00056CC0:00000004, NTLM\par
> > > SPNEGO:NegAcquireCredentialsHandle: returned 0x0\par
> > > SECUR32: Locating package 'Negotiate' ...\par
> > > found (0x0004D3E0).\par
> > > SPNEGO:AcceptLsaModeContext( 56d00, 0 )\par
> > > SPNEGO:buf 0E2FF0B9\par
> > > SPNEGO:bufsize 56\par
> > > SPNEGO:Token size (post der) 6\par
> > > SPNEGO:buf 0E2FF0BC\par
> > > SPNEGO:bufsize 53\par
> > > SPNEGO:header 1\par
> > > SPNEGO:OidLength 8\par
> > > SPNEGO:OidPtr 0E2FF0BA\par
> > > SPNEGO:Incoming Mechanism: 1.3.6.1.4.1.311.2.2.10.\par
> > > SPNEGO:Comparing to Mechanism: 1.3.6.1.4.1.311.2.2.10.\par
> > > SPNEGO:Common Package is NTLM\par
> > > SPNEGO:Adding mech list for 00059CE0\par
> > > SPNEGO:Desired Package match with token!\par
> > > SPNEGO:WLsaAcceptContext( NTLM ) returned 90312\par
> > > SECUR32: Locating package 'Negotiate' ...\par
> > > found (0x0004D3E0).\par
> > > SPNEGO:AcceptLsaModeContext( 56d00, 59ce0 )\par
> > > SPNEGO:Failed to decode data: -1011\par
> > > SPNEGO:WLsaAcceptContext( NTLM ) returned 0\par
> > > SPNEGO:Freeing mech list for 00059CE0\par
> > > SPNEGO:Releasing credentials 00056D00\par
> > > SPNEGO:Deleting context 59ce0\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > SECUR32: Locating package 'Negotiate' ...\par
> > > found (0x0004D3E0).\par
> > > SPNEGO:NegAcquireCredentialsHandle: Get a Negotiate CredHandle:\par
> > > SECUR32: Locating package 'NTLM' ...\par
> > > found (0x0004D3C0).\par
> > > SPNEGO: Added 00057010:00000004, NTLM\par
> > > SPNEGO:NegAcquireCredentialsHandle: returned 0x0\par
> > > SECUR32: Locating package 'Negotiate' ...\par
> > > found (0x0004D3E0).\par
> > > SPNEGO:AcceptLsaModeContext( 57050, 0 )\par
> > > SPNEGO:buf 0E31F0B9\par
> > > SPNEGO:bufsize 56\par
> > > SPNEGO:Token size (post der) 6\par
> > > SPNEGO:buf 0E31F0BC\par
> > > SPNEGO:bufsize 53\par
> > > SPNEGO:header 1\par
> > > SPNEGO:OidLength 8\par
> > > SPNEGO:OidPtr 0E31F0BA\par
> > > SPNEGO:Incoming Mechanism: 1.3.6.1.4.1.311.2.2.10.\par
> > > SPNEGO:Comparing to Mechanism: 1.3.6.1.4.1.311.2.2.10.\par
> > > SPNEGO:Common Package is NTLM\par
> > > SPNEGO:Adding mech list for 000568D0\par
> > > SPNEGO:Desired Package match with token!\par
> > > SPNEGO:WLsaAcceptContext( NTLM ) returned 90312\par
> > > SECUR32: Locating package 'Negotiate' ...\par
> > > found (0x0004D3E0).\par
> > > SPNEGO:AcceptLsaModeContext( 57050, 568d0 )\par
> > > SPNEGO:Failed to decode data: -1011\par
> > > SPNEGO:WLsaAcceptContext( NTLM ) returned 0\par
> > > SPNEGO:Freeing mech list for 000568D0\par
> > > SPNEGO:Releasing credentials 00057050\par
> > > SPNEGO:Deleting context 568d0\par
> > > SECUR32: Locating package 'Negotiate' ...\par
> > > found (0x0004D3E0).\par
> > > SPNEGO:NegAcquireCredentialsHandle: Get a Negotiate CredHandle:\par
> > > SECUR32: Locating package 'NTLM' ...\par
> > > found (0x0004D3C0).\par
> > > SPNEGO: Added 00057010:00000004, NTLM\par
> > > SPNEGO:NegAcquireCredentialsHandle: returned 0x0\par
> > > SECUR32: Locating package 'Negotiate' ...\par
> > > found (0x0004D3E0).\par
> > > SPNEGO:AcceptLsaModeContext( 57050, 0 )\par
> > > SPNEGO:buf 0E31F0B9\par
> > >
> > > SPNEGO:bufsize 56\par
> > > SPNEGO:Token size (post der) 6\par
> > > SPNEGO:buf 0E31F0BC\par
> > > SPNEGO:bufsize 53\par
> > > SPNEGO:header 1\par
> > > SPNEGO:OidLength 8\par
> > > SPNEGO:OidPtr 0E31F0BA\par
> > > SPNEGO:Incoming Mechanism: 1.3.6.1.4.1.311.2.2.10.\par
> > > SPNEGO:Comparing to Mechanism: 1.3.6.1.4.1.311.2.2.10.\par
> > > SPNEGO:Common Package is NTLM\par
> > > SPNEGO:Adding mech list for 00059CE0\par
> > > SPNEGO:Desired Package match with token!\par
> > > SPNEGO:WLsaAcceptContext( NTLM ) returned 90312\par
> > > SECUR32: Locating package 'Negotiate' ...\par
> > > found (0x0004D3E0).\par
> > > SPNEGO:AcceptLsaModeContext( 57050, 59ce0 )\par
> > > SPNEGO:Failed to decode data: -1011\par
> > > SPNEGO:WLsaAcceptContext( NTLM ) returned 0\par
> > > SPNEGO:Freeing mech list for 00059CE0\par
> > >
> > > SPNEGO:Releasing credentials 00057050\par
> > > SPNEGO:Deleting context 59ce0\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > SECUR32: Locating package 'Negotiate' ...\par
> > > found (0x0004D3E0).\par
> > > SPNEGO:NegAcquireCredentialsHandle: Get a Negotiate CredHandle:\par
> > > SECUR32: Locating package 'NTLM' ...\par
> > > found (0x0004D3C0).\par
> > > SPNEGO: Added 00057AD0:00000004, NTLM\par
> > > SPNEGO:NegAcquireCredentialsHandle: returned 0x0\par
> > > SECUR32: Locating package 'Negotiate' ...\par
> > > found (0x0004D3E0).\par
> > > SPNEGO:AcceptLsaModeContext( 57b60, 0 )\par
> > > SPNEGO:buf 0E2FF0B9\par
> > > SPNEGO:bufsize 56\par
> > > SPNEGO:Token size (post der) 6\par
> > > SPNEGO:buf 0E2FF0BC\par
> > > SPNEGO:bufsize 53\par
> > > SPNEGO:header 1\par
> > > SPNEGO:OidLength 8\par
> > > SPNEGO:OidPtr 0E2FF0BA\par
> > > SPNEGO:Incoming Mechanism: 1.3.6.1.4.1.311.2.2.10.\par
> > > SPNEGO:Comparing to Mechanism: 1.3.6.1.4.1.311.2.2.10.\par
> > > SPNEGO:Common Package is NTLM\par
> > > SPNEGO:Adding mech list for 00059CE0\par
> > > SPNEGO:Desired Package match with token!\par
> > > SPNEGO:WLsaAcceptContext( NTLM ) returned 90312\par
> > > SECUR32: Locating package 'Negotiate' ...\par
> > > found (0x0004D3E0).\par
> > > SPNEGO:AcceptLsaModeContext( 57b60, 59ce0 )\par
> > > SPNEGO:Failed to decode data: -1011\par
> > > SPNEGO:WLsaAcceptContext( NTLM ) returned 0\par
> > > SPNEGO:Freeing mech list for 00059CE0\par
> > > SPNEGO:Releasing credentials 00057B60\par
> > > SPNEGO:Deleting context 59ce0\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > Invalid handle: Set=7 Method=8\par
> > > SECUR32: Locating package 'Negotiate' ...\par
> > > found (0x0004D3E0).\par
> > > SPNEGO:NegAcquireCredentialsHandle: Get a Negotiate CredHandle:\par
.