]>
Commit | Line | Data |
---|---|---|
3bd189cb JR |
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 | ><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. | |
52 | </I>><i> | |
53 | </I>><i> | |
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 | |
64 | </I>>><i> | |
65 | </I>>><i> Can you try applying the patch below and tell me if it solves your | |
66 | </I>>><i> problem? | |
67 | </I>>><i> | |
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> | |
71 | </I>>><i> | |
72 | </I>>><i> --------------------------------------------------------------------------- | |
73 | </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 @@ | |
82 | </I>>><i> | |
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] | |
93 | </I>>><i> + ) { | |
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); | |
99 | </I>>><i> i--; | |
100 | </I>>><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> | |
104 | </I>>><i> | |
105 | </I>><i> | |
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> | |
109 | </I>><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> |