The admin account, i.e. the one account that always has all privileges, is specified in the attribute olcRootDN and its password is found in olcRootPW. For the cn=config database those attributes are found in olcDatabase={0}config,cn=config and for the regular database, usually of type HDB, in olcDatabase={1}hdb,cn=config.