r.s1 at gmx.at
2010-Apr-03 15:00 UTC
[Samba] question difference of roaming profile between WinXP and Win7
Hello I want to add Win7 machine to my Samba PDC with WinXP clients. Google tells me I have to add a .V2 to my profiles. The samba log ask about a .v2 share. Can someone explain me the difference of the v2 extension at the profile names and the roaming profile share? Following my settings: smb.conf: [global] logon path = \\%L\nt-profile logon home = \\%L\nt-profile [nt-profile] comment = Client Profiles path = /BUERO/samba/nt-profile/%u read only = No create mask = 0600 directory mask = 0700 [nt-profile.v2] comment = Client Profiles path = /BUERO/samba/nt-profile/%u read only = No create mask = 0600 directory mask = 0700 ls -l /BUERO/samba/nt-profile drwsrwsr-x 24 kira users 4096 2010-04-03 16:16 kira drwxr-sr-x 2 kira users 4096 2010-04-02 18:59 kira.V2 These are 2 empty profiles. I logged on to user kira with an XP client, set the background colour to green and logged of. Profile kira was filled with data. Now I logged on to user kira with an Win7 client, the background was black. I set the background to yellow and logged of. The profile kira.V2 is still empty. Finally I logged on to kira with XP and the background was yellow. So Win7 and XP are using the same profile, which should be if I understand "mr. google" right. I thought I just had to copy the roaming profiles to a profile with extension .V2. I found following in the samba log during Win7 logon: : get_referred_path: |nt-profile.V2| in dfs path \testserver\nt-profile.V2 is not a dfs root. : Connect path is '/BUERO/samba/nt-profile/kira' for service [nt-profile.v2] : connect to service nt-profile.v2 initially as user kira (uid=524, gid=100) (pid 12087) : reduce_name [.] [/BUERO/samba/nt-profile/kira] : Further, there is a reference to nt-profile.V2 (uppercase V2) and next a connect to nt-profile.v2 (lowercase v2). What is the difference? Finally, the profile kira is used and not kira.V2. Why? Can someone explain me the correct setup of samba for Win7 clients? regards robert -- Sicherer, schneller und einfacher. Die aktuellen Internet-Browser - jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/atbrowser
John Drescher
2010-Apr-03 16:08 UTC
[Samba] question difference of roaming profile between WinXP and Win7
On Sat, Apr 3, 2010 at 11:00 AM, <r.s1 at gmx.at> wrote:> Hello > I want to add Win7 machine to my Samba PDC with WinXP clients. Google tells me I have to add a .V2 to my profiles. The samba log ask about a .v2 share. > Can someone explain me the difference of the v2 extension at the profile names and the roaming profile share? > Following my settings: > > smb.conf: > [global] > ? ? ? ?logon path = \\%L\nt-profile > ? ? ? ?logon home = \\%L\nt-profile > > [nt-profile] > ? ? ? ?comment = Client Profiles > ? ? ? ?path = /BUERO/samba/nt-profile/%u > ? ? ? ?read only = No > ? ? ? ?create mask = 0600 > ? ? ? ?directory mask = 0700 > > [nt-profile.v2] > ? ? ? ?comment = Client Profiles > ? ? ? ?path = /BUERO/samba/nt-profile/%u > ? ? ? ?read only = No > ? ? ? ?create mask = 0600 > ? ? ? ?directory mask = 0700 > >Make two shares. [profiles] and [profiles.v2] At least this is what works for me. John
John Drescher
2010-Apr-03 16:10 UTC
[Samba] question difference of roaming profile between WinXP and Win7
On Sat, Apr 3, 2010 at 12:08 PM, John Drescher <drescherjm at gmail.com> wrote:> On Sat, Apr 3, 2010 at 11:00 AM, ?<r.s1 at gmx.at> wrote: >> Hello >> I want to add Win7 machine to my Samba PDC with WinXP clients. Google tells me I have to add a .V2 to my profiles. The samba log ask about a .v2 share. >> Can someone explain me the difference of the v2 extension at the profile names and the roaming profile share? >> Following my settings: >> >> smb.conf: >> [global] >> ? ? ? ?logon path = \\%L\nt-profile >> ? ? ? ?logon home = \\%L\nt-profile >> >> [nt-profile] >> ? ? ? ?comment = Client Profiles >> ? ? ? ?path = /BUERO/samba/nt-profile/%u >> ? ? ? ?read only = No >> ? ? ? ?create mask = 0600 >> ? ? ? ?directory mask = 0700 >> >> [nt-profile.v2] >> ? ? ? ?comment = Client Profiles >> ? ? ? ?path = /BUERO/samba/nt-profile/%u >> ? ? ? ?read only = No >> ? ? ? ?create mask = 0600 >> ? ? ? ?directory mask = 0700 >> >> > > Make two shares. > > [profiles] > > and > > [profiles.v2] > > At least this is what works for me. >Also. They can NOT point to the same path. That was the point of having a .v2. Vista+ and XP profiles are not compatible with each other. John
Christian Rost
2010-Apr-03 22:00 UTC
[Samba] question difference of roaming profile between WinXP and Win7
Hi, IMHO both profiles can stay within the same share, so you don't need a separate .v2 share. It's the same with Windows 2003 Server and a mixture of XP/ Vista/Seven Clients. What you need to keep in mind is that Windows XP profiles are not compatible with Vista/Seven profiles - hence the ".v2" suffix and they're completely different profiles. When you're logging into Vista/Seven for the first time, your exisitng pre-Vista profile will be converted and will be renamed to <username>.v2. Each time you're logging into Vista/ Seven the "<username>.v2" profile will be updated, and each time you're logging into XP your "<username>" profile will be updated. Cheers, Christian ==========================================================Dipl.-Ing. Christian Rost roCon - Informationstechnologie Glatzer Weg 4 44534 L?nen fon: +49 (0) 2306 910 658 fax: +49 (0) 2306 910 664 url: http://www.rocon-it.de --------r.s1 at gmx.at wrote-------- Subject: [Samba] question difference of roaming profile between WinXP and Win7 Date: 03.04.2010 17:02>Hello >I want to add Win7 machine to my Samba PDC with WinXP clients. Google >tells me I have to add a .V2 to my profiles. The samba log ask about a .v2 >share. >Can someone explain me the difference of the v2 extension at the profile >names and the roaming profile share? >Following my settings: > >smb.conf: >[global] > logon path = \\%L\nt-profile > logon home = \\%L\nt-profile > >[nt-profile] > comment = Client Profiles > path = /BUERO/samba/nt-profile/%u > read only = No > create mask = 0600 > directory mask = 0700 > >[nt-profile.v2] > comment = Client Profiles > path = /BUERO/samba/nt-profile/%u > read only = No > create mask = 0600 > directory mask = 0700 > > >ls -l /BUERO/samba/nt-profile >drwsrwsr-x 24 kira users 4096 2010-04-03 16:16 kira >drwxr-sr-x 2 kira users 4096 2010-04-02 18:59 kira.V2 > >These are 2 empty profiles. >I logged on to user kira with an XP client, set the background colour to >green and logged of. Profile kira was filled with data. Now I logged on to >user kira with an Win7 client, the background was black. I set the >background to yellow and logged of. The profile kira.V2 is still empty. >Finally I logged on to kira with XP and the background was yellow. So Win7 >and XP are using the same profile, which should be if I understand "mr. >google" right. I thought I just had to copy the roaming profiles to a >profile with extension .V2. > >I found following in the samba log during Win7 logon: > : >get_referred_path: |nt-profile.V2| in dfs path \testserver\nt-profile.V2 >is not a dfs root. > : >Connect path is '/BUERO/samba/nt-profile/kira' for service [nt-profile.v2] > : >connect to service nt-profile.v2 initially as user kira (uid=524, gid=100) >(pid 12087) > : >reduce_name [.] [/BUERO/samba/nt-profile/kira] > : > >Further, there is a reference to nt-profile.V2 (uppercase V2) and next a >connect to nt-profile.v2 (lowercase v2). What is the difference? Finally, >the profile kira is used and not kira.V2. Why? > >Can someone explain me the correct setup of samba for Win7 clients? > >regards robert >-- >Sicherer, schneller und einfacher. Die aktuellen Internet-Browser - >jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/atbrowser >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba >
r.s1 at gmx.at
2010-Apr-10 11:39 UTC
[Samba] question difference of roaming profile between WinXP and Win7
Hello @Damien I remove nt-profile.v2 and deleted all server profiles in Win7 but I still was logged on using a temporary profile. I found a msg in sambalog like: service [nt-profile.v2] not found @Linda I made the same experince. There was never a profile <username>.V2 referenced and used. Now I'm fully confused in that topic. I my test environment (1 PDC, 1 WinXP and 1 Win7 virtual machines), I was able to logon with win7 using a server profile with just <username>. The profile was newly created and empty and samba had defined a [nt-profile.v2] share. The same settings don't work in my production environment. I have the same settings, defined a new user but Win7 is logging on using a temp profile. I set log level to 4, inspected all messages but couldn't find any reason why a temp profile. Does someone have a good tip for me for further investigation or a reason? This there a link available "How to setup samba with win 7 clients"? regards robert -------- Original-Nachricht --------> Datum: Sun, 4 Apr 2010 16:37:34 +0100 > Von: Damien Dye <damien.j.dye at googlemail.com> > An: r.s1 at gmx.at > CC: samba at lists.samba.org > Betreff: Re: [Samba] question difference of roaming profile between WinXP and Win7> Robert > > remove the .V2 share and then remove your profiles from vista/win 7 at > this > reg key > > HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList > > then all will work as expected. > > > -- > Damien Dye BSC(hon) > > > > On 4 April 2010 16:15, <r.s1 at gmx.at> wrote: > > > Hello Christian > > This what I expected with Win7 clients. But in my case XP and 7 are > using > > the same profile (which shouldn't be), but from different shares. It > seems > > XP is connecting to the profiles via my share [nt-profile] and Win7 via > > share [nt-profile.v2]. If i comment [nt-profile.v2], Win7 cannot connect > to > > the profile (it starts always with an temporary profile). My > <username>.V2 > > profiles are still empty. I never saw an logentry pointing to > <username>.V2. > > Several hits in google answers just to create/copy a <username>.V2 > directory > > and that's it. Which didn't work for me. [nt-profile.v2] was just a > guess > > due to entries from the samba logs. The only possibility I see, is to > define > > "path = /BUERO/samba/nt-profile/%u.V2" (or something similar) in > > [nt-profile.v2] to differentiate between XP and 7. Who is adding the v2 > > extension? Is it samba or Win7? > > I'm running Samba 3.4.3. > > > > regards Robert > > > > -------- Original-Nachricht -------- > > > Datum: Sun, 4 Apr 2010 00:00:40 +0200 (CEST) > > > Von: Christian Rost <cr at rocon-it.de> > > > An: r.s1 at gmx.at > > > CC: samba at lists.samba.org > > > Betreff: RE: [Samba] question difference of roaming profile between > WinXP > > and Win7 > > > > > Hi, > > > > > > IMHO both profiles can stay within the same share, so you don't need a > > > separate .v2 share. It's the same with Windows 2003 Server and a > mixture > > of > > > XP/ Vista/Seven Clients. > > > > > > What you need to keep in mind is that Windows XP profiles are not > > > compatible with Vista/Seven profiles - hence the ".v2" suffix and > they're > > > completely different profiles. When you're logging into Vista/Seven > for > > the first > > > time, your exisitng pre-Vista profile will be converted and will be > > renamed > > > to <username>.v2. Each time you're logging into Vista/ Seven the > > > "<username>.v2" profile will be updated, and each time you're logging > > into XP your > > > "<username>" profile will be updated. > > > > > > Cheers, > > > > > > Christian > > > > > > ==========================================================> > > Dipl.-Ing. Christian Rost > > > roCon - Informationstechnologie > > > Glatzer Weg 4 > > > > > > 44534 L?nen > > > > > > fon: +49 (0) 2306 910 658 > > > fax: +49 (0) 2306 910 664 > > > url: http://www.rocon-it.de > > > > > > > > > > > > --------r.s1 at gmx.at wrote-------- > > > Subject: [Samba] question difference of roaming profile between WinXP > > > and Win7 > > > Date: 03.04.2010 17:02 > > > > > > >Hello > > > >I want to add Win7 machine to my Samba PDC with WinXP clients. Google > > > >tells me I have to add a .V2 to my profiles. The samba log ask about > a > > > .v2 > > > >share. > > > >Can someone explain me the difference of the v2 extension at the > profile > > > >names and the roaming profile share? > > > >Following my settings: > > > > > > > >smb.conf: > > > >[global] > > > > logon path = \\%L\nt-profile > > > > logon home = \\%L\nt-profile > > > > > > > >[nt-profile] > > > > comment = Client Profiles > > > > path = /BUERO/samba/nt-profile/%u > > > > read only = No > > > > create mask = 0600 > > > > directory mask = 0700 > > > > > > > >[nt-profile.v2] > > > > comment = Client Profiles > > > > path = /BUERO/samba/nt-profile/%u > > > > read only = No > > > > create mask = 0600 > > > > directory mask = 0700 > > > > > > > > > > > >ls -l /BUERO/samba/nt-profile > > > >drwsrwsr-x 24 kira users 4096 2010-04-03 16:16 kira > > > >drwxr-sr-x 2 kira users 4096 2010-04-02 18:59 kira.V2 > > > > > > > >These are 2 empty profiles. > > > >I logged on to user kira with an XP client, set the background colour > to > > > >green and logged of. Profile kira was filled with data. Now I logged > on > > > to > > > >user kira with an Win7 client, the background was black. I set the > > > >background to yellow and logged of. The profile kira.V2 is still > empty. > > > >Finally I logged on to kira with XP and the background was yellow. So > > > Win7 > > > >and XP are using the same profile, which should be if I understand > "mr. > > > >google" right. I thought I just had to copy the roaming profiles to a > > > >profile with extension .V2. > > > > > > > >I found following in the samba log during Win7 logon: > > > > : > > > >get_referred_path: |nt-profile.V2| in dfs path > \testserver\nt-profile.V2 > > > >is not a dfs root. > > > > : > > > >Connect path is '/BUERO/samba/nt-profile/kira' for service > > > [nt-profile.v2] > > > > : > > > >connect to service nt-profile.v2 initially as user kira (uid=524, > > > gid=100) > > > >(pid 12087) > > > > : > > > >reduce_name [.] [/BUERO/samba/nt-profile/kira] > > > > : > > > > > > > >Further, there is a reference to nt-profile.V2 (uppercase V2) and > next a > > > >connect to nt-profile.v2 (lowercase v2). What is the difference? > > Finally, > > > >the profile kira is used and not kira.V2. Why? > > > > > > > >Can someone explain me the correct setup of samba for Win7 clients? > > > > > > > >regards robert > > > >-- > > > >Sicherer, schneller und einfacher. Die aktuellen Internet-Browser - > > > >jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/atbrowser > > > >-- > > > >To unsubscribe from this list go to the following URL and read the > > > >instructions: https://lists.samba.org/mailman/options/samba > > > > > > > > -- > > Sicherer, schneller und einfacher. Die aktuellen Internet-Browser - > > jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/atbrowser > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: https://lists.samba.org/mailman/options/samba > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba-- Sicherer, schneller und einfacher. Die aktuellen Internet-Browser - jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/atbrowser -- GMX.at - ?sterreichs FreeMail-Dienst mit ?ber 2 Mio Mitgliedern E-Mail, SMS & mehr! Kostenlos: http://portal.gmx.net/de/go/atfreemail