Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32016 - Samba claims that I am setting codepage twice in smb.conf while not true
Summary: Samba claims that I am setting codepage twice in smb.conf while not true
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-26 01:47 UTC by Konstantinos Kokonas
Modified: 2004-06-13 06:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantinos Kokonas 2003-10-26 01:47:24 UTC
When I configure samba, I have an entry for a codepage in /etc/samba/smb.conf

Samba will load the default codepage and complain that: codepage_initialise: 
called twice - ignoring second client code page = 737

Here is my smb.conf
[global]
workgroup = UAF
netbios name = LINUX
server string = Samba
log file = /var/log/samba/log.%m
load printers = no
log level = 10
max log size = 50
name resolve order = lmhosts host bcast
dns proxy = No
bind interfaces only = True
interfaces = eth0
hosts allow = 192.168.0.
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/private/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = yes
preferred master = yes
client code page = 737
character set = ISO8859-7
[backup]
   path = /home/backup
   username = backup
   valid users = backup
   read only = no
   directory mode = 0700
   create mode = 0600
   only user = yes



Reproducible: Always
Steps to Reproduce:
1.emerge samba
2.edit smb.conf and enter a codepage line

Actual Results:  
Complaining in log.smbd

Expected Results:  
Load codepage 737

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-
r7)
=================================================================
System uname: 2.4.20-gentoo-r7 i686 Pentium II (Klamath)
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=pentium2 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/conf
ig /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium2 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="rsync://mirrors.tds.net/gentoo http://gentoo.seren.com/gentoo 
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://adelie.polymtl.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 crypt libg++ libwww ncurses zlib gdbm berkdb slang readline mysql pam 
ssl perl -oss -apm -arts -avi -cups -encode -foomaticdb -gif -gpm -gtk -imlib -
java -jpeg -kde -gnome -mad -mikmod -motif -mpeg -nls -oggvorbis -opengl -
pdflib -png -python -qt -quicktime -sdl -spell -svga -tcpd -truetype -X -xml2 -
xmms -xv 3dnow maildir mmx mysql sse imap sasl memlimit -apache2"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-05-10 20:00:34 UTC
Is this bug still an issue?
Comment 2 Konstantinos Kokonas 2004-05-10 20:19:03 UTC
I haven't been using the default version of samba.

Don't know if this is still an issue.
Comment 3 stan 2004-05-31 06:04:07 UTC
client code page parameter seems to have been removed for samba3 (3.0.2a current in portage)

[Samba] Samba 3.0 and client code page: http://lists.samba.org/archive/samba/2002-August/049979.html

from http://us1.samba.org/samba/whatsnew/samba-3.0.4.html:
This section contains a brief listing of changes to smb.conf options
in the 3.0.0 release.  Please refer to the smb.conf(5) man page for
complete descriptions of new or modified parameters.

Removed Parameters (order alphabetically):
<snip>
  * client codepage
  * code page directory
Comment 4 Michael Glauche (RETIRED) gentoo-dev 2004-06-13 06:51:56 UTC
I can't reproduce this bug with samba 2.2.8, would need more info on this.
As samba3 is now "stable" and does not have codepages anymore, i'm marking this bug closed.