Page 1 of 1

WinBOPM errors

Posted: Tue Nov 23, 2004 7:06 pm
by W-Unit
:? yeah I'm using windows, much as I hate it it will have to do for a while.

Anyhoo, I downloaded the Windows port of BOPM and I can't get it to oper up. Here's the error:

Code: Select all

-irc.fr0zen.com- *** Notice -- Client connecting on port 6667: BOPM ([email protected]) [clients] 
-
-irc.fr0zen.com- *** Notice -- Failed OPER attempt by BOPM ([email protected]) [unknown oper]
Here's the oper line in the bopm.conf:

Code: Select all

oper = "bopm <password>";
And here's bopm's operblock:

Code: Select all

oper bopm {
	class           clients;
	from {
		userhost *@*;
	};
	password "<PASSWORD>";
	flags
	{
                global;
                local;
                services-admin;
                admin;
                can_rehash;
                can_die;
                can_restart;
                helpop;
                can_wallops;
                can_globops;
                can_localroute;
                can_globalroute;
                can_localkill;
                can_globalkill;
                can_kline;
                can_gzline;
                can_gkline;
                can_unkline;
                can_localnotice;
                can_globalnotice;
                netadmin;
                coadmin;
                can_zline;
                get_umodew;
		can_setq;
		can_dccdeny;
                can_override;
	};
	maxlogins 1;
	snomask kcfFjveGqs;
};
I have checked over and over that the passwords match.
What's wrong with it?

Posted: Tue Nov 23, 2004 8:04 pm
by Dukat
Did you test that oper block, i.e. /oper youself with that login and password?

Posted: Wed Nov 24, 2004 12:07 am
by Stealth
Just for reference, a BOPM only needs the global flag, and only needs snomask c (and possibly F if it needs to see global connections) - it is a waste of memory giving it flags it doesnt need.

Posted: Wed Nov 24, 2004 12:28 am
by aquanight
In theory, if it's a per-server BOPM you could just get away with can_kline and that's it! (Not even local. An oper block is enough to get +s +c. If you want to do IP bans, can_zline would work too.) A netwide BOPM would need only can_gkline.

Posted: Wed Nov 24, 2004 4:35 pm
by W-Unit
OK so I changed the operflags and snomasks, but still it gets the error.
I tried doing the test oper and got the same error (no O:Lines for host)
I still don't see what's wrong with the operblock.

Posted: Wed Nov 24, 2004 5:13 pm
by aquanight
Rehash? Check for syntax errors elsewhere?

Posted: Thu Nov 25, 2004 1:52 pm
by W-Unit
Rehashing goes fine. No errors or anything.

Posted: Thu Nov 25, 2004 2:21 pm
by Dukat
Do a /stats o to check if the oper block is really there.

Posted: Thu Nov 25, 2004 2:44 pm
by W-Unit
Dukat wrote:Do a /stats o to check if the oper block is really there.
I would, if only my server would start (see post in Unreal 3.2 support)
:x

Posted: Thu Nov 25, 2004 4:06 pm
by W-Unit
OK, I found why this happened. It was reading a different conf file that didn't have the operblock added. God knows why its doing it, but, problem solved.

:o