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
-
- Service Provider
- Posts: 880
- Liked: 164 times
- Joined: Aug 26, 2013 7:46 am
- Full Name: Bastiaan van Haastrecht
- Location: The Netherlands
- Contact:
Enterprise Manager ad domain name
======================================================
Veeam ProPartner, Service Provider and a proud Veeam Legend
Veeam ProPartner, Service Provider and a proud Veeam Legend
-
- Service Provider
- Posts: 880
- Liked: 164 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, Service Provider and a proud Veeam Legend
Veeam ProPartner, Service Provider and a proud Veeam Legend
-
- Service Provider
- Posts: 880
- Liked: 164 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, Service Provider and a proud Veeam Legend
Veeam ProPartner, Service Provider and a proud Veeam Legend
-
- VeeaMVP
- Posts: 6166
- Liked: 1971 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: Google [Bot], Semrush [Bot] and 226 guests