1
0
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:
Andrew Bartlett
2007-09-03 07:56:29 +00:00
committed by Gerald (Jerry) Carter
parent 0d56ab59c5
commit a42d0eb531
2 changed files with 5 additions and 3 deletions

View File

@@ -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));