• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Fix to 0.31 group AD info set not adding slash in username

    Scheduled Pinned Locked Moved
    FOG Problems
    1
    1
    1.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Stephen Roddick
      last edited by

      Hey,

      I found a problem with assigning AD Information to a group in 0.31. the account will not properly add the slash to the Domain Username (e.g. domain\user gets auto entered as domainuser).

      To fix this:
      edit line 615 of /var/www/fog/management/includes/group.edit.include.php
      change getSetting($conn, “FOG_AD_DEFAULT_USER”)
      to addslashes(getSetting($conn, “FOG_AD_DEFAULT_USER”))

      Note: I know this is fixed in 0.32. However, I am currently required to use FOG 0.31 as I may need to apply the location patch (which is currently 0.31 only) in the future.

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post

      256

      Online

      12.0k

      Users

      17.3k

      Topics

      155.2k

      Posts
      Copyright © 2012-2024 FOG Project