Web lists-archives.com

Re: [Samba] Windows 10 1709 detected as OSX




Hai Christian, 

I did a quick check on one server. 
Debian 9, Samba 4.7.7 amd64
>From a Win10 Pro (Dutch) 1709 build 16299.371 

Results in this in my logs. 
/srv/profiles/username/Vista

Test share setup. 
[proftest]
     browseable = yes
     writeable = yes
     path = /srv/profiles/%U/%a

I would have expected : UNKNOWN and not Vista. 

But why such setup, for profiles windows its own.. 

Windows XP/2003 V1 (no extension used)
Windows Vista/2008  .V2
Windows 7/2008 R2   .V2
Windows 8/2012      .V2 or V3 if hotfix and registry change used
Windows 8.1/2012 R2 .V2 or V4 if hotfix and registry change used
Windows 10/2016     .V5 1507 and 1511 
Windows 10          .V6 1607 and up. 


Greetz, 

Louis




> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces@xxxxxxxxxxxxxxx] Namens 
> Christian Naumer via samba
> Verzonden: woensdag 25 april 2018 14:16
> Aan: samba@xxxxxxxxxxxxxxx
> Onderwerp: Re: [Samba] Windows 10 1709 detected as OSX
> 
> Has anybody seen this in their environment? Or can check if 
> using %a in
> logging if this is always the case for release 1709 of Windows10?
> 
> Regards
> 
> 
> Christian
> 
> Am 23.04.2018 um 13:48 schrieb Christian Naumer via samba:
> > Hello all,
> > I have a weird problem. We have several Windows 10 machines on our
> > Network. All but one run older releases than 1709. We are 
> using roaming
> > profiles on those machines. The share is setup up as to 
> allow different
> > profiles depending on the machine used (see below). The %a 
> is used as a
> > legacy from times where WinXP and Win7 were used in 
> parallel. The path
> > then looks like this:
> > 
> > /srv/profiles/Vista/user.v6
> > 
> > Now with this one machine and Windows 1709 Windows is samba 
> thinks it
> > should be:
> > 
> > /srv/profiles/OSX/user.v6
> > 
> > 
> > Which fails after the first login (profile is created at first
> > location). Subsequent logins bring up an error message that 
> the profile
> > could not be loaded. And on the samba side this is logged:
> > 
> > canonicalize_connect_path failed for service profiles, path
> > /srv/profiles/user/OSX
> > 
> > Here is the share definition:
> > 
> > [profiles]
> >         csc policy = disable
> >         browseable = no
> >         writeable = yes
> >         path = /srv/profiles/%U/%a
> >         guest ok = no
> >         create mask = 0700
> >         directory mask = 0700
> >         comment = Profile Share
> > 
> > Samba is 4.7.7 from Sernet running on Centos 7.4. If we create the
> > folder everything starts working. Just wondering is anybody 
> seen this? I
> > find it amusing to let windows 10 run as OSX :-) Nut if 
> ever some people
> > upgrade to 1709 an loose their profiles we would have to 
> deal with this.
> > 
> > Googling found this:
> > 
> > https://bugzilla.samba.org/show_bug.cgi?id=12425
> > 
> > 
> > but this never went any further. Might be related?
> > 
> > 
> > Regards
> > 
> > 
> > Christian
> > 
> 
> -- 
> Dr. Christian Naumer
> Research Scientist
> Plattform-Koordinator Bioprozesstechnik
> 
> B.R.A.I.N Aktiengesellschaft
> Darmstaedter Str. 34-36, D-64673 Zwingenberg
> e-mail cn@xxxxxxxxxxxxxxxx, homepage www.brain-biotech.de
> fon +49-6251-9331-30  /   fax +49-6251-9331-11
> 
> Sitz der Gesellschaft: Zwingenberg/Bergstrasse
> Registergericht AG Darmstadt, HRB 24758
> Vorstand: Dr. Juergen Eck (Vorsitzender), Frank Goebel
> Aufsichtsratsvorsitzender: Dr. Ludger Mueller
> 
> -- 
> 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