"logon path" directive being ignored for roaming profiles w/ 2.0.6

Giulio Orsero giulioo at pobox.com
Thu Jan 13 14:07:08 GMT 2000


On Fri, 14 Jan 2000 00:53:26 +1100, hai scritto:

>When logging in, the login dialog contains options for [user, password,
>domain], and not just [user, password], as expected.
If you tell win9x to logon to an nt domain this is normal.
>The only thing that doesn't work correctly is specifying the location
>of the profile files.
This is a known 2.0.6 problem.

If the profile location is really important to you and cannot wait for
2.0.7, you can go back to 2.0.5 or apply this to 2.0.6 (reverts to 2.0.5
behavior with profiles working and "net use h: /home" not working):

--- 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