My git server is running under centos 6.3.
I am using apache with ldap authentification and git smart http.
All seems to work but i have a lot of error 401 (Unautorized) in apache
acces log
It is clear that each time the UserName is not present then apache answer
401 (Unautorised).
My question is why the user name is not systematically present ?
Thanks for your help
httpd /var/log/acces_log
192.168.20.12 - UserName [17/Jan/2016:04:08:56 +0100] "GET
/xxxxx/aaaaaa/bbbbbbbbbb.git/info/refs?service=git-upload-pack HTTP/1.1" 200
550 "-" "git/1.8.3.msysgit.0"
192.168.20.12 - - [17/Jan/2016:04:08:59 +0100] "GET
/xxxx/ccccccccc.git/info/refs?service=git-upload-pack HTTP/1.1" 401 478 "-"
"git/1.8.3.msysgit.0"
192.168.20.12 - - [17/Jan/2016:04:08:59 +0100] "GET
/xxxxx/ccccccccc.git/info/refs?service=git-upload-pack HTTP/1.1" 401 478 "-"
"git/1.8.3.msysgit.0"
192.168.20.12 - UserName2 [17/Jan/2016:04:09:00 +0100] "GET
/xxxxx/ccccccccc.git/info/refs?service=git-upload-pack HTTP/1.1" 200 390 "-"
"git/1.8.3.msysgit.0"
192.168.20.12 - - [17/Jan/2016:04:09:03 +0100] "GET
/xxxxx/dddd.eeeeeee.git/info/refs?service=git-upload-pack HTTP/1.1" 401 478
"-" "git/1.8.3.msysgit.0"
192.168.20.12 - - [17/Jan/2016:04:09:03 +0100] "GET
/xxxxx/dddd.eeeeeee.git/info/refs?service=git-upload-pack HTTP/1.1" 401 478
"-" "git/1.8.3.msysgit.0"
192.168.20.12 - UserName [17/Jan/2016:04:09:03 +0100] "GET
/xxxxx/dddd.eeeeeee.git/info/refs?service=git-upload-pack HTTP/1.1" 200 256
"-" "git/1.8.3.msysgit.0"
192.168.20.12 - - [17/Jan/2016:04:09:06 +0100] "GET
/xxxxx/eeeeeeee.git/info/refs?service=git-upload-pack HTTP/1.1" 401 478 "-"
"git/1.8.3.msysgit.0"
192.168.20.12 - - [17/Jan/2016:04:09:06 +0100] "GET
/xxxxx/eeeeeeee.git/info/refs?service=git-upload-pack HTTP/1.1" 401 478 "-"
"git/1.8.3.msysgit.0"
/etc/httpd/conf.d/git.conf
<VirtualHost gitserver:80>
ServerName XX.XX
ServerAdmin webmaster@localhost
# Disable SSL
SSLEngine off
ErrorLog /var/log/httpd/git_apache_error.log
LogLevel error
SetEnv GIT_PROJECT_ROOT /var/www/html/xxx
SetEnv GIT_HTTP_EXPORT_ALL
SetEnv REMOTE_USR=$REDIRECT_REMOTE_USER
ScriptAlias / /usr/libexec/git-core/git-http-backend/
<Location />
AuthType Basic
AuthBasicProvider ldap
AuthzLDAPAuthoritative on
AuthName "xxxxxxxxxxxxxxxxx"
AuthLDAPURL
"ldap://xxxxxxxxxxxxx:3268/DC=xxxDC=xxx?sAMAccountName?sub?(ObjectClass=person)"
AuthLDAPBindDN "xxxx@xxxxxx"
AuthLDAPBindpassword "xxxxxxxxxxxxxx"
AuthLDAPGroupAttribute member
AuthLDAPGroupAttributeIsDN on
Require ldap-group
CN=xxxxxxxxxxx,OU=xxxxxxxxxxxxxx,OU=xxxxxxxxx,DC=xxxxxxxxx,DC=xxxx
Require valid-user
</Location>
</VirtualHost>
--
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.