s4 param: change messaging directory name from messaging to msg
authorMatthieu Patou <mat@matws.net>
Fri, 15 Oct 2010 06:16:46 +0000 (10:16 +0400)
committerMatthieu Patou <mat@samba.org>
Fri, 15 Oct 2010 08:15:56 +0000 (08:15 +0000)
This saves 6 chars and as in some installation users tends to install
samba in directory with very long name they have a problem with the
sockets.
It will also ease the pain on buildfarms as we tend to have very long
environnement name (ie. vampire_dc) in path that are already quite long
leading also to errors on unix socket manipulation.

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Fri Oct 15 08:15:56 UTC 2010 on sn-devel-104

source4/param/util.c

index dd1d3193f34400763ef1e36ef5b6033a52eedf2d..69538579c81b6ee2a7a71fe28e198f6a88dcecd0 100644 (file)
@@ -296,7 +296,7 @@ init_module_fn *load_samba_modules(TALLOC_CTX *mem_ctx, struct loadparm_context
 const char *lpcfg_messaging_path(TALLOC_CTX *mem_ctx,
                                       struct loadparm_context *lp_ctx)
 {
-       return smbd_tmp_path(mem_ctx, lp_ctx, "messaging");
+       return smbd_tmp_path(mem_ctx, lp_ctx, "msg");
 }
 
 struct smb_iconv_convenience *smb_iconv_convenience_reinit_lp(TALLOC_CTX *mem_ctx,