to ensure no modification outside this module.
****************************************************************/
-static void *startsmbfilegrpent(BOOL update)
+static void *startsmbunixgrpent(BOOL update)
{
return startsmbfilepwent(False);
}
End enumeration of the smbpasswd list.
****************************************************************/
-static void endsmbfilegrpent(void *vp)
+static void endsmbunixgrpent(void *vp)
{
endsmbfilepwent(vp);
}
This must be treated as an opaque token.
*************************************************************************/
-static SMB_BIG_UINT getsmbfilegrppos(void *vp)
+static SMB_BIG_UINT getsmbunixgrppos(void *vp)
{
return getsmbfilepwpos(vp);
}
This must be treated as an opaque token.
*************************************************************************/
-static BOOL setsmbfilegrppos(void *vp, SMB_BIG_UINT tok)
+static BOOL setsmbunixgrppos(void *vp, SMB_BIG_UINT tok)
{
return setsmbfilepwpos(vp, tok);
}
/*************************************************************************
Routine to return the next smbpassgroup entry
*************************************************************************/
-static struct smb_passwd *getsmbfilegrpent(void *vp,
+static struct smb_passwd *getsmbunixgrpent(void *vp,
uint32 **grp_rids, int *num_grps,
uint32 **als_rids, int *num_alss)
{
if (vp == NULL)
{
- DEBUG(0,("getsmbfilegrpent: Bad password file pointer.\n"));
+ DEBUG(0,("getsmbunixgrpent: Bad password file pointer.\n"));
return NULL;
}
static struct passgrp_ops file_ops =
{
- startsmbfilegrpent,
- endsmbfilegrpent,
- getsmbfilegrppos,
- setsmbfilegrppos,
+ startsmbunixgrpent,
+ endsmbunixgrpent,
+ getsmbunixgrppos,
+ setsmbunixgrppos,
iterate_getsmbgrpnam, /* In passgrp.c */
iterate_getsmbgrpuid, /* In passgrp.c */
iterate_getsmbgrprid, /* In passgrp.c */
- getsmbfilegrpent,
+ getsmbunixgrpent,
};
struct passgrp_ops *unix_initialise_password_grp(void)