samba-2.0.6pre2
Jeremy Allison
jallison at cthulhu.engr.sgi.com
Thu Oct 21 19:44:06 GMT 1999
Giulio Orsero wrote:
>
> 3)
> I use:
> logon path = \\%L\Profiles\%U
> logon home = \\%L\%U
> The command
> net use h: /home
> maps h: to \\%L\Profiles instead of \\%L\%U
I think I've found the problem here. Can you try this
patch against 2.0.6pre2 please ? This fix will be in
2.0.6pre3.
Thanks,
Jeremy.
--------------------------------------------------------
Index: smbd/ipc.c
===================================================================
RCS file: /data/cvs/samba/source/smbd/ipc.c,v
retrieving revision 1.135.2.13.2.5
diff -u -r1.135.2.13.2.5 ipc.c
--- ipc.c 1999/09/21 21:20:47 1.135.2.13.2.5
+++ ipc.c 1999/10/21 19:43:20
@@ -2478,7 +2478,7 @@
SIVAL(p,usri11_auth_flags,AF_OP_PRINT); /* auth flags */
SIVALS(p,usri11_password_age,-1); /* password age
*/
SIVAL(p,usri11_homedir,PTR_DIFF(p2,p)); /* home dir */
- pstrcpy(p2, lp_logon_path());
+ pstrcpy(p2, lp_logon_home());
p2 = skip_string(p2,1);
SIVAL(p,usri11_parms,PTR_DIFF(p2,p)); /* parms */
pstrcpy(p2,"");
@@ -2514,7 +2514,7 @@
SSVAL(p,42,
conn->admin_user?USER_PRIV_ADMIN:USER_PRIV_USER);
SIVAL(p,44,PTR_DIFF(p2,*rdata)); /* home dir */
- pstrcpy(p2,lp_logon_path());
+ pstrcpy(p2,lp_logon_home());
p2 = skip_string(p2,1);
SIVAL(p,48,PTR_DIFF(p2,*rdata)); /* comment */
*p2++ = 0;
--------------------------------------------------------
--
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------
More information about the samba-technical
mailing list