Coder Social home page Coder Social logo

Segfault in tac_plus about tac_plus HOT 6 CLOSED

facebook avatar facebook commented on May 5, 2024
Segfault in tac_plus

from tac_plus.

Comments (6)

cooperlees avatar cooperlees commented on May 5, 2024

I believe the succeed on fail is a client decision (I could be wrong). I would double check to see with the child segfault if any message gets sent back to your router.

I don't think you're doing anything wrong and just some love between PAM + this old codebase probably needs some debugging like you've found. Maybe asking in some PAM github repo, forum etc. might be the next best step, as, I too, am no PAM guru.

from tac_plus.

richard-allen avatar richard-allen commented on May 5, 2024

Looking at the gdb output, I just had a terrifying thought, which I promptly tested and yes it's true. It matters not what I type into the first factor prompt, it succeeds. ALso, it matters not what I type into the second factor prompt. Still succeeds :)
I have to mess up the username field before logins fail

from tac_plus.

cooperlees avatar cooperlees commented on May 5, 2024

Well this is either a bug in PAM / Tacacs interaction with PAM or your PAM config from what I see. I've changed teams at Facebook and don't have time to debug this, nor do I have the ability to create a repro of your setup (We don't use dual factor on TACACS+ devices, we do elsewhere to get into production). So if you can fix this and show how you've tested it I am sure we will happily accept a PR.

from tac_plus.

richard-allen avatar richard-allen commented on May 5, 2024

Ok... Do you think anyone at facebook would be interested in diagnosing this with me? I could provide a clone of this VM complete with all the setup in no time if needed and give access to the system to work this out and a test router to trigger the bug.
PS: can you see anything abvious errors in the PAM config? It's just basicly calling system-auth for most things and that should be pretty well tested.

from tac_plus.

cooperlees avatar cooperlees commented on May 5, 2024

We won't have time to help here sir. If you work it out, PRs will be welcome.

from tac_plus.

cooperlees avatar cooperlees commented on May 5, 2024

Can't help on custom LDAP + PAM issues we can not reproduce in our environment.

from tac_plus.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.