search for: used_fil

Displaying 2 results from an estimated 2 matches for "used_fil".

Did you mean: used_files
2004 May 07
3
samba quotas
Hi guys, we need to update our samba service from 2.2.8a to samba 3.0.x (so that we can upgrade our AD from Win2k to Win2k3). The problem I am having is with the quotas. We mount user home directories NFS and then export them to Windows users via samba. In 2.2.8a I was able to get quotas working. However with samba 3.0.x, I cannot. I compiled --with-quotas. Now when a user uses a 3.0
2002 Apr 17
1
dfree command
...otas The problem is the quotas won't be displayed in Samba. So I've tried to write my own dfree command and add it in smb.conf. dfree.sh: #!/bin/sh used_space=`/usr/bin/quota -u $1 | tail -1 | awk '{print $2}'` quota_space=`/usr/bin/quota -u $1 | tail -1 | awk '{print $4}'` used_files=`/usr/bin/quota -u $1 | tail -1 | awk '{print $5}'` quota_files=`/usr/bin/quota -u $1 | tail -1 | awk '{print $7}'` if [ "$used_files" == "$quota_files" ]; then used_space=$quota_space fi free_space=`expr $quota_space - $used_space` echo "$quota_sp...