summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-10-13 14:55:32 +0200
committerGünther Deschner <gd@samba.org>2011-10-14 12:07:25 +0200
commit876f48ffb134f844de9846086fad66be15af98fb (patch)
tree232f29a9b3b51ababc0062a8d23e7187e4dac343 /source3
parentd47c25401a9a553f39be9adf079dc7c462244d81 (diff)
downloadsamba-876f48ffb134f844de9846086fad66be15af98fb.tar.gz
samba-876f48ffb134f844de9846086fad66be15af98fb.tar.bz2
samba-876f48ffb134f844de9846086fad66be15af98fb.zip
s3-passdb: remove fstring from pdb_set_user_sid_from_string().
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/include/passdb.h2
-rw-r--r--source3/passdb/pdb_get_set.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/passdb.h b/source3/include/passdb.h
index b8e7e0a8ab..cd3880c296 100644
--- a/source3/include/passdb.h
+++ b/source3/include/passdb.h
@@ -757,7 +757,7 @@ bool pdb_set_hours_len(struct samu *sampass, uint32_t len, enum pdb_value_state
bool pdb_set_logon_divs(struct samu *sampass, uint16_t hours, enum pdb_value_state flag);
bool pdb_set_init_flags(struct samu *sampass, enum pdb_elements element, enum pdb_value_state value_flag);
bool pdb_set_user_sid(struct samu *sampass, const struct dom_sid *u_sid, enum pdb_value_state flag);
-bool pdb_set_user_sid_from_string(struct samu *sampass, fstring u_sid, enum pdb_value_state flag);
+bool pdb_set_user_sid_from_string(struct samu *sampass, const char *u_sid, enum pdb_value_state flag);
bool pdb_set_group_sid(struct samu *sampass, const struct dom_sid *g_sid, enum pdb_value_state flag);
bool pdb_set_username(struct samu *sampass, const char *username, enum pdb_value_state flag);
bool pdb_set_domain(struct samu *sampass, const char *domain, enum pdb_value_state flag);
diff --git a/source3/passdb/pdb_get_set.c b/source3/passdb/pdb_get_set.c
index d0d7317e68..cf79a7f83a 100644
--- a/source3/passdb/pdb_get_set.c
+++ b/source3/passdb/pdb_get_set.c
@@ -473,7 +473,7 @@ bool pdb_set_user_sid(struct samu *sampass, const struct dom_sid *u_sid, enum pd
return pdb_set_init_flags(sampass, PDB_USERSID, flag);
}
-bool pdb_set_user_sid_from_string(struct samu *sampass, fstring u_sid, enum pdb_value_state flag)
+bool pdb_set_user_sid_from_string(struct samu *sampass, const char *u_sid, enum pdb_value_state flag)
{
struct dom_sid new_sid;