CVS update: samba/source

2003-06-15 Thread jht

Date:   Sun Jun 15 06:07:53 2003
Author: jht

Update of /home/cvs/samba/source
In directory dp.samba.org:/tmp/cvs-serv6184

Modified Files:
  Tag: SAMBA_3_0
configure.in 
Log Message:
Patch from [EMAIL PROTECTED], see bugzilal #122

Samba should preferentially use the locale information from the native system,
and only fall back on 'display charset' if this is unavailable or unsupported.


Revisions:
configure.in1.300.2.99 = 1.300.2.100

http://www.samba.org/cgi-bin/cvsweb/samba/source/configure.in.diff?r1=1.300.2.99r2=1.300.2.100


CVS update: samba/source/include

2003-06-15 Thread jht

Date:   Sun Jun 15 06:07:53 2003
Author: jht

Update of /home/cvs/samba/source/include
In directory dp.samba.org:/tmp/cvs-serv6184/include

Modified Files:
  Tag: SAMBA_3_0
includes.h 
Log Message:
Patch from [EMAIL PROTECTED], see bugzilal #122

Samba should preferentially use the locale information from the native system,
and only fall back on 'display charset' if this is unavailable or unsupported.


Revisions:
includes.h  1.262.2.42 = 1.262.2.43

http://www.samba.org/cgi-bin/cvsweb/samba/source/include/includes.h.diff?r1=1.262.2.42r2=1.262.2.43


CVS update: samba/source/lib

2003-06-15 Thread jht

Date:   Sun Jun 15 06:07:53 2003
Author: jht

Update of /home/cvs/samba/source/lib
In directory dp.samba.org:/tmp/cvs-serv6184/lib

Modified Files:
  Tag: SAMBA_3_0
charcnv.c 
Log Message:
Patch from [EMAIL PROTECTED], see bugzilal #122

Samba should preferentially use the locale information from the native system,
and only fall back on 'display charset' if this is unavailable or unsupported.


Revisions:
charcnv.c   1.55.2.24 = 1.55.2.25

http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/charcnv.c.diff?r1=1.55.2.24r2=1.55.2.25


CVS update: samba/source/nsswitch

2003-06-15 Thread tridge

Date:   Mon Jun 16 01:12:43 2003
Author: tridge

Update of /home/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv25603

Modified Files:
  Tag: SAMBA_3_0
winbindd_group.c 
Log Message:
made a debug statement more useful


Revisions:
winbindd_group.c1.51.2.12 = 1.51.2.13

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_group.c.diff?r1=1.51.2.12r2=1.51.2.13


CVS update: samba/source/utils

2003-06-15 Thread tridge

Date:   Mon Jun 16 01:13:17 2003
Author: tridge

Update of /home/cvs/samba/source/utils
In directory dp.samba.org:/tmp/cvs-serv25691

Modified Files:
  Tag: SAMBA_3_0
net_rpc_join.c 
Log Message:
another improved debug statement



Revisions:
net_rpc_join.c  1.13.2.11 = 1.13.2.12

http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/net_rpc_join.c.diff?r1=1.13.2.11r2=1.13.2.12


CVS update: samba/source

2003-06-15 Thread tridge

Date:   Mon Jun 16 02:22:38 2003
Author: tridge

Update of /home/cvs/samba/source
In directory dp.samba.org:/tmp/cvs-serv31729

Modified Files:
  Tag: SAMBA_3_0
configure.in 
Log Message:
reverted locale patch put in by jht (originally from vorlon).

There are lots of things wrong with this patch, including:

1) it overrides a user chosen configuration option

2) it adds lots of complexity inside a loop when a tiny piece of code
   outside the loop would do the same thing

3) it does no error checking, and is sure to crash on some systems

If you want this functionality then try something like this at the end
of charset_name():

#ifdef HAVE_NL_LANGINFO
if (strcasecmp(ret, LOCALE) == 0) {
const char *ln = nl_langinfo(CODESET);
if (ln) {
DEBUG(5,(Substituting charset '%s' for LOCALE\n, ln));
return ln;
}
}
#endif

then users can set 'display charset = LOCALE' to get the locale based
charset. You could even make that the default for systems that have
nl_langinfo().



Revisions:
configure.in1.300.2.100 = 1.300.2.101

http://www.samba.org/cgi-bin/cvsweb/samba/source/configure.in.diff?r1=1.300.2.100r2=1.300.2.101


CVS update: samba/source/include

2003-06-15 Thread tridge

Date:   Mon Jun 16 02:22:44 2003
Author: tridge

Update of /home/cvs/samba/source/include
In directory dp.samba.org:/tmp/cvs-serv31746

Modified Files:
  Tag: SAMBA_3_0
includes.h 
Log Message:
reverted locale patch put in by jht (originally from vorlon).

There are lots of things wrong with this patch, including:

1) it overrides a user chosen configuration option

2) it adds lots of complexity inside a loop when a tiny piece of code
   outside the loop would do the same thing

3) it does no error checking, and is sure to crash on some systems

If you want this functionality then try something like this at the end
of charset_name():

#ifdef HAVE_NL_LANGINFO
if (strcasecmp(ret, LOCALE) == 0) {
const char *ln = nl_langinfo(CODESET);
if (ln) {
DEBUG(5,(Substituting charset '%s' for LOCALE\n, ln));
return ln;
}
}
#endif

then users can set 'display charset = LOCALE' to get the locale based
charset. You could even make that the default for systems that have
nl_langinfo().



Revisions:
includes.h  1.262.2.43 = 1.262.2.44

http://www.samba.org/cgi-bin/cvsweb/samba/source/include/includes.h.diff?r1=1.262.2.43r2=1.262.2.44


CVS update: samba/source/lib

2003-06-15 Thread tridge

Date:   Mon Jun 16 02:22:52 2003
Author: tridge

Update of /home/cvs/samba/source/lib
In directory dp.samba.org:/tmp/cvs-serv31784

Modified Files:
  Tag: SAMBA_3_0
charcnv.c 
Log Message:
reverted locale patch put in by jht (originally from vorlon).

There are lots of things wrong with this patch, including:

1) it overrides a user chosen configuration option

2) it adds lots of complexity inside a loop when a tiny piece of code
   outside the loop would do the same thing

3) it does no error checking, and is sure to crash on some systems

If you want this functionality then try something like this at the end
of charset_name():

#ifdef HAVE_NL_LANGINFO
if (strcasecmp(ret, LOCALE) == 0) {
const char *ln = nl_langinfo(CODESET);
if (ln) {
DEBUG(5,(Substituting charset '%s' for LOCALE\n, ln));
return ln;
}
}
#endif

then users can set 'display charset = LOCALE' to get the locale based
charset. You could even make that the default for systems that have
nl_langinfo().



Revisions:
charcnv.c   1.55.2.25 = 1.55.2.26

http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/charcnv.c.diff?r1=1.55.2.25r2=1.55.2.26


CVS update: samba/source/libads

2003-06-15 Thread tridge

Date:   Mon Jun 16 02:42:00 2003
Author: tridge

Update of /home/cvs/samba/source/libads
In directory dp.samba.org:/tmp/cvs-serv993

Modified Files:
  Tag: SAMBA_3_0
ldap.c 
Log Message:
we need to call ads_first_entry() before using a ldap result,
otherwise we can segv or return garbage


Revisions:
ldap.c  1.55.2.26 = 1.55.2.27

http://www.samba.org/cgi-bin/cvsweb/samba/source/libads/ldap.c.diff?r1=1.55.2.26r2=1.55.2.27


CVS update: samba/source

2003-06-15 Thread tpot

Date:   Mon Jun 16 03:28:27 2003
Author: tpot

Update of /data/cvs/samba/source
In directory dp.samba.org:/tmp/cvs-serv4377

Modified Files:
  Tag: SAMBA_3_0
Makefile.in configure.in 
Log Message:
Build libnss_wins.so as part of nsswitch target.  Fix for bug #160
found by [EMAIL PROTECTED]


Revisions:
Makefile.in 1.468.2.119 = 1.468.2.120

http://www.samba.org/cgi-bin/cvsweb/samba/source/Makefile.in.diff?r1=1.468.2.119r2=1.468.2.120
configure.in1.300.2.101 = 1.300.2.102

http://www.samba.org/cgi-bin/cvsweb/samba/source/configure.in.diff?r1=1.300.2.101r2=1.300.2.102


CVS update: samba/source/torture

2003-06-15 Thread tpot

Date:   Mon Jun 16 03:30:53 2003
Author: tpot

Update of /data/cvs/samba/source/torture
In directory dp.samba.org:/tmp/cvs-serv4823/torture

Modified Files:
  Tag: SAMBA_3_0
nsstest.c 
Log Message:
Update nsstest to cope with wins NSS module as well as winbind NSS
module.  Use wins as the nss name to invoke this behaviour.

Also, fixed nsstest so it doesn't segfault when a nss function can't
be dlopened().  Log an error and abort the test gracefully instead.


Revisions:
nsstest.c   1.9.2.4 = 1.9.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/torture/nsstest.c.diff?r1=1.9.2.4r2=1.9.2.5


CVS update: samba/source/passdb

2003-06-15 Thread tpot

Date:   Mon Jun 16 05:22:53 2003
Author: tpot

Update of /data/cvs/samba/source/passdb
In directory dp.samba.org:/tmp/cvs-serv14290

Modified Files:
  Tag: SAMBA_3_0
pdb_tdb.c 
Log Message:
Quieten another debug message.


Revisions:
pdb_tdb.c   1.58.2.13 = 1.58.2.14

http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/pdb_tdb.c.diff?r1=1.58.2.13r2=1.58.2.14