1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices] ircservices-
5.0.57 convert-db utility crashes
5 when converting from anope db.
7 <LINK REL=
"Index" HREF=
"index.html" >
8 <LINK REL=
"made" HREF=
"mailto:ircservices%40ircservices.esper.net?Subject=%5BIRCServices%5D%20ircservices-5.0.57%20convert-db%20utility%20crashes%20%20%0A%09when%20converting%20from%20anope%20db.&In-Reply-To=2956.24.179.41.151.1150748417.squirrel%40www.solid-ircd.com">
9 <META NAME=
"robots" CONTENT=
"index,nofollow">
10 <META http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
11 <LINK REL=
"Previous" HREF=
"005148.html">
12 <LINK REL=
"Next" HREF=
"005150.html">
14 <BODY BGCOLOR=
"#ffffff">
15 <H1>[IRCServices] ircservices-
5.0.57 convert-db utility crashes
16 when converting from anope db.
</H1>
18 <A HREF=
"mailto:ircservices%40ircservices.esper.net?Subject=%5BIRCServices%5D%20ircservices-5.0.57%20convert-db%20utility%20crashes%20%20%0A%09when%20converting%20from%20anope%20db.&In-Reply-To=2956.24.179.41.151.1150748417.squirrel%40www.solid-ircd.com"
19 TITLE=
"[IRCServices] ircservices-5.0.57 convert-db utility crashes
20 when converting from anope db.">gabriel.baez at solid-ircd.com
22 <I>Mon Jun
19 15:
30:
29 PDT
2006</I>
24 <LI>Previous message:
<A HREF=
"005148.html">[IRCServices] ircservices-
5.0.57 convert-db utility crashes
25 when converting from anope db.
27 <LI>Next message:
<A HREF=
"005150.html">[IRCServices] ircservices-
5.0.57 convert-db utility crashes when
28 converting from anope db.
30 <LI> <B>Messages sorted by:
</B>
31 <a href=
"date.html#5149">[ date ]
</a>
32 <a href=
"thread.html#5149">[ thread ]
</a>
33 <a href=
"subject.html#5149">[ subject ]
</a>
34 <a href=
"author.html#5149">[ author ]
</a>
39 <PRE>erm, let me reword this lol, after successfully running the convert-db
43 I Imported the data, but users can't identify, when ever they try to
44 identify to their nickname they get a password incorrect error, those
45 this conversion support importing encrypted passwords from other services?
46 My anope db had the passwords encrypted.
49 ><i> Thanks this worked, the issue I have now, is that I can't identify, the
50 </I>><i> passwords in the anope db were encrypted and now when I Import the data
51 </I>><i> and try to identify I get a password incorrect message.
54 </I>>>><i>sheik@***** [~/services2/lib]# ./convert-db -v +anope
55 </I>>>><i> /home/sheik/services
56 </I>>>><i>Loading nick.db...
57 </I>>>><i>Loading chan.db...
58 </I>>>><i>Loading oper.db...
59 </I>>>><i>Loading exception.db...
60 </I>>>><i>Loading news.db...
61 </I>>>><i>Data files successfully loaded.
62 </I>>>><i>Checking data integrity...
63 </I>>>><i>Segmentation fault
65 </I>>><i> Can you try applying the patch below and tell me if it solves your
66 </I>>><i> problem?
68 </I>>><i> --Andrew Church
69 </I>>><i> <A HREF=
"http://lists.ircservices.za.net/mailman/listinfo/ircservices">achurch at achurch.org
</A>
70 </I>>><i> <A HREF=
"http://achurch.org/">http://achurch.org/
</A>
72 </I>>><i> ---------------------------------------------------------------------------
74 </I>>><i> Index: tools/convert-db.c
75 </I>>><i> ===================================================================
76 </I>>><i> RCS file: /var/local/cvsroot/ircservices/tools/convert-db.c,v
77 </I>>><i> retrieving revision
2.30.2.6
78 </I>>><i> diff -u -r2.30
.2.6 convert-db.c
79 </I>>><i> --- tools/convert-db.c
20 Jan
2006 08:
33:
59 -
0000 2.30.2.6
80 </I>>><i> +++ tools/convert-db.c
19 Jun
2006 17:
03:
51 -
0000
81 </I>>><i> @@ -
591,
10 +
591,
15 @@
83 </I>>><i> /* Make sure all access entries have non-empty user and host parts. */
84 </I>>><i> ARRAY_FOREACH (i, ngi-
>access) {
85 </I>>><i> - s = strchr(ngi-
>access[i], '@');
86 </I>>><i> - if (!s || s==ngi-
>access[i] || !s[
1]) {
87 </I>>><i> - fprintf(stderr,
"Access entry %d for nickgroup %u isn't a
"
88 </I>>><i> -
" valid
<A HREF=
"http://lists.ircservices.za.net/mailman/listinfo/ircservices">user at host
</A> mask, deleting.\n
", i, ngi-
>id);
89 </I>>><i> + if (!ngi-
>access[i]
90 </I>>><i> + || !(s = strchr(ngi-
>access[i], '@'))
91 </I>>><i> + || s == ngi-
>access[i]
92 </I>>><i> + || !s[
1]
94 </I>>><i> + fprintf(stderr,
"Access entry %d for nickgroup %u %s,
"
95 </I>>><i> +
" deleting.\n
", i, ngi-
>id,
96 </I>>><i> + !ngi-
>access ?
"is empty
"
97 </I>>><i> + :
"isn't a valid
<A HREF=
"http://lists.ircservices.za.net/mailman/listinfo/ircservices">user at host
</A> mask
");
98 </I>>><i> ARRAY_REMOVE(ngi-
>access, i);
101 </I>>><i> ------------------------------------------------------------------
102 </I>>><i> To unsubscribe or change your subscription options, visit:
103 </I>>><i> <A HREF=
"http://lists.ircservices.za.net/mailman/listinfo/ircservices">http://lists.ircservices.za.net/mailman/listinfo/ircservices
</A>
106 </I>><i> ------------------------------------------------------------------
107 </I>><i> To unsubscribe or change your subscription options, visit:
108 </I>><i> <A HREF=
"http://lists.ircservices.za.net/mailman/listinfo/ircservices">http://lists.ircservices.za.net/mailman/listinfo/ircservices
</A>
118 <LI>Previous message:
<A HREF=
"005148.html">[IRCServices] ircservices-
5.0.57 convert-db utility crashes
119 when converting from anope db.
121 <LI>Next message:
<A HREF=
"005150.html">[IRCServices] ircservices-
5.0.57 convert-db utility crashes when
122 converting from anope db.
124 <LI> <B>Messages sorted by:
</B>
125 <a href=
"date.html#5149">[ date ]
</a>
126 <a href=
"thread.html#5149">[ thread ]
</a>
127 <a href=
"subject.html#5149">[ subject ]
</a>
128 <a href=
"author.html#5149">[ author ]
</a>