Samba disabled user information?

Hi I am running zentyal server in backend samba has been configured.

where do I see the disable user log. I need a log like when the user has been disabled and when it has been used last. Kindly someone help me on this.

Thanks in advance :slight_smile:

Hi,
why don’t you ask your question in the zentyal forum?

Anyway, if you are looking for user information in samba you can use pdbedit.

## e.g. List all users
pdbedit -L -v

Disabled users are marked with the account flag β€œD”.
Example-Output for disabled user:

root@dc:~# pdbedit -u testuser -v

Unix username:        testuser
NT username:          
Account Flags:        [DU         ]
User SID:             S-1-5-21-3460744458-2259468265-3562077189-11366
Primary Group SID:    S-1-5-21-3460744458-2259468265-3562077189-513
Full Name:            Test User
Home Directory:       
HomeDir Drive:        (null)
Logon Script:         
Profile Path:         
Domain:               
Account desc:         
Workstations:         
Munged dial:          
Logon time:           0
Logoff time:          0
Kickoff time:         Thu, 14 Sep 30828 04:48:05 CEST
Password last set:    Fri, 06 Oct 2017 14:12:22 CEST
Password can change:  Fri, 06 Oct 2017 14:12:22 CEST
Password must change: never
Last bad password   : 0
Bad password count  : 0
Logon hours         : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Mastodon