[linux-cifs-client] CIFS and Windows 2003 Server shares
Leonardo Chiquitto
leonardo.lists at gmail.com
Fri Jan 23 14:28:55 GMT 2009
> 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
More information about the linux-cifs-client
mailing list