summaryrefslogtreecommitdiff
path: root/auth/credentials/credentials.c
AgeCommit message (Expand)AuthorFilesLines
2026-03-31auth: Check return of talloc_strdup() for NULLPavel Filipenský1-0/+3
2026-03-31auth: Call talloc_keep_secret() for sensitive memoryPavel Filipenský1-0/+2
2026-03-31auth: Call ZERO_ARRAY()/ZERO_STRUCT() for sensitive variables on stackPavel Filipenský1-0/+3
2026-03-25auth: Remove talloc_set_name_const() if talloc_keep_secret() changes the tall...Pavel Filipenský1-4/+0
2026-03-25auth/credentials: Add talloc_keep_secret() to zero out old_passwordPavel Filipenský1-2/+1
2026-03-25auth/credentials: Check talloc_strdup() for NULLPavel Filipenský1-4/+9
2025-08-26auth: fix docs for cli_credentials_get_password_and_obtained()Douglas Bagnall1-1/+1
2025-08-25auth:creds: Update the documentation for set_principal and set_realmAndreas Schneider1-6/+31
2025-08-25auth:creds: Make sure to uppercase the realm of a principalAndreas Schneider1-8/+32
2025-08-25auth:creds: Validate realm names in set_realm and set_principalAndreas Schneider1-0/+25
2025-08-25auth:creds: Keep the password secretAndreas Schneider1-0/+1
2025-08-25auth:creds: Allow to reset the principal by passing NULL to set_principalAndreas Schneider1-5/+10
2025-08-25auth:creds: Also uppercase realm set via a callbackAndreas Schneider1-1/+12
2025-08-25auth:creds: Allow to reset the realm by passing NULLAndreas Schneider1-1/+8
2025-08-05auth:creds: Make sure when parsing username that realm is uppercaseAndreas Schneider1-0/+7
2024-10-30auth/credentials: remove unused netlogon_creds_session_encrypt()Stefan Metzmacher1-46/+0
2024-06-24credentials: Protect the cred's nt hash with talloc_keep_secretVolker Lendecke1-0/+5
2024-06-19auth/credentials: add cli_credentials_get_kerberos_state_obtained() helperStefan Metzmacher1-0/+5
2024-06-04creds: Add cli_credentials_add_gensec_featuresVolker Lendecke1-0/+9
2024-05-07auth/credentials: add cli_credentials_get_username_obtained()Stefan Metzmacher1-0/+12
2024-05-07auth/credentials: add cli_credentials_get_password_obtained()Stefan Metzmacher1-0/+13
2024-05-07auth/credentials: add cli_credentials_get_principal_obtained()Stefan Metzmacher1-0/+58
2024-04-16lib: Give lib/util/util_file.c its own header fileVolker Lendecke1-0/+1
2023-12-10auth:creds: Add cli_credentials_get_domain_and_obtained()Andreas Schneider1-0/+22
2023-12-10auth:creds: Fix cli_credentials_get_password_and_obtained() with callbackAndreas Schneider1-1/+3
2023-09-11auth:credentials: Check if password_obtained > obtainedSamuel Cabrero1-0/+4
2023-08-08auth: Add missing newlines to logging messagesJoseph Sutton1-1/+1
2023-08-08auth: Add missing newlines to logging messagesJoseph Sutton1-2/+2
2023-03-28auth: Fix code spellingAndreas Schneider1-5/+5
2023-03-03auth/credentials: Fix typosJoseph Sutton1-3/+3
2023-03-03auth/credentials: Fix off-by-one buffer writeJoseph Sutton1-1/+1
2021-11-10auth:creds: Guess the username first via getpwuid(my_id)Andreas Schneider1-0/+13
2021-11-10auth:creds: Remove trailing spacesAndreas Schneider1-56/+56
2021-06-29auth:creds: Return bool for cli_credentials_guess()Andreas Schneider1-11/+30
2021-06-29auth:creds: Add sanity check for env variablesAndreas Schneider1-18/+45
2021-06-29auth:creds: Return a bool for cli_credentials_set_conf()Andreas Schneider1-16/+71
2021-04-28auth:creds: Add cli_credentials_get_password_and_obtained()Andreas Schneider1-0/+20
2021-04-28auth:creds: Add cli_credentials_get_username_and_obtained()Andreas Schneider1-0/+20
2021-04-28auth:creds: Add obtained arg to cli_credentials_set_gensec_features()Andreas Schneider1-4/+29
2021-04-28auth:creds: Use 'client protection' option for smb sign and encrypt defaultsAndreas Schneider1-0/+30
2021-04-28auth:creds: Add obtained arg to cli_credentials_set_kerberos_state()Andreas Schneider1-8/+25
2021-03-24auth:creds: Free the uname pointer in cli_credentials_parse_string()Andreas Schneider1-0/+6
2020-12-16auth:creds: Add cli_credentials_dump()Andreas Schneider1-0/+161
2020-11-05Revert "cli_credentials: add a helper to parse user or group names"Alexander Bokovoy1-18/+0
2020-11-05Revert "cli_credentials_parse_string: fix parsing of principals"Alexander Bokovoy1-2/+3
2020-11-04cli_credentials: add a helper to parse user or group namesAlexander Bokovoy1-0/+18
2020-11-04cli_credentials_parse_string: fix parsing of principalsAlexander Bokovoy1-3/+2
2020-11-03auth:creds: Rename CRED_USE_KERBEROS valuesAndreas Schneider1-3/+5
2020-09-07auth:creds: Add cli_credentials_init_server()Andreas Schneider1-0/+25
2020-08-19auth:creds: Add cli_credentials_(get|set)_smb_encryption()Andreas Schneider1-0/+45