Index: trunk/extensions/OpenStackManager/OpenStackNovaHost.php |
— | — | @@ -156,7 +156,7 @@ |
157 | 157 | return false; |
158 | 158 | } |
159 | 159 | $host = OpenStackNovaHost::getLDAPArray( $hostname, $ip, $domainname ); |
160 | | - $dn = 'dc=' . $hostname . ',dc=' . $this->getDomainName() . ',' . $wgOpenStackManagerLDAPDNSDomainBaseDN; |
| 160 | + $dn = 'dc=' . $hostname . ',dc=' . $domain->getDomainName() . ',' . $wgOpenStackManagerLDAPDNSDomainBaseDN; |
161 | 161 | |
162 | 162 | $success = @ldap_add( $wgAuth->ldapconn, $dn, $host ); |
163 | 163 | if ( $success ) { |