Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access custom schema attribute #5

Open
pichotweb opened this issue May 31, 2017 · 2 comments
Open

Access custom schema attribute #5

pichotweb opened this issue May 31, 2017 · 2 comments
Labels

Comments

@pichotweb
Copy link

Hi,

I've added a custom schema to my LDAP and I can't access these attibutes via php.

$user_data = array(
'givenname' => 'Richard',
'sn' => 'Stallman',
'uid' => "rms3",
'mail' => "rms@fsf.org",
'userpassword' => 'Secret123',

    //Custom attribute from Schema
    'brcpf' => '24587458968'
  );

When I added the attribute I got an error "Unknow option"

I'm doing something wrong?

If you need more details I can provide.

Ty in advance!

@gnumoksha
Copy link
Owner

Hi, thanks for the feedback.

I will look at this issue in a couple of days.

@pichotweb
Copy link
Author

Thanks!

I'm adding a workarround to set the "--setattr" arguments.

Unfortunatly I haven't found nothing about the custom attributes with the user-find method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants