diff options
author | Andrew Bartlett <abartlet@samba.org> | 2007-09-03 07:56:29 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:03:38 -0500 |
commit | 6a92d816a7dc97b8ca8a1b2419c31515add5ac87 (patch) | |
tree | a87d6453993f131fe60924cca8bb649a8beee883 /source4/rpc_server/lsa | |
parent | b93a941214b82448a15c3d936bb21dcda2a5287e (diff) | |
download | samba-6a92d816a7dc97b8ca8a1b2419c31515add5ac87.tar.gz samba-6a92d816a7dc97b8ca8a1b2419c31515add5ac87.tar.bz2 samba-6a92d816a7dc97b8ca8a1b2419c31515add5ac87.zip |
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 used to be commit a42d0eb531e663304bea840d614b2f91f95dd818)
Diffstat (limited to 'source4/rpc_server/lsa')
-rw-r--r-- | source4/rpc_server/lsa/dcesrv_lsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/lsa/dcesrv_lsa.c b/source4/rpc_server/lsa/dcesrv_lsa.c index 72f12564ed..531cfc49e5 100644 --- a/source4/rpc_server/lsa/dcesrv_lsa.c +++ b/source4/rpc_server/lsa/dcesrv_lsa.c @@ -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)); |