summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-webteam/2011-October/001379.html
blob: 1e7b6e3584014910f0d826928ca2195ba48365d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-webteam] [Bug 998] O Brother, Where Art Thou?
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-webteam%40mageia.org?Subject=Re%3A%20%5BMageia-webteam%5D%20%5BBug%20998%5D%20O%20Brother%2C%20Where%20Art%20Thou%3F&In-Reply-To=%3C20111005114649.7C3BD44926%40alamut.mageia.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="001378.html">
   <LINK REL="Next"  HREF="001380.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-webteam] [Bug 998] O Brother, Where Art Thou?</H1>
    <B>Buchan Milne</B> 
    <A HREF="mailto:mageia-webteam%40mageia.org?Subject=Re%3A%20%5BMageia-webteam%5D%20%5BBug%20998%5D%20O%20Brother%2C%20Where%20Art%20Thou%3F&In-Reply-To=%3C20111005114649.7C3BD44926%40alamut.mageia.org%3E"
       TITLE="[Mageia-webteam] [Bug 998] O Brother, Where Art Thou?">bugzilla-daemon at mageia.org
       </A><BR>
    <I>Wed Oct  5 13:46:49 CEST 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="001378.html">[Mageia-webteam] [Bug 252] Authentication does not work with email	address
</A></li>
        <LI>Next message: <A HREF="001380.html">[Mageia-webteam] [Bug 998] O Brother, Where Art Thou?
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#1379">[ date ]</a>
              <a href="thread.html#1379">[ thread ]</a>
              <a href="subject.html#1379">[ subject ]</a>
              <a href="author.html#1379">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE><A HREF="https://bugs.mageia.org/show_bug.cgi?id=998">https://bugs.mageia.org/show_bug.cgi?id=998</A>

Buchan Milne &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-webteam">bgmilne at zarb.org</A>&gt; changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |<A HREF="https://www.mageia.org/mailman/listinfo/mageia-webteam">bgmilne at zarb.org</A>

--- Comment #10 from Buchan Milne &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-webteam">bgmilne at zarb.org</A>&gt; 2011-10-05 15:46:48 CEST ---
&gt;<i> Country/city can already be done with localityName and countryName, but no
</I>&gt;<i> schema seems to use it so far.
</I>
'l' is an alias for 'localityName', and organisationalPerson-&gt;inetOrgPerson has
it. They also have 'st' for 'state' and 'postalCode'

It would be relatively easy to add support for additional attributes to hold
locality data (e.g. adding contryName or 'c' is relatively trivial).

To do it properly, we should request an enterprise number from IANA so we can
have viable schema definitions (that can be published).

The biggest issue is how to store coordinates, e.g. as as plain string, or as
attributes dedicated for longitude or latitude (which impacts whether you can
easily store multiple values).

&gt;<i> Otherwise, yes, having a dedicated small db for this would make it. Do we need
</I>&gt;<i> more than these two relationships?
</I>&gt;<i>  * user lives in place (or even places but that makes it out of LDAP I think,
</I>let's keep it simple)

Easy if we don't consider coordinates, we use a multi-valued attribute.

'l' or 'localityName' is multi-valued.

[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-webteam">bgmilne at tiger</A> bgmilne]$ ldapsearch -LLL uid=bgmilne l 2&gt;/dev/null
dn: uid=bgmilne,ou=People,dc=ranger,dc=dnsalias,dc=com
l: Cullinan
l: Centurion
l: Lagos
l: Cape Town

&gt;<i> * place has coordinates
</I>
If you want to store one, no problem. Many options open, format being the
biggest issue to worry about (decimal or not).

If you want multiple ones, easy if latitude and longitude stored together as a
single string, or using any other coding that results in unique strings.

If you want to associate to localityName's, more difficult.

-- 
Configure bugmail: <A HREF="https://bugs.mageia.org/userprefs.cgi?tab=email">https://bugs.mageia.org/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
</PRE>


<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="001378.html">[Mageia-webteam] [Bug 252] Authentication does not work with email	address
</A></li>
	<LI>Next message: <A HREF="001380.html">[Mageia-webteam] [Bug 998] O Brother, Where Art Thou?
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#1379">[ date ]</a>
              <a href="thread.html#1379">[ thread ]</a>
              <a href="subject.html#1379">[ subject ]</a>
              <a href="author.html#1379">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-webteam">More information about the Mageia-webteam
mailing list</a><br>
</body></html>