summaryrefslogtreecommitdiff
path: root/source3/passdb/smbpassgroup.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/passdb/smbpassgroup.c')
-rw-r--r--source3/passdb/smbpassgroup.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/source3/passdb/smbpassgroup.c b/source3/passdb/smbpassgroup.c
index f3a0d4244b..8e92f0e831 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++;