Export ZS users to external LDAP server, etc…

Forums Network Management ZeroShell Export ZS users to external LDAP server, etc…

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #44264


    This is actually a double question.

    We’ve just added a new NAS to our network; on that NAS we have an LDAP server running. I’d like to EXPORT all the users that we have on our ZS box to the LDAP server — is this possible?

    Ultimately, the idea is to get ZS’s RADIUS to use the external LDAP server (on the NAS) for authentication. I believe that this is possible, but all the reading and testing that I’ve done so far has simply drained my limited brain power… 🙂 Can anyone provide some good pointers on how to achieve this so that I can try to get back on track?

    Many thanks in anticipation for any support.



    I’m working on a way to do selective backups…

    You can easily extract from ZS LDAP using the command ldapsearch.

    This one will show all the categories:

    > ldapsearch -x -b ‘dc=yourdomain,dc=tld’ ‘(ou=*)’ ou -S ou | grep ou:
    (the final ‘:’ is expected).


    ou: Aliases
    ou: Computers
    ou: DNS
    ou: Group
    ou: Hosts
    ou: Mounts
    ou: NAS
    ou: Netgroup
    ou: Networks
    ou: People
    ou: Protocols
    ou: Radius
    ou: Rpc
    ou: Services

    For your (1) the users are in People:

    > ldapsearch -x -u -b ‘ou=People,dc=yourdomain,dc=tld’ -S uid
    (if I remember properly, uid looks pertinent for People to sort on).

    Hope it can help.
    Best regards.


    Many thanks for the precious feedback and apologies for the delay in acknowledging this. I’ll try this out now.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.