[Samba] smbcontrol xxxx reload-config doesn't work and other
details samba 3.2
Stéphane PURNELLE
stephane.purnelle at corman.be
Mon Jul 28 10:24:55 GMT 2008
Hi Samba team.
I installed on a new server samba 3.2.0.
And all work fine, except the reload-config command and other things.
For resolve some missed-configuration, I modify the smb.conf and call
smbcontrol <smbd_pid> reload-config, but it's not work.
Ex :
I added mdfs root = yes (same as samba 3.0.x), after I called smbcontrol
xxxx reload-config
[2008/07/28 00:17:34, 3] param/loadparm.c:lp_load_ex(8681)
lp_load_ex: refreshing parameters
Initialising global parameters
[2008/07/28 00:17:34, 3] param/params.c:pm_process(569)
params.c:pm_process() - Processing configuration file
"/srv/etc/samba/smb.conf"
[2008/07/28 00:17:34, 3] param/loadparm.c:do_section(7346)
Processing section "[global]"
doing parameter netbios name = ADMIN01
[2008/07/28 00:17:34, 4] param/loadparm.c:handle_netbios_name(6694)
handle_netbios_name: set global_myname to: ADMIN01
doing parameter workgroup = CORMAN
doing parameter server string = Serveur administratif (%v)
doing parameter security = user
doing parameter password level = 2
doing parameter unix password sync = no
doing parameter admin users = @administrateurs
doing parameter os level = 160
doing parameter announce as = NT Server
doing parameter unix charset = ISO-8859-15
[2008/07/28 00:17:34, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2008/07/28 00:17:34, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2008/07/28 00:17:34, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2008/07/28 00:17:34, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2008/07/28 00:17:34, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2008/07/28 00:17:34, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2008/07/28 00:17:34, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2008/07/28 00:17:34, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2008/07/28 00:17:34, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2008/07/28 00:17:34, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2008/07/28 00:17:34, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2008/07/28 00:17:34, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2008/07/28 00:17:34, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2008/07/28 00:17:34, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2008/07/28 00:17:34, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2008/07/28 00:17:34, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2008/07/28 00:17:34, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2008/07/28 00:17:34, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
doing parameter display charset = ISO-8859-15
doing parameter dos charset = ISO-8859-15
doing parameter veto files = /msblast.exe/
doing parameter time server = Yes
doing parameter domain logons = Yes
doing parameter domain master = Yes
doing parameter local master = yes
doing parameter preferred master = yes
doing parameter logon home = \\ADMIN01\%U\.profiles
doing parameter printing = cups
doing parameter add user script = /usr/local/sbin/smbldap-useradd -a -m
-g 221 -C \\\\admin01\\%u "%u"
doing parameter add machine script = /usr/local/sbin/smbldap-useradd -w
"%u"
doing parameter add user to group script =
/usr/local/sbin/smbldap-groupmod -m %u "%g"
doing parameter delete user script = /usr/local/sbin/smbldap-userdel -r
"%u"
doing parameter delete user from group script =
/usr/local/sbin/smbldap-groupmod -x %u "%g"
doing parameter lock directory = /var/lib/samba
doing parameter pid directory = /var/run/samba
doing parameter interfaces = 10.217.7.3/255.255.252.0
doing parameter socket address = 10.217.7.3 127.0.0.1
doing parameter socket options = SO_KEEPALIVE TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8760
doing parameter name resolve order = wins bcast hosts lmhosts
doing parameter deadtime = 480
doing parameter wins server = wins-srv
doing parameter name cache timeout = 660
doing parameter passdb backend = ldapsam:"ldap://127.0.0.1
ldap://ldap-srv"
doing parameter ldap admin dn = cn=samba,ou=dsa,dc=corman,dc=be
doing parameter ldap user suffix = ou=users
doing parameter ldap group suffix = ou=groupes
doing parameter ldap machine suffix = ou=machines
doing parameter ldap suffix = dc=corman,dc=be
doing parameter ldap ssl = no
doing parameter ldap passwd sync = yes
doing parameter ldapsam:trusted = yes
doing parameter max log size = 1000
doing parameter log level = 1 winbind:0 vfs:2
[2008/07/28 00:17:35, 0] lib/util_str.c:safe_strcpy_fn(709)
ERROR: string overflow by 1 (16 - 15) in safe_strcpy
[10.217.7.3/255.255.252.0]
I don't see "doing parameter msdfs root = Yes"
Strange.
Other strange problem.
Since samba 3.2.0 is running, somme XP workstation have a different
reaction when user start explorer.
The explorer refresh the content on a share each 15 seconds.
I don't understand what happening.
the log with debug 5 output :
[2008/07/28 12:17:35, 3] smbd/trans2.c:call_trans2findfirst(1918)
call_trans2findfirst: dirtype = 16, maxentries = 1366,
close_after_first=0, cl
ose_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes =
16384
[2008/07/28 12:17:35, 5] smbd/filename.c:unix_convert(149)
unix_convert called on file "*"
[2008/07/28 12:17:35, 5] smbd/filename.c:unix_convert(296)
unix_convert begin: name = *, dirpath = , start = *
[2008/07/28 12:17:35, 5] smbd/msdfs.c:is_msdfs_link_internal(413)
is_msdfs_link_read_target: * does not exist.
[2008/07/28 12:17:35, 3] smbd/msdfs.c:dfs_redirect(686)
dfs_redirect: Not redirecting \Admin01\groupes\*.
[2008/07/28 12:17:35, 3] smbd/msdfs.c:dfs_redirect(697)
dfs_redirect: Path \Admin01\groupes\* converted to non-dfs path *
[2008/07/28 12:17:35, 5] smbd/filename.c:unix_convert(149)
unix_convert called on file "*"
[2008/07/28 12:17:35, 5] smbd/filename.c:unix_convert(296)
unix_convert begin: name = *, dirpath = , start = *
[2008/07/28 12:17:35, 5] smbd/trans2.c:call_trans2findfirst(2002)
dir=./, mask = *
[2008/07/28 12:17:35, 5] smbd/dir.c:dptr_create(402)
dptr_create dir=./
[2008/07/28 12:17:35, 3] smbd/dir.c:dptr_create(520)
creating new dirptr 256 for path ./, expect_close = 1
[2008/07/28 12:17:35, 4] smbd/trans2.c:call_trans2findfirst(2069)
dptr_num is 256, wcard = *, attr = 22
[2008/07/28 12:17:35, 5] smbd/trans2.c:get_lanman2_dir_entry(1440)
get_lanman2_dir_entry: found ./. fname=.
[2008/07/28 12:17:35, 3] locking/locking.c:fetch_share_mode_unlocked(856)
fill_share_mode_lock failed
[2008/07/28 12:17:35, 5] smbd/trans2.c:get_lanman2_dir_entry(1440)
get_lanman2_dir_entry: found ./.. fname=..
[2008/07/28 12:17:35, 5] smbd/msdfs.c:is_msdfs_link_internal(419)
is_msdfs_link_read_target: .//.rhosts is not a link.
[2008/07/28 12:17:35, 3] locking/locking.c:fetch_share_mode_unlocked(856)
fill_share_mode_lock failed
[2008/07/28 12:17:35, 5] smbd/trans2.c:get_lanman2_dir_entry(1440)
get_lanman2_dir_entry: found ./.rhosts fname=.rhosts
[2008/07/28 12:17:35, 5] smbd/msdfs.c:is_msdfs_link_internal(419)
is_msdfs_link_read_target: .//ARCHIVES is not a link.
And for each folder :
[2008/07/28 12:17:35, 5] smbd/msdfs.c:is_msdfs_link_internal(419)
is_msdfs_link_read_target: .//CORGPS is not a link.
[2008/07/28 12:17:35, 3] locking/locking.c:fetch_share_mode_unlocked(856)
fill_share_mode_lock failed
What's happening ?
Systeme information :
RedHat Enterprise Linux 5
data on a md-raid (nbd) XFS FileSystem
thanks
Stéphane Purnelle
-----------------------------------
Stéphane PURNELLE stephane.purnelle at corman.be
Service Informatique Corman S.A. Tel : 00 32 087/342467
More information about the samba
mailing list