Hi .
I upgraded my samba4 servers from 4.1.17 to 4.2.1 .
After upgrading , the samba4 servers becomed very slow and these error
logs occured :
[2015/04/27 08:09:08.279400, 1]
../source4/rpc_server/backupkey/dcesrv_backupke
y.c:1423(bkrp_do_retrieve_server_wrap_key)
Unable to fetch value for secret
BCKUPKEY_34847c15-efd9-4430-ba82-bf7d3160e9e1
, are we an undetected RODC?
[2015/04/27 08:09:08.454487, 1]
../source4/rpc_server/backupkey/dcesrv_backupke
y.c:1423(bkrp_do_retrieve_server_wrap_key)
Unable to fetch value for secret
BCKUPKEY_34847c15-efd9-4430-ba82-bf7d3160e9e1
, are we an undetected RODC?
[2015/04/27 08:09:09.494243, 1]
../source4/rpc_server/backupkey/dcesrv_backupke
y.c:1423(bkrp_do_retrieve_server_wrap_key)
Unable to fetch value for secret
BCKUPKEY_34847c15-efd9-4430-ba82-bf7d3160e9e1
, are we an undetected RODC?
This is the smb.conf of my server :
[global]
bind interfaces only = yes
interfaces = 10.5.1.26 127.0.0.1
workgroup = TKT
netbios name = DC
realm = TKT.COM
server role = active directory domain controller
dns forwarder = 10.5.1.1
ldap admin dn = cn=Administrator,cn=Users,dc=tkt,dc=com
idmap_ldb:use rfc2307 = Yes
server string = PDC server
hostname lookups = no
log level = 1
log file = /var/log/samba4/samba.log
max log size = 1024
guest account = nobody
wins support = yes
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536
SO_SNDBUF=65536
write cache size = 2097152
getwd cache=yes
min receivefile size = 16384
os level = 80
[netlogon]
path = /ap/samba4/var/locks/sysvol/tkt.com/scripts
read only = No
[sysvol]
path = /ap/samba4/var/locks/sysvol
read only = No
I use this to compiled my smaba4 server :
./configure --prefix=/ap/samba4 \
--download \
--with-piddir=/var/run \
--with-logfilebase=/var/log/samba4 \
--with-ads \
--disable-iprint
Does anybody have any opinions or experience with my issue ?
thanks
Frank
--
Topkey
*??????????Topkey Corporation
????*
??? Frank Chen
mail: frank at topkey.com.tw
website:http://www.topkey.com.tw
Tel : (886) 4 23591229 Ext:138(Taiwan)
Fax: (886) 4 23599683 (Taiwan)
Disclaimer - This email and any files transmitted with it are
confidential and contain privileged or copyright information. You must
not present this message to another party without gaining permission
from the sender. If you are not the intended recipient you must not
copy, distribute or use this email or the information contained in it
for any purpose other than to notify us. If you have received this
message in error, please notify the sender immediately, and delete this
email from your system.
We do not guarantee that this material is free from viruses or any other
defects although due care has been taken to minimize the risk. Any views
expressed in this message are those of the individual sender, except
where the sender specifically states them to be the views of Topkey
Corporation or any associated / affiliated companie
On 22/05/15 06:58, ??? wrote:> Hi . > > I upgraded my samba4 servers from 4.1.17 to 4.2.1 . > > After upgrading , the samba4 servers becomed very slow and these > error logs occured : > > [2015/04/27 08:09:08.279400, 1] > ../source4/rpc_server/backupkey/dcesrv_backupke > y.c:1423(bkrp_do_retrieve_server_wrap_key) > Unable to fetch value for secret > BCKUPKEY_34847c15-efd9-4430-ba82-bf7d3160e9e1 > , are we an undetected RODC? > [2015/04/27 08:09:08.454487, 1] > ../source4/rpc_server/backupkey/dcesrv_backupke > y.c:1423(bkrp_do_retrieve_server_wrap_key) > Unable to fetch value for secret > BCKUPKEY_34847c15-efd9-4430-ba82-bf7d3160e9e1 > , are we an undetected RODC? > [2015/04/27 08:09:09.494243, 1] > ../source4/rpc_server/backupkey/dcesrv_backupke > y.c:1423(bkrp_do_retrieve_server_wrap_key) > Unable to fetch value for secret > BCKUPKEY_34847c15-efd9-4430-ba82-bf7d3160e9e1 > , are we an undetected RODC? > > > > This is the smb.conf of my server : > > [global] > bind interfaces only = yes > interfaces = 10.5.1.26 127.0.0.1 > workgroup = TKT > netbios name = DC > realm = TKT.COM > server role = active directory domain controller > dns forwarder = 10.5.1.1 > ldap admin dn = cn=Administrator,cn=Users,dc=tkt,dc=com > idmap_ldb:use rfc2307 = Yes > server string = PDC server > hostname lookups = no > log level = 1 > log file = /var/log/samba4/samba.log > max log size = 1024 > guest account = nobody > wins support = yes > socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 > SO_SNDBUF=65536 > write cache size = 2097152 > getwd cache=yes > min receivefile size = 16384 > os level = 80 > [netlogon] > path = /ap/samba4/var/locks/sysvol/tkt.com/scripts > read only = No > [sysvol] > path = /ap/samba4/var/locks/sysvol > read only = No > > > > I use this to compiled my smaba4 server : > > ./configure --prefix=/ap/samba4 \ > --download \ > --with-piddir=/var/run \ > --with-logfilebase=/var/log/samba4 \ > --with-ads \ > --disable-iprint > > > Does anybody have any opinions or experience with my issue ? > > > > thanks > > Frank > > >It cannot find your backupkey, now whether this is down to your rather strange smb.conf is debatable, but I would suggest that you remove these unneeded or default lines: server string = AD DC ldap admin dn = cn=Administrator,cn=Users,dc=tkt,dc=com hostname lookups = no guest account = nobody wins support = yes socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536 getwd cache=yes min receivefile size = 16384 os level = 80 There was a bug similar to this: https://bugzilla.samba.org/show_bug.cgi?id=11097 Rowland
Hello, we saw the same issue and I filed https://bugzilla.samba.org/show_bug.cgi?id=11416 for that. A variable had not been initialized in the C code. This has been fixed in the Samba master branch quite a while ago but the patch has not been merged to the v4-2-stable branch yet. Cheers, Arvid Am Freitag, 22. Mai 2015, 13:58:08 schrieb 陳揚仁:> Hi . > > I upgraded my samba4 servers from 4.1.17 to 4.2.1 . > > After upgrading , the samba4 servers becomed very slow and these error > logs occured : > > [2015/04/27 08:09:08.279400, 1] > ../source4/rpc_server/backupkey/dcesrv_backupke > y.c:1423(bkrp_do_retrieve_server_wrap_key) > Unable to fetch value for secret > BCKUPKEY_34847c15-efd9-4430-ba82-bf7d3160e9e1 > , are we an undetected RODC? > [2015/04/27 08:09:08.454487, 1] > ../source4/rpc_server/backupkey/dcesrv_backupke > y.c:1423(bkrp_do_retrieve_server_wrap_key) > Unable to fetch value for secret > BCKUPKEY_34847c15-efd9-4430-ba82-bf7d3160e9e1 > , are we an undetected RODC? > [2015/04/27 08:09:09.494243, 1] > ../source4/rpc_server/backupkey/dcesrv_backupke > y.c:1423(bkrp_do_retrieve_server_wrap_key) > Unable to fetch value for secret > BCKUPKEY_34847c15-efd9-4430-ba82-bf7d3160e9e1 > , are we an undetected RODC? > > > > This is the smb.conf of my server : > > [global] > bind interfaces only = yes > interfaces = 10.5.1.26 127.0.0.1 > workgroup = TKT > netbios name = DC > realm = TKT.COM > server role = active directory domain controller > dns forwarder = 10.5.1.1 > ldap admin dn = cn=Administrator,cn=Users,dc=tkt,dc=com > idmap_ldb:use rfc2307 = Yes > server string = PDC server > hostname lookups = no > log level = 1 > log file = /var/log/samba4/samba.log > max log size = 1024 > guest account = nobody > wins support = yes > socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 > SO_SNDBUF=65536 > write cache size = 2097152 > getwd cache=yes > min receivefile size = 16384 > os level = 80 > [netlogon] > path = /ap/samba4/var/locks/sysvol/tkt.com/scripts > read only = No > [sysvol] > path = /ap/samba4/var/locks/sysvol > read only = No > > > > I use this to compiled my smaba4 server : > > ./configure --prefix=/ap/samba4 \ > --download \ > --with-piddir=/var/run \ > --with-logfilebase=/var/log/samba4 \ > --with-ads \ > --disable-iprint > > > Does anybody have any opinions or experience with my issue ? > > > > thanks > > Frank-- Arvid Requate Open Source Software Engineer Univention GmbH be open. Mary-Somerville-Str.1 28359 Bremen Tel. : +49 421 22232-52 Fax : +49 421 22232-99 requate at univention.de http://www.univention.de Geschäftsführer: Peter H. Ganten HRB 20755 Amtsgericht Bremen Steuer-Nr.: 71-597-02876