Replies: 4 comments 4 replies
-
@alxcohen , regarding your ldap problem, you are using the default port (7100) on which STF listens, which STF service did you launch before the ldap one? Please provide your entire configuration at runtime! |
Beta Was this translation helpful? Give feedback.
-
@alxcohen , so this is the reason of the port conflict, if you launch
|
Beta Was this translation helpful? Give feedback.
-
@alxcohen , perhaps you have also to value the |
Beta Was this translation helpful? Give feedback.
-
@alxcohen , perhaps your issue is related to #743, take a look! |
Beta Was this translation helpful? Give feedback.
-
Hi there.
Couple questions.
1)RethinkDB looks like not maintained anymore. Is that possible to use mongo etc ?
2) For now i'm using rethinkdb in docker. Stf using locally (not in docker).
Trying to make a stf as service, execstart = stf local --public-ip **** , but it crushes with this log
Aug 12 18:01:12 mob-farm stf[78308]: Module did not self-register: '/root/.nvm/versions/node/v20.16.0/lib/node_modules/@devicefarmer/stf/node_modules/zeromq/build/Release/zmq.node'. Aug 12 18:01:12 mob-farm stf[78286]: 2024-08-12T15:01:12.294Z FTL/cli:local 78286 [*] Child process had an error ExitError: Exit code "1" Aug 12 18:01:12 mob-farm stf[78286]: at ChildProcess.<anonymous> (/root/.nvm/versions/node/v20.16.0/lib/node_modules/@devicefarmer/stf/lib/util/procutil.js:49:23) Aug 12 18:01:12 mob-farm stf[78286]: at ChildProcess.emit (node:events:517:28) Aug 12 18:01:12 mob-farm stf[78286]: at ChildProcess._handle.onexit (node:internal/child_process:292:12) Aug 12 18:01:12 mob-farm stf[78286]: 2024-08-12T15:01:12.295Z INF/cli:local 78286 [*] Shutting down all child processes
Anyways for testing i'm starting app in tmux and everything look great. But now I tried to enable ldap and can't actually understand how. Trying to start like this
stf auth-ldap --app-url http://ip:7100 \ --ldap-url ldap://my.domain.com \ --ldap-search-dn "DC=my,DC=domain,DC=com" \ --ldap-bind-dn "cn=user,dc=my,dc=domain,dc=com" \ --ldap-bind-credentials "pass" \ --ldap-search-filter "(&(memberOf=CN=group,OU=ou,OU=ou,DC=my,DC=domain,DC=com)(sAMAccountName={{username}}))"
And had error that port is using. Which is means that instance already started with auth-ldap I guess. But how to configure than ?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions