[CentOS] Mounting SMB shares for samba home dirs

Johnny Hughes mailing-lists at hughesjr.com
Tue Jul 26 04:16:00 UTC 2005


On Tue, 2005-07-26 at 14:06 +1000, Nick Bryant wrote:
> Hi,
> 
> I currently use Samba server as a PDC on a centos 3.5 box for a bunch of XP
> clients which works perfectly.</centos plug>
> 
> I want to mount a share on a NAS box we have kicking about and use that
> share to put all the users home dirs in. Sadly my NAS box is a Windows 2003
> server appliance (although, to be fair - it does the job).
> 
> So I create a share on the NAS box, create a user on the Samba server who I
> then assign write permissions on the newly created share (yes, the NAS is a
> domain member) and then put the NAS share's details into the Samba server's
> /etc/fstab like so:
> 
> \\nasboxen\newshare /mnt/userhomes smbfs  auto,credentials=/etc/samba/afile
> 0 0
> 
> mount -a /mnt/syd01-test/ 
> 
> and it mounts perfectly:
> 
> [root at lemon mnt]# mount
> [snip]
> //nasboxen/newshare on /mnt/userhomes type smbfs (0)
> 
> Now the problem comes when I want to put a userdir in there because when I
> try and set the ownership:
> 
> [root at lemon mnt]# chown nick testing
> chown: changing ownership of `testing': Operation not permitted
> 
> I presume this is because it's a smb filesystem and it doesn't support unix
> ownership flags. So the question is... can it be done?

Maybe from an XP box using Windows Explorer and the "Security
Permissions" ?

> 
> Cheers,
> 
> Nick

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20050725/606d48cb/attachment.sig>


More information about the CentOS mailing list