I'm trying to use disk quota on samba. Everything work through command line,
but when I tried it on Windows, accessing a share with the same user it
did'nt work. Is it necessary to do something different on smb.conf?

Samba were compiled with quota support:
# smbd -b | grep -i quota
  HAVE_SYS_QUOTA_H
  HAVE_LINUX_XFS_QUOTAS
  HAVE_QUOTACTL_LINUX
  HAVE_SYS_QUOTAS
  HAVE_XFS_QUOTAS
  WITH_QUOTAS
  WITH_QUOTAS
  vfs_default_quota_init

Here is the quota for the group group. The user that I'm using has the group
group as primary group:
# quota -g group
Disk quotas for group group (gid 10000):
Filesystem  blocks       quota     limit        grace   files      quota
limit   grace
/dev/sda4   25286972* 2000000 2000000              54457*  54453  0
none

When I tried to create a file with this user, through command line, quota
works normally:
$ touch a
touch: cannot touch `a': Disk quota exceeded

When I'm logged on Windows, using the same user, I can create/copy any file
without any advise/problem.

I'm using Suse Linux Enterprise Server 9, with Samba 3.0.20b-3.4-SUSE.

What I need to do?

--
Richard Bortolucci
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to