Samba 3 CVS & Quota
Stefan (metze) Metzmacher
metze at metzemix.de
Thu Jul 24 11:18:34 GMT 2003
At 10:25 24.07.2003 +0500, Alex Murphy wrote:
> >
> > For example, suppose you have /home mount point and /home/auv is a user
> > home. Then:
> >
> > [e$]
> > path = /home
> > admin users = @"Domain Admins"
> >
> > Will allow to set per-user quota on share E$ when logging in as user from
> > 'Domain Admins' group. When you mount such share in W2K, XP, or W2K3,
> > you'll see additional tab 'Quota' in its properties. Then make all changes
> > you need to limit user 'auv' on whole /home. When user will connect to
> > his home share, those limitations will be applied.
>I have made all as at you is written, have established manually (edquota)
>quotas on the user auv, ×ÙÈÏÖÉÌ files from his(its) name, edquota sees volume
>of the data normally, from WinXP I see only not limited quota root where to
>dig??? In log file gullies:
>[2003/07/24 15:22:27, 0] smbd/trans2.c:call_trans2qfsinfo(1531)
> vfs_get_ntquota() failed for service [u$]
>[2003/07/24 15:22:27, 0] smbd/trans2.c:call_trans2qfsinfo(1531)
> vfs_get_ntquota() failed for service [u$]
>[2003/07/24 15:22:29, 0] smbd/trans2.c:call_trans2qfsinfo(1531)
> vfs_get_ntquota() failed for service [u$]
What filesystem do you use?
what's the output of 'repquota /dev/???' ?
have you 'get quota command' in smb.conf global section?
hmm we may need to add more debug messages in some places...
sys_get_quota() should only fail when 'get quota command' or
sys_path_to_dev() fails.
Or on XFS :
case SMB_USER_FS_QUOTA_TYPE:
if ((ret = quotactl(QCMD(Q_XGETQSTAT,USRQUOTA), bdev, -1,
(CADDR_T)&F)))
return ret;
>[2003/07/24 15:22:30, 1] smbd/ntquotas.c:vfs_get_user_ntquota_list(192)
> no quota entry for sid[S-1-5-21-3155955837-4108667622-3601602090-1002]
>path[/msa/users]
>[2003/07/24 15:22:30, 1] smbd/ntquotas.c:vfs_get_user_ntquota_list(192)
> no quota entry for sid[S-1-5-21-3155955837-4108667622-3601602090-1004]
>path[/msa/users]
>[2003/07/24 15:22:30, 1] smbd/ntquotas.c:vfs_get_user_ntquota_list(192)
> no quota entry for sid[S-1-5-21-3155955837-4108667622-3601602090-1006]
>path[/msa/users]
>[2003/07/24 15:22:30, 1] smbd/ntquotas.c:vfs_get_user_ntquota_list(192)
> no quota entry for sid[S-1-5-21-3155955837-4108667622-3601602090-1008]
>path[/msa/users]
>[2003/07/24 15:22:30, 1] smbd/ntquotas.c:vfs_get_user_ntquota_list(192)
> no quota entry for sid[S-1-5-21-3155955837-4108667622-3601602090-1010]
>path[/msa/users]
>[2003/07/24 15:22:30, 1] smbd/ntquotas.c:vfs_get_user_ntquota_list(192)
> no quota entry for sid[S-1-5-21-3155955837-4108667622-3601602090-1012]
>path[/msa/users]
>[2003/07/24 15:22:30, 1] smbd/ntquotas.c:vfs_get_user_ntquota_list(192)
> no quota entry for sid[S-1-5-21-3155955837-4108667622-3601602090-1014]
>path[/msa/users]
That's ok we just need to move from DEBUG(1,... to DEBUG(10,...
Alexander can you change this for me?
>.........
>In log file gullies sid the given user it is specified
>
>[homes]
> path = /msa/users/%u
> comment = Home Directories
> browseable = yes
> writable = yes
> directory mask = 0700
> create mask = 0600
>[u$]
> path = /msa/users
> comment = Users Folders
> admin users = @"Domain Admins"
>
>?????
>Thank for answers, Alexey.
metze
-----------------------------------------------------------------------------
Stefan "metze" Metzmacher <metze at metzemix.de>
More information about the samba-technical
mailing list