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?) 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)

Alternatively, where am I going wrong with the patch and why is the stable
release so far behind the trunk.... 

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.

Reply via email to