[Samba] Build/install on Debian failed

David Lee David.Lee at jesus.org.uk
Thu Feb 27 16:08:02 MST 2014


After following https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO, and 
then setting up Kerberos following 
http://techpubs.spinlocksolutions.com/dklar/kerberos.html, I found Samba 
did not work. I have updated the source, rebuilt and rerun provision, 
but can not see the local shares, but get

dnl at storestone:~$ sudo /usr/local/samba/bin/smbclient -d3 -L localhost -U%
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
params.c:pm_process() - Processing configuration file 
"/usr/local/samba/etc/smb.conf"
Processing section "[global]"
added interface eth0 ip=192.168.0.67 bcast=192.168.0.255 
netmask=255.255.255.0
Client started (version 4.0.15).
resolve_lmhosts: Attempting lmhosts lookup for name localhost<0x20>
resolve_lmhosts: Attempting lmhosts lookup for name localhost<0x20>
resolve_wins: WINS server resolution selected and no WINS servers listed.
resolve_hosts: Attempting host lookup for name localhost<0x20>
Connecting to ::1 at port 445
Connecting to ::1 at port 139
Connecting to 127.0.0.1 at port 445
Connecting to 127.0.0.1 at port 139
Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)

dnl at storestone:~$ sudo netstat -tulpn | egrep 
"53|88|135|137|138|139|389|445|464|636"
tcp        0      0 0.0.0.0:464             0.0.0.0:* LISTEN 2255/kadmind
tcp        0      0 0.0.0.0:48336           0.0.0.0:* LISTEN 1536/rpc.statd
tcp        0      0 0.0.0.0:53              0.0.0.0:* LISTEN 15607/samba
tcp6       0      0 :::464                  :::* LISTEN 2255/kadmind
tcp6       0      0 :::33968                :::* LISTEN 1536/rpc.statd
udp        0      0 127.0.0.1:864 0.0.0.0:*                           
1536/rpc.statd
udp        0      0 0.0.0.0:464 0.0.0.0:*                           
2255/kadmind
udp        0      0 0.0.0.0:45599 0.0.0.0:*                           
1536/rpc.statd
udp        0      0 0.0.0.0:53 0.0.0.0:* 15607/samba
udp        0      0 0.0.0.0:88 0.0.0.0:* 2134/krb5kdc
udp        0      0 0.0.0.0:5353 0.0.0.0:*                           
2228/avahi-daemon:
udp6       0      0 :::59256 :::* 1536/rpc.statd
udp6       0      0 fe80::214:5eff:fe93:464 
:::*                                2255/kadmind
udp6       0      0 fe80::214:5eff:fe93::88 
:::*                                2134/krb5kdc
udp6       0      0 :::5353 :::* 2228/avahi-daemon:

I am a newbie in this area, so it is probably something simple, but I 
would be grateful for a pointer in the right direction.

Thanks





More information about the samba mailing list