Lonnie Cumberland
2005-Aug-22 20:51 UTC
[Samba] Something Strange in NET Mapping Going On Here.
Hello All, I was poking around on my Windows mapping and was able to map a network drive like: C:> net use P: \\172.16.0.1\lonnie The Samba logs on my server say "....connected to resource lonnie as user lonnie....." This seemed to be normal as I seem to remember logging in at one time long ago. The strange thing is that I just tried: C:> net use P: \\172.16.0.1\luke This actually connected and mapped a network drive to this account wich belongs to another one of our developers and the Samba logs say "....connected to resource luke as user lonnie....." Based upon my understanding I should NOT be able to map into someone elses home directory, right? How can I fix this? Thanks, Lonnie
John H Terpstra
2005-Aug-22 20:56 UTC
[Samba] Something Strange in NET Mapping Going On Here.
On Monday 22 August 2005 14:50, Lonnie Cumberland wrote:> Hello All, > > I was poking around on my Windows mapping and was able to map a network > drive like: > > C:> net use P: \\172.16.0.1\lonnie > > The Samba logs on my server say "....connected to resource lonnie as > user lonnie....." > > This seemed to be normal as I seem to remember logging in at one time > long ago. > > The strange thing is that I just tried: > > C:> net use P: \\172.16.0.1\luke > > This actually connected and mapped a network drive to this account wich > belongs to another one of our developers and the Samba logs say > "....connected to resource luke as user lonnie....." > > Based upon my understanding I should NOT be able to map into someone > elses home directory, right? > > How can I fix this?Set permissions on users directories so that only the user has access. This is a file system permissions issue. - John T.> > Thanks, > Lonnie-- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production.