[Samba] quota-support seems to be broken in 3.0.6/3.0.7

Ingo Steuwer steuwer at univention.de
Tue Sep 14 11:01:52 GMT 2004


Some additional Information:

smbcquotas -vv  //server/share  -F -U Administrator

gives me after asking for my pasword:

Failed to open \$Extend/$Quota:$Q:$INDEX_ALLOCATION 
NT_STATUS_OBJECT_PATH_NOT_FOUND.

what (kind of) object is samba looking for ?

Thanks
Ingo Steuwer

Am Di, den 14.09.2004 schrieb Ingo Steuwer um 09:32:
> Hello
> 
> we're using samba based on the debian-package, which we translated
> including the configure-option "--with-quotas"
> 
> The user-interaction with quotas is OK, in his (the users) view the
> partition-size is limited to his quota-hard-limit. This works both with
> XFS and EXT3.
> 
> Windows (XP SP1 and SP2) administration of quota is not possible. Using
> 3.0.5 I can do a right-click->Eigenschaften (preferences) on a
> network-device and can set/modify quotas using the
> "Kontingentverwaltung" (quota administration). With samba 3.0.6 or 3.0.7
> this tab is missing. Is this a general problem or only with the
> debian-package ?
> 
> Debug level "6 quota:11" gives me the appended messages. As far as I can
> see the first difference apart from line-numbers is in "got message type
> 0x0 of len 0x64" from process.c:process_smb. Does it mean the client
> asks different or the server sends in a different way ?
> 
> Maybe anyone can give me a hint, more debug-output or testing through us
> is available.
> 
> Thanks in advance
> Ingo Steuwer
> 
> 
> 3.0.5 ================================================== :
> 
> [2004/09/14 03:41:46, 5] auth/auth_util.c:debug_unix_user_token(505)
>   UNIX token of user 0
>   Primary group is 5000 and contains 1 supplementary groups
>   Group[  0]: 5000
> [2004/09/14 03:41:46, 5] smbd/uid.c:change_to_user(267)
>   change_to_user uid=(0,0) gid=(0,5000)
> [2004/09/14 03:41:46, 4] smbd/vfs.c:vfs_ChDir(654)
>   vfs_ChDir to /home/Administrator
> [2004/09/14 03:41:46, 3] smbd/trans2.c:call_trans2qfsinfo(1804)
>   call_trans2qfsinfo: level = 1007
> [2004/09/14 03:41:46, 10] lib/sysquotas.c:sys_get_quota(391)
>   sys_get_quota() uid(0, 0)
> [2004/09/14 03:41:46, 10] lib/sysquotas_xfs.c:sys_get_xfs_quota(93)
>   sys_get_xfs_quota: path[/home] bdev[/dev/sda3] SMB_USER_QUOTA_TYPE
> uid[0]
> [2004/09/14 03:41:46, 10] lib/sysquotas.c:sys_get_quota(401)
>   sys_get_xfs_quota() called for mntpath[/home] bdev[/dev/sda3] qtype[2]
> id[0].
> [2004/09/14 03:41:46, 10] lib/sysquotas.c:sys_get_quota(391)
>   sys_get_quota() uid(0, 0)
> [2004/09/14 03:41:46, 10] lib/sysquotas_xfs.c:sys_get_xfs_quota(101)
>   sys_get_xfs_quota: path[/home] bdev[/dev/sda3] SMB_GROUP_QUOTA_TYPE
> gid[5000]
> [2004/09/14 03:41:46, 10] lib/sysquotas.c:sys_get_quota(401)
>   sys_get_xfs_quota() called for mntpath[/home] bdev[/dev/sda3] qtype[4]
> id[5000].
> [2004/09/14 03:41:46, 5] smbd/trans2.c:call_trans2qfsinfo(1963)
>   call_trans2qfsinfo : SMB_QUERY_FS_FULL_SIZE_INFO bsize=1024,
> cSectorUnit=2, cBytesSector=512, cUnitTotal=967120, cUnitAvail=910064
> [2004/09/14 03:41:46, 6] lib/util_sock.c:write_socket(432)
>   write_socket(22,92)
> [2004/09/14 03:41:46, 6] lib/util_sock.c:write_socket(435)
>   write_socket(22,92) wrote 92
> [2004/09/14 03:41:46, 4] smbd/trans2.c:call_trans2qfsinfo(2087)
>   SMBtrans2 info_level = 1007
> [2004/09/14 03:41:46, 6] smbd/process.c:process_smb(889)
>   got message type 0x0 of len 0xc8
> [2004/09/14 03:41:46, 3] smbd/process.c:process_smb(890)
>   Transaction 84 of length 204
> [2004/09/14 03:41:46, 5] lib/util.c:show_msg(456)
> [2004/09/14 03:41:46, 5] lib/util.c:show_msg(466)
>   size=200
>   smb_com=0x25
>   smb_rcls=0
>   smb_reh=0
>   smb_err=0
>   smb_flg=24
>   smb_flg2=51207
>   smb_tid=3
>   smb_pid=848
>   smb_uid=100
>   smb_mid=7554
>   smt_wct=16
>   smb_vwv[ 0]=    0 (0x0)
>   smb_vwv[ 1]=  116 (0x74)
>   smb_vwv[ 2]=    0 (0x0)
>   smb_vwv[ 3]= 1024 (0x400)
>   smb_vwv[ 4]=    0 (0x0)
>   smb_vwv[ 5]=    0 (0x0)
>   smb_vwv[ 6]=    0 (0x0)
>   smb_vwv[ 7]=    0 (0x0)
>   smb_vwv[ 8]=    0 (0x0)
>   smb_vwv[ 9]=    0 (0x0)
>   smb_vwv[10]=   84 (0x54)
>   smb_vwv[11]=  116 (0x74)
>   smb_vwv[12]=   84 (0x54)
>   smb_vwv[13]=    2 (0x2)
>   smb_vwv[14]=   38 (0x26)
>   smb_vwv[15]=28946 (0x7112)
>   smb_bcc=133
> [2004/09/14 03:41:46, 3] smbd/process.c:switch_message(685)
>   switch message SMBtrans (pid 19796)
> [2004/09/14 03:41:46, 3] smbd/sec_ctx.c:set_sec_ctx(288)
>   setting sec ctx (0, 5000) - sec_ctx_stack_ndx = 0
> 
> 3.0.6 ================================================== :
> 
> [2004/09/14 03:55:53, 5] auth/auth_util.c:debug_unix_user_token(505)
>   UNIX token of user 0
>   Primary group is 5000 and contains 1 supplementary groups
>   Group[  0]: 5000
> [2004/09/14 03:55:53, 5] smbd/uid.c:change_to_user(280)
>   change_to_user uid=(0,0) gid=(0,5000)
> [2004/09/14 03:55:53, 3] smbd/trans2.c:call_trans2qfsinfo(1814)
>   call_trans2qfsinfo: level = 1007
> [2004/09/14 03:55:53, 10] lib/sysquotas.c:sys_get_quota(391)
>   sys_get_quota() uid(0, 0)
> [2004/09/14 03:55:53, 10] lib/sysquotas_xfs.c:sys_get_xfs_quota(93)
>   sys_get_xfs_quota: path[/home] bdev[/dev/sda3] SMB_USER_QUOTA_TYPE
> uid[0]
> [2004/09/14 03:55:53, 10] lib/sysquotas.c:sys_get_quota(401)
>   sys_get_xfs_quota() called for mntpath[/home] bdev[/dev/sda3] qtype[2]
> id[0].
> [2004/09/14 03:55:53, 10] lib/sysquotas.c:sys_get_quota(391)
>   sys_get_quota() uid(0, 0)
> [2004/09/14 03:55:53, 10] lib/sysquotas_xfs.c:sys_get_xfs_quota(101)
>   sys_get_xfs_quota: path[/home] bdev[/dev/sda3] SMB_GROUP_QUOTA_TYPE
> gid[5000]
> [2004/09/14 03:55:53, 10] lib/sysquotas.c:sys_get_quota(401)
>   sys_get_xfs_quota() called for mntpath[/home] bdev[/dev/sda3] qtype[4]
> id[5000].
> [2004/09/14 03:55:53, 5] smbd/trans2.c:call_trans2qfsinfo(1973)
>   call_trans2qfsinfo : SMB_QUERY_FS_FULL_SIZE_INFO bsize=1024,
> cSectorUnit=2, cBytesSector=512, cUnitTotal=967120, cUnitAvail=910064
> [2004/09/14 03:55:53, 6] lib/util_sock.c:write_socket(449)
>   write_socket(22,92)
> [2004/09/14 03:55:53, 6] lib/util_sock.c:write_socket(452)
>   write_socket(22,92) wrote 92
> [2004/09/14 03:55:53, 4] smbd/trans2.c:call_trans2qfsinfo(2097)
>   SMBtrans2 info_level = 1007
> [2004/09/14 03:55:53, 6] smbd/process.c:process_smb(1091)
>   got message type 0x0 of len 0x64
> [2004/09/14 03:55:53, 3] smbd/process.c:process_smb(1092)
>   Transaction 75 of length 104
> [2004/09/14 03:55:53, 5] lib/util.c:show_msg(443)
> [2004/09/14 03:55:53, 5] lib/util.c:show_msg(453)
>   size=100
>   smb_com=0xa2
>   smb_rcls=0
>   smb_reh=0
>   smb_err=0
>   smb_flg=24
>   smb_flg2=51207
>   smb_tid=3
>   smb_pid=848
>   smb_uid=100
>   smb_mid=18880
>   smt_wct=24
>   smb_vwv[ 0]=  255 (0xFF)
>   smb_vwv[ 1]=57054 (0xDEDE)
>   smb_vwv[ 2]= 3584 (0xE00)
>   smb_vwv[ 3]= 5632 (0x1600)
>   smb_vwv[ 4]=    0 (0x0)
>   smb_vwv[ 5]=    0 (0x0)
>   smb_vwv[ 6]=    0 (0x0)
>   smb_vwv[ 7]=40704 (0x9F00)
>   smb_vwv[ 8]=  513 (0x201)
>   smb_vwv[ 9]=    0 (0x0)
>   smb_vwv[10]=    0 (0x0)
>   smb_vwv[11]=    0 (0x0)
>   smb_vwv[12]=    0 (0x0)
>   smb_vwv[13]=    0 (0x0)
>   smb_vwv[14]=    0 (0x0)
>   smb_vwv[15]=  768 (0x300)
>   smb_vwv[16]=    0 (0x0)
>   smb_vwv[17]=  256 (0x100)
>   smb_vwv[18]=    0 (0x0)
>   smb_vwv[19]=16384 (0x4000)
>   smb_vwv[20]=    0 (0x0)
>   smb_vwv[21]=  512 (0x200)
>   smb_vwv[22]=    0 (0x0)
>   smb_vwv[23]=  768 (0x300)
>   smb_bcc=17
> [2004/09/14 03:55:53, 3] smbd/process.c:switch_message(887)
>   switch message SMBntcreateX (pid 20785) conn 0x84358b0
> [2004/09/14 03:55:53, 3] smbd/sec_ctx.c:set_sec_ctx(288)
>   setting sec ctx (0, 5000) - sec_ctx_stack_ndx = 0
> 
> 
> -- 
> Ingo Steuwer       steuwer at univention.de         fon: +49 421 22 232- 0
> Entwicklung        Linux for Your Business       
> Univention GmbH    http://www.univention.de/     fax: +49 421 22 232-99
-- 
ACHTUNG: Wir sind umgezogen! Neue Adresse und Telefonnummer ab dem 1.8.04!
NEUE ADRESSE: Mary-Somerville-Straße 1;  D-28359 Bremen;  Deutschland

Ingo Steuwer       steuwer at univention.de         fon: +49 421 22 232- 0
Entwicklung        Linux for Your Business       
Univention GmbH    http://www.univention.de/     fax: +49 421 22 232-99



More information about the samba mailing list