ecat

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by ecat

  1. On 5/17/2021 at 2:40 PM, ankx7 said:

    Hi! thanks in advance for the article!

    i've a problem: mdfind don't find anything

    my samba version is 4.12.3

    The indexing is ok.

    Command:

    curl -H 'Content-Type: application/json' -X GET http://localhost:9200/myjob/_search?pretty

    give correct result but mdfind dont find!

     

    anyone similar problems?

    my smb.conf

    
    
    
    [global]
            workgroup = TESTSAMBA
            security = user
            netbios name  = REDHAT8
            passdb backend = tdbsam
    
            printing = cups
            printcap name = cups
            load printers = yes
            cups options = raw
    
            spotlight backend = elasticsearch
            elasticsearch:address = localhost
            elasticsearch:port = 9200
    
    [testfolder]
            comment = folder di test
            path = /srv/samba/test
            valid users = testuser
            browseable = Yes
            read only = No
            spotlight = yes

    thanks

     

    Jobname must be the same to share name, so change your 'myjob' to 'testfolder'