[Pkg-samba-maint] [samba] 104/135: s3-libnet: Use a const char for realm.

Ivo De Decker ivodd at moszumanska.debian.org
Sat Jan 11 21:30:30 UTC 2014


This is an automated email from the git hooks/post-receive script.

ivodd pushed a commit to branch master
in repository samba.

commit 9d44b17573297d277904818d3f230ae423f5b4ea
Author: Andreas Schneider <asn at samba.org>
Date:   Fri Nov 15 17:02:20 2013 +0100

    s3-libnet: Use a const char for realm.
    
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Jeremy Allison <jra at samba.org>
    
    Autobuild-User(master): Jeremy Allison <jra at samba.org>
    Autobuild-Date(master): Fri Nov 15 23:11:54 CET 2013 on sn-devel-104
    
    (cherry picked from commit d02d70251f98ea2e7db4aea36f372cb0f65c04c5)
    
    The last 9 patches address bug #10274 - Fix several issues and warnings from
    analyzer tools.
    
    Autobuild-User(v4-1-test): Karolin Seeger <kseeger at samba.org>
    Autobuild-Date(v4-1-test): Tue Nov 26 22:33:13 CET 2013 on sn-devel-104
---
 source3/libnet/libnet_join.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c
index 96f7a98..7edccd1 100644
--- a/source3/libnet/libnet_join.c
+++ b/source3/libnet/libnet_join.c
@@ -449,7 +449,7 @@ static ADS_STATUS libnet_join_set_machine_upn(TALLOC_CTX *mem_ctx,
 	}
 
 	if (!r->in.upn) {
-		char *realm = r->out.dns_domain_name;
+		const char *realm = r->out.dns_domain_name;
 
 		/* in case we are about to generate a keytab during the join
 		 * make sure the default upn we create is usable with kinit -k.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-samba/samba.git




More information about the Pkg-samba-maint mailing list