Hi everyone, got a problem here. Here's the scenario:
* We're using an NT domain and we're using numbers as our login ID such as 163, 181 etc.
* I've configured a samba 2.06 using RedHat 6.2 for use as a file server because we're having problems with disk storage. I want to use Linux's quota capability to our present problem.
* Since Linux uses numbers as IDs for usernames I cannot use our user account on Linux. What I did was create another user account on Linux such as mvv163.
* Then on smb.conf, I used username map parameter to map mvv163 to user 163. This way I can access shares on samba dedicated to mvv163.
* I configured quota on blocks for user mvv163 to 10 KB for Soft Limits and 20 KB for Hard Limits.
* When I tested the configuration, the quotas doesn't seem to work. It continues to store files even if I've exceeded the quota limit. Until I've copied over 124 files w/c are not using almost 1 MB of disk space, it's only then that I receive disk full messages.
* I tested linux quota via ftp'ing to linux w/ mvv163 as login and tried transferring files. Quota works if I use mvv163 as login.
* Even if I create a mvv163 username on windows, quota still doesn't work.
I think it has something to do with the username map parameter in samba, linux is not treating the login 163 from windows as mvv163 in relation to the quota software. Does anyone have a solution to this? A fix maybe? Thanks in advance to anyone who can provide info on this.
* We're using an NT domain and we're using numbers as our login ID such as 163, 181 etc.
* I've configured a samba 2.06 using RedHat 6.2 for use as a file server because we're having problems with disk storage. I want to use Linux's quota capability to our present problem.
* Since Linux uses numbers as IDs for usernames I cannot use our user account on Linux. What I did was create another user account on Linux such as mvv163.
* Then on smb.conf, I used username map parameter to map mvv163 to user 163. This way I can access shares on samba dedicated to mvv163.
* I configured quota on blocks for user mvv163 to 10 KB for Soft Limits and 20 KB for Hard Limits.
* When I tested the configuration, the quotas doesn't seem to work. It continues to store files even if I've exceeded the quota limit. Until I've copied over 124 files w/c are not using almost 1 MB of disk space, it's only then that I receive disk full messages.
* I tested linux quota via ftp'ing to linux w/ mvv163 as login and tried transferring files. Quota works if I use mvv163 as login.
* Even if I create a mvv163 username on windows, quota still doesn't work.
I think it has something to do with the username map parameter in samba, linux is not treating the login 163 from windows as mvv163 in relation to the quota software. Does anyone have a solution to this? A fix maybe? Thanks in advance to anyone who can provide info on this.