Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

Commit

Permalink
remove debug console.log() calls
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaboud committed May 12, 2021
1 parent 7a57cae commit 8e733e1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions samba-manager/samba-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,13 @@ function get_global_conf() {
function get_domain_range() {
if("security" in global_samba_conf && global_samba_conf["security"] === "ads"){
using_domain = true;
console.log("using domain");
for(let key of Object.keys(global_samba_conf)) {
if(/idmap-config.*range/.test(key)){
var lower_range = parseInt(global_samba_conf[key].split('-')[0].trim());
if(typeof domain_lower_limit === 'undefined' || lower_range < domain_lower_limit)
domain_lower_limit = lower_range;
}
}
console.log(domain_lower_limit);
}
}

Expand Down

0 comments on commit 8e733e1

Please sign in to comment.