NethServer Version: NS7rc1
Module: fileserver
Hi all,
me and samba/shared folders, we can’t get along very well…
I had stuff working:
NS7rc1, Samba AD, fileserver.
I manually added NFS, partially serving the same folders as samba.
Then I changed some stuff on my webserver:
Let’s encrypt certificate, for which I added some info in “organization contacts”,
blocked SSLv3 on the main apache-server, changed some cipher-stuff (wrote in this topic).
Rebooted.
And then, samba stopped accepting access from windows hosts:
Nov 9 13:55:32 helium smbd[17482]: pam_unix(samba:session): session closed for user nobody
(from /var/log/secure)
I have to say I don’t use the shared folders on a daily basis; maybe it was broken before. My problem is: where to start troubleshooting? /var/log/secure doesn’t tell me more then the one line above. logs in samba doesn’t give a clue.
nmap to the IP of the LDAP-server:
root@helium:samba> $ nmap 192.168.1.20
Starting Nmap 6.40 ( http://nmap.org ) at 2016-11-09 14:25 CET
Nmap scan report for 192.168.1.20
Host is up (0.0000080s latency).
Not shown: 989 closed ports
PORT STATE SERVICE
53/tcp open domain
88/tcp open kerberos-sec
135/tcp open msrpc
139/tcp open netbios-ssn
389/tcp open ldap
445/tcp open microsoft-ds
464/tcp open kpasswd5
636/tcp open ldapssl
1024/tcp open kdm
3268/tcp open globalcatLDAP
3269/tcp open globalcatLDAPssl
MAC Address: 1A:2B:DB:23:B7:57 (Unknown)
Nmap done: 1 IP address (1 host up) scanned in 0.11 seconds
Looks OK to me.
Info in domain accounts:
NetBIOS domain name: ROLFBAKKER
LDAP server: 192.168.1.20
LDAP server name: nsdc-helium.rolfbakker.nl
Realm: ROLFBAKKER.NL
Bind Path: dc=ROLFBAKKER,dc=NL
LDAP port: 389
Server time: Wed, 09 Nov 2016 14:24:52 CET
KDC server: 192.168.1.20
Server time offset: 0
Join is OK
name: HELIUM
objectSid: S-1-5-21-3159083151-2014931961-3051134071-1103
accountExpires: 9223372036854775807
sAMAccountName: HELIUM$
pwdLastSet: 131219523080000000
dNSHostName: helium.rolfbakker.nl
servicePrincipalName: HOST/HELIUM
servicePrincipalName: HOST/helium.rolfbakker.nl
servicePrincipalName: smtp/helium
servicePrincipalName: smtp/helium.rolfbakker.nl
servicePrincipalName: pop/helium
servicePrincipalName: pop/helium.rolfbakker.nl
servicePrincipalName: imap/helium
servicePrincipalName: imap/helium.rolfbakker.nl
whenChanged: 20161109124622.0Z
lastLogon: 131231714925171150
distinguishedName: CN=HELIUM,CN=Computers,DC=rolfbakker,DC=nl
Can someone help me? Where to start looking? Or is it possible to reset the whole thing? (ok, have to copy 350 GB again, but that can be done…)