We are using Core 3.5.1 and using Apache to allow us for Active Directory authentication. Currently when someone comments on something, the Author field is their AD logon ID. Is there any way to change that field to show their AD Name?
I understand it's Apache that's authenticating us, but is there a way for Nagios to take the authenticated login and get the Common Name or DisplayName from Active Directory?
Thanks
Changing Author Name
Re: Changing Author Name
This is most likely an issue with how the apache authnz_ldap module is reporting the user. Have you looked to see if you can return the username instead of id from the module:
http://httpd.apache.org/docs/trunk/mod/ ... _ldap.html
http://httpd.apache.org/docs/trunk/mod/ ... _ldap.html
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Changing Author Name
I'm reading the manual and I'm not sure Apache can return that info. I'll continue to dig, but thats why I raised the question on the Nagios side as opposed to the Apache side.
Re: Changing Author Name
Well, nagios will only see what the module returns for the username. This would have to be controlled by the module itself.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Changing Author Name
Just figured it out. Need to have "cn" in the ldap auth url. Then I can use "AuthLDAPRemoteUserAttribute cn" to display the user's name.
Thanks for pointing me inthe right direction!
Thanks for pointing me inthe right direction!
Re: Changing Author Name
No problem, Cheers!
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.