[Fusionforge-general] GForge/FusionForge developer access to SVN - WebDAV or ssh/svnserve better?
Johannes Müller
ml at lazarusforum.de
Sat Feb 28 12:41:48 CET 2009
Hello,
I had the same problem.
I looked at \var\log\postgres... and found the following line:
2009-02-28 08:03:16 CET FATAL: password authentication failed for user "gforge_nss"
After I changed user=gforge_nss to user=gforge in /etc/nss-pgsql.conf svn+ssh runs smoothly.
Christian BAYLE schrieb:
> Hello
>
> I usually proceed like this:
>
> does the user exist (especially because the message says it's invalid)
> to know this
> getent passwd <username>
> if you get nothing it means that nss-pgsql is probaly broken
> first check it is configured by lookin you got pgsql at the end of
> passwd line in /etc/nsswitch.conf
> if so look /etc/nss-pgsql.cond at the connection string and try to
> log in the database
> if this is not ok, maybe it's a question of db write access you can
> check in /etc/postgresql/.../pg_hba.conf
>
> until you get the correct db access, you can getent then the user should
> exist,
> check it by trying to su -s /bin/sh - <username>
>
> Good luck
>
> Cheers
>
> Christian
>
> Le 27/02/2009 15:17, Roland Mas a écrit :
>> Matt Kleffner, 2009-02-25 23:05:51 -0600 :
>>
>>
>>>> If you install gforge-shell-postgresql, then Unix accounts will be
>>>> created for all users that are a member of at least one project.
>>>>
>>> Hmmm... I already had that package installed. I just now set
>>> sys_shell_host =<hostname>
>>> sys_use_shell=true
>>>
>>> in /etc/gforge/gforge.conf
>>>
>>> and ran
>>> dpkg-reconfigure gforge-shell-postgresql
>>>
>>> I am still unable to pass the login stage of
>>> svn co svn+ssh://admin@<hostname>/svnroot/siteadmin
>>> or
>>> ssh admin@<hostname>
>>>
>>> The auth.log shows a pam_unix(sshd:auth) error from sshd and says the
>>> user is invalid.
>>>
>>> Any tips on how to best investigate?
>>>
>>
>> You may need to check your nss-pgsql.conf and libpam-pgsql.conf (or
>> however they're called, I never manage to remember their exact names),
>> especially the database connection settings.
>>
>> Roland.
>>
>
>
> _______________________________________________
> Fusionforge-general mailing list
> Fusionforge-general at lists.fusionforge.org
> http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-general
--
Johannes Müller
More information about the Fusionforge-general
mailing list