Skip to content

Commit

Permalink
Update bh_41.rs
Browse files Browse the repository at this point in the history
Fixing samaccountname spelling mistake #21
  • Loading branch information
g0h4n authored Dec 8, 2023
1 parent 6778f1c commit a14c613
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/json/parser/bh_41.rs
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ pub fn parse_group(
group_json["Properties"]["admincount"] = admincount.into();
}
"sAMAccountName" => {
group_json["Properties"]["samaccoutname"] = value[0].to_owned().into();
group_json["Properties"]["samaccountname"] = value[0].to_owned().into();
}
"member" => {
if value.len() > 0 {
Expand Down Expand Up @@ -586,7 +586,7 @@ pub fn parse_computer(
computer_json["Properties"]["name"] = email.to_uppercase().into();
}
"sAMAccountName" => {
computer_json["Properties"]["samaccoutname"] = value[0].to_owned().into();
computer_json["Properties"]["samaccountname"] = value[0].to_owned().into();
}
"dNSHostName" => {
computer_json["Properties"]["name"] = value[0].to_uppercase().into();
Expand Down Expand Up @@ -1480,4 +1480,4 @@ pub fn parse_unknown(result: SearchEntry, _domain: &String) -> serde_json::value
//}

return unknown_json
}
}

0 comments on commit a14c613

Please sign in to comment.