From b6a6b4b02ef923ce71a8be8258ccee1cbb439c6f Mon Sep 17 00:00:00 2001 From: Jean-François Micouleau Date: Tue, 8 May 2001 16:33:18 +0000 Subject: fixes to the group mapping code. Not ready yet. J.F. (This used to be commit 62a7a567fdea230b77cc97a3f74d868542c34700) --- source3/passdb/passdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/passdb') diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index 05572e3de2..7b1ecdbc23 100644 --- a/source3/passdb/passdb.c +++ b/source3/passdb/passdb.c @@ -507,7 +507,7 @@ BOOL local_lookup_rid(uint32 rid, char *name, enum SID_NAME_USE *psid_name_use) DEBUG(5,("local_lookup_rid: found NT group %s mapped to Unix gid %u for rid %u\n", name, (unsigned int)map.gid, (unsigned int)rid )); - if(!getgrgid(gid)) + if(!getgrgid(map.gid)) return False; else return True; @@ -1521,7 +1521,7 @@ BOOL pdb_set_lanman_passwd (SAM_ACCOUNT *sampass, uint8 *pwd) if (!sampass || !*pwd) return False; if (sampass->lm_pw!=NULL) - DEBUG(0,("pdb_set_nt_passwd: LM hash non NULL overwritting ?\n")); + DEBUG(0,("pdb_set_lanman_passwd: LM hash non NULL overwritting ?\n")); else sampass->lm_pw=(unsigned char *)malloc(sizeof(unsigned char)*16); -- cgit