diff options
author | Luke Leighton <lkcl@samba.org> | 1998-11-23 21:51:05 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-11-23 21:51:05 +0000 |
commit | 4cee58780cb15fe5889b9dd0dc34459512d75062 (patch) | |
tree | 07e0db236cfdb786458451b879333bc1d687cf3c /source3/passdb/smbpassgroup.c | |
parent | 735926877bb8333a9e862657ea89001bea376b9f (diff) | |
download | samba-4cee58780cb15fe5889b9dd0dc34459512d75062.tar.gz samba-4cee58780cb15fe5889b9dd0dc34459512d75062.tar.xz samba-4cee58780cb15fe5889b9dd0dc34459512d75062.zip |
unix instance of group database API
(This used to be commit e76f593b3572ac881f1aa1fb3326d8b7169b0078)
Diffstat (limited to 'source3/passdb/smbpassgroup.c')
-rw-r--r-- | source3/passdb/smbpassgroup.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/source3/passdb/smbpassgroup.c b/source3/passdb/smbpassgroup.c index f3a0d4244b9..8e92f0e831d 100644 --- a/source3/passdb/smbpassgroup.c +++ b/source3/passdb/smbpassgroup.c @@ -19,7 +19,7 @@ #include "includes.h" -#ifdef USE_SMBPASS_DB +#ifdef USE_SMBGROUP_DB static int grp_file_lock_depth = 0; extern int DEBUGLEVEL; @@ -96,7 +96,7 @@ static struct smb_passwd *getsmbfilegrpent(void *vp, /* * The line we have should be of the form :- * - * username:uid:domainrid1,domainrid2..:aliassid1,aliassid2..: + * username:uid:aliassid1,aliassid2..:domainrid1,domainrid2..: */ /* @@ -116,9 +116,7 @@ static struct smb_passwd *getsmbfilegrpent(void *vp, pw_buf.smb_userid = uidval; /* - * Now get the password value - this should be 32 hex digits - * which are the ascii representations of a 16 byte string. - * Get two at a time and put them into the password. + * Now get a list of alias RIDs */ /* Skip the ':' */ @@ -139,6 +137,10 @@ static struct smb_passwd *getsmbfilegrpent(void *vp, } } + /* + * Now get a list of group RIDs + */ + /* Skip the ':' */ p++; |