svn commit: samba r24915 - in branches/SAMBA_4_0/source/param: .

abartlet at samba.org abartlet at samba.org
Mon Sep 3 04:05:51 GMT 2007


Author: abartlet
Date: 2007-09-03 04:05:50 +0000 (Mon, 03 Sep 2007)
New Revision: 24915

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

Log:
Try to quiet down this warning - the 'classic' share code doesn't
support passwords for share-mode security (we don't even support share
mode security, and are unlikely ever to).

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/param/share_classic.c


Changeset:
Modified: branches/SAMBA_4_0/source/param/share_classic.c
===================================================================
--- branches/SAMBA_4_0/source/param/share_classic.c	2007-09-03 02:51:24 UTC (rev 24914)
+++ branches/SAMBA_4_0/source/param/share_classic.c	2007-09-03 04:05:50 UTC (rev 24915)
@@ -89,6 +89,10 @@
 		return lp_fstype(s->snum);
 	}
 
+	if (strcmp(opt_name, SHARE_PASSWORD) == 0) {
+		return defval;
+	}
+
 	DEBUG(0,("request for unknown share string option '%s'\n",
 		 opt_name));
 



More information about the samba-cvs mailing list