[SCM] Samba Shared Repository - branch master updated

2013-03-07 Thread Jeremy Allison
The branch, master has been updated
   via  93d57df vfs_catia: add my copyright
   via  4b4f8f3 vfs_catia: add a sample for filename mapping to the manual 
page
   via  5f38125 vfs_catia: fix the completely outdated manual page
   via  f7a63dc vfs_catia: fix the translation to vfs_translate_to_windows
   via  bb680ef vfs_catia: add debug class for that module
  from  33a7296 docs: Add documentation for osName and osVer

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit 93d57dfbaf01c23fe8de5e9c8f076718b4cf566f
Author: Guenter Kukkukk ku...@samba.org
Date:   Fri Mar 1 00:58:05 2013 +0100

vfs_catia: add my copyright

Signed-off-by: Guenter Kukkukk ku...@samba.org
Reviewed-by: Jeremy Allison j...@samba.org

Autobuild-User(master): Jeremy Allison j...@samba.org
Autobuild-Date(master): Thu Mar  7 22:24:47 CET 2013 on sn-devel-104

commit 4b4f8f3a2994f282bd3bd75d4f1fb83c82169e9a
Author: Guenter Kukkukk ku...@samba.org
Date:   Fri Mar 1 00:36:08 2013 +0100

vfs_catia: add a sample for filename mapping to the manual page

Signed-off-by: Guenter Kukkukk ku...@samba.org
Reviewed-by: Jeremy Allison j...@samba.org

commit 5f38125c147c329da1e4e853b99022f1a3e77ba2
Author: Guenter Kukkukk ku...@samba.org
Date:   Thu Feb 28 06:12:36 2013 +0100

vfs_catia: fix the completely outdated manual page

The complete rework around 3.5.0 was not even mentioned somewhere.
(i was not able to find any info about that major change)

Signed-off-by: Guenter Kukkukk ku...@samba.org
Reviewed-by: Jeremy Allison j...@samba.org

commit f7a63dc3ae784254a289348139d279f87b819ee1
Author: Guenter Kukkukk ku...@samba.org
Date:   Wed Feb 27 05:50:52 2013 +0100

vfs_catia: fix the translation to vfs_translate_to_windows

THANKS to an IRC user (Raimund ?) who asked for a char mapping possibility.
I suggested vfs_catia - but it did not work!
Hopefully now it will. :-)

Signed-off-by: Guenter Kukkukk ku...@samba.org
Reviewed-by: Jeremy Allison j...@samba.org

commit bb680efb0a40ecfe86206acef379e5f9e09ea5bf
Author: Guenter Kukkukk ku...@samba.org
Date:   Wed Feb 27 05:34:05 2013 +0100

vfs_catia: add debug class for that module

Signed-off-by: Guenter Kukkukk ku...@samba.org
Reviewed-by: Jeremy Allison j...@samba.org

---

Summary of changes:
 docs-xml/manpages/vfs_catia.8.xml |   66 +++-
 source3/modules/vfs_catia.c   |   35 +---
 2 files changed, 94 insertions(+), 7 deletions(-)


Changeset truncated at 500 lines:

diff --git a/docs-xml/manpages/vfs_catia.8.xml 
b/docs-xml/manpages/vfs_catia.8.xml
index a5f6233..b18dc48 100644
--- a/docs-xml/manpages/vfs_catia.8.xml
+++ b/docs-xml/manpages/vfs_catia.8.xml
@@ -31,18 +31,31 @@
 
paraThe Catia CAD package commonly creates filenames that
use characters that are illegal in CIFS filenames. The
-   commandvfs_catia/command VFS module implements a fixed character
+   commandvfs_catia/command VFS module implements a character
mapping so that these files can be shared with CIFS clients.
/para
 
paraThis module is stackable./para
 
+   paraUp to samba version 3.4.x a fixed character mapping was used.
+   The invalid windows characters  \ / : * ?  lt; gt; | and the blank
+   character were mapped in a hardcoded way.
+   /para
+
+   paraStarting with samba-3.5.0 a more flexible mapping was introduced.
+   The new parameter catia:mappings now specifies the mapping on a char 
by char
+   basis using the notation: unix hex char 0x.. : windows hex char 0x..
+   Multiple character mappings are separated by a comma.
+   /para
+
+
 /refsect1
 
 
 refsect1
titleEXAMPLES/title
 
+   paraSamba versions up to 3.4.x:/para
paraMap Catia filenames on the [CAD] share:/para
 
 programlisting
@@ -51,12 +64,60 @@
smbconfoption name=vfs objectscatia/smbconfoption
 /programlisting
 
+   paraSamba versions 3.5.0 and later:/para
+   paraMap Catia filenames on the [CAD] share:/para
+
+programlisting
+smbconfsection name=[CAD]/
+   smbconfoption name=path/data/cad/smbconfoption
+   smbconfoption name=vfs objectscatia/smbconfoption
+   smbconfoption name=catia:mappings0x22:0xa8/smbconfoption
+/programlisting
+
+paraTo get the full formerly fixed mappings:/para
+programlisting
+smbconfsection name=[CAD]/
+   smbconfoption name=path/data/cad/smbconfoption
+   smbconfoption name=vfs objectscatia/smbconfoption
+   smbconfoption 
name=catia:mappings0x22:0xa8,0x2a:0xa4,0x2f:0xf8,0x3a:0xf7,0x3c:0xab,0x3e:0xbb,0x3f:0xbf,0x5c:0xff,0x7c:0xa6,0x20:0xb1/smbconfoption
+/programlisting
+
+paraUnix filename to be translated (Note that 

[SCM] Samba Shared Repository - branch master updated

2013-03-07 Thread Andrew Bartlett
The branch, master has been updated
   via  5372571 s3:idmap: fix a debug message and lower its level
  from  93d57df vfs_catia: add my copyright

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit 5372571fde68dcc7ccd0d3fa754bdfa148e7ca48
Author: Michael Adam ob...@samba.org
Date:   Mon Mar 4 12:52:26 2013 +0100

s3:idmap: fix a debug message and lower its level

It is not an error to be logged at level 1 when a
domain has no explicitly configured idmap backend.

Signed-off-by: Michael Adam ob...@samba.org

Reviewed-by: Andrew Bartlett abart...@samba.org

Autobuild-User(master): Andrew Bartlett abart...@samba.org
Autobuild-Date(master): Fri Mar  8 03:16:54 CET 2013 on sn-devel-104

---

Summary of changes:
 source3/winbindd/idmap.c |3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c
index d5eeac6..97a34d4 100644
--- a/source3/winbindd/idmap.c
+++ b/source3/winbindd/idmap.c
@@ -285,7 +285,8 @@ static struct idmap_domain 
*idmap_init_named_domain(TALLOC_CTX *mem_ctx,
 
backend = lp_parm_const_string(-1, config_option, backend, NULL);
if (backend == NULL) {
-   DEBUG(1, (no backend defined for %s\n, config_option));
+   DEBUG(10, (no idmap backend configured for domain '%s'\n,
+  domname));
goto fail;
}
 


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated

2013-03-07 Thread Richard Sharpe
The branch, master has been updated
   via  11d1286 Correct the name of the nss_winbind module for FreeBSD by 
creating a symlink from the FreeBSD required name to the built module.
  from  5372571 s3:idmap: fix a debug message and lower its level

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit 11d128632357c9ae89d67aaf23c429fae83a1b29
Author: Richard Sharpe realrichardsha...@gmail.com
Date:   Thu Mar 7 17:36:37 2013 -0800

Correct the name of the nss_winbind module for FreeBSD by creating a symlink
from the FreeBSD required name to the built module.

Signed-off-by: Timur Bakeyev ti...@freebsd.org
Reviewed-by: Andrew Bartlett abartl...@samba.org
Reviewed-by: Richard Sharpe realrichardsha...@gmail.com

Autobuild-User(master): Richard Sharpe sha...@samba.org
Autobuild-Date(master): Fri Mar  8 05:04:04 CET 2013 on sn-devel-104

---

Summary of changes:
 nsswitch/wscript_build |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/nsswitch/wscript_build b/nsswitch/wscript_build
index 1efee55..a7d6489 100644
--- a/nsswitch/wscript_build
+++ b/nsswitch/wscript_build
@@ -42,7 +42,7 @@ elif (host_os.rfind('freebsd')  -1):
bld.SAMBA_LIBRARY('nss_winbind',
  source='winbind_nss_linux.c winbind_nss_freebsd.c',
  deps='winbind-client',
- realname='libnss_winbind.so.1',
+ realname='nss_winbind.so.1',
  vnum='1')
 
 elif (host_os.rfind('netbsd')  -1):


-- 
Samba Shared Repository