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
Hi David,> 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,samba4 has its own internal kerberos server. you shouldn't have to install another one. --snip--> > 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/krb5kdcyou have a mit kerberos process that is already listening on port 88 (cf. remark above), so samba4 won't be able to start properly. Removing your mit kerberos process should do it. Cheers, Denis> 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 > > >-- Denis Cardon Tranquil IT Systems Les Espaces Jules Verne, b?timent A 12 avenue Jules Verne 44230 Saint S?bastien sur Loire tel : +33 (0) 2.40.97.57.55 http://www.tranquil-it-systems.fr