This is a workaround that is really helpful when Oracle's directory integration is down/broken and you need to quickly load a few users to EBS :
Extract the user details from OID (not from AD) to a .ldif file :
ldapsearch -h dummy.ad.srv -p 3060 -D "cn=orcladmin" -s sub -L -b "cn=users,dc=dummy,dc=com" -w "passwd""uid=dummy.jsmith"
uid mail facsimiletelephonenumber description employeenumber orclsamaccountname >> /tmp/jsmith.ldif
dn: cn=John_Smith,ou=users,cn=adus,cn=users,dc=dummy,dc=com
uid: dummy.jsmith
mail: John.Smith@dummy.com
orclsamaccountname: dummy\jsmith
facsimiletelephonenumber: 20777 ---> Employee ID for EBS
employeenumber: 20777
description: Manager, Accounting
Note: In the above example I took only those attributes that we need for FND User form.
Load the user to EBS from LDIF file generated above :
Copy the above ldif file to EBS Application server and run the below java command :
java oracle.apps.fnd.oid.LDAPUserImport -v -dbc $FND_SECURE/PROD.dbc -d -f jsmith.ldif -n uid -tcaRecord N -defresp N
LDAP user import from jsmith.ldif started..
LDAP user import completed sucessfully. For further details refer to log file at LDAPUserImport.log
Extract the user details from OID (not from AD) to a .ldif file :
ldapsearch -h dummy.ad.srv -p 3060 -D "cn=orcladmin" -s sub -L -b "cn=users,dc=dummy,dc=com" -w "passwd""uid=dummy.jsmith"
uid mail facsimiletelephonenumber description employeenumber orclsamaccountname >> /tmp/jsmith.ldif
dn: cn=John_Smith,ou=users,cn=adus,cn=users,dc=dummy,dc=com
uid: dummy.jsmith
mail: John.Smith@dummy.com
orclsamaccountname: dummy\jsmith
facsimiletelephonenumber: 20777 ---> Employee ID for EBS
employeenumber: 20777
description: Manager, Accounting
Note: In the above example I took only those attributes that we need for FND User form.
Load the user to EBS from LDIF file generated above :
Copy the above ldif file to EBS Application server and run the below java command :
java oracle.apps.fnd.oid.LDAPUserImport -v -dbc $FND_SECURE/PROD.dbc -d -f jsmith.ldif -n uid -tcaRecord N -defresp N
LDAP user import from jsmith.ldif started..
LDAP user import completed sucessfully. For further details refer to log file at LDAPUserImport.log