https://github.com/CiscoCXSecurity/enum4linux

Basis

enum4linux [TARGET_DOMAIN]
Linux scan.

enum4linux -U [TARGET_DOMAIN]
Linux Users.

SMB

enum4linux -S [TARGET_DOMAIN]
List Samba Share.

Flags

-U
Get userlist.

-M
Get machine list.

-N
Get namelist dump (different from -U and-M).

-S
Get sharelist.

-P
Get password policy information.

-G
Get group and member list.

-A
All of the above (full basic enumeration).