Hello, i got some clients (WINDOWS7 and WINDOWS10) to connect to samba shares. OS is openSUSE 12.2; 13.1; 42.1 Samba-Version: 3.6.7; 4.1.22; 4.2.4 smb.conf is shown below. The samba setup is a workgroup setup, the W7-clients are set up to the workgroup 'workgroup'. No further changes are made to the W7-clients. samba setup: groupadd workgroup chgrp -R workgroup /srv/samba chmod -R 770 /srv/samba chmod g+s /srv/samba for ((i=1;i<21;i++));do useradd -g workgroup -p "" user$i;done for ((i=1;i<21;i++));do pdbedit -c '[NX ]' -u user$i;done Connecting W7 to the samba shares is working, but W10 won't connect to the shares. net use y: \\192.168.0.98\share1 /USER:user1 net use z: \\192.168.0.98\dump /USER:user1 This won't work on W10-clients. First question: Man pages: client max protocol (G) The value of the parameter (a string) is the highest protocol level that will be supported by the client. Are here meant WINDOWS-clients or to samba-clients? Second question: How can connect to the shares with 'net use' command? Which options are realy necessary? smb.conf: [global] security = USER server string = Samba Server workgroup = WORKGROUP os level = 66 guest ok = no null passwords = yes unix password sync = yes passwd program = /usr/bin/passwd %u passdb expand explicit = no passdb backend = tdbsam lanman auth = yes client lanman auth = yes client plaintext auth = yes smb encrypt = no interfaces = eth* lo bind interfaces only = yes smb ports = 139 unix extensions = no host msdfs = no log level = 2 log file = /var/log/samba/samba.log.%U time server = yes local master = yes domain master = yes preferred master = yes wins support = yes name resolve order = wins lmhosts host bcast dns proxy = no wins proxy = no load printers = yes printing = cups printer name = cups printcap name = cups printcap cache time = 750 lpq cache time = 0 cups options = raw show add printer wizard = no # entry for SAMBA 4 in openSUSE 42.1 # this is needed for a special softare acl allow execute always = yes # restrict protocol for W7, W8, W10 ? max protocol = SMB2 [homes] comment = Home Directories valid users = %S, %D%w%S browseable = No read only = No inherit acls = Yes [printers] comment = All Printers path = /var/tmp printable = Yes create mask = 0600 browseable = No valid users = +workgroup write list = +workgroup use client driver = yes read only = yes [share1] path = /srv/samba guest ok = no valid users = +workgroup browseable = yes writeable = yes force group = workgroup create mask = 740 directory mask = 750 force create mode = 020 force directory mode = 020 dos filemode = yes dos filetimes = yes dos filetime resolution = yes hide dot files = yes hide files = /lost+found/ nt acl support = no store dos attributes = yes map archive = no strict locking = yes oplocks = no level2 oplocks = no use sendfile = no msdfs root = no change notify = yes [dump] copy = share1 path =/u01/app/oracle/admin/XE/dpdump valid users = +dba force group = dba This setup is working since openSUSE 11.4 and WINDOWS XP. Best regards A. Klausmann
On 03/04/16 21:39, Achim Klausmann wrote:> Hello, > > i got some clients (WINDOWS7 and WINDOWS10) to connect to samba shares. > > OS is openSUSE 12.2; 13.1; 42.1 > Samba-Version: 3.6.7; 4.1.22; 4.2.4 > smb.conf is shown below. > > The samba setup is a workgroup setup, the W7-clients > are set up to the workgroup 'workgroup'. > No further changes are made to the W7-clients. > > samba setup: > groupadd workgroup > chgrp -R workgroup /srv/samba > chmod -R 770 /srv/samba > chmod g+s /srv/samba > for ((i=1;i<21;i++));do useradd -g workgroup -p "" user$i;done > for ((i=1;i<21;i++));do pdbedit -c '[NX ]' -u user$i;done > > Connecting W7 to the samba shares is working, > but W10 won't connect to the shares. > net use y: \\192.168.0.98\share1 /USER:user1 > net use z: \\192.168.0.98\dump /USER:user1 > > This won't work on W10-clients. > > First question: > Man pages: > client max protocol (G) > The value of the parameter (a string) is the highest protocol > level that will be supported by the client. > > Are here meant WINDOWS-clients or to samba-clients? > > Second question: > How can connect to the shares with 'net use' command? > Which options are realy necessary? > > smb.conf: > [global] > security = USER > server string = Samba Server > workgroup = WORKGROUP > os level = 66 > guest ok = no > null passwords = yes > unix password sync = yes > passwd program = /usr/bin/passwd %u > passdb expand explicit = no > passdb backend = tdbsam > lanman auth = yes > client lanman auth = yes > client plaintext auth = yes > smb encrypt = no > interfaces = eth* lo > bind interfaces only = yes > smb ports = 139 > > unix extensions = no > host msdfs = no > > log level = 2 > log file = /var/log/samba/samba.log.%U > > time server = yes > local master = yes > > domain master = yes > preferred master = yes > > wins support = yes > name resolve order = wins lmhosts host bcast > dns proxy = no > wins proxy = no > > load printers = yes > printing = cups > printer name = cups > printcap name = cups > printcap cache time = 750 > lpq cache time = 0 > cups options = raw > show add printer wizard = no > > # entry for SAMBA 4 in openSUSE 42.1 > # this is needed for a special softare > acl allow execute always = yes > > # restrict protocol for W7, W8, W10 ? > max protocol = SMB2 > > [homes] > comment = Home Directories > valid users = %S, %D%w%S > browseable = No > read only = No > inherit acls = Yes > > [printers] > comment = All Printers > path = /var/tmp > printable = Yes > create mask = 0600 > browseable = No > valid users = +workgroup > write list = +workgroup > use client driver = yes > read only = yes > > [share1] > path = /srv/samba > guest ok = no > valid users = +workgroup > browseable = yes > writeable = yes > force group = workgroup > create mask = 740 > directory mask = 750 > force create mode = 020 > force directory mode = 020 > dos filemode = yes > dos filetimes = yes > dos filetime resolution = yes > hide dot files = yes > hide files = /lost+found/ > nt acl support = no > store dos attributes = yes > map archive = no > strict locking = yes > oplocks = no > level2 oplocks = no > use sendfile = no > msdfs root = no > change notify = yes > [dump] > copy = share1 > path =/u01/app/oracle/admin/XE/dpdump > valid users = +dba > force group = dba > > This setup is working since openSUSE 11.4 and WINDOWS XP. > > Best regards > A. Klausmann > > >Probably the same reason that has been popping up recently, win10 will not connect to a NT style domain (yes I know you aren't running a domain) unless you set 'max protocol = NT1' in smb.conf and restart Samba. Rowland
Hello Rowland thanks for your answer. Am 03.04.2016 um 23:07 schrieb Rowland penny:> Probably the same reason that has been popping up recently, win10 will > not connect to a NT style domain (yes I know you aren't running a > domain) unless you set 'max protocol = NT1' in smb.conf and restart Samba.I will try that. Although the 'max protocol =' is not mentioned in the man pages, it will work on older versions i have in use. Best regards A. Klausmann --
Apparently Analagous Threads
- some questions to samba and W7 and W10
- some questions to samba and W7 and W10
- [PATCH] nv50/ir: Handle OP_CVT when folding constant expressions
- [PATCH v2] nv50/ir: Handle OP_CVT when folding constant expressions
- [PATCH] nv50/ir: Handle OP_CVT when folding constant expressions