Hi,
We would like to default add our NT domain name to every user that wants to enter the Enterprise Manager. I've looked at the scripts, but javascript isn't my deal and there's some kind of CMS engine on top of it. Could someone from dev point out the lines to alter to add the NT domain name?
Thanks in advance!
Regards,
Bastiaan
-
b.vanhaastrecht
- Service Provider
- Posts: 923
- Liked: 180 times
- Joined: Aug 26, 2013 7:46 am
- Full Name: Bastiaan van Haastrecht
- Location: The Netherlands
- Contact:
Enterprise Manager ad domain name
======================================================
Veeam ProPartner and Service Provider
Veeam ProPartner and Service Provider
-
b.vanhaastrecht
- Service Provider
- Posts: 923
- Liked: 180 times
- Joined: Aug 26, 2013 7:46 am
- Full Name: Bastiaan van Haastrecht
- Location: The Netherlands
- Contact:
Re: Enterprise Manager ad domain name
Couldn't stop investigating. Have managed to alter the code myself:
When the user presses login, the '@your fqdn domain name' value is added to the username. Be aware, you cant login with local accounts anymore.
- - Make a backup of the file Login.aspx in %VeeamInstallDir%\Veeam\Backup and Replication\Enterprise Manager\WebApp
- Edit this file
- Go to the 'var getFormParams = function(lf)' line (49) and alter as below:
Code: Select all
var getFormParams = function(lf) {
var params = lf.captureData();
var domainName = "@your fqdn domain name";
params["username"] = (params["username"]) + domainName;
alert(params["username"]);
params["password"] = Base64.encode(params["password"]);
return params;
};======================================================
Veeam ProPartner and Service Provider
Veeam ProPartner and Service Provider
-
b.vanhaastrecht
- Service Provider
- Posts: 923
- Liked: 180 times
- Joined: Aug 26, 2013 7:46 am
- Full Name: Bastiaan van Haastrecht
- Location: The Netherlands
- Contact:
Re: Enterprise Manager ad domain name
Remove the alert(..... line, this was for debug.
======================================================
Veeam ProPartner and Service Provider
Veeam ProPartner and Service Provider
-
dellock6
- Veeam Software
- Posts: 6216
- Liked: 1999 times
- Joined: Jul 26, 2009 3:39 pm
- Full Name: Luca Dell'Oca
- Location: Varese, Italy
- Contact:
Re: Enterprise Manager ad domain name
Nice, thanks Bastiaan!
Luca Dell'Oca
Principal EMEA Cloud Architect @ Veeam Software
@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2022
Veeam VMCE #1
Principal EMEA Cloud Architect @ Veeam Software
@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2022
Veeam VMCE #1
Who is online
Users browsing this forum: Semrush [Bot] and 203 guests