Thanks for the reply I will have to read through all the ldap notes and see what I can do with it, otherwise bring it in later with the next major release.
Thanks for the interesting points made gave me something to think about! jacques.le.roux wrote: > >> >> Hi >> >> I have recently started looking at the Apache Ofbiz Development Guide : >> Beginner“s Tutorial, >> and reverted to the stable release 4.0 as referenced in the book. This is >> a >> major step >> back from the trunk version, yet for production it seems to be a lot more >> stable. (Is this true?) > > Yes it is, especially nowadays : we have commited massive changes to the > trunk these last days > >>Now comparing the trunk with the branch version I >> have discovered that the trunk has Ldap >> compatibility and the branch has none. >> >> I have found the following patch >> (https://issues.apache.org/jira/browse/OFBIZ-811) >> but when I try to apply it I get the following error. >> >> >> [r...@itux ofbiz4.0]# patch -p0 < ldap_authentication.patch >> (Stripping trailing CRs from patch.) >> patching file >> framework/common/src/org/ofbiz/common/login/LdapAuthenticationServices.java >> (Stripping trailing CRs from patch.) >> patching file >> framework/common/src/org/ofbiz/common/login/LoginServices.java >> Hunk #1 FAILED at 64. >> 1 out of 1 hunk FAILED -- saving rejects to file >> framework/common/src/org/ofbiz/common/login/LoginServices.java.rej >> (Stripping trailing CRs from patch.) >> patching file framework/security/config/jndiLdap.properties >> (Stripping trailing CRs from patch.) >> patching file framework/security/config/security.properties >> Hunk #1 FAILED at 60. >> Hunk #2 FAILED at 76. >> 2 out of 2 hunks FAILED -- saving rejects to file >> framework/security/config/security.properties.rej >> (Stripping trailing CRs from patch.) >> patching file framework/security/entitydef/entitygroup.xml >> (Stripping trailing CRs from patch.) >> patching file framework/security/entitydef/entitymodel.xml >> >> Can anybody advise which is the best option to use: Ofbiz release 4.0 or >> a >> (specific or XX count back) trunk version for production. (This being as >> I >> have notes on configuring a trunk version to be more production >> orientated, >> rather than development related) > > As noted in OFBIZ-811 this has been commited in trunk r669994 > http://svn.apache.org/viewvc?view=rev&revision=669994. You would have > to do the work by your self either on R4 or using this release. If you > fiund bugs, there are chances that patches have been commited > since. So you would have to commit them from this release at least. > >> Alternatively, where am I going wrong with the patch and why is the >> stable >> release so far behind the trunk.... > > Manpower... > > Jacques > >> Thanks! >> -- >> View this message in context: >> http://www.nabble.com/Ldap.authentication.patch-ofbiz-4.0-branches-release-tp21228256p21228256.html >> Sent from the OFBiz - User mailing list archive at Nabble.com. >> >> > > > -- View this message in context: http://www.nabble.com/Ldap.authentication.patch-ofbiz-4.0-branches-release-tp21228256p21230718.html Sent from the OFBiz - User mailing list archive at Nabble.com.
