LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   How to Display Report of Quota from Linux to Windows (https://www.linuxquestions.org/questions/linux-server-73/how-to-display-report-of-quota-from-linux-to-windows-4175413746/)

j0n1509 06-27-2012 08:31 PM

How to Display Report of Quota from Linux to Windows
 
Dear All,

I have a problem and need for help. I have file server that using samba for file sharing, and i set quota on it. all the client that using that file server is using windows. so map network drive as Y:. I need to built a script or something that can display how many quota left for each client that using that file server. As far as i know in linux using repquota, but how that can display on computer client that using windows.
So every time user login to file server it shows pop up message that display quota left, quota already used, etc

I appreciate for the help. many thanks

Kustom42 06-29-2012 04:49 PM

You will probably need to create a powershell or vb script on the windows client machine that checks this and displays it to the user, you should be able to check the stuff via SSH on the server but I don't think you can display that info to the user on login for windows clients.

Now I may be wrong here as I've never really attempted anything like this but from my knowledge of samba/cifs I don't think its possible on the server side.

You may want to consider posting this topic in a windows powershell forum to get some input from that side of things.

j0n1509 06-29-2012 05:04 PM

Ok, thx for your input, i apreciate it. so i will post to windows powershell forum.


All times are GMT -5. The time now is 11:24 PM.