svn commit: samba r8155 - branches/SAMBA_3_0/source/sam trunk/source/sam

gd at samba.org gd at samba.org
Mon Jul 4 19:16:34 GMT 2005


Author: gd
Date: 2005-07-04 19:16:34 +0000 (Mon, 04 Jul 2005)
New Revision: 8155

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8155

Log:
ops, add missing function.

Guenther

Modified:
   branches/SAMBA_3_0/source/sam/idmap_util.c
   trunk/source/sam/idmap_util.c


Changeset:
Modified: branches/SAMBA_3_0/source/sam/idmap_util.c
===================================================================
--- branches/SAMBA_3_0/source/sam/idmap_util.c	2005-07-04 17:04:36 UTC (rev 8154)
+++ branches/SAMBA_3_0/source/sam/idmap_util.c	2005-07-04 19:16:34 UTC (rev 8155)
@@ -184,3 +184,17 @@
 
 	return ret;
 }
+
+/* placeholder for checking lp_winbind_nss_info() */
+BOOL use_nss_info(const char *info)
+{
+	int i;
+	const char **list = lp_winbind_nss_info();
+
+	for (i=0; list[i]; i++) {
+		if (strequal(list[i], info))
+			return True;
+	}
+
+	return False;
+}

Modified: trunk/source/sam/idmap_util.c
===================================================================
--- trunk/source/sam/idmap_util.c	2005-07-04 17:04:36 UTC (rev 8154)
+++ trunk/source/sam/idmap_util.c	2005-07-04 19:16:34 UTC (rev 8155)
@@ -184,3 +184,17 @@
 
 	return ret;
 }
+
+/* placeholder for checking lp_winbind_nss_info() */
+BOOL use_nss_info(const char *info)
+{
+	int i;
+	const char **list = lp_winbind_nss_info();
+
+	for (i=0; list[i]; i++) {
+		if (strequal(list[i], info))
+			return True;
+	}
+
+	return False;
+}



More information about the samba-cvs mailing list