Smb no port listen after adding ldap

    • OMV 3.x
    • Resolved

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Smb no port listen after adding ldap

      Hello guys,

      after putting my settings ldap through the plugin directory service I no longer have access to any share of samba. (the ldap work fine with user and groups)

      But not at the level of users or permissions, but rather I do not see any share, I have "refused access" to linux and offline from windows (I enclose screen)

      I thought after I connected it does not listen on netbios samba / share as windows doors? (135-139, 445) or am I wrong?


      my netstat:


      Active Internet connections (only servers)
      Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
      tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 907/sshd
      tcp 0 0 127.0.0.1:2812 0.0.0.0:* LISTEN 1042/monit
      tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1458/mysqld
      tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 879/rpcbind
      tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 24254/nginx -g daem
      tcp 0 0 0.0.0.0:38069 0.0.0.0:* LISTEN 888/rpc.statd
      tcp6 0 0 :::22 :::* LISTEN 907/sshd
      tcp6 0 0 :::58262 :::* LISTEN 888/rpc.statd
      tcp6 0 0 :::111 :::* LISTEN 879/rpcbind
      tcp6 0 0 :::80 :::* LISTEN 24254/nginx -g daem
      tcp6 0 0 :::8080 :::* LISTEN 24254/nginx -g daem
      tcp6 0 0 :::21 :::* LISTEN 29965/proftpd: (acc



      EDIT: if i disable the plugin directory service:

      tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 5270/smbd
      Images
      • smb.png

        51.9 kB, 791×403, viewed 259 times
      If you like OMV please consider making a donation

      The post was edited 2 times, last by Karl Fiabeschi ().

    • Is the SMB/CIFS daemon running?

      Shell-Script

      1. ps ax | grep smbd
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • votdev wrote:

      Is the SMB/CIFS daemon running?

      Shell-Script

      1. ps ax | grep smbd
      yep obv. I manually restart the service more than once.

      as i said before the strange thing is that without the ldap (of plugin directory) the samba works fine and listens on 139.

      With ldap setting, it doesn't listen on any port,

      if i search on log i don't see anything..

      neither systemd journal no warning or error..

      Ty in advance

      EDIT: solved,

      i found:
      smbldap_search_domain_info: Adding domain info for XXXX failed with NT_STATUS_UNSUCCESSFUL

      and fixed it

      ty votdev
      If you like OMV please consider making a donation

      The post was edited 1 time, last by Karl Fiabeschi ().