LDAP Import issue

I have successfully connected to ldap server through service account and ran ldapimport –debug successfully also. But when i ran the ldapimport –import , it shows the error “could not create user_obj for user abc". Although the db permission is also okay.

Please help.

Thanks.

The complete line of error is below while running command of /opt/rt6/…/ldapimport –import

“[Error] could not create user_obj for user mobeen: could not set user info /opt/rt6/sbin .. /lib/rt/LDAPIMPORT.pm: 918”

I have 112 users info in the current AD info dn. And this error is occurring on each users.

Whenever i run the ldapimport with –debug mode, that shows the info is imported successfully but in real import it fail to do so. No entry found in RT DB also.

you need a user in RT who’s “Unix login” field matches the user you’re running as from the CLI

That means user who is service account of AD, should be same created and allow access to the RT database as well?