[linux-cifs-client] CIFS and Windows 2003 Server shares

Shirish Pargaonkar shirishpargaonkar at gmail.com
Fri Jan 23 18:14:35 GMT 2009


On Fri, Jan 23, 2009 at 8:28 AM, Leonardo Chiquitto
<leonardo.lists at gmail.com> wrote:
>> Windows 2003 server does not allow Windows client GUEST logins with
>> more than one user names
>>
>> C:\>net use y: \\cifstest1\public /USER:abc
>> The command completed successfully.
> (...)
>> C:\>net use z: \\cifstest1\public /USER:def
>> System error 1219 has occurred.
>>
>> Multiple connections to a server or shared resource by the same user, using more
>>  than one user name, are not allowed. Disconnect all previous connections to the
>>  server or shared resource and try again..
>
> Shirish, thanks for the information, this will be useful for me.
> I did some tests again here and found why we are seeing different results.
>
> ** Server: Windows 2003 Server, Client: Windows 2000 Server
>
> - First test:
>
> Logged on W2k Server as "Leonardo":
>
> C:\>net use y: \\192.168.8.142\shared /user:john
> The command completed successfully.
> C:\>net use z: \\192.168.8.142\shared /user:jeff
> System error 1219 has occurred.
> The credentials supplied conflict with an existing set of credentials.
>
> Same error as you just reported. I suppose this error came from the "client
> side" and not from the Windows 2003 Server.
>
> - Second test:
>
> Logged on W2k Server as "Leonardo":
>
> C:\>net use y: \\192.168.8.142\shared /user:john
> The command completed successfully.
>
> Logged again on the same W2k Server (I'm using rdesktop) as "Administrator":
>
> C:\>net use z: \\192.168.8.142\shared /user:jeff
> The command completed successfully.
>
> At this point you'll have two sessions opened in the Windows 2003 Server:
>
> Computer               User name            Client Type       Opens Idle time
> -------------------------------------------------------------------------------
> \\192.168.8.141        GUEST                Windows 2000 2195     0 00:00:09
> \\192.168.8.141        GUEST                Windows 2000 2195     0 00:00:14
>
> I believe Windows (client side) has separated name spaces for each
> user. This explains why, on the "Second test" above, Z: is not available
> to Leonardo and Y: is not available to Administrator. It's also a sign
> that the error we get on "First test" is returned by the client.
>
> Thanks!
> Leonardo
>

Windows as a SMB/CIFS client behaves same way, the error 1219 occurrs
whether it is either a Windows XP or a Windows 2003 Server.

I was able to use Windows XP to do what you want to do.  So something has
changed in Windows 2003 Server and perhaps onwards.


More information about the linux-cifs-client mailing list