2012-09-23 16:17:16 |
Munzir Taha (منذر طه) |
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_CONNECTION_REFUSED)
The log file /var/log/samba/log.%m (notice the buggy %m) contains
[2012/09/23 19:09:41, 0] ../lib/util/util_runcmd.c:334(samba_runcmd_io_handler)
/usr/sbin/smbd: Failed to exec child - No such file or directory
[2012/09/23 19:09:41, 0] ../file_server/file_server.c:98(file_server_smbd_done)
file_server smbd daemon exited normally
[2012/09/23 19:09:41, 0] ../source4/smbd/service_task.c:35(task_server_terminate)
task_server_terminate: [ldap_server: no LDAP server required in standalone configuration]
[2012/09/23 19:09:41, 0] ../source4/smbd/service_task.c:35(task_server_terminate)
task_server_terminate: [cldap_server: no CLDAP server required in standalone configuration]
[2012/09/23 19:09:41, 0] ../source4/smbd/service_task.c:35(task_server_terminate)
task_server_terminate: [kdc: no KDC required in standalone configuration]
[2012/09/23 19:09:41, 0] ../source4/smbd/service_task.c:35(task_server_terminate)
task_server_terminate: [dreplsrv: no DSDB replication required in standalone configuration]
[2012/09/23 19:09:41, 0] ../source4/smbd/service_task.c:35(task_server_terminate)
task_server_terminate: [Cannot start Winbind (standalone configuration): Failed to find record for GT683R in /var/lib/samba/private/secrets.ldb: No such object: (null): Have you provisioned this server (GT683R) or changed it's name?]
[2012/09/23 19:09:41, 0] ../source4/smbd/service_task.c:35(task_server_terminate)
task_server_terminate: [kccsrv: no KCC required in standalone configuration]
$ 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 |
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_CONNECTION_REFUSED)
The log file /var/log/samba/log.%m (notice the buggy %m) contains
[2012/09/23 19:09:41, 0] ../lib/util/util_runcmd.c:334(samba_runcmd_io_handler)
/usr/sbin/smbd: Failed to exec child - No such file or directory
[2012/09/23 19:09:41, 0] ../file_server/file_server.c:98(file_server_smbd_done)
file_server smbd daemon exited normally
[2012/09/23 19:09:41, 0] ../source4/smbd/service_task.c:35(task_server_terminate)
task_server_terminate: [ldap_server: no LDAP server required in standalone configuration]
[2012/09/23 19:09:41, 0] ../source4/smbd/service_task.c:35(task_server_terminate)
task_server_terminate: [cldap_server: no CLDAP server required in standalone configuration]
[2012/09/23 19:09:41, 0] ../source4/smbd/service_task.c:35(task_server_terminate)
task_server_terminate: [kdc: no KDC required in standalone configuration]
[2012/09/23 19:09:41, 0] ../source4/smbd/service_task.c:35(task_server_terminate)
task_server_terminate: [dreplsrv: no DSDB replication required in standalone configuration]
[2012/09/23 19:09:41, 0] ../source4/smbd/service_task.c:35(task_server_terminate)
task_server_terminate: [Cannot start Winbind (standalone configuration): Failed to find record for GT683R in /var/lib/samba/private/secrets.ldb: No such object: (null): Have you provisioned this server (GT683R) or changed it's name?]
[2012/09/23 19:09:41, 0] ../source4/smbd/service_task.c:35(task_server_terminate)
task_server_terminate: [kccsrv: no KCC required in standalone configuration]
$ 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)
NonfreeKernelModules: nvidia
Package: samba4 4.0.0~beta2+dfsg1-3
PackageArchitecture: amd64
ProcEnviron:
LANGUAGE=
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 3.5.0-15.22-generic 3.5.4
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 |
|