Auteur Topic: Network share windows 10  (gelezen 3607 keer)

Offline Robbedoes

  • MVP
  • *
  • Bedankjes
  • -Gegeven: 65
  • -Ontvangen: 85
  • Berichten: 611
Re: Network share windows 10
« Reactie #15 Gepost op: 24 december 2020, 16:34:39 »
Als ik naar \\bami\ toega in de verkenner dan vraagt hij helaas om een username wachtwoord en dan kom ik niet verder.

Als je PC dezelfde username en ww heeft als de user op de NAS dan wordt het niet gevraagd.
Als hij er wel om vraagt dan kun je dat laten onthouden.
Je hebt toch wel extra users aangemaakt? Of werk je alleen onder Admin, nee hoop ik?
DS620slim [6x Samsung SSD 870 EVO (TLC) 4TB], 2x8GB Ram, Btrfs - DSM 7.2
met 1 pool SHR-1 (netto 18TB en 1 schijf fouttolerantie)
DS124 [1x Samsung SSD 870 QVO (QLC) 8TB] (back-up NAS) - DSM 7.2
DS214play [2x Seagate NAS HDD 4TB] (ST4000VN000) - DSM 6.2
DS115J      [1x Western Digital Red 4TB] (WD40EFRX) - DSM 6.2

Offline HKLM

  • Bedankjes
  • -Gegeven: 0
  • -Ontvangen: 0
  • Berichten: 8
Network share windows 10
« Reactie #16 Gepost op: 24 december 2020, 23:49:10 »
uiteindelijk aan de /etc/samba/smb.conf 2 regels toegeveogd
log level=10
log file=/var/log/extra-samba.log


En dit gaf een extra logfile, met hierin de volgdende melding:
 check_ntlm_password:  Checking password for unmapped user [bami]\[testuser]@[Speel] with the new password interface

En op basis hiervan https://lists.samba.org/archive/samba/2019-April/222621.html een extra regel in de /etc/samba/smb.conf toegevoegd
ntlm auth=yes

En het werkte :-)

Wet iemand of dit standaard in de DSM7 /etc/samba/smb.conf staat, want in mijn andere DSM6 staat het niet ?
  • Mijn Synology: DS1019+
  • HDD's: 5

Offline Birdy

  • Global Moderator
  • MVP
  • *
  • Bedankjes
  • -Gegeven: 1336
  • -Ontvangen: 7772
  • Berichten: 43.099
  • FIFO / LIFO
    • Truebase
Re: Network share windows 10
« Reactie #17 Gepost op: 25 december 2020, 13:22:08 »
Citaat
Wet iemand of dit standaard in de DSM7 /etc/samba/smb.conf staat, want in mijn andere DSM6 staat het niet ?
Bij mij bestaat /etc/samba/smb.conf bij beide Versies.

DSM6:
root@DS716-II:/etc/samba# cat smb.conf
# Copyright (c) 2000-2019 Synology Inc. All rights reserved.
#
#
#                          ______     _______
#                        (  __  \   (  ___  )
#                        | (  \  )  | (   ) |
#                        | |   ) |  | |   | |
#                        | |   | |  | |   | |
#                        | |   ) |  | |   | |
#                        | (__/  )  | (___) |
#                        (______/   (_______)
#
#                   _          _______   _________
#                  ( (    /|  (  ___  )  \__   __/
#                  |  \  ( |  | (   ) |     ) (
#                  |   \ | |  | |   | |     | |
#                  | (\ \) |  | |   | |     | |
#                  | | \   |  | |   | |     | |
#                  | )  \  |  | (___) |     | |
#                  |/    )_)  (_______)     )_(
#
#   _______    _______    ______    _________   _______
#  (       )  (  ___  )  (  __  \   \__   __/  (  ____ \  |\     /|
#  | () () |  | (   ) |  | (  \  )     ) (     | (    \/  ( \   / )
#  | || || |  | |   | |  | |   ) |     | |     | (__       \ (_) /
#  | |(_)| |  | |   | |  | |   | |     | |     |  __)       \   /
#  | |   | |  | |   | |  | |   ) |     | |     | (           ) (
#  | )   ( |  | (___) |  | (__/  )  ___) (___  | )           | |
#  |/     \|  (_______)  (______/   \_______/  |/            \_/
#
#
# IMPORTANT: Synology will not provide technical support for any issues
#            caused by unauthorized modification to the configuration.

[global]
        printcap name=cups
        winbind enum groups=yes
        include=/var/tmp/nginx/smb.netbios.aliases.conf
        min protocol=NT1
        security=user
        local master=no
        realm=*
        passdb backend=smbpasswd
        printing=cups
        max protocol=SMB3
        winbind enum users=yes
        load printers=yes
        workgroup=WORKGROUP
root@DS716-II:/etc/samba#

DSM7:
root@DSM7:/etc/samba# cat smb.conf
# Copyright (c) 2000-2019 Synology Inc. All rights reserved.
#
#
#                          ______     _______
#                        (  __  \   (  ___  )
#                        | (  \  )  | (   ) |
#                        | |   ) |  | |   | |
#                        | |   | |  | |   | |
#                        | |   ) |  | |   | |
#                        | (__/  )  | (___) |
#                        (______/   (_______)
#
#                   _          _______   _________
#                  ( (    /|  (  ___  )  \__   __/
#                  |  \  ( |  | (   ) |     ) (
#                  |   \ | |  | |   | |     | |
#                  | (\ \) |  | |   | |     | |
#                  | | \   |  | |   | |     | |
#                  | )  \  |  | (___) |     | |
#                  |/    )_)  (_______)     )_(
#
#   _______    _______    ______    _________   _______
#  (       )  (  ___  )  (  __  \   \__   __/  (  ____ \  |\     /|
#  | () () |  | (   ) |  | (  \  )     ) (     | (    \/  ( \   / )
#  | || || |  | |   | |  | |   ) |     | |     | (__       \ (_) /
#  | |(_)| |  | |   | |  | |   | |     | |     |  __)       \   /
#  | |   | |  | |   | |  | |   ) |     | |     | (           ) (
#  | )   ( |  | (___) |  | (__/  )  ___) (___  | )           | |
#  |/     \|  (_______)  (______/   \_______/  |/            \_/
#
#
# IMPORTANT: Synology will not provide technical support for any issues
#            caused by unauthorized modification to the configuration.

[global]
        printcap name=cups
        winbind enum groups=yes
        include=/var/tmp/nginx/smb.netbios.aliases.conf
        min protocol=SMB2
        security=user
        local master=no
        realm=*
        passdb backend=smbpasswd
        printing=cups
        max protocol=SMB3
        winbind enum users=yes
        load printers=yes
        workgroup=WORKGROUP
root@DSM7:/etc/samba#

Enige verschil:
DSM6 min protocol=NT1
DSM7 min protocol=SMB2

Nu heb jij ntlm auth=yes toegevoegd, wat bij mij niet nodig was, zie hier.
Dus op zich wel vreemd, toch ?

Maar, gelet op de waarschuwing, kan jouw aangepaste smb.conf file zomaar weer wijzigen na een update.

Aangezien DSM7 Beta is, zou ik dit toch wel melden bij Synology middels een Ticket, eens kijken wat daaruit uitkomt.

Wat ik overigens niet kan geloven, dat je in DSM6 de file /etc/samba/smb.conf niet hebt.


CS406      DSM 2.0-0731    DS508      DSM 4.0-2265      DS411+II  DSM 6.2.4-25556-7   DS115J    DSM 7.1.1-42962-5   DS918+    DSM 6.2.4-25556-7
DS107+     DSM 3.1-1639    DS411slim  DSM 6.2.4-25556   DS213J    DSM 6.2.3-25426-2   DS1515+   DSM 6.2.4-25556-7   DS220+    DSM 7.2.1-69057-4
DS107+     DSM 3.1-1639    DS111      DSM 5.2-5967-9    DS413J    DSM 6.2.3-25426-2   DS716+II  DSM 6.2.4-25556-7   RT2600ac  SRM 1.2.5-8227-11
BeeDrive 1TB                                                                                                        MR2200ac  SRM 1.2.5-8227-11

Offline HKLM

  • Bedankjes
  • -Gegeven: 0
  • -Ontvangen: 0
  • Berichten: 8
Re: Network share windows 10
« Reactie #18 Gepost op: 25 december 2020, 13:57:45 »
In DSM6 hen ik wel een /etc/samba/smb.conf maar daar staat de optie niet in, dus dat vond ik vreemd. Maar bij jou staat de optie in 7 er ook niet tussen, erg vreemd maar ik ben blij dat het werkt.
Thanks voor checken.
  • Mijn Synology: DS1019+
  • HDD's: 5

Offline Birdy

  • Global Moderator
  • MVP
  • *
  • Bedankjes
  • -Gegeven: 1336
  • -Ontvangen: 7772
  • Berichten: 43.099
  • FIFO / LIFO
    • Truebase
Re: Network share windows 10
« Reactie #19 Gepost op: 25 december 2020, 14:35:13 »
Ik heb nog eens verder gezocht op ntlm en vond alleen dit Synology Artikel:
Ik heb met mijn domeinaccount geen toegang tot een gedeelde map via SMB, maar het werkt wel met mijn DSM-gebruikersaccount. Wat kan ik doen?
De vraag is dus, gebruik je een domeinaccount, dus heb je een domeincontroller ?

Ik in ieder geval niet, dus is deze is n.v.t. voor mij, maar misschien wel voor jou ?


CS406      DSM 2.0-0731    DS508      DSM 4.0-2265      DS411+II  DSM 6.2.4-25556-7   DS115J    DSM 7.1.1-42962-5   DS918+    DSM 6.2.4-25556-7
DS107+     DSM 3.1-1639    DS411slim  DSM 6.2.4-25556   DS213J    DSM 6.2.3-25426-2   DS1515+   DSM 6.2.4-25556-7   DS220+    DSM 7.2.1-69057-4
DS107+     DSM 3.1-1639    DS111      DSM 5.2-5967-9    DS413J    DSM 6.2.3-25426-2   DS716+II  DSM 6.2.4-25556-7   RT2600ac  SRM 1.2.5-8227-11
BeeDrive 1TB                                                                                                        MR2200ac  SRM 1.2.5-8227-11

Offline Briolet

  • Global Moderator
  • MVP
  • *
  • Bedankjes
  • -Gegeven: 176
  • -Ontvangen: 2619
  • Berichten: 16.242
Re: Network share windows 10
« Reactie #20 Gepost op: 25 december 2020, 15:51:36 »
Recentelijk kwam dat NTLM ook al voorbij, maar dan in een andere context. Synology helpdesk schreef dat het bewust uit gezet is in dsm7. (ik kan alleen de posting niet meer vinden)  Wikipedia schrijft er dit over: link

In kort komt het er op neer dat NTLM verouderd is en een zwak protocol gebruikt. Dat het dus standaard uit staat op de nas is op zich niet vreemd. Wat wel vreemd is dat je op het moderne windows 10 gedwongen wordt dat oude protocol te gebruiken.

Edit: Het eerdere bericht hierover stond onder "media player"
Daar lees ik dat alleen mtlmv1 uit staat en mtlmv2 wel aan staat. (dit wordt blijkbaar niet in de smb.conf file geregeld.)
  • Mijn Synology: DS415+
  • HDD's: 3x 3TB in SHR
  • Extra's: DS212J (Backup)

Offline moody

  • Bedankjes
  • -Gegeven: 0
  • -Ontvangen: 0
  • Berichten: 22
Re: Network share windows 10
« Reactie #21 Gepost op: 26 december 2020, 00:30:55 »
Heeft dit niet te maken met workgroup =WORKGROUP ?
moeten beiden niet op zelfde workgroup of  domain zitten?
Anders userid als workgroup/username intikken

Verstuurd vanaf mijn SM-G950F met Tapatalk

  • Mijn Synology: DS920+
  • HDD's: 4 x WD40EFRX
  • Extra's: SHR, Btfrs, 20GB

Offline Birdy

  • Global Moderator
  • MVP
  • *
  • Bedankjes
  • -Gegeven: 1336
  • -Ontvangen: 7772
  • Berichten: 43.099
  • FIFO / LIFO
    • Truebase
Re: Network share windows 10
« Reactie #22 Gepost op: 26 december 2020, 09:12:03 »
Recentelijk kwam dat NTLM ook al voorbij, maar dan in een andere context.
Dat was dit Topic.


CS406      DSM 2.0-0731    DS508      DSM 4.0-2265      DS411+II  DSM 6.2.4-25556-7   DS115J    DSM 7.1.1-42962-5   DS918+    DSM 6.2.4-25556-7
DS107+     DSM 3.1-1639    DS411slim  DSM 6.2.4-25556   DS213J    DSM 6.2.3-25426-2   DS1515+   DSM 6.2.4-25556-7   DS220+    DSM 7.2.1-69057-4
DS107+     DSM 3.1-1639    DS111      DSM 5.2-5967-9    DS413J    DSM 6.2.3-25426-2   DS716+II  DSM 6.2.4-25556-7   RT2600ac  SRM 1.2.5-8227-11
BeeDrive 1TB                                                                                                        MR2200ac  SRM 1.2.5-8227-11

Offline Tuig

  • Bedankjes
  • -Gegeven: 4
  • -Ontvangen: 0
  • Berichten: 27
Re: Network share windows 10
« Reactie #23 Gepost op: 02 januari 2021, 15:47:50 »
had t zelfde probleem, heb t opgelost via regedit in windows pro 2020H2

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters

en dan AllowInsecureGuestAuth op 1 zetten. Stond hier op 0.


Offline Birdy

  • Global Moderator
  • MVP
  • *
  • Bedankjes
  • -Gegeven: 1336
  • -Ontvangen: 7772
  • Berichten: 43.099
  • FIFO / LIFO
    • Truebase
Re: Network share windows 10
« Reactie #24 Gepost op: 02 januari 2021, 15:56:48 »
Guest access toestaan ?
Is DAT wel zo'n goed idee ?


CS406      DSM 2.0-0731    DS508      DSM 4.0-2265      DS411+II  DSM 6.2.4-25556-7   DS115J    DSM 7.1.1-42962-5   DS918+    DSM 6.2.4-25556-7
DS107+     DSM 3.1-1639    DS411slim  DSM 6.2.4-25556   DS213J    DSM 6.2.3-25426-2   DS1515+   DSM 6.2.4-25556-7   DS220+    DSM 7.2.1-69057-4
DS107+     DSM 3.1-1639    DS111      DSM 5.2-5967-9    DS413J    DSM 6.2.3-25426-2   DS716+II  DSM 6.2.4-25556-7   RT2600ac  SRM 1.2.5-8227-11
BeeDrive 1TB                                                                                                        MR2200ac  SRM 1.2.5-8227-11

Offline Tuig

  • Bedankjes
  • -Gegeven: 4
  • -Ontvangen: 0
  • Berichten: 27
Re: Network share windows 10
« Reactie #25 Gepost op: 02 januari 2021, 16:37:06 »
Nou ja, als je wintel niet open staat naar de buitenwereld ( je draait dus geen server oid ) en je zit achter een NAT lijkt het me geen enkel probleem. Neem aan dat we het hier over LAN access hebben.
Ik kwam op 1 machine ook niet in de ( LAN ) syno. Alleen via de syno app, en dat schiet niet op.


 

Network Video Recorder NVR216

Gestart door BirdyBoard Surveillance Station

Reacties: 0
Gelezen: 985
Laatste bericht 27 november 2015, 21:32:07
door Birdy
Router blokkeert 'suspicious network behavior' van mijn DS213+

Gestart door YgolonysBoard The lounge

Reacties: 2
Gelezen: 1733
Laatste bericht 16 september 2016, 21:36:16
door Ygolonys
Hack Synology NAS System DOM Boot Flash U Disk V5.2 5592 With Video Tutorial Electronic 4G Network S

Gestart door Stephan296Board Overige mods

Reacties: 8
Gelezen: 6982
Laatste bericht 26 juni 2016, 18:22:54
door Stephan296
Network Backup faild after upgrad. to firmware v590

Gestart door AnonymousBoard Synology DSM 5.1 en eerder

Reacties: 0
Gelezen: 1348
Laatste bericht 25 maart 2008, 21:44:45
door Anonymous
map network drive ontbreekt

Gestart door remko2000Board Web Station mods

Reacties: 5
Gelezen: 7144
Laatste bericht 22 augustus 2011, 16:47:58
door Björn