[patch] build error, 2.2 CVS

Peter Samuelson peter at cadcamlab.org
Sat Aug 25 02:01:00 GMT 2001


Against 2.2 CVS.

Peter


Index: utils/smbpasswd.c
===================================================================
RCS file: /cvsroot/samba/source/utils/smbpasswd.c,v
retrieving revision 1.93.2.11
diff -u -r1.93.2.11 smbpasswd.c
--- utils/smbpasswd.c	24 Aug 2001 17:58:22 -0000	1.93.2.11
+++ utils/smbpasswd.c	25 Aug 2001 01:56:22 -0000
@@ -540,6 +540,7 @@
 	return ret;
 }
 
+#ifdef WITH_LDAP
 /*******************************************************************
  Store the LDAP admin password in secrets.tdb
  ******************************************************************/
@@ -558,6 +559,7 @@
 	
 	return secrets_store_ldap_pw(lp_ldap_admin_dn(), pw);
 }
+#endif
 
 /*************************************************************
  Handle password changing for root.




More information about the samba-technical mailing list