In my high school computer lab I have Red HAt 5.0 with SAMBA being used as a file server. The kids are getting used to it. But recently I'm seeing something strange. A student with id "james" will log on Windows 95, go to network neighborhood and to the Linux computer and find there among other normal items two folders. The first will be his own folder with his id, but the second will be another student's folder. No one has lost data so far, but students have been loosing faith. Is there anything I can check/change for this? Thanks for your time, Evan P... -------------- next part -------------- A non-text attachment was scrubbed... Name: vcard.vcf Type: text/x-vcard Size: 295 bytes Desc: Card for Evan Panagiotopoulos Url : http://lists.samba.org/archive/samba/attachments/19981008/c77d4e20/vcard.vcf
>Date: Thu, 08 Oct 1998 23:23:20 -0400 >From: Evan Panagiotopoulos <evanp@technologist.com> >To: samba@samba.anu.edu.au >Subject: Seeing two different user folders!!!!! >Message-ID: <361D81A8.496460C3@technologist.com> > > >In my high school computer lab I have Red HAt 5.0 with SAMBA being >used as a file server. The kids are getting used to it. But recently >I'm seeing something strange. A student with id "james" will log on >Windows 95, go to network neighborhood and to the Linux computer and >find there among other normal items two folders. The first will be >his own folder with his id, but the second will be another student's >folder. No one has lost data so far, but students have been loosing >faith. Is there anything I can check/change for this? > >Thanks for your time, >Evan P... >I would guess that the two users in question have the same user id, but forcing a same user id situation on my machine (redhat 5.0, with the latest samba installed). Although, setting up two users with the same ID under 1.9.18p10 didn't do that on my system. Mabey it has something to do with groups? I know that by default, the redhat adduser script creates a new group for each user - do these two share a group? Check the setup of your [homes] section in your smb.conf file. Here's mine: [homes] comment = Home Directories browseable = no read only = no preserve case = yes short preserve case = yes create mode = 0750 That's (I think) about as stock a homes section as you can get - I'm using what it came with. Another question: Are you using encrypted passwords? Also, what version of smb are you using? I've had good luck with the latest release. Good luck! Michael Kohne mhkohne@discordia.org "Evolution is God's version of domino rally"
You wrote: | A student with id "james" will log on | Windows 95, go to network neighborhood and to the Linux computer and | find there among other normal items two folders. The first will be | his own folder with his id, but the second will be another student's | folder. This is the SMB equivalent of ``cd /home/james''. Anyone can try to cd to/connect to another's home directory. They won't be able to do anyhing destructive, assuming you have your Unix permissions set correctly. Indeed, they may not even be able to see the contents if the permissions are 0700 (;-)) However, it's startling! Win 95 is supposed to disconnect people when they log out: check and see if you can write to such a left-over directory. If so, the last user isn't logged out: client bug! --dave -- David Collier-Brown, | Always do right. This will gratify some people 185 Ellerslie Ave., | and astonish the rest. -- Mark Twain Willowdale, Ontario | davecb@hobbes.ss.org, canada.sun.com N2M 1Y3. 416-223-8968 | http://java.science.yorku.ca/~davecb