Visit Open-E website
Results 1 to 9 of 9

Thread: How can I check the sambaSID of the storage

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default

    Thanks for fast reply,

    I run the command with my base and get
    ldap_bind: Invalid credentials (49)

    than run the command exactly how you wrote and get
    sambaSID: S-1-5-21-xxxxxxxxxx-xxxxxxxxxx-xxxxxxxxx-1203

    First I think great that´s it.
    But than I realize I know this sid.
    So I run net getlocalsid on my LDAP server and get exactly the same sid but without
    -1203.

    Now I am a little confused.

    Any explanation for this?
    Thanks

  2. #2

    Default

    @Pi-L

    Sorry for the late response.
    But my system is in full productivity.
    So I have to wait for the right moment to test your tip.

    Now I get the right sambaSID.

    How:

    stop my ldap server.
    set authentication to internal ldap.
    shutdown the storage
    plugging to another eth interface
    start storage to negotiate a new sid in network
    create a user in internal ldap
    run ldapsearch command

    ldapsearch -x -h DSS_IP -b dc=server,dc=nas -D cn=admin,dc=server,dc=nas -w secret objectclass=*

    copy user entries
    correct entries for my ldap
    correct sid: user_sid = domain_sid+rid / rid=2*uid + 1000
    put sambaDomain objectclass entry in my ldap
    put user in my ldap
    set authentication to external ldap.
    add user to users share access
    and can access my shares.

    last question on moderators.
    how to mark this thread as solved?

    thanks
    marshauzer

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •