Re: [gitorious] Re: LDAP Authentication question
vanna writes: Do you mean login page? You should log in by entering email address and password from LDAP, what is confusing? Or what behaviour do you expect? What you should do is to log in with the username and password that gets sent off to the LDAP server. In your case this would be be the username and password, not the full email address. Cheers, - Marius -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] Re: LDAP Authentication problem
Hi, I think the problem is also in your distinguished_name_template value. For my case, OU=unit1,DC=mydc,DC=com, I made it work with either of templates: *{}@mydc.com* or *mydc\{}* regards On Tuesday, December 18, 2012 6:22:20 PM UTC+7, Graziano Aliberti wrote: Hi, if I set login_attribute: sAMAccountName I got: Not there yet. For debugging purposes, this is the DN we tried: sAMAccountName=MYID,ou=MYOU,o=MYO,c=it I don't know how it's possible... Il giorno martedì 18 dicembre 2012 10:32:45 UTC+1, Phuong Doan ha scritto: how about setting login_attribute: sAMAccountName? And btw, I use tool LDAP Browser to test my LDAP parameters: http://www.ldapadministrator.com/download.htm Hope that it may help you something On Friday, December 14, 2012 4:53:36 PM UTC+7, Graziano Aliberti wrote: Hi, thank you for the post. Right now I do another little step over. Now I'm able to see All good, your credentials are correct but only if I do the login with the default CN attribute (that is not my case). If I try to set login_attribute: uid and insert my userId (that I use in many other applications) I return back to Not there yet. How is this possibile? Il giorno venerdì 14 dicembre 2012 09:41:32 UTC+1, Phuong Doan ha scritto: I was in the same trouble, and finally I made it for my case, I put my note at: http://programerblog.com/2012/12/gitorious-ldap-authentication-configuration/ Hop that it's useful to you On Tuesday, December 11, 2012 10:21:10 PM UTC+7, Graziano Aliberti wrote: Hi guys, I don't know how the ldap authentication works for you but I really don't know how I must configure it. Regards Il giorno martedì 4 dicembre 2012 11:33:32 UTC+1, Graziano Aliberti ha scritto: Any news for me? Thank you very much Il giorno giovedì 29 novembre 2012 11:15:20 UTC+1, Graziano Aliberti ha scritto: Hi, it doesn't work!! I've done all that you tell me to do. Regards Il giorno mercoledì 28 novembre 2012 17:41:05 UTC+1, Federico Don ha scritto: First backup to code. as root: cd /home cp -r ./git ./git.org update the existing code. cd /home/git/gitorious git add . git commit (post a comment, save and exit) git pull (Pulling resolve merge error with http://genomewiki.ucsc.edu/index.php/Resolving_merge_conflicts_in_Git ) download: wget --no-check-certificate https://gitorious.org/gitorious/mainline/blobs/raw/d85ec6785415775cfa51660af180dae42ec91b2d/lib/gitorious/authentication/ldap_authentication.rb cp ldap_authentication.rb /home/git/gitorious/lib/gitorious/authentication/ldap_authentication.rb Edit: vi /home/git/gitorious/lib/gitorious/authentication/ldap_authentication.rb go to line 74 (def authenticate(username, password)) Change and add with this: def authenticate(credentials) username = credentials.username password = credentials.password save and exit repair permission: chown -R git:git /home/git/gitorious service httpd restart I hope your comment and Luck! 2012/11/28 Graziano Aliberti graziano...@gmail.com Humm, I have the master of the mainline...what can I do? git pull origin master? Do you think this can help me? Il giorno mercoledì 28 novembre 2012 16:33:40 UTC+1, Federico Don ha scritto: do you have the ultimate version for gitorious? I had this problem and when i update to version the problem was solved! 2012/11/28 Graziano Aliberti graziano...@gmail.com Hi, my issue is that I've never seen All good, your credential are correct Always Not there yet. For debugging purposes, this is the DN we tried: uid=MyUser,OU=Something,O=**Something,C=it The user, obviously, exists Thank you, Graziano Il giorno mercoledì 28 novembre 2012 15:41:38 UTC+1, Federico Don ha scritto: Hello, if you run the script for test [root@gitorious gitorious]# bundle exec script/test_ldap_connection USER PASSWORD All good, your credentials are correct what is your issue?? 2012/11/28 Graziano Aliberti graziano...@gmail.com Hi Federico, I've tried with your configuration (changing the server and the base_dn) but it doesn't work! This is my configuration: production: disable_default: true methods: - adapter: Gitorious::Authentication::**LDA** PAuthentication host: ldap.something.it port: 389 base_dn: OU=Something,O=Something,C=it attribute_mapping: mail: email login_attribute: uid encryption: none Il giorno venerdì 23 novembre 2012 20:30:59 UTC+1, Federico Don ha scritto: could you try with this setup? production: disable_default: false methods: - adapter: Gitorious::Authentication::**LDA PAuthentication host: 172.17.195.115 port: 389 base_dn: DC=example,DC=com bind_username: user_ldap_bind bind_password: password_user_ldap_bind user_filter: username_attribute:
Re: [gitorious] Re: LDAP Authentication problem
I was in the same trouble, and finally I made it for my case, I put my note at: http://programerblog.com/2012/12/gitorious-ldap-authentication-configuration/ Hop that it's useful to you On Tuesday, December 11, 2012 10:21:10 PM UTC+7, Graziano Aliberti wrote: Hi guys, I don't know how the ldap authentication works for you but I really don't know how I must configure it. Regards Il giorno martedì 4 dicembre 2012 11:33:32 UTC+1, Graziano Aliberti ha scritto: Any news for me? Thank you very much Il giorno giovedì 29 novembre 2012 11:15:20 UTC+1, Graziano Aliberti ha scritto: Hi, it doesn't work!! I've done all that you tell me to do. Regards Il giorno mercoledì 28 novembre 2012 17:41:05 UTC+1, Federico Don ha scritto: First backup to code. as root: cd /home cp -r ./git ./git.org update the existing code. cd /home/git/gitorious git add . git commit (post a comment, save and exit) git pull (Pulling resolve merge error with http://genomewiki.ucsc.edu/index.php/Resolving_merge_conflicts_in_Git) download: wget --no-check-certificate https://gitorious.org/gitorious/mainline/blobs/raw/d85ec6785415775cfa51660af180dae42ec91b2d/lib/gitorious/authentication/ldap_authentication.rb cp ldap_authentication.rb /home/git/gitorious/lib/gitorious/authentication/ldap_authentication.rb Edit: vi /home/git/gitorious/lib/gitorious/authentication/ldap_authentication.rb go to line 74 (def authenticate(username, password)) Change and add with this: def authenticate(credentials) username = credentials.username password = credentials.password save and exit repair permission: chown -R git:git /home/git/gitorious service httpd restart I hope your comment and Luck! 2012/11/28 Graziano Aliberti graziano...@gmail.com Humm, I have the master of the mainline...what can I do? git pull origin master? Do you think this can help me? Il giorno mercoledì 28 novembre 2012 16:33:40 UTC+1, Federico Don ha scritto: do you have the ultimate version for gitorious? I had this problem and when i update to version the problem was solved! 2012/11/28 Graziano Aliberti graziano...@gmail.com Hi, my issue is that I've never seen All good, your credential are correct Always Not there yet. For debugging purposes, this is the DN we tried: uid=MyUser,OU=Something,O=**Something,C=it The user, obviously, exists Thank you, Graziano Il giorno mercoledì 28 novembre 2012 15:41:38 UTC+1, Federico Don ha scritto: Hello, if you run the script for test [root@gitorious gitorious]# bundle exec script/test_ldap_connection USER PASSWORD All good, your credentials are correct what is your issue?? 2012/11/28 Graziano Aliberti graziano...@gmail.com Hi Federico, I've tried with your configuration (changing the server and the base_dn) but it doesn't work! This is my configuration: production: disable_default: true methods: - adapter: Gitorious::Authentication::**LDA**PAuthentication host: ldap.something.it port: 389 base_dn: OU=Something,O=Something,C=it attribute_mapping: mail: email login_attribute: uid encryption: none Il giorno venerdì 23 novembre 2012 20:30:59 UTC+1, Federico Don ha scritto: could you try with this setup? production: disable_default: false methods: - adapter: Gitorious::Authentication::**LDA PAuthentication host: 172.17.195.115 port: 389 base_dn: DC=example,DC=com bind_username: user_ldap_bind bind_password: password_user_ldap_bind user_filter: username_attribute: sAMAccountName encryption: none login_attribute: uid distinguished_name_template: uid={},OU=users,DC=example,** DC=com attribute_mapping: mail: email I hope your comment! Regards, 2012/11/23 Graziano Aliberti graziano...@gmail.com How can I do that? I want just that only the authentication is handle by LDAP. Il giorno venerdì 23 novembre 2012 15:13:42 UTC+1, anapsix ha scritto: I'm using Kerberos auth with our LDAP setup (openldap) and its working great.. though you do need to edit the auth module code to allow for SSO. -- To post to this group, send email to gito...@googlegroups.com To unsubscribe from this group, send email to gitorious+...@**googlegroups.com -- To post to this group, send email to gito...@googlegroups.com To unsubscribe from this group, send email to gitorious+...@**googlegroups.com -- To post to this group, send email to gito...@googlegroups.com To unsubscribe from this group, send email to gitorious+...@**googlegroups.com -- To post to this group, send email to gito...@googlegroups.com To unsubscribe from this group, send email to gitorious+...@googlegroups.com -- To post to this group, send email to gitorious@googlegroups.com
Re: [gitorious] Re: LDAP Authentication problem
Any news for me? Thank you very much Il giorno giovedì 29 novembre 2012 11:15:20 UTC+1, Graziano Aliberti ha scritto: Hi, it doesn't work!! I've done all that you tell me to do. Regards Il giorno mercoledì 28 novembre 2012 17:41:05 UTC+1, Federico Don ha scritto: First backup to code. as root: cd /home cp -r ./git ./git.org update the existing code. cd /home/git/gitorious git add . git commit (post a comment, save and exit) git pull (Pulling resolve merge error with http://genomewiki.ucsc.edu/index.php/Resolving_merge_conflicts_in_Git) download: wget --no-check-certificate https://gitorious.org/gitorious/mainline/blobs/raw/d85ec6785415775cfa51660af180dae42ec91b2d/lib/gitorious/authentication/ldap_authentication.rb cp ldap_authentication.rb /home/git/gitorious/lib/gitorious/authentication/ldap_authentication.rb Edit: vi /home/git/gitorious/lib/gitorious/authentication/ldap_authentication.rb go to line 74 (def authenticate(username, password)) Change and add with this: def authenticate(credentials) username = credentials.username password = credentials.password save and exit repair permission: chown -R git:git /home/git/gitorious service httpd restart I hope your comment and Luck! 2012/11/28 Graziano Aliberti graziano...@gmail.com Humm, I have the master of the mainline...what can I do? git pull origin master? Do you think this can help me? Il giorno mercoledì 28 novembre 2012 16:33:40 UTC+1, Federico Don ha scritto: do you have the ultimate version for gitorious? I had this problem and when i update to version the problem was solved! 2012/11/28 Graziano Aliberti graziano...@gmail.com Hi, my issue is that I've never seen All good, your credential are correct Always Not there yet. For debugging purposes, this is the DN we tried: uid=MyUser,OU=Something,O=**Something,C=it The user, obviously, exists Thank you, Graziano Il giorno mercoledì 28 novembre 2012 15:41:38 UTC+1, Federico Don ha scritto: Hello, if you run the script for test [root@gitorious gitorious]# bundle exec script/test_ldap_connection USER PASSWORD All good, your credentials are correct what is your issue?? 2012/11/28 Graziano Aliberti graziano...@gmail.com Hi Federico, I've tried with your configuration (changing the server and the base_dn) but it doesn't work! This is my configuration: production: disable_default: true methods: - adapter: Gitorious::Authentication::**LDA**PAuthentication host: ldap.something.it port: 389 base_dn: OU=Something,O=Something,C=it attribute_mapping: mail: email login_attribute: uid encryption: none Il giorno venerdì 23 novembre 2012 20:30:59 UTC+1, Federico Don ha scritto: could you try with this setup? production: disable_default: false methods: - adapter: Gitorious::Authentication::**LDAPAuthentication host: 172.17.195.115 port: 389 base_dn: DC=example,DC=com bind_username: user_ldap_bind bind_password: password_user_ldap_bind user_filter: username_attribute: sAMAccountName encryption: none login_attribute: uid distinguished_name_template: uid={},OU=users,DC=example,**DC =com attribute_mapping: mail: email I hope your comment! Regards, 2012/11/23 Graziano Aliberti graziano...@gmail.com How can I do that? I want just that only the authentication is handle by LDAP. Il giorno venerdì 23 novembre 2012 15:13:42 UTC+1, anapsix ha scritto: I'm using Kerberos auth with our LDAP setup (openldap) and its working great.. though you do need to edit the auth module code to allow for SSO. -- To post to this group, send email to gito...@googlegroups.com To unsubscribe from this group, send email to gitorious+...@**googlegroups.com -- To post to this group, send email to gito...@googlegroups.com To unsubscribe from this group, send email to gitorious+...@**googlegroups.com -- To post to this group, send email to gito...@googlegroups.com To unsubscribe from this group, send email to gitorious+...@**googlegroups.com -- To post to this group, send email to gito...@googlegroups.com To unsubscribe from this group, send email to gitorious+...@googlegroups.com -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] Re: LDAP Authentication problem
Hi, it doesn't work!! I've done all that you tell me to do. Regards Il giorno mercoledì 28 novembre 2012 17:41:05 UTC+1, Federico Don ha scritto: First backup to code. as root: cd /home cp -r ./git ./git.org update the existing code. cd /home/git/gitorious git add . git commit (post a comment, save and exit) git pull (Pulling resolve merge error with http://genomewiki.ucsc.edu/index.php/Resolving_merge_conflicts_in_Git) download: wget --no-check-certificate https://gitorious.org/gitorious/mainline/blobs/raw/d85ec6785415775cfa51660af180dae42ec91b2d/lib/gitorious/authentication/ldap_authentication.rb cp ldap_authentication.rb /home/git/gitorious/lib/gitorious/authentication/ldap_authentication.rb Edit: vi /home/git/gitorious/lib/gitorious/authentication/ldap_authentication.rb go to line 74 (def authenticate(username, password)) Change and add with this: def authenticate(credentials) username = credentials.username password = credentials.password save and exit repair permission: chown -R git:git /home/git/gitorious service httpd restart I hope your comment and Luck! 2012/11/28 Graziano Aliberti graziano...@gmail.com javascript: Humm, I have the master of the mainline...what can I do? git pull origin master? Do you think this can help me? Il giorno mercoledì 28 novembre 2012 16:33:40 UTC+1, Federico Don ha scritto: do you have the ultimate version for gitorious? I had this problem and when i update to version the problem was solved! 2012/11/28 Graziano Aliberti graziano...@gmail.com Hi, my issue is that I've never seen All good, your credential are correct Always Not there yet. For debugging purposes, this is the DN we tried: uid=MyUser,OU=Something,O=**Something,C=it The user, obviously, exists Thank you, Graziano Il giorno mercoledì 28 novembre 2012 15:41:38 UTC+1, Federico Don ha scritto: Hello, if you run the script for test [root@gitorious gitorious]# bundle exec script/test_ldap_connection USER PASSWORD All good, your credentials are correct what is your issue?? 2012/11/28 Graziano Aliberti graziano...@gmail.com Hi Federico, I've tried with your configuration (changing the server and the base_dn) but it doesn't work! This is my configuration: production: disable_default: true methods: - adapter: Gitorious::Authentication::**LDA**PAuthentication host: ldap.something.it port: 389 base_dn: OU=Something,O=Something,C=it attribute_mapping: mail: email login_attribute: uid encryption: none Il giorno venerdì 23 novembre 2012 20:30:59 UTC+1, Federico Don ha scritto: could you try with this setup? production: disable_default: false methods: - adapter: Gitorious::Authentication::**LDAPAuthentication host: 172.17.195.115 port: 389 base_dn: DC=example,DC=com bind_username: user_ldap_bind bind_password: password_user_ldap_bind user_filter: username_attribute: sAMAccountName encryption: none login_attribute: uid distinguished_name_template: uid={},OU=users,DC=example,**DC* ***=com attribute_mapping: mail: email I hope your comment! Regards, 2012/11/23 Graziano Aliberti graziano...@gmail.com How can I do that? I want just that only the authentication is handle by LDAP. Il giorno venerdì 23 novembre 2012 15:13:42 UTC+1, anapsix ha scritto: I'm using Kerberos auth with our LDAP setup (openldap) and its working great.. though you do need to edit the auth module code to allow for SSO. -- To post to this group, send email to gito...@googlegroups.com To unsubscribe from this group, send email to gitorious+...@**googlegroups.com -- To post to this group, send email to gito...@googlegroups.com To unsubscribe from this group, send email to gitorious+...@**googlegroups.com -- To post to this group, send email to gito...@googlegroups.com To unsubscribe from this group, send email to gitorious+...@**googlegroups.com -- To post to this group, send email to gito...@googlegroups.comjavascript: To unsubscribe from this group, send email to gitorious+...@googlegroups.com javascript: -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] Re: LDAP Authentication problem
Hi Federico, I've tried with your configuration (changing the server and the base_dn) but it doesn't work! This is my configuration: production: disable_default: true methods: - adapter: Gitorious::Authentication::LDAPAuthentication host: ldap.something.it port: 389 base_dn: OU=Something,O=Something,C=it attribute_mapping: mail: email login_attribute: uid encryption: none Il giorno venerdì 23 novembre 2012 20:30:59 UTC+1, Federico Don ha scritto: could you try with this setup? production: disable_default: false methods: - adapter: Gitorious::Authentication::LDAPAuthentication host: 172.17.195.115 port: 389 base_dn: DC=example,DC=com bind_username: user_ldap_bind bind_password: password_user_ldap_bind user_filter: username_attribute: sAMAccountName encryption: none login_attribute: uid distinguished_name_template: uid={},OU=users,DC=example,DC=com attribute_mapping: mail: email I hope your comment! Regards, 2012/11/23 Graziano Aliberti graziano...@gmail.com javascript: How can I do that? I want just that only the authentication is handle by LDAP. Il giorno venerdì 23 novembre 2012 15:13:42 UTC+1, anapsix ha scritto: I'm using Kerberos auth with our LDAP setup (openldap) and its working great.. though you do need to edit the auth module code to allow for SSO. -- To post to this group, send email to gito...@googlegroups.comjavascript: To unsubscribe from this group, send email to gitorious+...@googlegroups.com javascript: -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] Re: LDAP Authentication problem
Hello, if you run the script for test [root@gitorious gitorious]# bundle exec script/test_ldap_connection USER PASSWORD All good, your credentials are correct what is your issue?? 2012/11/28 Graziano Aliberti graziano.alibe...@gmail.com Hi Federico, I've tried with your configuration (changing the server and the base_dn) but it doesn't work! This is my configuration: production: disable_default: true methods: - adapter: Gitorious::Authentication::LDAPAuthentication host: ldap.something.it port: 389 base_dn: OU=Something,O=Something,C=it attribute_mapping: mail: email login_attribute: uid encryption: none Il giorno venerdì 23 novembre 2012 20:30:59 UTC+1, Federico Don ha scritto: could you try with this setup? production: disable_default: false methods: - adapter: Gitorious::Authentication::**LDAPAuthentication host: 172.17.195.115 port: 389 base_dn: DC=example,DC=com bind_username: user_ldap_bind bind_password: password_user_ldap_bind user_filter: username_attribute: sAMAccountName encryption: none login_attribute: uid distinguished_name_template: uid={},OU=users,DC=example,**DC=com attribute_mapping: mail: email I hope your comment! Regards, 2012/11/23 Graziano Aliberti graziano...@gmail.com How can I do that? I want just that only the authentication is handle by LDAP. Il giorno venerdì 23 novembre 2012 15:13:42 UTC+1, anapsix ha scritto: I'm using Kerberos auth with our LDAP setup (openldap) and its working great.. though you do need to edit the auth module code to allow for SSO. -- To post to this group, send email to gito...@googlegroups.com To unsubscribe from this group, send email to gitorious+...@**googlegroups.com -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] Re: LDAP Authentication problem
do you have the ultimate version for gitorious? I had this problem and when i update to version the problem was solved! 2012/11/28 Graziano Aliberti graziano.alibe...@gmail.com Hi, my issue is that I've never seen All good, your credential are correct Always Not there yet. For debugging purposes, this is the DN we tried: uid=MyUser,OU=Something,O=Something,C=it The user, obviously, exists Thank you, Graziano Il giorno mercoledì 28 novembre 2012 15:41:38 UTC+1, Federico Don ha scritto: Hello, if you run the script for test [root@gitorious gitorious]# bundle exec script/test_ldap_connection USER PASSWORD All good, your credentials are correct what is your issue?? 2012/11/28 Graziano Aliberti graziano...@gmail.com Hi Federico, I've tried with your configuration (changing the server and the base_dn) but it doesn't work! This is my configuration: production: disable_default: true methods: - adapter: Gitorious::Authentication::**LDAPAuthentication host: ldap.something.it port: 389 base_dn: OU=Something,O=Something,C=it attribute_mapping: mail: email login_attribute: uid encryption: none Il giorno venerdì 23 novembre 2012 20:30:59 UTC+1, Federico Don ha scritto: could you try with this setup? production: disable_default: false methods: - adapter: Gitorious::Authentication::**LDA**PAuthentication host: 172.17.195.115 port: 389 base_dn: DC=example,DC=com bind_username: user_ldap_bind bind_password: password_user_ldap_bind user_filter: username_attribute: sAMAccountName encryption: none login_attribute: uid distinguished_name_template: uid={},OU=users,DC=example,**DC**=com attribute_mapping: mail: email I hope your comment! Regards, 2012/11/23 Graziano Aliberti graziano...@gmail.com How can I do that? I want just that only the authentication is handle by LDAP. Il giorno venerdì 23 novembre 2012 15:13:42 UTC+1, anapsix ha scritto: I'm using Kerberos auth with our LDAP setup (openldap) and its working great.. though you do need to edit the auth module code to allow for SSO. -- To post to this group, send email to gito...@googlegroups.com To unsubscribe from this group, send email to gitorious+...@**googlegroups.com -- To post to this group, send email to gito...@googlegroups.com To unsubscribe from this group, send email to gitorious+...@**googlegroups.com -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] Re: LDAP Authentication problem
Humm, I have the master of the mainline...what can I do? git pull origin master? Do you think this can help me? Il giorno mercoledì 28 novembre 2012 16:33:40 UTC+1, Federico Don ha scritto: do you have the ultimate version for gitorious? I had this problem and when i update to version the problem was solved! 2012/11/28 Graziano Aliberti graziano...@gmail.com javascript: Hi, my issue is that I've never seen All good, your credential are correct Always Not there yet. For debugging purposes, this is the DN we tried: uid=MyUser,OU=Something,O=Something,C=it The user, obviously, exists Thank you, Graziano Il giorno mercoledì 28 novembre 2012 15:41:38 UTC+1, Federico Don ha scritto: Hello, if you run the script for test [root@gitorious gitorious]# bundle exec script/test_ldap_connection USER PASSWORD All good, your credentials are correct what is your issue?? 2012/11/28 Graziano Aliberti graziano...@gmail.com Hi Federico, I've tried with your configuration (changing the server and the base_dn) but it doesn't work! This is my configuration: production: disable_default: true methods: - adapter: Gitorious::Authentication::**LDAPAuthentication host: ldap.something.it port: 389 base_dn: OU=Something,O=Something,C=it attribute_mapping: mail: email login_attribute: uid encryption: none Il giorno venerdì 23 novembre 2012 20:30:59 UTC+1, Federico Don ha scritto: could you try with this setup? production: disable_default: false methods: - adapter: Gitorious::Authentication::**LDA**PAuthentication host: 172.17.195.115 port: 389 base_dn: DC=example,DC=com bind_username: user_ldap_bind bind_password: password_user_ldap_bind user_filter: username_attribute: sAMAccountName encryption: none login_attribute: uid distinguished_name_template: uid={},OU=users,DC=example,**DC**=com attribute_mapping: mail: email I hope your comment! Regards, 2012/11/23 Graziano Aliberti graziano...@gmail.com How can I do that? I want just that only the authentication is handle by LDAP. Il giorno venerdì 23 novembre 2012 15:13:42 UTC+1, anapsix ha scritto: I'm using Kerberos auth with our LDAP setup (openldap) and its working great.. though you do need to edit the auth module code to allow for SSO. -- To post to this group, send email to gito...@googlegroups.com To unsubscribe from this group, send email to gitorious+...@**googlegroups.com -- To post to this group, send email to gito...@googlegroups.com To unsubscribe from this group, send email to gitorious+...@**googlegroups.com -- To post to this group, send email to gito...@googlegroups.comjavascript: To unsubscribe from this group, send email to gitorious+...@googlegroups.com javascript: -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] Re: LDAP Authentication problem
could you try with this setup? production: disable_default: false methods: - adapter: Gitorious::Authentication::LDAPAuthentication host: 172.17.195.115 port: 389 base_dn: DC=example,DC=com bind_username: user_ldap_bind bind_password: password_user_ldap_bind user_filter: username_attribute: sAMAccountName encryption: none login_attribute: uid distinguished_name_template: uid={},OU=users,DC=example,DC=com attribute_mapping: mail: email I hope your comment! Regards, 2012/11/23 Graziano Aliberti graziano.alibe...@gmail.com How can I do that? I want just that only the authentication is handle by LDAP. Il giorno venerdì 23 novembre 2012 15:13:42 UTC+1, anapsix ha scritto: I'm using Kerberos auth with our LDAP setup (openldap) and its working great.. though you do need to edit the auth module code to allow for SSO. -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] Re: LDAP Authentication
Oh wow thank you very much! Works like a charm! On Thursday, August 2, 2012 10:47:00 PM UTC-4, Federico Don wrote: could you try with this setup? production: disable_default: false methods: - adapter: Gitorious::Authentication::LDAPAuthentication host: 172.17.195.115 port: 389 base_dn: DC=example,DC=com bind_username: user_ldap_bind bind_password: password_user_ldap_bind user_filter: username_attribute: sAMAccountName encryption: none login_attribute: uid distinguished_name_template: uid={},OU=users,DC=example,DC=com attribute_mapping: mail: email I hope your comment! Regards, 2012/8/2 Kevin Pelletier kevvv.pellet...@gmail.com Yes I do. I just did a new installation this week. Kevin On Thursday, August 2, 2012 11:38:36 AM UTC-4, Federico Don wrote: Do you have a last version for gitorious? Regards, 2012/8/1 Kevin Pelletier kevvv.pellet...@gmail.com This is my authentication.yml production: disable_default: true methods: - adapter: Gitorious::Authentication::**LDAPAuthentication host: 192.168.4.22 port: 389 base_dn: DC=lan,DC=lexum,DC=pri login_attribute: uid encryption: none attribute_mapping: mail: email username_attribute: sAMAccountName On Wednesday, August 1, 2012 10:46:56 AM UTC-4, Kevin Pelletier wrote: Hi Marius, Thanks for the quick reply. Indeed, it didn't work. I checked it out, but still I'm having the same error message. This is what I did : git checkout features/ldap_authorization RAILS_ENV=production bundle exec script/test_ldap_connection pelletierk ** Not there yet. script/test_ldap_connection:**22**: private method `build_username' called for #Gitorious::Authentication::**L**DAPAuthentication:0x428bc30 (NoMethodError) Kevin On Wednesday, August 1, 2012 1:52:03 AM UTC-4, Marius Mårnes Mathiesen wrote: Kevin, Would you mind trying to check out the features/ldap_authorization branch from mainline and see how it works there? There's quite a lot of new stuff in there, and I think there's a fix to the error message you're seeing as well. Cheers, - Marius On Tue, Jul 31, 2012 at 9:19 PM, Kevin Pelletier kevvv.pellet...@gmail.com wrote: No I haven't. Still same error message On Friday, April 20, 2012 7:12:12 PM UTC-4, beepy wrote: Did you ever get this solved? Ben, On Wednesday, 16 November 2011 11:00:48 UTC-8, Kevin Pelletier wrote: Hi, I've been trying out lately the latest feature with LDAP Authentication. I'm not that much used to the ruby environment so excuse my missing knowledge if this looks like an easy question. When I try to test the LDAP connection, this is the error I get : /home/git/gitorious/vendor/**rails/activesupport/lib/**active_ **su**pport/ dependencies.rb:443:in `load_missing_constant': uninitialized constant SampleCallback (NameError) from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/dependencies.**rb:80:in `const_missing' from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/dependencies.**rb:92:in `const_missing' from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/inflector.rb:**361:in `constantize' from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/inflector.rb:**360:in `each' from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/inflector.rb:**360:in `constantize' from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/core_ext/**string/inflections.rb:162:in `constantize' from /home/git/gitorious/lib/**gitorious/authentication/ ldap_authentication.rb:44:in `setup_attributes' from /home/git/gitorious/lib/**gitorious/authentication/ ldap_authentication.rb:28:in `initialize' from /home/git/gitorious/lib/**gitorious/authentication/ configuration.rb:41:in `new' from /home/git/gitorious/lib/**gitorious/authentication/ configuration.rb:41:in `add_custom_method' from /home/git/gitorious/lib/**gitorious/authentication/ configuration.rb:24:in `configure' from /home/git/gitorious/lib/**gitorious/authentication/ configuration.rb:24:in `each' from /home/git/gitorious/lib/**gitorious/authentication/ configuration.rb:24:in `configure' from /home/git/gitorious/config/**ini tializers/authentication.**rb: 23 from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/dependencies.**rb:147:in `load_without_new_constant_**marking' from /home/git/gitorious/vendor/**rails/activesupport/lib/
Re: [gitorious] Re: LDAP Authentication
Yes I do. I just did a new installation this week. Kevin On Thursday, August 2, 2012 11:38:36 AM UTC-4, Federico Don wrote: Do you have a last version for gitorious? Regards, 2012/8/1 Kevin Pelletier kevvv.pellet...@gmail.com This is my authentication.yml production: disable_default: true methods: - adapter: Gitorious::Authentication::LDAPAuthentication host: 192.168.4.22 port: 389 base_dn: DC=lan,DC=lexum,DC=pri login_attribute: uid encryption: none attribute_mapping: mail: email username_attribute: sAMAccountName On Wednesday, August 1, 2012 10:46:56 AM UTC-4, Kevin Pelletier wrote: Hi Marius, Thanks for the quick reply. Indeed, it didn't work. I checked it out, but still I'm having the same error message. This is what I did : git checkout features/ldap_authorization RAILS_ENV=production bundle exec script/test_ldap_connection pelletierk ** Not there yet. script/test_ldap_connection:**22: private method `build_username' called for #Gitorious::Authentication::**LDAPAuthentication:0x428bc30 (NoMethodError) Kevin On Wednesday, August 1, 2012 1:52:03 AM UTC-4, Marius Mårnes Mathiesen wrote: Kevin, Would you mind trying to check out the features/ldap_authorization branch from mainline and see how it works there? There's quite a lot of new stuff in there, and I think there's a fix to the error message you're seeing as well. Cheers, - Marius On Tue, Jul 31, 2012 at 9:19 PM, Kevin Pelletier kevvv.pellet...@gmail.com wrote: No I haven't. Still same error message On Friday, April 20, 2012 7:12:12 PM UTC-4, beepy wrote: Did you ever get this solved? Ben, On Wednesday, 16 November 2011 11:00:48 UTC-8, Kevin Pelletier wrote: Hi, I've been trying out lately the latest feature with LDAP Authentication. I'm not that much used to the ruby environment so excuse my missing knowledge if this looks like an easy question. When I try to test the LDAP connection, this is the error I get : /home/git/gitorious/vendor/**rai**ls/activesupport/lib/**active_**support/ dependencies.rb:443:in `load_missing_constant': uninitialized constant SampleCallback (NameError) from /home/git/gitorious/vendor/**rai**ls/activesupport/lib/ active_support/dependencies.**rb**:80:in `const_missing' from /home/git/gitorious/vendor/**rai**ls/activesupport/lib/ active_support/dependencies.**rb**:92:in `const_missing' from /home/git/gitorious/vendor/**rai**ls/activesupport/lib/ active_support/inflector.rb:**36**1:in `constantize' from /home/git/gitorious/vendor/**rai**ls/activesupport/lib/ active_support/inflector.rb:**36**0:in `each' from /home/git/gitorious/vendor/**rai**ls/activesupport/lib/ active_support/inflector.rb:**36**0:in `constantize' from /home/git/gitorious/vendor/**rai**ls/activesupport/lib/ active_support/core_ext/**string**/inflections.rb:162:in `constantize' from /home/git/gitorious/lib/**gitori**ous/authentication/ ldap_authentication.rb:44:in `setup_attributes' from /home/git/gitorious/lib/**gitori**ous/authentication/ ldap_authentication.rb:28:in `initialize' from /home/git/gitorious/lib/**gitori**ous/authentication/ configuration.rb:41:in `new' from /home/git/gitorious/lib/**gitori**ous/authentication/ configuration.rb:41:in `add_custom_method' from /home/git/gitorious/lib/**gitori**ous/authentication/ configuration.rb:24:in `configure' from /home/git/gitorious/lib/**gitori**ous/authentication/ configuration.rb:24:in `each' from /home/git/gitorious/lib/**gitori**ous/authentication/ configuration.rb:24:in `configure' from /home/git/gitorious/config/**ini** tializers/authentication.**rb: 23 from /home/git/gitorious/vendor/**rai**ls/activesupport/lib/ active_support/dependencies.**rb**:147:in `load_without_new_constant_**mar**king' from /home/git/gitorious/vendor/**rai**ls/activesupport/lib/ active_support/dependencies.**rb**:147:in `load' from /home/git/gitorious/vendor/**rai**ls/railties/lib/ initializer.rb:622:in `load_application_**initializers**' from /home/git/gitorious/vendor/**rai**ls/railties/lib/ initializer.rb:621:in `each' from /home/git/gitorious/vendor/**rai**ls/railties/lib/ initializer.rb:621:in `load_application_**initializers**' from ./config/../vendor/rails/**railt**ies/lib/initializer.rb: 176:in `process' from ./config/../vendor/rails/**railt**ies/lib/initializer.rb: 113:in `send' from ./config/../vendor/rails/**railt**ies/lib/initializer.rb: 113:in `run' from ./config/environment.rb:24 from script/test_ldap_connection:8:in `require' from script/test_ldap_connection:8 Any ideas why I get this error message? Thank
Re: [gitorious] Re: LDAP Authentication
could you try with this setup? production: disable_default: false methods: - adapter: Gitorious::Authentication::LDAPAuthentication host: 172.17.195.115 port: 389 base_dn: DC=example,DC=com bind_username: user_ldap_bind bind_password: password_user_ldap_bind user_filter: username_attribute: sAMAccountName encryption: none login_attribute: uid distinguished_name_template: uid={},OU=users,DC=example,DC=com attribute_mapping: mail: email I hope your comment! Regards, 2012/8/2 Kevin Pelletier kevvv.pellet...@gmail.com Yes I do. I just did a new installation this week. Kevin On Thursday, August 2, 2012 11:38:36 AM UTC-4, Federico Don wrote: Do you have a last version for gitorious? Regards, 2012/8/1 Kevin Pelletier kevvv.pellet...@gmail.com This is my authentication.yml production: disable_default: true methods: - adapter: Gitorious::Authentication::**LDAPAuthentication host: 192.168.4.22 port: 389 base_dn: DC=lan,DC=lexum,DC=pri login_attribute: uid encryption: none attribute_mapping: mail: email username_attribute: sAMAccountName On Wednesday, August 1, 2012 10:46:56 AM UTC-4, Kevin Pelletier wrote: Hi Marius, Thanks for the quick reply. Indeed, it didn't work. I checked it out, but still I'm having the same error message. This is what I did : git checkout features/ldap_authorization RAILS_ENV=production bundle exec script/test_ldap_connection pelletierk ** Not there yet. script/test_ldap_connection:**22**: private method `build_username' called for #Gitorious::Authentication::**L**DAPAuthentication:0x428bc30 (NoMethodError) Kevin On Wednesday, August 1, 2012 1:52:03 AM UTC-4, Marius Mårnes Mathiesen wrote: Kevin, Would you mind trying to check out the features/ldap_authorization branch from mainline and see how it works there? There's quite a lot of new stuff in there, and I think there's a fix to the error message you're seeing as well. Cheers, - Marius On Tue, Jul 31, 2012 at 9:19 PM, Kevin Pelletier kevvv.pellet...@gmail.com wrote: No I haven't. Still same error message On Friday, April 20, 2012 7:12:12 PM UTC-4, beepy wrote: Did you ever get this solved? Ben, On Wednesday, 16 November 2011 11:00:48 UTC-8, Kevin Pelletier wrote: Hi, I've been trying out lately the latest feature with LDAP Authentication. I'm not that much used to the ruby environment so excuse my missing knowledge if this looks like an easy question. When I try to test the LDAP connection, this is the error I get : /home/git/gitorious/vendor/**rails/activesupport/lib/**active_* *su**pport/ dependencies.rb:443:in `load_missing_constant': uninitialized constant SampleCallback (NameError) from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/dependencies.**rb:80:in `const_missing' from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/dependencies.**rb:92:in `const_missing' from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/inflector.rb:**361:in `constantize' from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/inflector.rb:**360:in `each' from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/inflector.rb:**360:in `constantize' from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/core_ext/**string/inflections.rb:162:in `constantize' from /home/git/gitorious/lib/**gitorious/authentication/ ldap_authentication.rb:44:in `setup_attributes' from /home/git/gitorious/lib/**gitorious/authentication/ ldap_authentication.rb:28:in `initialize' from /home/git/gitorious/lib/**gitorious/authentication/ configuration.rb:41:in `new' from /home/git/gitorious/lib/**gitorious/authentication/ configuration.rb:41:in `add_custom_method' from /home/git/gitorious/lib/**gitorious/authentication/ configuration.rb:24:in `configure' from /home/git/gitorious/lib/**gitorious/authentication/ configuration.rb:24:in `each' from /home/git/gitorious/lib/**gitorious/authentication/ configuration.rb:24:in `configure' from /home/git/gitorious/config/**ini tializers/authentication.**rb: 23 from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/dependencies.**rb:147:in `load_without_new_constant_**marking' from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/dependencies.**rb:147:in `load' from /home/git/gitorious/vendor/**rails/railties/lib/ initializer.rb:622:in `load_application_**initializers' from /home/git/gitorious/vendor/**rails/railties/lib/
Re: [gitorious] Re: LDAP Authentication
Hi Marius, Thanks for the quick reply. Indeed, it didn't work. I checked it out, but still I'm having the same error message. This is what I did : git checkout features/ldap_authorization RAILS_ENV=production bundle exec script/test_ldap_connection pelletierk ** Not there yet. script/test_ldap_connection:22: private method `build_username' called for #Gitorious::Authentication::LDAPAuthentication:0x428bc30 (NoMethodError) Kevin On Wednesday, August 1, 2012 1:52:03 AM UTC-4, Marius Mårnes Mathiesen wrote: Kevin, Would you mind trying to check out the features/ldap_authorization branch from mainline and see how it works there? There's quite a lot of new stuff in there, and I think there's a fix to the error message you're seeing as well. Cheers, - Marius On Tue, Jul 31, 2012 at 9:19 PM, Kevin Pelletier kevvv.pellet...@gmail.com wrote: No I haven't. Still same error message On Friday, April 20, 2012 7:12:12 PM UTC-4, beepy wrote: Did you ever get this solved? Ben, On Wednesday, 16 November 2011 11:00:48 UTC-8, Kevin Pelletier wrote: Hi, I've been trying out lately the latest feature with LDAP Authentication. I'm not that much used to the ruby environment so excuse my missing knowledge if this looks like an easy question. When I try to test the LDAP connection, this is the error I get : /home/git/gitorious/vendor/**rails/activesupport/lib/**active_support/ dependencies.rb:443:in `load_missing_constant': uninitialized constant SampleCallback (NameError) from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/dependencies.**rb:80:in `const_missing' from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/dependencies.**rb:92:in `const_missing' from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/inflector.rb:**361:in `constantize' from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/inflector.rb:**360:in `each' from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/inflector.rb:**360:in `constantize' from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/core_ext/**string/inflections.rb:162:in `constantize' from /home/git/gitorious/lib/**gitorious/authentication/ ldap_authentication.rb:44:in `setup_attributes' from /home/git/gitorious/lib/**gitorious/authentication/ ldap_authentication.rb:28:in `initialize' from /home/git/gitorious/lib/**gitorious/authentication/ configuration.rb:41:in `new' from /home/git/gitorious/lib/**gitorious/authentication/ configuration.rb:41:in `add_custom_method' from /home/git/gitorious/lib/**gitorious/authentication/ configuration.rb:24:in `configure' from /home/git/gitorious/lib/**gitorious/authentication/ configuration.rb:24:in `each' from /home/git/gitorious/lib/**gitorious/authentication/ configuration.rb:24:in `configure' from /home/git/gitorious/config/**initializers/authentication.* *rb: 23 from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/dependencies.**rb:147:in `load_without_new_constant_**marking' from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/dependencies.**rb:147:in `load' from /home/git/gitorious/vendor/**rails/railties/lib/ initializer.rb:622:in `load_application_**initializers' from /home/git/gitorious/vendor/**rails/railties/lib/ initializer.rb:621:in `each' from /home/git/gitorious/vendor/**rails/railties/lib/ initializer.rb:621:in `load_application_**initializers' from ./config/../vendor/rails/**railties/lib/initializer.rb: 176:in `process' from ./config/../vendor/rails/**railties/lib/initializer.rb: 113:in `send' from ./config/../vendor/rails/**railties/lib/initializer.rb: 113:in `run' from ./config/environment.rb:24 from script/test_ldap_connection:8:**in `require' from script/test_ldap_connection:8 Any ideas why I get this error message? Thank you Kevin -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com -- Marius Mårnes Mathiesen Gitorious Tel.: (+47) 92 60 95 38. http://gitorious.com/ -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] Re: LDAP Authentication
This is my authentication.yml production: disable_default: true methods: - adapter: Gitorious::Authentication::LDAPAuthentication host: 192.168.4.22 port: 389 base_dn: DC=lan,DC=lexum,DC=pri login_attribute: uid encryption: none attribute_mapping: mail: email username_attribute: sAMAccountName On Wednesday, August 1, 2012 10:46:56 AM UTC-4, Kevin Pelletier wrote: Hi Marius, Thanks for the quick reply. Indeed, it didn't work. I checked it out, but still I'm having the same error message. This is what I did : git checkout features/ldap_authorization RAILS_ENV=production bundle exec script/test_ldap_connection pelletierk ** Not there yet. script/test_ldap_connection:22: private method `build_username' called for #Gitorious::Authentication::LDAPAuthentication:0x428bc30 (NoMethodError) Kevin On Wednesday, August 1, 2012 1:52:03 AM UTC-4, Marius Mårnes Mathiesen wrote: Kevin, Would you mind trying to check out the features/ldap_authorization branch from mainline and see how it works there? There's quite a lot of new stuff in there, and I think there's a fix to the error message you're seeing as well. Cheers, - Marius On Tue, Jul 31, 2012 at 9:19 PM, Kevin Pelletier kevvv.pellet...@gmail.com wrote: No I haven't. Still same error message On Friday, April 20, 2012 7:12:12 PM UTC-4, beepy wrote: Did you ever get this solved? Ben, On Wednesday, 16 November 2011 11:00:48 UTC-8, Kevin Pelletier wrote: Hi, I've been trying out lately the latest feature with LDAP Authentication. I'm not that much used to the ruby environment so excuse my missing knowledge if this looks like an easy question. When I try to test the LDAP connection, this is the error I get : /home/git/gitorious/vendor/**rails/activesupport/lib/**active_support/ dependencies.rb:443:in `load_missing_constant': uninitialized constant SampleCallback (NameError) from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/dependencies.**rb:80:in `const_missing' from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/dependencies.**rb:92:in `const_missing' from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/inflector.rb:**361:in `constantize' from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/inflector.rb:**360:in `each' from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/inflector.rb:**360:in `constantize' from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/core_ext/**string/inflections.rb:162:in `constantize' from /home/git/gitorious/lib/**gitorious/authentication/ ldap_authentication.rb:44:in `setup_attributes' from /home/git/gitorious/lib/**gitorious/authentication/ ldap_authentication.rb:28:in `initialize' from /home/git/gitorious/lib/**gitorious/authentication/ configuration.rb:41:in `new' from /home/git/gitorious/lib/**gitorious/authentication/ configuration.rb:41:in `add_custom_method' from /home/git/gitorious/lib/**gitorious/authentication/ configuration.rb:24:in `configure' from /home/git/gitorious/lib/**gitorious/authentication/ configuration.rb:24:in `each' from /home/git/gitorious/lib/**gitorious/authentication/ configuration.rb:24:in `configure' from /home/git/gitorious/config/**initializers/authentication. **rb: 23 from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/dependencies.**rb:147:in `load_without_new_constant_**marking' from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/dependencies.**rb:147:in `load' from /home/git/gitorious/vendor/**rails/railties/lib/ initializer.rb:622:in `load_application_**initializers' from /home/git/gitorious/vendor/**rails/railties/lib/ initializer.rb:621:in `each' from /home/git/gitorious/vendor/**rails/railties/lib/ initializer.rb:621:in `load_application_**initializers' from ./config/../vendor/rails/**railties/lib/initializer.rb: 176:in `process' from ./config/../vendor/rails/**railties/lib/initializer.rb: 113:in `send' from ./config/../vendor/rails/**railties/lib/initializer.rb: 113:in `run' from ./config/environment.rb:24 from script/test_ldap_connection:8:**in `require' from script/test_ldap_connection:8 Any ideas why I get this error message? Thank you Kevin -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com -- Marius Mårnes Mathiesen Gitorious Tel.: (+47) 92 60 95 38. http://gitorious.com/ -- To post to this group, send email to gitorious@googlegroups.com To
Re: [gitorious] Re: LDAP Authentication
Kevin, Would you mind trying to check out the features/ldap_authorization branch from mainline and see how it works there? There's quite a lot of new stuff in there, and I think there's a fix to the error message you're seeing as well. Cheers, - Marius On Tue, Jul 31, 2012 at 9:19 PM, Kevin Pelletier kevvv.pellet...@gmail.comwrote: No I haven't. Still same error message On Friday, April 20, 2012 7:12:12 PM UTC-4, beepy wrote: Did you ever get this solved? Ben, On Wednesday, 16 November 2011 11:00:48 UTC-8, Kevin Pelletier wrote: Hi, I've been trying out lately the latest feature with LDAP Authentication. I'm not that much used to the ruby environment so excuse my missing knowledge if this looks like an easy question. When I try to test the LDAP connection, this is the error I get : /home/git/gitorious/vendor/**rails/activesupport/lib/**active_support/ dependencies.rb:443:in `load_missing_constant': uninitialized constant SampleCallback (NameError) from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/dependencies.**rb:80:in `const_missing' from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/dependencies.**rb:92:in `const_missing' from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/inflector.rb:**361:in `constantize' from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/inflector.rb:**360:in `each' from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/inflector.rb:**360:in `constantize' from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/core_ext/**string/inflections.rb:162:in `constantize' from /home/git/gitorious/lib/**gitorious/authentication/ ldap_authentication.rb:44:in `setup_attributes' from /home/git/gitorious/lib/**gitorious/authentication/ ldap_authentication.rb:28:in `initialize' from /home/git/gitorious/lib/**gitorious/authentication/ configuration.rb:41:in `new' from /home/git/gitorious/lib/**gitorious/authentication/ configuration.rb:41:in `add_custom_method' from /home/git/gitorious/lib/**gitorious/authentication/ configuration.rb:24:in `configure' from /home/git/gitorious/lib/**gitorious/authentication/ configuration.rb:24:in `each' from /home/git/gitorious/lib/**gitorious/authentication/ configuration.rb:24:in `configure' from /home/git/gitorious/config/**initializers/authentication.**rb: 23 from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/dependencies.**rb:147:in `load_without_new_constant_**marking' from /home/git/gitorious/vendor/**rails/activesupport/lib/ active_support/dependencies.**rb:147:in `load' from /home/git/gitorious/vendor/**rails/railties/lib/ initializer.rb:622:in `load_application_**initializers' from /home/git/gitorious/vendor/**rails/railties/lib/ initializer.rb:621:in `each' from /home/git/gitorious/vendor/**rails/railties/lib/ initializer.rb:621:in `load_application_**initializers' from ./config/../vendor/rails/**railties/lib/initializer.rb: 176:in `process' from ./config/../vendor/rails/**railties/lib/initializer.rb: 113:in `send' from ./config/../vendor/rails/**railties/lib/initializer.rb: 113:in `run' from ./config/environment.rb:24 from script/test_ldap_connection:8:**in `require' from script/test_ldap_connection:8 Any ideas why I get this error message? Thank you Kevin -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com -- Marius Mårnes Mathiesen Gitorious Tel.: (+47) 92 60 95 38. http://gitorious.com/ -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com