[%U] instead of [homes] ? (PR#2093)

Andrew Tridgell samba-bugs at samba.anu.edu.au
Wed Nov 26 23:50:01 GMT 1997


> 
> I'm trying to implement a [%U] share instead of using [homes].
> It turns out that the client cannot connect to the user's
> home dir.  What's going on here?

Oh no! my all time favourite smb.conf hack is broken! It just goes to show
that we should test this sort of thing before releasing each version :-)

Here is a patch to loadparm.c to get this working again:

--- loadparm.c	1997/11/22 13:48:26	1.47.2.7
+++ loadparm.c	1997/11/26 23:49:04
@@ -2103,7 +2103,7 @@
 
    for (iService = iNumServices - 1; iService >= 0; iService--)
       if (VALID(iService) &&
-	  strwicmp(iSERVICE(iService).szService, pszServiceName) == 0) 
+	  strequal(lp_servicename(iService), pszServiceName)) 
          break;
 
    if (iService < 0)



More information about the samba mailing list