samba4 default installation Connection failed (Error NT_STATUS_CONNECTION_REFUSED)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba4 (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
I installed samba4, added a share /test to smb.conf and tried to access it and got
$ smbclient -L localhost -U%
Connection to localhost failed (Error NT_STATUS_
The log file /var/log/
[2012/09/23 19:09:41, 0] ../lib/
/usr/sbin/smbd: Failed to exec child - No such file or directory
[2012/09/23 19:09:41, 0] ../file_
file_server smbd daemon exited normally
[2012/09/23 19:09:41, 0] ../source4/
task_
[2012/09/23 19:09:41, 0] ../source4/
task_
[2012/09/23 19:09:41, 0] ../source4/
task_
[2012/09/23 19:09:41, 0] ../source4/
task_
[2012/09/23 19:09:41, 0] ../source4/
task_
[2012/09/23 19:09:41, 0] ../source4/
task_
$ sudo netstat -tunap |grep samba
tcp 0 0 0.0.0.0:1024 0.0.0.0:* LISTEN 5374/samba
tcp 0 0 0.0.0.0:135 0.0.0.0:* LISTEN 5374/samba
tcp6 0 0 :::1024 :::* LISTEN 5374/samba
tcp6 0 0 :::135 :::* LISTEN 5374/samba
udp 0 0 192.168.122.1:137 0.0.0.0:* 5376/samba
udp 0 0 192.168.122.255:137 0.0.0.0:* 5376/samba
udp 0 0 192.168.1.38:137 0.0.0.0:* 5376/samba
udp 0 0 192.168.1.255:137 0.0.0.0:* 5376/samba
udp 0 0 0.0.0.0:137 0.0.0.0:* 5376/samba
udp 0 0 192.168.122.1:138 0.0.0.0:* 5376/samba
udp 0 0 192.168.122.255:138 0.0.0.0:* 5376/samba
udp 0 0 192.168.1.38:138 0.0.0.0:* 5376/samba
udp 0 0 192.168.1.255:138 0.0.0.0:* 5376/samba
udp 0 0 0.0.0.0:138 0.0.0.0:* 5376/samba
I removed all iptables rules. Attached is my smb.conf
I also tried smbpasswd -a munzir followed by smbclient -L localhost -U munzir but got same result
---
ApportVersion: 2.5.2-0ubuntu4
Architecture: amd64
DistroRelease: Ubuntu 12.10
InstallationMedia: Kubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120606)
NonfreeKernelMo
Package: samba4 4.0.0~beta2+dfsg1-3
PackageArchitec
ProcEnviron:
LANGUAGE=
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
Tags: quantal
Uname: Linux 3.5.0-15-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip libvirtd lpadmin plugdev sambashare sudo
apport information