Fix to 0.31 group AD info set not adding slash in username
Stephen Roddick last edited by
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.