[PATCH] i18n/l10n pam_winbind. (updated for v3-3 and higher)

boyang boyang at suse.de
Thu Oct 30 10:31:28 GMT 2008


Hi, everybody:
      here is the patch for v3-3-test, v3-devel, master, Please review it.
      I have tested v3-3-test, v3-devel with gdm, su, passwd, and it
worked as expected.  For master, I am not sure whether it is a Makefile
problem or I misused the compile system. When built samba3, some
binaries ended with 4 were produced, I guess they are for samba4. Why?
      And I cannot use "make install" to install all files for samba3
because of the error "No rule to make xxxxx4, needed by installbin",@@. 
I compiled master with the following steps: 1. ./configure; 2. make; 3.
make install(failed). Thanks for helping me on this. :-)
      Here is the major changes:
      1. add configuration option to set locale directory;
      2. To make pam_winbind find the correct path to .mo files, define
the LOCALEDIR; I didn't link it against dynconfig.c but against a new
file localedir.c because link against dynconfig.c will cause it linking
to param/loadparam.c(because of lp_XXX()), which is too expensive. many
unused variables and functions will be linked into pam_winbind, which is
a waste of memory and disk too.
      3. add target <installmo> in makefile to install .mo files;
      4. add one directory locale/ in source/ to hold .po files, For
example, .po for pam_winbind goes into source[3]/locale/pam_winbind/.
      Thanks in advance!
Best
       Regards
BoYang
30th, Oct
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i18n-l10n-master.diff
Type: text/x-patch
Size: 20387 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20081030/b99cf8fa/i18n-l10n-master.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i18n-l10n-v3-3-test.diff
Type: text/x-patch
Size: 21241 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20081030/b99cf8fa/i18n-l10n-v3-3-test.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i18n-l10n-v3-devel.diff
Type: text/x-patch
Size: 21241 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20081030/b99cf8fa/i18n-l10n-v3-devel.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boyang.vcf
Type: text/x-vcard
Size: 187 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20081030/b99cf8fa/boyang.vcf


More information about the samba-technical mailing list