svn commit: samba r13845 - in trunk/source/utils: .
idra at samba.org
idra at samba.org
Sun Mar 5 18:24:34 GMT 2006
Author: idra
Date: 2006-03-05 18:24:34 +0000 (Sun, 05 Mar 2006)
New Revision: 13845
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13845
Log:
Check if we have LDAP libraries
Modified:
trunk/source/utils/net_sam.c
Changeset:
Modified: trunk/source/utils/net_sam.c
===================================================================
--- trunk/source/utils/net_sam.c 2006-03-05 17:50:47 UTC (rev 13844)
+++ trunk/source/utils/net_sam.c 2006-03-05 18:24:34 UTC (rev 13845)
@@ -747,6 +747,8 @@
return 0;
}
+#ifdef HAVE_LDAP
+
/*
* Init an LDAP tree with default users and Groups
* if ldapsam:editposix is enabled
@@ -1131,6 +1133,8 @@
return -1;
}
+#endif
+
/***********************************************************
migrated functionality from smbgroupedit
**********************************************************/
@@ -1153,8 +1157,10 @@
"Show details of a SAM entry" },
{ "set", net_sam_set,
"Set details of a SAM account" },
+#ifdef HAVE_LDAP
{ "provision", net_sam_provision,
"Provision a clean User Database" },
+#endif
{ NULL, NULL, NULL }
};
More information about the samba-cvs
mailing list