Project

General

Profile

Feature #12962

add "-p" flag to make "smbadm lookup" output parser friendly

Added by chao wang 24 days ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Add a new "-p" flag to "smbadm lookup" command to make the output parser friendly as: <SID>:<Type>:<Name>:[Domain]
For example:

#smbadm lookup -p "Domain Users"
S-1-5-21-191111111-311111111-1111111111-111:2:Domain Users:domain.com

  1. smbadm lookup -p "Everyone"
    S-1-1-0:5:Everyone:

Also available in: Atom PDF