Friday, 26 March 2010

10/03/26 11:26:00 [Krb5LoginModule] authentication failed
Client not found in Kerberos database (6)

Error may be caused by a SERVERNAME$ account in Active Directory. Be sure to prefix the account with a simple domain name when running ktpass: if your domain is MYDOMAIN.COM, use DOMAIN\servername in the ktpass command.

Check the serveraccount and remove procipalname=HTTP/ entries

Thursday, 25 March 2010

Remove xdb login screen

begin
dbms_xdb.cfg_update(xmltype.insertxmlbefore(dbms_xdb.cfg_get(),'/xdbconfig/sysconfig/protocolconfig/httpconfig/authentication',
xmltype('<allow-repository-anonymous-access
xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">true<allow-repository-anonymous-access>')));
commit;
dbms_xdb.cfg_refresh;
end;
/

Wednesday, 24 March 2010

Change Apex License Page

/* Courtesy to Dietmar Aust */

DECLARE
RESULT BOOLEAN;
l_html VARCHAR2 (512);

PROCEDURE remove_resource (p_res_path IN VARCHAR2)
IS
BEGIN
IF DBMS_XDB.existsresource (p_res_path)
THEN
DBMS_XDB.deleteresource (p_res_path, DBMS_XDB.delete_force);
END IF;
END;
BEGIN
l_html :=
'Hello world';
remove_resource (p_res_path => '/index.html');
remove_resource (p_res_path => '/index.htm');
RESULT := DBMS_XDB.createresource ('/index.html', l_html);
COMMIT;
END;
/

Tuesday, 23 March 2010

Dipassistant bootstrap does not copy all attributes

Stacccato, will eleborate later!

Single-server install of infrastructure and midtier on Windows. 10.1.4 Infrastructure, 10.1.2 midtier. Synchronization AD-OID. Dipassistant bootstrap does not create attributes like distinguishedname, though mapping is in mapfile. Does not create class orcladobject.
Problem: dipassistant of midtier is in path BEFORE the one on infrastructure/bin. Change path, bootstrap again.