summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2000-12-09 20:45:04 +0000
committerGerald Carter <jerry@samba.org>2000-12-09 20:45:04 +0000
commitf449a5913603f94774472d248dc6979d65a271a6 (patch)
tree08739ab6e954ff272519f6591e6a93456ee782c2 /source3/passdb
parent407b48d8a1f74b48eb64c4c94c0aa696f70172ff (diff)
downloadsamba-f449a5913603f94774472d248dc6979d65a271a6.tar.gz
samba-f449a5913603f94774472d248dc6979d65a271a6.tar.bz2
samba-f449a5913603f94774472d248dc6979d65a271a6.zip
group rid assignment cut and paste error
--jerry (This used to be commit bb48b02d5f2118470a415d5f1f92305688e6b432)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_tdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/pdb_tdb.c b/source3/passdb/pdb_tdb.c
index 921ce853c6..0591be68d8 100644
--- a/source3/passdb/pdb_tdb.c
+++ b/source3/passdb/pdb_tdb.c
@@ -298,7 +298,7 @@ BOOL pdb_setsampwent(BOOL update)
DEBUG(0, ("Unable to open TDB passwd, trying create new!\n"));
if (!(global_tdb_ent.passwd_tdb = tdb_open(tdbfile, 0, 0, O_RDWR | O_CREAT | O_EXCL, 0600)))
{
- DEBUG(0, ("Unable to create TDB passwd (smbpasswd.tdb) !!!"));
+ DEBUG(0, ("Unable to create TDB passwd (passdb.tdb) !!!"));
return False;
}
}
@@ -679,7 +679,7 @@ static BOOL tdb_update_sam(SAM_ACCOUNT* newpwd, BOOL override, int flag)
if (!newpwd->user_rid)
pdb_set_user_rid (newpwd, pdb_uid_to_user_rid (newpwd->uid));
if (!newpwd->group_rid)
- pdb_set_user_rid (newpwd, pdb_gid_to_group_rid (newpwd->gid));
+ pdb_set_group_rid (newpwd, pdb_gid_to_group_rid (newpwd->gid));
/* copy the SAM_ACCOUNT struct into a BYTE buffer for storage */
if ((data.dsize=init_buffer_from_sam (&buf, newpwd)) == -1)