[PATCH] Don't ucase configured realm

Benjamin Coddington Benjamin.Coddington at uvm.edu
Thu Mar 4 09:45:34 MST 2010


Hi everyone.  We are one of the few that need to preserve case in 
kerberos realm names.  The following seems to make sense - 
administrators ought to use the proper case when configuring a realm name.

---
  source3/param/loadparm.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 579f847..816bcfb 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -995,7 +995,7 @@ static struct parm_struct parm_table[] = {
  #ifdef WITH_ADS
  	{
  		.label		= "realm",
-		.type		= P_USTRING,
+		.type		= P_STRING,
  		.p_class	= P_GLOBAL,
  		.ptr		= &Globals.szRealm,
  		.special	= NULL,
-- 
Benjamin Coddington
Systems Architecture and Administration
Enterprise Technology Services
University of Vermont


More information about the samba-technical mailing list