summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-06-08 20:15:56 +0200
committerVolker Lendecke <vl@samba.org>2009-06-08 21:14:10 +0200
commitaf82489b41c8fa621dc4c8abe5bfdf107b6bec43 (patch)
tree427b761ae1e0d585848462b7a0e113d205801215
parent7ab4d3fa4305fdfbd33f9f643051123effba56f4 (diff)
downloadsamba-af82489b41c8fa621dc4c8abe5bfdf107b6bec43.tar.gz
samba-af82489b41c8fa621dc4c8abe5bfdf107b6bec43.tar.bz2
samba-af82489b41c8fa621dc4c8abe5bfdf107b6bec43.zip
Do not use a variable format string
-rw-r--r--source3/passdb/pdb_ads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_ads.c b/source3/passdb/pdb_ads.c
index 0ae1a8d0da..29605ab5f2 100644
--- a/source3/passdb/pdb_ads.c
+++ b/source3/passdb/pdb_ads.c
@@ -266,7 +266,7 @@ static bool pdb_ads_init_ads_from_sam(struct pdb_ads_state *state,
ret &= tldap_make_mod_fmt(
existing, mem_ctx, pnum_mods, pmods, "displayName",
- pdb_get_fullname(sam));
+ "%s", pdb_get_fullname(sam));
ret &= tldap_make_mod_blob(
existing, mem_ctx, pnum_mods, pmods, "unicodePwd",