Skip to Content
avatar image
Former Member

Creating users in Microsoft Active Directory 2000/2003 with password.

Our BSP application is using LDAP_CREATE function module to create users in Microsoft AD 2000 and 2003. But the users are not created along with passwords. without passwords the users are created in disabled mode.

We tried using the SAP provided function modules under function group SLDAP to create the entries. We are able to create accounts on MSADS but only without the password. We find that MSADS requires the password to be passed/sent as a bytecode array (SAP equivalent Xstring/Rawstring ?) under the attribute unicodePwd, which we did using the fn. module LDAP_CREATE.

But the server returns an error code LDAPRC053 which translates to "Unable to execute operation on the server".

We generate the password string and convert the same into an xstring using SCMS_TEXT_TO_XSTRING function module.

We are not sure what we are missing, but the account does not get created with the password at all. Would appreciate if you can help.

We do have a backup solution of creating the users offline, but I want persue in above mentioned direction. Anybody has resolved this issue? Please let me know.

Thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Jul 27, 2005 at 10:39 PM

    I am having the same problem, anyone have any advice ?

    Thanks

    Adrian

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 28, 2005 at 12:34 AM

    I'm suspecting it has something to do with calling the function over an open connection versus a secure connection, SSL on port 636.

    Any comments ?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 25, 2016 at 09:02 AM

    Any advice?

    Thanks,

    A.

    Add comment
    10|10000 characters needed characters exceeded