Gitlab 2FA enabled, but Git request

Hi there,
I have enabled 2FA in GitLab, but after it i can’t push, pull or any other commands with LDAP password, its giving fatal: Authentication failed:

Can i do that without using personal access tokens ??

Yes, you can do that with personal access tokens and is the preferred method - it’s not recommended using passwords for that type of thing. Tokens can be restricted whereas passwords cannot.

thank you for answer.
Can i use only password?

When 2FA is enabled, no you cannot. Use access tokens. As I mentioned, preferred method is to use access tokens, even if 2FA is disabled for security reasons.

thank you for answer.
i have second problem can you help me about it too.

https://forum.gitlab.com/t/how-to-search-for-a-users-commits-and-more-when-they-are-blocked-on-gitlab-ldap/94642?u=awsmofficial