[Samba] Why is an extra 'home' dir showing up?

Daevid Vincent daevid at daevid.com
Sun Aug 25 21:32:01 GMT 2002


Thanks for the prompt reply. I made the change so it's like this:

[homes]
   comment = Home Directories
   writable = yes
   read only = no
   guest ok = no
   public = no
   security = user

And it does put me in the "dae51d" directory now.
However a "homes" directory STILL shows up and is now identical to
"dae51d".

So it basically is now 'inverted' so to speak 

> -----Original Message-----
> From: Rashkae [mailto:rashkae at wealthmap.ca] 
> 
> [Homes] is a bit of a special section.
> 
> set browseable=no
> 
> Also, remove the path, instead, use the unix passwd file to 
> set the home directory of your users. (which usually defaults 
> to /home/(userid)/
> 
> 
> 
> On Sun, 25 Aug 2002, Daevid Vincent wrote:
> 
> My question is, how come daevid (on XP) sees the following 
> directories: \\linux\dae51d \\linux\homes
> 
> Shouldn't there just be the home dir only? Why does 
"\\linux\dae51d" show up (I assume it's b/c that's who I am logged in as
on XP which maps to linux)? However, the fact that it does show up,
shouldn't it be the actual HOME directory of the linux user account
dae51d (as in /home/dae51d/)? Instead, it is exactly the same as the
"/home" directory when I click on it.

-------------------------------------
smb.conf:
-------------------------------------
[homes]
   comment = Home Directories
   path = /home
   browseable = yes
   writable = yes
   read only = no
   valid users = dae51d
   guest ok = no
   public = no
   security = user

-------------------------------------
smbusers:
-------------------------------------
# Unix_name = SMB_name1 SMB_name2 ...
# nobody = guest pcguest smbguest
root = administrator admin Administrator
dae51d = daevid

-------------------------------------
smbpasswd:
-------------------------------------
#
# SMB password file.
#
root:0:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
:[U          ]:LCT-00000000:root
ftp:14:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
:[U          ]:LCT-00000000:FTP User
nobody:99:NO PASSWORDXXXXXXXXXXXXXXXXXXXXX:NO
PASSWORDXXXXXXXXXXXXXXXXXXXXX:[NU         ]:LCT-3D69B727:Nobody
pcguest:97:NO PASSWORDXXXXXXXXXXXXXXXXXXXXX:NO
PASSWORDXXXXXXXXXXXXXXXXXXXXX:[NU         ]:LCT-3D69B7D7:pcguest
dae51d:500:017A40206826A7A3AAD3B435B51404EE:37415DEA65AD2DFD6DC3F197BCB4
B9F0:[U          ]:LCT-3CECCF72:Daevid Vincent





More information about the samba mailing list