Setspn is a command-line tool that is built into Windows Server 2008. It is available if you have the Active Directory Domain Services (AD DS) server role installed. To use setspn, you must run the setspn command from an elevated command prompt. To open an elevated command prompt, click Start, right-click Command Prompt, and then click Run as administrator.


setspn hostname -a http/ldap.mycorp.com.tr



Mode details https://technet.microsoft.com/en-us/library/cc731241.aspx