summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-12-10 11:22:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:46 -0500
commit661c5c741a5285a5ddf8c1fc74ba50335f1c1931 (patch)
tree302c96613f7b9981097d8a2e84b59489d815ebcd /source3/smbd
parent78fa625d2532da8e17ac599455f41db373f9c1ba (diff)
downloadsamba-661c5c741a5285a5ddf8c1fc74ba50335f1c1931.tar.gz
samba-661c5c741a5285a5ddf8c1fc74ba50335f1c1931.tar.bz2
samba-661c5c741a5285a5ddf8c1fc74ba50335f1c1931.zip
r12163: Change lookup_sid and lookup_name to return const char * instead of char *,
use a temporary talloc_ctx for clarity. Volker (This used to be commit b15815c804bf3e558ed6357b5e9a6e3e0fac777f)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/lanman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c
index 90e36e2a83..4778702e7a 100644
--- a/source3/smbd/lanman.c
+++ b/source3/smbd/lanman.c
@@ -1894,7 +1894,7 @@ static BOOL api_NetUserGetGroups(connection_struct *conn,uint16 vuid, char *para
for (i=0; i<num_groups; i++) {
- char *grp_name;
+ const char *grp_name;
if ( lookup_sid(sampw->mem_ctx, &sids[i], NULL, &grp_name,
NULL) ) {