diff options
author | Gerald Carter <jerry@samba.org> | 2000-12-09 20:45:04 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2000-12-09 20:45:04 +0000 |
commit | bb48b02d5f2118470a415d5f1f92305688e6b432 (patch) | |
tree | ea65dbddf795c6e966db7f4d6eb4d8cb160e7d49 | |
parent | f575f4d67a5b45e47c29de30f02901c55cef4621 (diff) | |
download | samba-bb48b02d5f2118470a415d5f1f92305688e6b432.tar.gz samba-bb48b02d5f2118470a415d5f1f92305688e6b432.tar.xz samba-bb48b02d5f2118470a415d5f1f92305688e6b432.zip |
group rid assignment cut and paste error
--jerry
-rw-r--r-- | source/passdb/pdb_tdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/passdb/pdb_tdb.c b/source/passdb/pdb_tdb.c index 921ce853c6d..0591be68d8a 100644 --- a/source/passdb/pdb_tdb.c +++ b/source/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) |