mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
pam_winbind: do not add empty blob.
Guenther
This commit is contained in:
parent
540b2df874
commit
85dec69171
@ -2369,6 +2369,7 @@ static int _pam_delete_cred(pam_handle_t *pamh, int flags,
|
||||
|
||||
logoff.username = user;
|
||||
|
||||
if (ccname) {
|
||||
wbc_status = wbcAddNamedBlob(&logoff.num_blobs,
|
||||
&logoff.blobs,
|
||||
"ccfilename",
|
||||
@ -2378,6 +2379,7 @@ static int _pam_delete_cred(pam_handle_t *pamh, int flags,
|
||||
if (!WBC_ERROR_IS_OK(wbc_status)) {
|
||||
goto out;
|
||||
}
|
||||
}
|
||||
|
||||
wbc_status = wbcAddNamedBlob(&logoff.num_blobs,
|
||||
&logoff.blobs,
|
||||
|
Loading…
Reference in New Issue
Block a user