summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2001-05-08 16:33:18 +0000
committerJean-François Micouleau <jfm@samba.org>2001-05-08 16:33:18 +0000
commitb6a6b4b02ef923ce71a8be8258ccee1cbb439c6f (patch)
tree4adc6c0fce3385d225493b43a544e12c43a5fd46 /source3/passdb
parentacc0ca79a0d95160c2bcca40957b7d09c236c516 (diff)
downloadsamba-b6a6b4b02ef923ce71a8be8258ccee1cbb439c6f.tar.gz
samba-b6a6b4b02ef923ce71a8be8258ccee1cbb439c6f.tar.bz2
samba-b6a6b4b02ef923ce71a8be8258ccee1cbb439c6f.zip
fixes to the group mapping code.
Not ready yet. J.F. (This used to be commit 62a7a567fdea230b77cc97a3f74d868542c34700)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/passdb.c4
1 files changed, 2 insertions, 2 deletions
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);