Print this page
NEX-14547 Get UNIX group info. from AD/LDAP with partial RFC2307 schema
NEX-13132 smbd dumping core in nss_ldap.so.1`getbymember
Reviewed by: Matt Barden <matt.barden@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>

*** 18,27 **** --- 18,28 ---- * * CDDL HEADER END */ /* * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright 2017 Nexenta Systems, Inc. All rights reserved. */ #ifndef _NS_SLDAP_H #define _NS_SLDAP_H
*** 811,820 **** --- 812,827 ---- int __ns_ldap_uid2dn( const char *uid, char **userDN, const ns_cred_t *cred, ns_ldap_error_t ** errorp); + + int __ns_ldap_dn2uid( + const char *dn, + char **userID, + const ns_cred_t *cred, + ns_ldap_error_t ** errorp); int __ns_ldap_host2dn( const char *host, const char *domain, char **hostDN,