mirror of
https://github.com/samba-team/samba.git
synced 2025-10-28 03:33:13 +03:00
r24918: Fix the build (forgot to include dcesrv_lsa.c in the previous commit)
and improve error strings returned from samdb.c Andrew Bartlett
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
0d56ab59c5
commit
a42d0eb531
@@ -2284,7 +2284,7 @@ static NTSTATUS dcesrv_lsa_CreateSecret(struct dcesrv_call_state *dce_call, TALL
|
||||
|
||||
/* pull in all the template attributes. Note this is always from the global samdb */
|
||||
ret = samdb_copy_template(secret_state->policy->sam_ldb, msg,
|
||||
"(&(cn=TemplateSecret)(objectclass=secretTemplate))", &errstr);
|
||||
"secret", &errstr);
|
||||
if (ret != 0) {
|
||||
DEBUG(0,("Failed to load TemplateSecret from samdb: %s\n",
|
||||
errstr));
|
||||
|
||||
Reference in New Issue
Block a user