Bluehost.com Web Hosting $6.95

[Samba] get quota command

This is a discussion on [Samba] get quota command within the Samba forums, part of the Networking and Network Related category; I'm running samba 3.0.13 on a debian box, sharing out NFS filesystems from a solaris box. I ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-21-2005
rick@oit.gatech.edu
 
Posts: n/a
Default [Samba] get quota command

I'm running samba 3.0.13 on a debian box, sharing out NFS filesystems
from a solaris box. I know, bad idea.. file locking, etc... non-issues
at the moment.

I've discovered that if I make a share from a local filesystem,
the PC's mounting the share see their quota (hard limit, not
soft which is another matter) as their capacity and their
appropriate free space... this is good.

When I share ouf the NFS mounted volume, the PC's see the entire
volume size and free space. Not so good. Okay fine, so I
wrote a little cheesy script to run run quota and report back and
defined it as "get quota command = myscript" in smb.conf.
This works great... mostly. I wasn't seeing the values I
expected to see, so I started dumping the arguments samba was
passing to my scipt. I expected 3 fields: Path, type of query, and
user/group ID. something like:
"." 1 32849 (user quota)
"." 3 1178 (group quota)

instead, I'm seeing samba pass:
"." 2 32849 (default user quota)
"." 4 1178 (default group quota)

Why is samba asking for the default user and group quotas instead of
the actual user and group quotas? From the documentation I would
have expected that if field 2 was a 2 or 4, then the uid/gid would be
-1. How can I make samba request the actual user and group's quota
instead of the defaults?

--
[ Rick Brown ][ (404) 894-6175 ]
[ Office of Information Technology ][ rick@oit.gatech.edu ]
[ Georgia Institute of Technology ][ 258 4th street. Atlanta, GA ]

----- End forwarded message -----

--
[ Rick Brown ][ (404) 894-6175 ]
[ Office of Information Technology ][ rick@oit.gatech.edu ]
[ Georgia Institute of Technology ][ 258 4th street. Atlanta, GA ]
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:46 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0