# enum4linux For UNIX-like systems running Samba, [enum4linux](https://null-byte.wonderhowto.com/how-to/enumerate-smb-with-enum4linux-smbclient-0198049/) works well. ```bash enum4linux -a $TARGET_IP ``` As of the time of this writing (November 5, 2021) however, it looks like [enum4linux's normal user enumeration has been broken for quite some time](https://github.com/CiscoCXSecurity/enum4linux/issues/4). However, the "RID cycling" method of discovering users still works - so just call enum4linux with either the `-r` flag (to specifically use RID cycling to enumerate users) or the `-a` flag (which does a complete enumeration, including RID cycling) rather than the `-U` flag.