summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-06-20 20:43:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:18:53 -0500
commitadc252c27511b8aee09a8b4ef6e7a50894514837 (patch)
tree8ecd7664aa359ceaea9f716b170a47ceefa5e4d6 /source3/utils
parentca8b86c51a5941555d61b02b82fb6b7c4e674f08 (diff)
downloadsamba-adc252c27511b8aee09a8b4ef6e7a50894514837.tar.gz
samba-adc252c27511b8aee09a8b4ef6e7a50894514837.tar.bz2
samba-adc252c27511b8aee09a8b4ef6e7a50894514837.zip
r16429: Fix final 4 Klocwork bugs we're going to fix before
release - #785, #786, #787, #788. Jeremy. (This used to be commit 9017547cccadeecb80f3db58a43838dc656fce2f)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_rpc_samsync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_samsync.c b/source3/utils/net_rpc_samsync.c
index 85b086a02f..4f99c3035c 100644
--- a/source3/utils/net_rpc_samsync.c
+++ b/source3/utils/net_rpc_samsync.c
@@ -1025,7 +1025,7 @@ static NTSTATUS fetch_database(struct rpc_pipe_client *pipe_hnd, uint32 db_type,
static NTSTATUS populate_ldap_for_ldif(fstring sid, const char *suffix, const char
*builtin_sid, FILE *add_fd)
{
- char *user_suffix, *group_suffix, *machine_suffix, *idmap_suffix;
+ const char *user_suffix, *group_suffix, *machine_suffix, *idmap_suffix;
char *user_attr=NULL, *group_attr=NULL;
char *suffix_attr;
int len;