Re: email info in ldap?
Trond Mæhlum wrote:
> I asked this in the Norwegian list, but I have not gotten any feedback.
> It's easter, I know. Now, I would like to use kmail to look up our
> global addresslist from ldap. I have noticed that Skolelinux' ldap
> doesn't have any email info.
Sorry about the late response, but I have to take care of my custommers
first, to make a living :)
> I did a slapcat to ldif and found myh own account, I then added mail:
> email@example.com, and tried a slapadd on this. the output I got was
> that the attribute "mail" wasn't allowed. How can I get this field into
You can't, with the ldap-schemes we use today. It's of course easy
enough to change the ldap-schemes, but I dont think you will be able to
use WLUS afterwards. at least not to create new users. The problem is
the schema that defines were your email are stored. I'm not sure were
this schema came from, but there is a conflict with the inetorg-person,
that makes it hard (impossible?) to add the attribute "mail". So to get
things right, you have to remove the attribute "mailMessageStore", edit
the email-setup (both exim4 and courier-imap-ssl), and patch wlus.
You could remove the attribute mailmessageStore, or replace it, and have
some other chema included, to add another atribute to define where mail
should be stored, but then you cant use wlus in its state today. I don't
think wlus honours the use of templates for creating users. Maybe luma
> With a little help I could then do a "for user in $(ls); do
> <ldapmodify-or-something-with mail: $firstname.lastname@example.org>; done", when
> located in the /skole/tjener/home0 directory.
> I am pretty sure this would work for someone with the a little more
> knowledge than myself.
Not unless you change som ldap basics.
> We use our Skolelinux to house 2300 teachers and students in nine
> schoold, and a global address list would be a nice thing.
I've been running a network with 1400 users and we have looked at it,
but I've forgotten about it since I replaced wlus with an other user
administration more suited.
Debian-edu developer and Solution provider