You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2009-01-29 16:02:18

Chakindra
Member
Registered: 2008-09-18
Posts: 7

"Invalid email" on some LDAP user accounts

Our 0.71.5 GLPI server is linked to our Windows 2003 AD, and it authenticates the user accounts using the AD. All this works fine and well for most users, but some users have complained about having to manually enter their e-mail addresses, when they want to file a ticket.

I have checked their GLPI accounts, and they all have a red label named "Invalid email" next to the entry field for the e-mail address. I can manually enter their correct e-mail address and update their GLPI account, but if I then force a synchronisation with the AD, or if I ask the user to login to GLPI, then the e-mail address is wiped and replaced with the red "Invalid email" error message next to the then empty field.

I have tried looking at the AD accounts of the users in questions, and while some of them have e-mail aliases, others don't.

Any suggestions, please?

Offline

#2 2009-01-29 16:18:03

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: "Invalid email" on some LDAP user accounts

in ldap configuration of glpi ? what is the attribute of Mail ?


Xavier Caillaud
Blog GLPI Infotel

Offline

#3 2009-01-29 16:26:01

Chakindra
Member
Registered: 2008-09-18
Posts: 7

Re: "Invalid email" on some LDAP user accounts

Actually, no. The error message "Invalid email" is shown under "Administration > Users > (username)".

If you just look at the list of users under "Administration > Users", and then sort the list by the e-mail address column, then the users having the problem will have no e-mail addresses listed.

This problem affects app. 10 users out of 190. So it works for most, but not for some.

Offline

#4 2009-02-01 08:11:52

Chakindra
Member
Registered: 2008-09-18
Posts: 7

Re: "Invalid email" on some LDAP user accounts

No suggestions?

Offline

#5 2009-02-01 14:30:45

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: "Invalid email" on some LDAP user accounts

The message "invalid email" is just for information. It's would not block GLPI.

Could you give an example of problematic email adress ?


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir

Offline

#6 2009-02-01 17:07:38

Chakindra
Member
Registered: 2008-09-18
Posts: 7

Re: "Invalid email" on some LDAP user accounts

GLPI is not being blocked on the accounts.

The problem is as follows: The accounts show the "Invalid email", and the users in question are forced to enter their email addresses every time, they wish to log a case.

There are no special characters present in any of the e-mail addresses, which are having the problem. We keep a very simplistic account naming convention, yet the following accounts are having the problem:

ab@domain.dk
pb@domain.dk
bbp@domain.dk
mma@domain.dk

(Of course, domain.dk is not the domain name...)

Offline

#7 2009-02-02 04:35:55

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: "Invalid email" on some LDAP user accounts

such email match regular expression used in GLPI :
^[a-zA-Z0-9]+([_\\.-][a-zA-Z0-9]+)*@([a-zA-Z0-9]+([\.-][a-zA-Z0-9]+)*)+\\.[a-zA-Z0-9]{2,}$

I do not understand.
Do you have spaces at the begin or the end ?


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#8 2009-02-02 09:15:21

Chakindra
Member
Registered: 2008-09-18
Posts: 7

Re: "Invalid email" on some LDAP user accounts

I'm glad that I'm not the only one confused by this bizarre problem.

There are no spaces at all in any of the e-mail addresses.

Offline

#9 2009-02-18 14:32:31

Chakindra
Member
Registered: 2008-09-18
Posts: 7

Re: "Invalid email" on some LDAP user accounts

I take it that nobody has any suggestions then?

Offline

Board footer

Powered by FluxBB