diff options
author | Jeremy Allison <jra@samba.org> | 2003-07-03 19:11:31 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-07-03 19:11:31 +0000 |
commit | ce72beb2b558d86fb49063c6b1fa00e07952ce56 (patch) | |
tree | 9c00a82c30d6edb2d9ce269653e739236ede67ce /source3/utils/net_ads.c | |
parent | 6b31240391949fb6afa83853aa3df30b354d508a (diff) | |
download | samba-ce72beb2b558d86fb49063c6b1fa00e07952ce56.tar.gz samba-ce72beb2b558d86fb49063c6b1fa00e07952ce56.tar.bz2 samba-ce72beb2b558d86fb49063c6b1fa00e07952ce56.zip |
Removed strupper/strlower macros that automatically map to strupper_m/strlower_m.
I really want people to think about when they're using multibyte strings.
Jeremy.
(This used to be commit ff222716a08af65d26ad842ce4c2841cc6540959)
Diffstat (limited to 'source3/utils/net_ads.c')
-rw-r--r-- | source3/utils/net_ads.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c index e97ab6fc2b..69d282420d 100644 --- a/source3/utils/net_ads.c +++ b/source3/utils/net_ads.c @@ -162,7 +162,7 @@ retry: if ((cp = strchr(ads->auth.user_name, '@'))!=0) { *cp++ = '\0'; ads->auth.realm = smb_xstrdup(cp); - strupper(ads->auth.realm); + strupper_m(ads->auth.realm); } status = ads_connect(ads); @@ -1039,7 +1039,7 @@ int net_ads_changetrustpw(int argc, const char **argv) } hostname = strdup(global_myname()); - strlower(hostname); + strlower_m(hostname); asprintf(&host_principal, "%s@%s", hostname, ads->config.realm); SAFE_FREE(hostname); d_printf("Changing password for principal: HOST/%s\n", host_principal); |