mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
r3628: A typo and a compile-warning.
Guenther (This used to be commit 906d5f88aabf091ee273e0ed9c3d2947b22c5390)
This commit is contained in:
parent
31afaeeb81
commit
8384b33e0d
@ -472,7 +472,7 @@ NTSTATUS sid_to_gid(const DOM_SID *psid, gid_t *pgid)
|
|||||||
or we are dead in the water */
|
or we are dead in the water */
|
||||||
|
|
||||||
if ( !winbind_sid_to_gid(pgid, psid) ) {
|
if ( !winbind_sid_to_gid(pgid, psid) ) {
|
||||||
DEBUG(10,("sid_to_uid: winbind failed to allocate a new gid for sid %s\n",
|
DEBUG(10,("sid_to_gid: winbind failed to allocate a new gid for sid %s\n",
|
||||||
sid_to_string(sid_str, psid) ));
|
sid_to_string(sid_str, psid) ));
|
||||||
return NT_STATUS_UNSUCCESSFUL;
|
return NT_STATUS_UNSUCCESSFUL;
|
||||||
}
|
}
|
||||||
|
@ -2741,7 +2741,7 @@ static NTSTATUS ldapsam_alias_memberships(struct pdb_methods *methods,
|
|||||||
(struct ldapsam_privates *)methods->private_data;
|
(struct ldapsam_privates *)methods->private_data;
|
||||||
LDAP *ldap_struct;
|
LDAP *ldap_struct;
|
||||||
|
|
||||||
const char *attrs[] = { LDAP_ATTRIBUTE_SID, NULL };
|
char *attrs[] = { LDAP_ATTRIBUTE_SID, NULL };
|
||||||
|
|
||||||
LDAPMessage *result = NULL;
|
LDAPMessage *result = NULL;
|
||||||
LDAPMessage *entry = NULL;
|
LDAPMessage *entry = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user