From 943aac2e366b781136cfff467b7ea5631890ebdd Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 16 Feb 2011 16:47:23 +0100 Subject: s3: Add "len" to pdb_set_hours --- source3/passdb/pdb_ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/passdb/pdb_ldap.c') diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c index a884b305ed..573c50520e 100644 --- a/source3/passdb/pdb_ldap.c +++ b/source3/passdb/pdb_ldap.c @@ -1027,7 +1027,7 @@ static bool init_sam_from_ldap(struct ldapsam_privates *ldap_state, if (temp) { pdb_gethexhours(temp, hours); memset((char *)temp, '\0', strlen(temp) +1); - pdb_set_hours(sampass, hours, PDB_SET); + pdb_set_hours(sampass, hours, hours_len, PDB_SET); ZERO_STRUCT(hours); } -- cgit