1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices] EnableAnopeWorkaround doesn't work with db imported
5 from anope-
1.7.18 using enc_old
7 <LINK REL=
"Index" HREF=
"index.html" >
8 <LINK REL=
"made" HREF=
"mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20EnableAnopeWorkaround%20doesn%27t%20work%20with%20db%20imported%0A%09from%20anope-1.7.18%20using%20enc_old&In-Reply-To=470E4411.20604%40fagrell.net">
9 <META NAME=
"robots" CONTENT=
"index,nofollow">
10 <META http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
11 <LINK REL=
"Previous" HREF=
"005496.html">
12 <LINK REL=
"Next" HREF=
"005498.html">
14 <BODY BGCOLOR=
"#ffffff">
15 <H1>[IRCServices] EnableAnopeWorkaround doesn't work with db imported
16 from anope-
1.7.18 using enc_old
</H1>
18 <A HREF=
"mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20EnableAnopeWorkaround%20doesn%27t%20work%20with%20db%20imported%0A%09from%20anope-1.7.18%20using%20enc_old&In-Reply-To=470E4411.20604%40fagrell.net"
19 TITLE=
"[IRCServices] EnableAnopeWorkaround doesn't work with db imported
20 from anope-1.7.18 using enc_old">achurch at achurch.org
22 <I>Fri Oct
12 03:
00:
35 PDT
2007</I>
24 <LI>Previous message:
<A HREF=
"005496.html">[IRCServices] EnableAnopeWorkaround doesn't work with db imported
25 from anope-
1.7.18 using enc_old
27 <LI>Next message:
<A HREF=
"005498.html">[IRCServices] EnableAnopeWorkaround doesn't work with db imported
28 from anope-
1.7.18 using enc_old
30 <LI> <B>Messages sorted by:
</B>
31 <a href=
"date.html#5497">[ date ]
</a>
32 <a href=
"thread.html#5497">[ thread ]
</a>
33 <a href=
"subject.html#5497">[ subject ]
</a>
34 <a href=
"author.html#5497">[ author ]
</a>
41 </I>><i>I'm currently running anope-
1.7.18 which was earlier upgraded from an older version with the broken md5 encryption.
42 </I>><i>In order to use the old db in the new anope I use the enc_old option and that works fine.
44 </I>><i>No I want to migrate this database to ircservices but I can't get it to recognize the passwords. I made two example users for a test:
46 Thanks for this report. Can you please try applying the patch below to
47 your Services source code (save this message to a file and give the command
48 "patch -p0
<file
" in the ircservices-
5.1.0 directory, where
"file
" is the
49 path of the file you saved the message to), then recompiling and running
53 <A HREF=
"http://lists.ircservices.za.net/mailman/listinfo/ircservices">achurch at achurch.org
</A>
54 <A HREF=
"http://achurch.org/">http://achurch.org/
</A>
56 Index: tools/convert-epona.c
57 ===================================================================
58 RCS file: /var/local/cvsroot/ircservices/tools/convert-epona.c,v
59 retrieving revision
2.40
60 diff -u -r2.40 convert-epona.c
61 --- tools/convert-epona.c
10 Oct
2007 05:
57:
31 -
0000 2.40
62 +++ tools/convert-epona.c
11 Oct
2007 18:
03:
00 -
0000
64 ngi-
>os_priv = NP_SERVADMIN;
65 else if (tmp32
& 0x00001000) /* NI_SERVICES_OPER */
66 ngi-
>os_priv = NP_SERVOPER;
67 + if (tmp32
& 0x00004000)
68 + ngi-
>pass.cipher = sstrdup(
"md5
");
69 if (tmp32
& 0x00080000)
70 ngi-
>flags |= NF_NOOP;
71 SAFE(read_int16(
&tmp16, f));
73 ci-
>flags |= CF_SECURE;
74 if (tmp32
& 0x00000080)
75 ci-
>flags |= CF_VERBOTEN;
76 + if (tmp32
& 0x00000100)
77 + ci-
>pass.cipher = sstrdup(
"md5
");
78 if (tmp32
& 0x00000200)
79 ci-
>flags |= CF_NOEXPIRE;
80 if (tmp32
& 0x00000800)
88 <LI>Previous message:
<A HREF=
"005496.html">[IRCServices] EnableAnopeWorkaround doesn't work with db imported
89 from anope-
1.7.18 using enc_old
91 <LI>Next message:
<A HREF=
"005498.html">[IRCServices] EnableAnopeWorkaround doesn't work with db imported
92 from anope-
1.7.18 using enc_old
94 <LI> <B>Messages sorted by:
</B>
95 <a href=
"date.html#5497">[ date ]
</a>
96 <a href=
"thread.html#5497">[ thread ]
</a>
97 <a href=
"subject.html#5497">[ subject ]
</a>
98 <a href=
"author.html#5497">[ author ]
</a>