Hi, I am having a "logon home" problem. I have a mixture of Win98 and WinXP machines and regardless which I use to connect to the Samba server, it will try to map the home drive to what I have set the "logon home = " to. This is the line .. "logon home = \\%N\profile.%U" The user is admin This is the error I see in the syslog from a Win98 Machine: lab_thinkpad (192.168.30.180) couldn't find service profile.admin and from a WinXP machine: genserv-lab4 (192.168.30.184) couldn't find service profile.admin If I create a folder in the home share called "profile.admin", then WinXP will map the Home drive to it instead of the parent of profile.admin. If I remove the logon home line from the smb.conf file, WinXP will map the Home drive to the home share root correctly, but the Win98 client will put the profile information in the home share root, and I want it in a folder called profile.%U under the home share. This is the full smb.conf: [global] netbios name = Samba-1 workgroup = TESTGROUP log file = /var/log/samba/%U.log syslog = 1 max log size = 1000 time server = Yes add machine script = /usr/sbin/useradd -d /dev/null -g 110 -s /bin/false -M %u logon script = logon.bat logon path = \\%N\Profiles\%U logon home = \\%N\profile.%U logon drive = H: domain logons = Yes domain master = Yes wins support = Yes security = user os level = 65 admin users = admin, ron [netlogon] path = /usr/local/samba/lib/netlogon browseable = No [homes] read only = No browseable = No guest ok = No map archive = No [profiles] path = /home/testshare/%g/Profiles browsable = no writable = yes create mask = 0600 directory mask = 0700 #end The logon.bat file is: @echo on net use H: /home pause The server is a Mandrake 10.1 (before Mandriva), but samba is NOT an RPM, it's from samba.org source version 3.0.14a, configured with the following arguments: $ ./configure --bindir=/usr/local/bin --sbindir=/usr/local/sbin --sysconfdir=/etc --with-msdfs --with-smbwrapper --with-smbmount --with-quotas --with-acl-support --with-syslog I've RTFM for the last 2 solid 16 hour days, I'm baffled. I would very much appreciate any help anyone out there can offer. Thanks, R Smith
Ron Smith wrote:> Hi, > > I am having a "logon home" problem. I have a mixture of Win98 and WinXP > machines and regardless which I use to connect to the Samba server, it > will try to map the home drive to what I have set the "logon home = " to.That's not quite correct, only the WinXP machine will try to use the value of "logon home" as the home folder.> This is the line .. "logon home = \\%N\profile.%U" > The user is admin > This is the error I see in the syslog from a Win98 Machine: > lab_thinkpad (192.168.30.180) couldn't find service profile.admin > and from a WinXP machine: > genserv-lab4 (192.168.30.184) couldn't find service profile.admin > > If I create a folder in the home share called "profile.admin", then > WinXP will map the Home drive to it instead of the parent of > profile.admin. If I remove the logon home line from the smb.conf file, > WinXP will map the Home drive to the home share root correctly, but the > Win98 client will put the profile information in the home share root, > and I want it in a folder called profile.%U under the home share.I'm replying to my own post .... I still don't know why a Windows XP machine will try to use the "logon home" value as it's home folder instead of what's in the /etc/passwd file on the Samba PDC, but until I find out, I came up with a work-around. I changed "logon home = \\%N\profile.%U" to "logon home = \\%N\profile.%a", so that when a user at a Win98 machine logs on, his profile is stored in the profile.Win95 folder. When that user is at a WinXP machine and logs on, it looks for a profile.WinXP folder, doesn't find it and uses the correct home folder instead. R Smith
Maybe Matching Threads
- How to find all single minima, i.e. only each one within each next part of analyzed vector (table)
- negative superscripts in axis labels
- Logon path, logon home, logion drive, %u %U samba 3pre1 mix env win 98 and win XP config questions ( easy answers )
- Home drive and logon scripts intermitently not applied
- Help! WinXP failed to logon via Samba