[Bug 1472584] Comment bridged from LTC Bugzilla
bugproxy
bugproxy at us.ibm.com
Thu Jul 30 06:01:07 UTC 2015
------- Comment From fengmt at cn.ibm.com 2015-07-30 05:56 EDT-------
(In reply to comment #41)
> > (In reply to comment #36)
>
> > Hi,
>
> > Ubuntu 14.04.3 is the first build for power system. I'm not sure if the
> > early version supports power system.
>
> This is the first version that fully supports PowerVM mode, but the issue
> has also been reproduced on PowerNV. In any case it is possible to install
> the older versions of the samba packages on this system.
>
> > Could you tell me how to install the early version ? Thanks.
>
> To install the version from trusty-security, you would do:
>
> # apt-get purge samba smbclient
> # apt-get autoremove --purge
> # apt-get install samba=2:4.1.6+dfsg-1ubuntu2.14.04.7
> smbclient=2:4.1.6+dfsg-1ubuntu2.14.04.7
>
> To install the version from trusty release, you would do:
>
> # apt-get purge samba smbclient
> # apt-get autoremove --purge
> # apt-get install samba=2:4.1.6+dfsg-1ubuntu2 smbclient=2:4.1.6+dfsg-1ubuntu2
>
> > > I just tried this on a ppc64le machine with the latest samba packages and
> > > what looks like the latest kernel. It worked fine:
> > >
> > > root at palm6-p1:~# lsb_release -r
> > > Release: 14.10
> > So, it seems that the problem does not happen on version 14.10?
>
> For reference, Ubuntu 14.10 includes samba version 4.13, vs. the 4.16
> included in 14.04.
>
> --
> Steve Langasek Give me a lever long enough and a Free OS
> Debian Developer to set it on, and I can move the world.
> Ubuntu Developer http://www.debian.org/
> slangasek at ubuntu.com vorlon at debian.org
Hi,
I've tried the samba version 2:4.1.6+dfsg-1ubuntu2.14.04.8 and still reached this bug. I couldn't find other samba version except 4.1.6 in the repositories. Could you tell me where I can get the samba version 4.16 or other versions? Thanks.
The output after commands "apt-get purge samba smbclient" and "apt-get autoremove --purge".
root at conelp2:~# apt-get install samba=2:4.1.6+dfsg-1ubuntu2.14.04.8 smbclient=2:4.1.6+dfsg-1ubuntu2.14.04.8
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libavahi-client3 libavahi-common-data libavahi-common3 libcups2
libhdb9-heimdal libkdc2-heimdal libldb1 libntdb1 libpython2.7 libsmbclient
libtalloc2 libtdb1 libtevent0 libwbclient0 python-crypto python-dnspython
python-ldb python-ntdb python-samba python-talloc python-tdb samba-common
samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules tdb-tools
Suggested packages:
cups-common python-crypto-dbg python-crypto-doc bind9 bind9utils ldb-tools
smbldap-tools winbind heimdal-clients cifs-utils
The following NEW packages will be installed:
libavahi-client3 libavahi-common-data libavahi-common3 libcups2
libhdb9-heimdal libkdc2-heimdal libldb1 libntdb1 libpython2.7 libsmbclient
libtalloc2 libtdb1 libtevent0 libwbclient0 python-crypto python-dnspython
python-ldb python-ntdb python-samba python-talloc python-tdb samba
samba-common samba-common-bin samba-dsdb-modules samba-libs
samba-vfs-modules smbclient tdb-tools
0 upgraded, 29 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/8,472 kB of archives.
After this operation, 66.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
Selecting previously unselected package libavahi-common-data:ppc64el.
(Reading database ... 62794 files and directories currently installed.)
Preparing to unpack .../libavahi-common-data_0.6.31-4ubuntu1_ppc64el.deb ...
Unpacking libavahi-common-data:ppc64el (0.6.31-4ubuntu1) ...
Selecting previously unselected package libavahi-common3:ppc64el.
Preparing to unpack .../libavahi-common3_0.6.31-4ubuntu1_ppc64el.deb ...
Unpacking libavahi-common3:ppc64el (0.6.31-4ubuntu1) ...
Selecting previously unselected package libavahi-client3:ppc64el.
Preparing to unpack .../libavahi-client3_0.6.31-4ubuntu1_ppc64el.deb ...
Unpacking libavahi-client3:ppc64el (0.6.31-4ubuntu1) ...
Selecting previously unselected package libcups2:ppc64el.
Preparing to unpack .../libcups2_1.7.2-0ubuntu1.6_ppc64el.deb ...
Unpacking libcups2:ppc64el (1.7.2-0ubuntu1.6) ...
Selecting previously unselected package libhdb9-heimdal:ppc64el.
Preparing to unpack .../libhdb9-heimdal_1.6~git20131207+dfsg-1ubuntu1.1_ppc64el.deb ...
Unpacking libhdb9-heimdal:ppc64el (1.6~git20131207+dfsg-1ubuntu1.1) ...
Selecting previously unselected package libtalloc2:ppc64el.
Preparing to unpack .../libtalloc2_2.1.0-1_ppc64el.deb ...
Unpacking libtalloc2:ppc64el (2.1.0-1) ...
Selecting previously unselected package libtdb1:ppc64el.
Preparing to unpack .../libtdb1_1.2.12-1_ppc64el.deb ...
Unpacking libtdb1:ppc64el (1.2.12-1) ...
Selecting previously unselected package libtevent0:ppc64el.
Preparing to unpack .../libtevent0_0.9.19-1_ppc64el.deb ...
Unpacking libtevent0:ppc64el (0.9.19-1) ...
Selecting previously unselected package libldb1:ppc64el.
Preparing to unpack .../libldb1_1%3a1.1.16-1_ppc64el.deb ...
Unpacking libldb1:ppc64el (1:1.1.16-1) ...
Selecting previously unselected package libntdb1:ppc64el.
Preparing to unpack .../libntdb1_1.0-2ubuntu1_ppc64el.deb ...
Unpacking libntdb1:ppc64el (1.0-2ubuntu1) ...
Selecting previously unselected package libpython2.7:ppc64el.
Preparing to unpack .../libpython2.7_2.7.6-8ubuntu0.2_ppc64el.deb ...
Unpacking libpython2.7:ppc64el (2.7.6-8ubuntu0.2) ...
Selecting previously unselected package libwbclient0:ppc64el.
Preparing to unpack .../libwbclient0_2%3a4.1.6+dfsg-1ubuntu2.14.04.8_ppc64el.deb ...
Unpacking libwbclient0:ppc64el (2:4.1.6+dfsg-1ubuntu2.14.04.8) ...
Selecting previously unselected package python-ldb.
Preparing to unpack .../python-ldb_1%3a1.1.16-1_ppc64el.deb ...
Unpacking python-ldb (1:1.1.16-1) ...
Selecting previously unselected package python-talloc.
Preparing to unpack .../python-talloc_2.1.0-1_ppc64el.deb ...
Unpacking python-talloc (2.1.0-1) ...
Selecting previously unselected package python-dnspython.
Preparing to unpack .../python-dnspython_1.11.1-1build1_all.deb ...
Unpacking python-dnspython (1.11.1-1build1) ...
Selecting previously unselected package python-ntdb.
Preparing to unpack .../python-ntdb_1.0-2ubuntu1_ppc64el.deb ...
Unpacking python-ntdb (1.0-2ubuntu1) ...
Selecting previously unselected package python-tdb.
Preparing to unpack .../python-tdb_1.2.12-1_ppc64el.deb ...
Unpacking python-tdb (1.2.12-1) ...
Selecting previously unselected package python-crypto.
Preparing to unpack .../python-crypto_2.6.1-4build1_ppc64el.deb ...
Unpacking python-crypto (2.6.1-4build1) ...
Selecting previously unselected package samba-libs:ppc64el.
Preparing to unpack .../samba-libs_2%3a4.1.6+dfsg-1ubuntu2.14.04.8_ppc64el.deb ...
Unpacking samba-libs:ppc64el (2:4.1.6+dfsg-1ubuntu2.14.04.8) ...
Selecting previously unselected package python-samba.
Preparing to unpack .../python-samba_2%3a4.1.6+dfsg-1ubuntu2.14.04.8_ppc64el.deb ...
Unpacking python-samba (2:4.1.6+dfsg-1ubuntu2.14.04.8) ...
Selecting previously unselected package samba-common.
Preparing to unpack .../samba-common_2%3a4.1.6+dfsg-1ubuntu2.14.04.8_all.deb ...
Unpacking samba-common (2:4.1.6+dfsg-1ubuntu2.14.04.8) ...
Selecting previously unselected package samba-common-bin.
Preparing to unpack .../samba-common-bin_2%3a4.1.6+dfsg-1ubuntu2.14.04.8_ppc64el.deb ...
Unpacking samba-common-bin (2:4.1.6+dfsg-1ubuntu2.14.04.8) ...
Selecting previously unselected package samba-dsdb-modules.
Preparing to unpack .../samba-dsdb-modules_2%3a4.1.6+dfsg-1ubuntu2.14.04.8_ppc64el.deb ...
Unpacking samba-dsdb-modules (2:4.1.6+dfsg-1ubuntu2.14.04.8) ...
Selecting previously unselected package tdb-tools.
Preparing to unpack .../tdb-tools_1.2.12-1_ppc64el.deb ...
Unpacking tdb-tools (1.2.12-1) ...
Selecting previously unselected package libkdc2-heimdal:ppc64el.
Preparing to unpack .../libkdc2-heimdal_1.6~git20131207+dfsg-1ubuntu1.1_ppc64el.deb ...
Unpacking libkdc2-heimdal:ppc64el (1.6~git20131207+dfsg-1ubuntu1.1) ...
Selecting previously unselected package samba.
Preparing to unpack .../samba_2%3a4.1.6+dfsg-1ubuntu2.14.04.8_ppc64el.deb ...
Unpacking samba (2:4.1.6+dfsg-1ubuntu2.14.04.8) ...
Selecting previously unselected package libsmbclient:ppc64el.
Preparing to unpack .../libsmbclient_2%3a4.1.6+dfsg-1ubuntu2.14.04.8_ppc64el.deb ...
Unpacking libsmbclient:ppc64el (2:4.1.6+dfsg-1ubuntu2.14.04.8) ...
Selecting previously unselected package smbclient.
Preparing to unpack .../smbclient_2%3a4.1.6+dfsg-1ubuntu2.14.04.8_ppc64el.deb ...
Unpacking smbclient (2:4.1.6+dfsg-1ubuntu2.14.04.8) ...
Selecting previously unselected package samba-vfs-modules.
Preparing to unpack .../samba-vfs-modules_2%3a4.1.6+dfsg-1ubuntu2.14.04.8_ppc64el.deb ...
Unpacking samba-vfs-modules (2:4.1.6+dfsg-1ubuntu2.14.04.8) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ufw (0.34~rc-0ubuntu2) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up libavahi-common-data:ppc64el (0.6.31-4ubuntu1) ...
Setting up libavahi-common3:ppc64el (0.6.31-4ubuntu1) ...
Setting up libavahi-client3:ppc64el (0.6.31-4ubuntu1) ...
Setting up libcups2:ppc64el (1.7.2-0ubuntu1.6) ...
Setting up libhdb9-heimdal:ppc64el (1.6~git20131207+dfsg-1ubuntu1.1) ...
Setting up libtalloc2:ppc64el (2.1.0-1) ...
Setting up libtdb1:ppc64el (1.2.12-1) ...
Setting up libtevent0:ppc64el (0.9.19-1) ...
Setting up libldb1:ppc64el (1:1.1.16-1) ...
Setting up libntdb1:ppc64el (1.0-2ubuntu1) ...
Setting up libpython2.7:ppc64el (2.7.6-8ubuntu0.2) ...
Setting up libwbclient0:ppc64el (2:4.1.6+dfsg-1ubuntu2.14.04.8) ...
Setting up python-ldb (1:1.1.16-1) ...
Setting up python-talloc (2.1.0-1) ...
Setting up python-dnspython (1.11.1-1build1) ...
Setting up python-ntdb (1.0-2ubuntu1) ...
Setting up python-tdb (1.2.12-1) ...
Setting up python-crypto (2.6.1-4build1) ...
Setting up samba-libs:ppc64el (2:4.1.6+dfsg-1ubuntu2.14.04.8) ...
Setting up python-samba (2:4.1.6+dfsg-1ubuntu2.14.04.8) ...
Setting up samba-common (2:4.1.6+dfsg-1ubuntu2.14.04.8) ...
Creating config file /etc/samba/smb.conf with new version
Setting up samba-common-bin (2:4.1.6+dfsg-1ubuntu2.14.04.8) ...
Setting up samba-dsdb-modules (2:4.1.6+dfsg-1ubuntu2.14.04.8) ...
Setting up tdb-tools (1.2.12-1) ...
update-alternatives: using /usr/bin/tdbbackup.tdbtools to provide /usr/bin/tdbbackup (tdbbackup) in auto mode
Setting up libkdc2-heimdal:ppc64el (1.6~git20131207+dfsg-1ubuntu1.1) ...
Setting up samba (2:4.1.6+dfsg-1ubuntu2.14.04.8) ...
smbd start/running, process 23021
nmbd start/running, process 23059
samba-ad-dc start/running, process 23096
Setting up libsmbclient:ppc64el (2:4.1.6+dfsg-1ubuntu2.14.04.8) ...
Setting up smbclient (2:4.1.6+dfsg-1ubuntu2.14.04.8) ...
Setting up samba-vfs-modules (2:4.1.6+dfsg-1ubuntu2.14.04.8) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
Processing triggers for ufw (0.34~rc-0ubuntu2) ...
Processing triggers for ureadahead (0.100.0-16) ...
root at conelp2:~# smbclient -L conelp2
protocol negotiation failed: NT_STATUS_IO_TIMEOUT
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1472584
Title:
ISST-LTE: Samba server doesn't work well on Ubuntu 14.04.3
Status in samba package in Ubuntu:
Confirmed
Bug description:
Today we install ubuntu 14.04.3 on pole2lp1. We found that the samba
server doesn't work well.
root at pole2lp1:/etc/samba# /etc/init.d/smbd status
* smbd is running
root at pole2lp1:/etc/samba# smbclient -L pole2lp1
protocol negotiation failed: NT_STATUS_IO_TIMEOUT
We also tried to add a user and got the same result.
root at pole2lp1:/etc/samba# smbpasswd -a root
New SMB password:
Retype new SMB password:
root at pole2lp1:/etc/samba# smbclient -L pole2lp1
Enter root's password:
protocol negotiation failed: NT_STATUS_IO_TIMEOUT
root at pole2lp1:/etc/samba# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
server string = %h server (Samba, Ubuntu)
server role = standalone server
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
print ok = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
== Comment: #2 - Henish V. Patel <hepatel2 at in.ibm.com> - 2015-07-08 07:29:58 ==
smbclient -L pole2lp1 -U root --debuglevel=10
INFO: Current debug levels:
all: 10
tdb: 10
printdrivers: 10
lanman: 10
smb: 10
rpc_parse: 10
rpc_srv: 10
rpc_cli: 10
passdb: 10
sam: 10
auth: 10
winbind: 10
vfs: 10
idmap: 10
quota: 10
acls: 10
locking: 10
msdfs: 10
dmapi: 10
registry: 10
scavenger: 10
dns: 10
ldb: 10
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
INFO: Current debug levels:
all: 10
tdb: 10
printdrivers: 10
lanman: 10
smb: 10
rpc_parse: 10
rpc_srv: 10
rpc_cli: 10
passdb: 10
sam: 10
auth: 10
winbind: 10
vfs: 10
idmap: 10
quota: 10
acls: 10
locking: 10
msdfs: 10
dmapi: 10
registry: 10
scavenger: 10
dns: 10
ldb: 10
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
doing parameter workgroup = WORKGROUP
doing parameter server string = %h server (Samba, Ubuntu)
doing parameter dns proxy = no
doing parameter log file = /var/log/samba/log.%m
doing parameter max log size = 1000
doing parameter syslog = 0
doing parameter panic action = /usr/share/samba/panic-action %d
doing parameter server role = standalone server
doing parameter passdb backend = tdbsam
doing parameter obey pam restrictions = yes
doing parameter unix password sync = yes
doing parameter passwd program = /usr/bin/passwd %u
doing parameter passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
doing parameter pam password change = yes
doing parameter map to guest = bad user
doing parameter usershare allow guests = yes
pm_process() returned Yes
lp_servicenumber: couldn't find homes
added interface eth0 ip=2002:903:15f:1130:586b:3eff:fe27:8d02 bcast= netmask=ffff:ffff:ffff:ffff::
added interface eth0 ip=10.33.8.14 bcast=10.33.255.255 netmask=255.255.0.0
Netbios name list:-
my_netbios_names[0]="POLE2LP1"
Client started (version 4.1.6-Ubuntu).
Enter root's password:
Opening cache file at /var/cache/samba/gencache.tdb
Opening cache file at /var/run/samba/gencache_notrans.tdb
sitename_fetch: No stored sitename for
internal_resolve_name: looking up pole2lp1#20 (sitename (null))
Adding cache entry with key=[NBT/POLE2LP1#20] and timeout=[Wed Dec 31 06:00:00 PM 1969 CST] (-1436353427 seconds in the past)
no entry for pole2lp1#20 found.
resolve_lmhosts: Attempting lmhosts lookup for name pole2lp1<0x20>
resolve_lmhosts: Attempting lmhosts lookup for name pole2lp1<0x20>
startlmhosts: Can't open lmhosts file /etc/samba/lmhosts. Error was No such file or directory
resolve_wins: WINS server resolution selected and no WINS servers listed.
resolve_hosts: Attempting host lookup for name pole2lp1<0x20>
remove_duplicate_addrs2: looking for duplicate address/port pairs
namecache_store: storing 1 address for pole2lp1#20: 127.0.1.1
Adding cache entry with key=[NBT/POLE2LP1#20] and timeout=[Wed Jul 8 06:14:47 AM 2015 CDT] (660 seconds ahead)
internal_resolve_name: returning 1 addresses: 127.0.1.1:0
Connecting to 127.0.1.1 at port 445
Socket options:
SO_KEEPALIVE = 0
SO_REUSEADDR = 0
SO_BROADCAST = 0
TCP_NODELAY = 1
TCP_KEEPCNT = 9
TCP_KEEPIDLE = 7200
TCP_KEEPINTVL = 75
IPTOS_LOWDELAY = 0
IPTOS_THROUGHPUT = 0
SO_REUSEPORT = 0
SO_SNDBUF = 2626560
SO_RCVBUF = 1062832
SO_SNDLOWAT = 1
SO_RCVLOWAT = 1
SO_SNDTIMEO = 0
SO_RCVTIMEO = 0
TCP_QUICKACK = 1
TCP_DEFER_ACCEPT = 0
session request ok
protocol negotiation failed: NT_STATUS_IO_TIMEOUT
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1472584/+subscriptions
More information about the foundations-bugs
mailing list