How to check my quota from terminal using LDAP












0















We are using a (synology) fileserver in combination with LDAP to host all the home directories for our users. Every user gets assigned a certain quota of how many GB he is allowed to use in his home directory.



Is there a way to check how large the quota is allowed by the LDAP fileserver?
Something equivalent to



df -h


for local partitions










share|improve this question























  • "Every user gets assigned a certain quota" sure but that has no relation with ldap? I would assume the relation here is the quota command?!

    – Rinzwind
    Jan 15 at 9:58
















0















We are using a (synology) fileserver in combination with LDAP to host all the home directories for our users. Every user gets assigned a certain quota of how many GB he is allowed to use in his home directory.



Is there a way to check how large the quota is allowed by the LDAP fileserver?
Something equivalent to



df -h


for local partitions










share|improve this question























  • "Every user gets assigned a certain quota" sure but that has no relation with ldap? I would assume the relation here is the quota command?!

    – Rinzwind
    Jan 15 at 9:58














0












0








0








We are using a (synology) fileserver in combination with LDAP to host all the home directories for our users. Every user gets assigned a certain quota of how many GB he is allowed to use in his home directory.



Is there a way to check how large the quota is allowed by the LDAP fileserver?
Something equivalent to



df -h


for local partitions










share|improve this question














We are using a (synology) fileserver in combination with LDAP to host all the home directories for our users. Every user gets assigned a certain quota of how many GB he is allowed to use in his home directory.



Is there a way to check how large the quota is allowed by the LDAP fileserver?
Something equivalent to



df -h


for local partitions







bash ldap






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 15 at 9:54









mcExchangemcExchange

70931423




70931423













  • "Every user gets assigned a certain quota" sure but that has no relation with ldap? I would assume the relation here is the quota command?!

    – Rinzwind
    Jan 15 at 9:58



















  • "Every user gets assigned a certain quota" sure but that has no relation with ldap? I would assume the relation here is the quota command?!

    – Rinzwind
    Jan 15 at 9:58

















"Every user gets assigned a certain quota" sure but that has no relation with ldap? I would assume the relation here is the quota command?!

– Rinzwind
Jan 15 at 9:58





"Every user gets assigned a certain quota" sure but that has no relation with ldap? I would assume the relation here is the quota command?!

– Rinzwind
Jan 15 at 9:58










1 Answer
1






active

oldest

votes


















0














You question is not completely clear to me but the generic method to view a users quota on a Linux system would be with:



quota -u $USER


If you use samba and NTFS shares you can also use



smbcquotas -u $USER


from the users side.



But both are not related to LDAP: LDAP is a directory access protocol; Quotas are not a part of that but can be a part of the total setup if you include samba or the native quota tools on Ubuntu.






share|improve this answer
























  • The quota command outputs nothing and the smbcquotas command does not exist, also there wasn't any ubuntu package with the same name installable via apt-get

    – mcExchange
    Jan 17 at 15:21











  • Then I would assume your problem is on the server where LDAP is active (what is running there?) and not on the Ubuntu server. Or that it is part of software used on the fileserver (ie. a 3rd party tool that is not using the native Linux tools).

    – Rinzwind
    Jan 17 at 15:59











  • That might be. The Server is from synology and their operating system is called DiskStation Manager which apparantly is Linux based.

    – mcExchange
    Jan 17 at 16:12











  • So you dont know if this is Ubuntu related?

    – Rinzwind
    Jan 17 at 17:06











  • Well, good question. I'm using Ubuntu 16.04. However since LDAP is provided by some fileserver, it might also be an issue of the fileserver or LDAP. I guess the question is if LDAP is equiped with some means of checking the quota.

    – mcExchange
    Jan 18 at 9:25











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1109879%2fhow-to-check-my-quota-from-terminal-using-ldap%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














You question is not completely clear to me but the generic method to view a users quota on a Linux system would be with:



quota -u $USER


If you use samba and NTFS shares you can also use



smbcquotas -u $USER


from the users side.



But both are not related to LDAP: LDAP is a directory access protocol; Quotas are not a part of that but can be a part of the total setup if you include samba or the native quota tools on Ubuntu.






share|improve this answer
























  • The quota command outputs nothing and the smbcquotas command does not exist, also there wasn't any ubuntu package with the same name installable via apt-get

    – mcExchange
    Jan 17 at 15:21











  • Then I would assume your problem is on the server where LDAP is active (what is running there?) and not on the Ubuntu server. Or that it is part of software used on the fileserver (ie. a 3rd party tool that is not using the native Linux tools).

    – Rinzwind
    Jan 17 at 15:59











  • That might be. The Server is from synology and their operating system is called DiskStation Manager which apparantly is Linux based.

    – mcExchange
    Jan 17 at 16:12











  • So you dont know if this is Ubuntu related?

    – Rinzwind
    Jan 17 at 17:06











  • Well, good question. I'm using Ubuntu 16.04. However since LDAP is provided by some fileserver, it might also be an issue of the fileserver or LDAP. I guess the question is if LDAP is equiped with some means of checking the quota.

    – mcExchange
    Jan 18 at 9:25
















0














You question is not completely clear to me but the generic method to view a users quota on a Linux system would be with:



quota -u $USER


If you use samba and NTFS shares you can also use



smbcquotas -u $USER


from the users side.



But both are not related to LDAP: LDAP is a directory access protocol; Quotas are not a part of that but can be a part of the total setup if you include samba or the native quota tools on Ubuntu.






share|improve this answer
























  • The quota command outputs nothing and the smbcquotas command does not exist, also there wasn't any ubuntu package with the same name installable via apt-get

    – mcExchange
    Jan 17 at 15:21











  • Then I would assume your problem is on the server where LDAP is active (what is running there?) and not on the Ubuntu server. Or that it is part of software used on the fileserver (ie. a 3rd party tool that is not using the native Linux tools).

    – Rinzwind
    Jan 17 at 15:59











  • That might be. The Server is from synology and their operating system is called DiskStation Manager which apparantly is Linux based.

    – mcExchange
    Jan 17 at 16:12











  • So you dont know if this is Ubuntu related?

    – Rinzwind
    Jan 17 at 17:06











  • Well, good question. I'm using Ubuntu 16.04. However since LDAP is provided by some fileserver, it might also be an issue of the fileserver or LDAP. I guess the question is if LDAP is equiped with some means of checking the quota.

    – mcExchange
    Jan 18 at 9:25














0












0








0







You question is not completely clear to me but the generic method to view a users quota on a Linux system would be with:



quota -u $USER


If you use samba and NTFS shares you can also use



smbcquotas -u $USER


from the users side.



But both are not related to LDAP: LDAP is a directory access protocol; Quotas are not a part of that but can be a part of the total setup if you include samba or the native quota tools on Ubuntu.






share|improve this answer













You question is not completely clear to me but the generic method to view a users quota on a Linux system would be with:



quota -u $USER


If you use samba and NTFS shares you can also use



smbcquotas -u $USER


from the users side.



But both are not related to LDAP: LDAP is a directory access protocol; Quotas are not a part of that but can be a part of the total setup if you include samba or the native quota tools on Ubuntu.







share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 15 at 10:05









RinzwindRinzwind

205k28392526




205k28392526













  • The quota command outputs nothing and the smbcquotas command does not exist, also there wasn't any ubuntu package with the same name installable via apt-get

    – mcExchange
    Jan 17 at 15:21











  • Then I would assume your problem is on the server where LDAP is active (what is running there?) and not on the Ubuntu server. Or that it is part of software used on the fileserver (ie. a 3rd party tool that is not using the native Linux tools).

    – Rinzwind
    Jan 17 at 15:59











  • That might be. The Server is from synology and their operating system is called DiskStation Manager which apparantly is Linux based.

    – mcExchange
    Jan 17 at 16:12











  • So you dont know if this is Ubuntu related?

    – Rinzwind
    Jan 17 at 17:06











  • Well, good question. I'm using Ubuntu 16.04. However since LDAP is provided by some fileserver, it might also be an issue of the fileserver or LDAP. I guess the question is if LDAP is equiped with some means of checking the quota.

    – mcExchange
    Jan 18 at 9:25



















  • The quota command outputs nothing and the smbcquotas command does not exist, also there wasn't any ubuntu package with the same name installable via apt-get

    – mcExchange
    Jan 17 at 15:21











  • Then I would assume your problem is on the server where LDAP is active (what is running there?) and not on the Ubuntu server. Or that it is part of software used on the fileserver (ie. a 3rd party tool that is not using the native Linux tools).

    – Rinzwind
    Jan 17 at 15:59











  • That might be. The Server is from synology and their operating system is called DiskStation Manager which apparantly is Linux based.

    – mcExchange
    Jan 17 at 16:12











  • So you dont know if this is Ubuntu related?

    – Rinzwind
    Jan 17 at 17:06











  • Well, good question. I'm using Ubuntu 16.04. However since LDAP is provided by some fileserver, it might also be an issue of the fileserver or LDAP. I guess the question is if LDAP is equiped with some means of checking the quota.

    – mcExchange
    Jan 18 at 9:25

















The quota command outputs nothing and the smbcquotas command does not exist, also there wasn't any ubuntu package with the same name installable via apt-get

– mcExchange
Jan 17 at 15:21





The quota command outputs nothing and the smbcquotas command does not exist, also there wasn't any ubuntu package with the same name installable via apt-get

– mcExchange
Jan 17 at 15:21













Then I would assume your problem is on the server where LDAP is active (what is running there?) and not on the Ubuntu server. Or that it is part of software used on the fileserver (ie. a 3rd party tool that is not using the native Linux tools).

– Rinzwind
Jan 17 at 15:59





Then I would assume your problem is on the server where LDAP is active (what is running there?) and not on the Ubuntu server. Or that it is part of software used on the fileserver (ie. a 3rd party tool that is not using the native Linux tools).

– Rinzwind
Jan 17 at 15:59













That might be. The Server is from synology and their operating system is called DiskStation Manager which apparantly is Linux based.

– mcExchange
Jan 17 at 16:12





That might be. The Server is from synology and their operating system is called DiskStation Manager which apparantly is Linux based.

– mcExchange
Jan 17 at 16:12













So you dont know if this is Ubuntu related?

– Rinzwind
Jan 17 at 17:06





So you dont know if this is Ubuntu related?

– Rinzwind
Jan 17 at 17:06













Well, good question. I'm using Ubuntu 16.04. However since LDAP is provided by some fileserver, it might also be an issue of the fileserver or LDAP. I guess the question is if LDAP is equiped with some means of checking the quota.

– mcExchange
Jan 18 at 9:25





Well, good question. I'm using Ubuntu 16.04. However since LDAP is provided by some fileserver, it might also be an issue of the fileserver or LDAP. I guess the question is if LDAP is equiped with some means of checking the quota.

– mcExchange
Jan 18 at 9:25


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1109879%2fhow-to-check-my-quota-from-terminal-using-ldap%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to make a Squid Proxy server?

Is this a new Fibonacci Identity?

19世紀