Namespace is not valid

Hi all,

I am running a self-hosted CE version for GitLab version 13.11.2 on CentOS 7.

I (and other users) used to create some personal projects unter my “user name” as namespace (just the login name derived from LDAP) where I do have several git repositories, so this actually worked (also for other users) .

Just now I wanted to create another “personal” project but do receive the error message “The form contains the following error: * Namespace is not valid”. As I try to keep the instance up-to-date but do not create new projects every day/week I can not tell since that version this is no longer working.
Creating a project in a group does work as “always”, transferring this to my “user” namespace does also lead to an error message “Transfer failed, please contact an admin.”.

Is this expected behaviour?
Do I have to allow creation of in the personal namespace somewhere?
Searching this forum (and elsewhere) only led me to issues where the default creation protection was set to “no-one”, in my case this is “Developers + Maintainers”.

Thanks for any hints and pointers!

Best,
Markus

Hi All,

does really nobody have an idea how to resolve this? No one ever hit that?

Sorry for asking again.

Best regards,
Markus

Maybe this will help, just found it searching the forum:

Hi iwalker,

thank you very much for your reply.
I already found that forum topic (I mentioned that in the last part of my first post), the “Default project creation protection” is set to “Developers + Maintainers”.

What I am wondering now (just noticed that) is that the last part of the Project URL is “krause”, whereas other (older) (private) projects are shown like “Krause, Markus / project001” . I use LDAP as authentication source, “krause” would match the “uid”, but “Krause, Markus” is “cn”.
Did the usage of LDAP attributes change in recent release of gitlab?

Thanks for any hints.

Best regards,
Markus

Perhaps check your LDAP config in /etc/gitlab/gitlab.rb to find out which attributes have been set for the username field.

I don’t use LDAP, so mine is commented, but it will give you an idea to compare against:

#     attributes:
#       username: ['uid', 'userid', 'sAMAccountName']
#       email:    ['mail', 'email', 'userPrincipalName']
#       name:       'cn'
#       first_name: 'givenName'
#       last_name:  'sn'

Thanks for the hint.
My setup has at least a different format (maybe due to the fact that I made the config with an older version) so I changed it following the description at General LDAP setup | GitLab which is similar to your example. Unfortunately that does not change anything, I still get the warning “Namespace invalid”.

Any more ideas?

Thanks for your assistance.

Best regards,
Markus