Hi,

Based on your authentication-password.cfg settings, only users with email addresses ending in "@gmail.com.com" or "@otherdomain.ve" can register in your system.

See this setting:

domain.valid = @gmail.com.com, @otherdomain.ve

So, if you are trying to register with an email address that ends in a *different* domain, you will see an error. Also, it looks like you might have a typo in your config... I'm assuming "@gmail.com.com" likely should be "@gmail.com".

Hopefully that helps. If this doesn't solve the issue, let us know on this mailing list.

Tim


On 6/27/2016 10:38 AM, Victoria Parra wrote:
*good day guys. excuse me for my bad english. :-) . I am writing you because I have this problem in my dspace server test.my test server have installed dspace 5.4 with jspui. I want do self-register. first I configured my dspace.cfg with gmail .

*

 ##### Email settings ######

# SMTP mail server
mail.server = smtp.gmail.com

# SMTP mail server authentication username and password (if required)
mail.server.username = [email protected]
mail.server.password = yyyy

# SMTP mail server alternate port (defaults to 25)
mail.server.port = 25

# From address for mail
mail.from.address = [email protected]

# Name of a pre-configured Session object to be fetched from a directory.
# This overrides the Session settings above. If none can be found, then DSpace
# will use the above settings to create a Session.
#mail.session.name = Session
# Currently limited to one recipient!
feedback.recipient [email protected]

# General site administration (Webmaster) e-mail
mail.admin [email protected]

# Recipient for server errors and alerts
alert.recipient [email protected]

# Recipient for new user registration emails
registration.notify [email protected]

# Set the default mail character set. This may be overridden by providing a line # inside the email template "charset: <encoding>", otherwise this default is used.

mail.charset = UTF-8

# A comma-separated list of hostnames that are allowed to refer browsers to email forms.
# Default behaviour is to accept referrals only from dspace.hostname
 mail.allowed.referrers = localhost

# Pass extra settings to the Java mail library. Comma-separated, equals sign between
# the key and the value. For example:
 mail.extraproperties = mail.smtp.socketFactory.port=465, \
mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory, \
                       mail.smtp.socketFactory.fallback=false










*good after I configured my authentication-password.cfg
*






#---------------------------------------------------------------#
#----------PASSWORD AUTHENTICATION CONFIGURATIONS---------------#
#---------------------------------------------------------------#
# Configuration properties used by the Password #
# Authentication plugin, when it is enabled. #
#---------------------------------------------------------------#
#
# In order to enable Password Authentication, you must first ensure the
# 'org.dspace.authenticate.PasswordAuthentication' class is added to the
# list of enabled AuthenticationMethods in 'authenticate.cfg'.
# See 'authenticate.cfg' for more info.
#

# Only emails ending in the following domains are allowed to self-register
# Example - example.com domain : @example.com
# Example - MIT domain and all .ac.uk domains: @mit.edu, .ac.uk cambio victoria$

 domain.valid = @gmail.com.com, @otherdomain.ve

##### Password users group #####

# If required, a group name can be given here, and all users who log in
# using the DSpace password system will automatically become members of
# this group. This is useful if you want a group made up of all internal
# authenticated users. victoria grupo original group-name y comentado
# login.specialgroup = group-name

##### Password hashing algorithm #####

# You may select any digest algorithm available through
# java.security.MessageDigest on your system.  At least MD2, MD5, SHA-1,
# SHA-256, SHA-384, and SHA-512 should be available, but you may have
# installed others.  If not set, SHA-512 will be used.
# digestAlgorithm = SHA-512

*Good I can see in my main page message similary to that when I try register a new user by self-register:

you can't register

the configuration of DSpace don't allow you register. please contact us for any question


thank you for all hep that you can give me.
*
--
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

--
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

--
You received this message because you are subscribed to the Google Groups "DSpace 
Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to