Upgrade from 2.05a to 2.06 killed roaming profiles
Giulio Orsero
giulioo at pobox.com
Fri Dec 10 18:18:19 GMT 1999
On Sat, 11 Dec 1999 04:14:53 +1100, hai scritto:
>Anyone else witnessed this? Know how to fix it?
This is a known 2.0.6 problem, to solve it you can revert to 2.0.5
behavior (net use x: /home won't work anymore):
--- source/smbd/ipc.c.orig Sun Nov 14 10:09:40 1999
+++ source/smbd/ipc.c Sun Nov 14 10:10:23 1999
@@ -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_home());
+ pstrcpy(p2, lp_logon_path());
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_home());
+ pstrcpy(p2,lp_logon_path());
p2 = skip_string(p2,1);
SIVAL(p,48,PTR_DIFF(p2,*rdata)); /* comment */
*p2++ = 0;
--
giulioo at pobox.com
More information about the samba-ntdom
mailing list