Member since 
    
	
		
		
		03-21-2017
	
	
	
	
	
	
	
	
	
	
	
	
	
	
			
      
                197
            
            
                Posts
            
        
                6
            
            
                Kudos Received
            
        
                3
            
            
                Solutions
            
        My Accepted Solutions
| Title | Views | Posted | 
|---|---|---|
| 5049 | 07-02-2018 11:25 AM | |
| 2448 | 05-29-2018 07:20 AM | |
| 8059 | 05-09-2018 10:18 AM | 
			
    
	
		
		
		05-09-2018
	
		
		07:00 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 @Geoffrey Shelton Okot  I have already configured ambari ldap setup according to the value I got from ldapsearch. but still i am facing the same issue.     
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		05-08-2018
	
		
		01:28 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 @Geoffrey Shelton Okot   following are the entries in ambari.properties:  authentication.ldap.baseDn=dc=hadoop,dc=com   authentication.ldap.bindAnonymously=false   authentication.ldap.dnAttribute=dn   authentication.ldap.groupMembershipAttr=gidNumber   authentication.ldap.groupNamingAttr=cn   authentication.ldap.groupObjectClass=posixGroup   authentication.ldap.managerDn=cn=Manager,dc=hadoop,dc=com   authentication.ldap.managerPassword=/etc/ambari-server/conf/ldap-password.dat   authentication.ldap.primaryUrl=ip-00-0-00-000.ec2.internal:389   authentication.ldap.useSSL=false   authentication.ldap.userObjectClass=inetOrgPerson
authentication.ldap.usernameAttribute=uid 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		05-08-2018
	
		
		01:15 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 @Geoffrey Shelton Okot  sorry my bad. I updated comment, you can check. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		05-08-2018
	
		
		01:09 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 @Geoffrey Shelton Okot   I have already configured LDAP using ambari-server setup-ldap. when I execute the ambari-server sync-ldap --users user.txt it prompts for ambari credentials not LDAP. when I execute ambari-server sync-ldap --existing, I entered the same ambari credentials, and it worked fine. You can check in below attached image.     
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		05-08-2018
	
		
		11:35 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 @Geoffrey Shelton Okot I am using the same credential to login the ambari UI and it works perfect. But when I am using them with the ambari-server sync-ldap command it throws an error. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		05-08-2018
	
		
		10:49 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Hello,  I have created Hortonworks Data cloud cluster on AWS, with one master node and one worker node. on master node I have configured the openLDAP server. Now, I am trying to sync openLDAP users with Ambari.  To sync the openLDAP user with Ambari  execute the following command:  ambari-server sync-ldap --users users.txt  user.txt contains the name of the user to sync, seprated by comma.  After executing above command it prompts for ambari login. after I enter credential for ambari server it throws following error:   ERROR: Exiting with exit code 1.
REASON: Caught exception running LDAP sync. [LDAP: error code 49 - Invalid Credentials]; nested exception is javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]   How can I resolve this error ?  Thank You. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
		
			
				
						
							Labels:
						
						
		
			
	
					
			
		
	
	
	
	
				
		
	
	
- Labels:
- 
						
							
		
			Apache Ambari
			
    
	
		
		
		04-18-2018
	
		
		12:16 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 @Venkata  I am getting the error:  ldap_add: No such object (32)
        matched DN: dc=hadoop,dc=com 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		04-18-2018
	
		
		11:59 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 @Venkata  all the attributes are compulsary ? As I do not have value of OU, userAccountControl,unicodePwd. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		04-18-2018
	
		
		10:49 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							@Venkata Sudheer Kumar M After change in ldapadd command as mention in my reply, I am getting following error:    ldap_add: Object class violation (65)
        additional info: no objectClass attribute   
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		04-18-2018
	
		
		10:46 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 solved the authentication issue with following change in ldapadd command:  ldapadd -x -W -D "cn=Manager,dc=hadoop,dc=com" -f user1.ldif 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		 
        













