]> jfr.im git - irc.git/blob - software/RELEASES/ircservices/achurch.org/services/lists/ircservices/2006/005149.html
rename -> *.git
[irc.git] / software / RELEASES / ircservices / achurch.org / services / lists / ircservices / 2006 / 005149.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices] ircservices-5.0.57 convert-db utility crashes
5 when converting from anope db.
6 </TITLE>
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">
13 </HEAD>
14 <BODY BGCOLOR="#ffffff">
15 <H1>[IRCServices] ircservices-5.0.57 convert-db utility crashes
16 when converting from anope db.</H1>
17 <B>Gabriel Baez</B>
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
21 </A><BR>
22 <I>Mon Jun 19 15:30:29 PDT 2006</I>
23 <P><UL>
24 <LI>Previous message: <A HREF="005148.html">[IRCServices] ircservices-5.0.57 convert-db utility crashes
25 when converting from anope db.
26 </A></li>
27 <LI>Next message: <A HREF="005150.html">[IRCServices] ircservices-5.0.57 convert-db utility crashes when
28 converting from anope db.
29 </A></li>
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>
35 </LI>
36 </UL>
37 <HR>
38 <!--beginarticle-->
39 <PRE>erm, let me reword this lol, after successfully running the convert-db
40 script,
41
42
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.
47
48
49 &gt;<i> Thanks this worked, the issue I have now, is that I can't identify, the
50 </I>&gt;<i> passwords in the anope db were encrypted and now when I Import the data
51 </I>&gt;<i> and try to identify I get a password incorrect message.
52 </I>&gt;<i>
53 </I>&gt;<i>
54 </I>&gt;&gt;&gt;<i>sheik@***** [~/services2/lib]# ./convert-db -v +anope
55 </I>&gt;&gt;&gt;<i> /home/sheik/services
56 </I>&gt;&gt;&gt;<i>Loading nick.db...
57 </I>&gt;&gt;&gt;<i>Loading chan.db...
58 </I>&gt;&gt;&gt;<i>Loading oper.db...
59 </I>&gt;&gt;&gt;<i>Loading exception.db...
60 </I>&gt;&gt;&gt;<i>Loading news.db...
61 </I>&gt;&gt;&gt;<i>Data files successfully loaded.
62 </I>&gt;&gt;&gt;<i>Checking data integrity...
63 </I>&gt;&gt;&gt;<i>Segmentation fault
64 </I>&gt;&gt;<i>
65 </I>&gt;&gt;<i> Can you try applying the patch below and tell me if it solves your
66 </I>&gt;&gt;<i> problem?
67 </I>&gt;&gt;<i>
68 </I>&gt;&gt;<i> --Andrew Church
69 </I>&gt;&gt;<i> <A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">achurch at achurch.org</A>
70 </I>&gt;&gt;<i> <A HREF="http://achurch.org/">http://achurch.org/</A>
71 </I>&gt;&gt;<i>
72 </I>&gt;&gt;<i> ---------------------------------------------------------------------------
73 </I>&gt;&gt;<i>
74 </I>&gt;&gt;<i> Index: tools/convert-db.c
75 </I>&gt;&gt;<i> ===================================================================
76 </I>&gt;&gt;<i> RCS file: /var/local/cvsroot/ircservices/tools/convert-db.c,v
77 </I>&gt;&gt;<i> retrieving revision 2.30.2.6
78 </I>&gt;&gt;<i> diff -u -r2.30.2.6 convert-db.c
79 </I>&gt;&gt;<i> --- tools/convert-db.c 20 Jan 2006 08:33:59 -0000 2.30.2.6
80 </I>&gt;&gt;<i> +++ tools/convert-db.c 19 Jun 2006 17:03:51 -0000
81 </I>&gt;&gt;<i> @@ -591,10 +591,15 @@
82 </I>&gt;&gt;<i>
83 </I>&gt;&gt;<i> /* Make sure all access entries have non-empty user and host parts. */
84 </I>&gt;&gt;<i> ARRAY_FOREACH (i, ngi-&gt;access) {
85 </I>&gt;&gt;<i> - s = strchr(ngi-&gt;access[i], '@');
86 </I>&gt;&gt;<i> - if (!s || s==ngi-&gt;access[i] || !s[1]) {
87 </I>&gt;&gt;<i> - fprintf(stderr, &quot;Access entry %d for nickgroup %u isn't a&quot;
88 </I>&gt;&gt;<i> - &quot; valid <A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">user at host</A> mask, deleting.\n&quot;, i, ngi-&gt;id);
89 </I>&gt;&gt;<i> + if (!ngi-&gt;access[i]
90 </I>&gt;&gt;<i> + || !(s = strchr(ngi-&gt;access[i], '@'))
91 </I>&gt;&gt;<i> + || s == ngi-&gt;access[i]
92 </I>&gt;&gt;<i> + || !s[1]
93 </I>&gt;&gt;<i> + ) {
94 </I>&gt;&gt;<i> + fprintf(stderr, &quot;Access entry %d for nickgroup %u %s,&quot;
95 </I>&gt;&gt;<i> + &quot; deleting.\n&quot;, i, ngi-&gt;id,
96 </I>&gt;&gt;<i> + !ngi-&gt;access ? &quot;is empty&quot;
97 </I>&gt;&gt;<i> + : &quot;isn't a valid <A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">user at host</A> mask&quot;);
98 </I>&gt;&gt;<i> ARRAY_REMOVE(ngi-&gt;access, i);
99 </I>&gt;&gt;<i> i--;
100 </I>&gt;&gt;<i> }
101 </I>&gt;&gt;<i> ------------------------------------------------------------------
102 </I>&gt;&gt;<i> To unsubscribe or change your subscription options, visit:
103 </I>&gt;&gt;<i> <A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">http://lists.ircservices.za.net/mailman/listinfo/ircservices</A>
104 </I>&gt;&gt;<i>
105 </I>&gt;<i>
106 </I>&gt;<i> ------------------------------------------------------------------
107 </I>&gt;<i> To unsubscribe or change your subscription options, visit:
108 </I>&gt;<i> <A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">http://lists.ircservices.za.net/mailman/listinfo/ircservices</A>
109 </I>&gt;<i>
110 </I>
111 </PRE>
112
113
114 <!--endarticle-->
115 <HR>
116 <P><UL>
117 <!--threads-->
118 <LI>Previous message: <A HREF="005148.html">[IRCServices] ircservices-5.0.57 convert-db utility crashes
119 when converting from anope db.
120 </A></li>
121 <LI>Next message: <A HREF="005150.html">[IRCServices] ircservices-5.0.57 convert-db utility crashes when
122 converting from anope db.
123 </A></li>
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>
129 </LI>
130 </UL>
131
132 </body></html>