Early adopters of Microsoft’s new Vista operating system may notice that it will not connect to Samba share folders out of the box. This will be a bit of a pain for many enterprise customers. The technical reason is because Microsoft Vista’s default security policy is to only use NTLMv2 authentication. According to a Google search Samba doesn’t support this yet.

Update: Some readers have pointed out that NTLMv2 authentication is supported in Samba 3.0. However, this certainly wasn't an option to get this running in my instance.

To get Vista to work with Samba follow the simple instructions below:

1. Open the Run command and type "secpol.msc".

Vista and Samba

2. Press "continue" when prompted by Vista.

3. Click on "Local Policies" --> "Security Options"

Vista and Samba

4. Navigate to the policy "Network Security: LAN Manager authentication level" and open it.

5. By default Windows Vista sets the policy to "NTVLM2 responses only". Change this to "LM and NTLM – use NTLMV2 session security if negotiated".

Vista and Samba

Once you’ve done this Windows Vista will be able to view network drives based on Samba servers and should fix any issues around using Samba as a Primary Domain Controller.

Latest posts

Comments

1

andrew - 15/12/06

Do you know if there is a policy for Fedora to map a share to Vista? I tried this policy but will still not allow me to authenticate from Fedora to Vista share.

» Report offensive content

2

Brendon Chase - 15/12/06

Hi Andrew,
I haven't booted up Fedora in a while but I assume you can share via Samba still?

» Report offensive content

3

toby - 15/12/06

Samba should be enhanced to provide the authentication that Vista expects.

» Report offensive content

4

Chris - 15/12/06

Uhm.... My Vista Business machine I installed yesterday has connected to my Samba shares on CentOS 4.3 without any problems. Is this issue only one machines on a domain, or certain versions of Windows?

» Report offensive content

5

Jason - 15/12/06

I have noticed that mapping a drive works fine, but unc paths (\\server\share) only show empty folders. Very strange.

» Report offensive content

6

Jason - 15/12/06

This could be because of the fact that smb is configure to pass authentication to our ADS domain.

» Report offensive content

7

Chris - 15/12/06

Hmm. I just tried \\IP\share and \\FQDN\share and it worked fine

» Report offensive content

8

Antro - 16/12/06

hi andrew

i think you only had problems with selinux

» Report offensive content

9

Jeff Yana - 16/12/06

This, in my opinion, is a flawed approach. It is far better to modify your Samba server then to downgrade the security of the client. For secure Samba coonections, ensure that LANMAN and LANMANAUTH are disabled, then secure NTLMv2 connections only will be negotiated. See lanman auth (G) in smb.conf for details...

» Report offensive content

10

Zweine Zg - 16/12/06

Better option yet, get rid of the NTLMv2 and move into proper kerberos authentication for CIFS. Both Microsoft and Samba.org should be removing all that legacy support slowly at this moment and stop wasting their time supporting such stuff.

» Report offensive content

11

Spencer - 16/12/06

NTLMv2 is available in Samba 3.0 which is available. You just have to configure it on your linux box. Well that is if you do not have to install version 3.0

» Report offensive content

12

Bruno - 20/12/06

We have samba 3 for linux and bsd so who cares ?

» Report offensive content

13

exsive - 22/12/06

hey guys i was wondering if you kno how to get vista to share with the original xbox, i kno the xbox uses samba as its connection method to the network.

The xbox can see the computer but it wont connect or access the shared folders on the vista comp.

Any Ideas?

» Report offensive content

14

Rick Galbraith - 03/01/07

I just linked to this blog from a web page at www.iprance.ca

http://www.iprance.ca/tech-support/Vista/VistaNetworkingWoe1.html

» Report offensive content

15

Dennis - 24/01/07

Hey Jason,
I have the same problem you discribed. When I connect to my Samba-Server by UNC I only got an empty folder. If I connect by creating an network drive I see the content of the directories, but I can't open anything. If I try to open e.g. a MP3-File it cannot be opened by the player. If I copy the file to the Vista-PC it can be read properly.
Has anyone an idea? I think if I can solve the UNC problem the other will be gone as well.
My Samba-Version is 3.0.23d ... below my config!

[global]
workgroup = labamba
unix password sync = yes
passwd program = /usr/bin/passwd %u
guest ok = no
security = user
protocol = standard
encrypt passwords = yes


#for vista compatibility
client lanman auth = no
client ntlmv2 auth = yes
domain logons = yes
guest account = nobody


netbios name = linux
wins support = no
wins server = 192.168.0.200

[www]
path = /srv/www/htdocs
read only = no
guest ok = no
valid users = dennis, andrea
force user = dennis
create mode = 0775
directory mode = 0775
create mask = 0775
directory mask = 0775

» Report offensive content

16

Tim - 31/01/07

If you're running a version of Vista that cannot use secpol.msc, you can edit the registry instead. Just change the value of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\LMCompatibilityLevel from a 3 to a 1.

» Report offensive content

17

Pierre Vandevenne - 06/02/07

Thanks Tim - you saved me a significant amount of time.

Pierre

» Report offensive content

18

Dan - 08/02/07

Thank you very much for this. I have an old Linux install with Samba running. Vista user due to a crashed main machine. This article saved me much frustration and time.

Tim - you suggestion was spot on.

Dan
http://www.tnpcnewsletter.com/

» Report offensive content

19

Alejandro - 10/02/07

Thanks very much Tim.
It saved me hours.

Alejandro.

» Report offensive content

20

steven - 13/02/07

Brendon, thank you soooooooooooo much. I have been going crazy trying to figure this out. I called Microsoft and they didn't have a clue. You are the best!!

» Report offensive content

21

JTO - 14/02/07

Tim - your solution worked, however, I can't copy any file that is over 1 MB to the mac. It gives a network error "There is a problem accessing C:\Users|JTO\Desktop\Sample Pictures\1050065.jpg Make sure you are connected to the network and try again." I'm able to copy any size file from the mac to vista and small files from vista to mac.

» Report offensive content

22

Arnaud - 20/02/07

Hi,

There's a problem with this solution, "secpol.msc" doesn't work on Vista Home. Is there a different way to change this parameters or to install the security manager ?

thanx

» Report offensive content

23

Wim Hultink - 24/02/07

I got the same problem with Vista Premium and spent hours to make it work but do not have the msc and am not using Samba.

Maybe it will work with Samba too??

I found the solution:

Go to Networks and right click on the 'empty' network map.
Select 'make a network connection'.
Give the connection a drive letter.

When finished, your virtual drive will be shown in 'my computer' and can be accessed like any drive.

I hope this will help.

» Report offensive content

24

Luis Jimenez - 25/02/07

Hola
Muchisimas gracias por los consejos que he leido en este articulo. Lo he seguido al pie de la letra y ha funcionado perfectamente con SAMBA.
Me ha servido de gran ayuda.
Muchas Gracias

» Report offensive content

25

Jack - 26/02/07

Does this fix work for Vista Home Basic versions? I can not find the secpol.msc file to run this fix. If not what versions of Vista will work with Samba?

» Report offensive content

26

Claudio - 27/02/07

27

Den - 02/03/07

I use a terminal emulation package and print to the client default printer. Prior to Vista the PCL commands would work on the printer now they don't. They simply print at the top of the page. Any ideas on getting them to work again??

» Report offensive content

28

Martin - 17/03/07

Tim, you're a diamond. That worked. Thanks.

» Report offensive content

29

Furé - 26/03/07

Thanks ! It works fine !

» Report offensive content

30

Altay - 27/03/07

When I created a folder on a samba drive (on a Solaris system), Vista does not allow me to use space character in the name of the new folder created. The message is "The drive that this file or folder is stored on does not allow long file names, or names containing blanks or any of the following characters: \ / : , * ? " < > |".

In fact, spacechar is ok to be used in Solaris file/folder names.
Even further, Vista names the folder it creates as "New fldr".
Although I found this very funny, I didn't like it at all.
Does any body have a solution for this.

Altay

» Report offensive content

31

Latrell - 28/03/07

My problem is when my vista (enterprise) try to connect a public share, authentication window popped up. Public share should not need to key in username/pwd. If I use correct username / pwd, I can login in the share and view the content. If I use username which not existing, the authentication will fail. My samba version is 23d.
I use map to guest = bad user and public = yes in share setting. Other windows client work find. Can anyone give me hints?

Thanks,
Latrell

[global]
dos charset = UTF8
display charset = UTF8
unix charset = UTF8
server string = %h
netbios name = test
write ok = yes
guest account = smbguest
map to guest = bad user
encrypt passwords = yes
map archive = no
max log size= 50
client use spnego = no
auth methods = guest sam_ignoredomain winbind:ntdomain
host msdfs = yes
winbind use default domain = yes

workgroup = df
security = user

create mask = 777
directory mask = 777
force create mode = 777
force directory mode = 777
[public]
path = /tmp/public/
comment = for anonymous CIFS users.
public = yes

» Report offensive content

32

Riaz - 29/03/07

IT IS WORKING FINE.IT WORKS..

» Report offensive content

33

Brandon - 05/04/07

I've had the same problem with Vista Ultimate, but for some reason this fix didn't work. It did allow my Vista PC to stream music from my XP machine : )

» Report offensive content

34

DrLife - 06/04/07

Wim Hultink

This worked for me solving a problem with the wrt350N Linksys router with storage usb plug.

great thanks

» Report offensive content

35

Richard - 07/04/07

Dennis Comment 15 - To fix the empty UNC folders, logon scripts, etc add the following to smb.conf

[Global]
host msdfs = no

» Report offensive content

36

Simon Langley - 23/04/07

Thanks for this. I had been having trouble with my Fedora Core 5 SAMBA server after I upgraded my family's computers (but curiously not with an old Debian distro) and this fixed it for me.

» Report offensive content

37

Ove N - 23/04/07

I have Vista and i have problem connect to my NAS drive wich use SAMBA.
It can be done with programs like Total Commander with no problems.
But when i use network maps in vista, Vista stop working.
I have tried all this trick mention in this article, but with no sucsess.
Somone have any ideeas. (pardon my English)

reg . Ove

» Report offensive content

38

&aring;&middot;&yen;&aelig;ˇ&sect;&ccedil;&frac12;‘ - 30/04/07

This worked for me solving a problem with the wrt350N Linksys router with storage usb plug.

» Report offensive content

39

Marky Goldstein - 01/05/07

Indeed it is another sign of weakness of Vista to not be able to connect to Linux File Servers and / or Samba File Servers. And it might interest the European Committees that currently investigate Microsofts market behaviour. They are now investigating structural changes on Microsoft's participation in the European Market. It's the first time in our European history that a company does not follow the Antitrust regulations... anyway, we users just want good computers that work with our Linux file servers.

» Report offensive content

40

Dudeness - 04/05/07

I have the same problem as user 'exsive'. I use an old xbox with XBMC. I can see my workgroup and computername \\dude\, but I cant connect to it. Is it possible that my (older) version of XBMC uses an older version of Samba (<3.0)?

If anyone could please help? I 'm trying for day and get real frustrated! :-)

» Report offensive content

41

Miro - 18/05/07

I have exactly the same problem as Ove, still searching for a solution...

» Report offensive content

42

azeo - 27/05/07

I still cant connect my old xbox with vista ultimate

This is my setup:

I have 2 vista 32 bit operating systems, i can connect to both of them and share my files, I also have an old xbox which i update to xbmc 2.0x and works like a beauty ! bit for some reason I cant connect to my vista share Movie/MP3 shared folder that i can access from my other vista machine.

I go into my XBMC and click on my videos and i can see my network ( WORKGROUP) then i click it and see both my vista pc.... pc1..

» Report offensive content

43

Ian Langdon - 06/06/07

Maybe already said, my appologies as I am in a rush, however I am using Samba 3, as a domain controller and its perfectly fine with Vista. For those who need to know.

Specifically the Samba3 distributed with SuSE 10

Cheers.
Ian

» Report offensive content

44

Roberto De Donato - 11/06/07

I still can't connect my pc with operating system Windows Vista Business at a Linux server having Samba version 2.2.7. Can you help me in some way?

» Report offensive content

45

Giesi - 17/06/07

Thank you very much for your introduction.

» Report offensive content

46

Yoann - 18/06/07

Thk, it's work fine.

» Report offensive content

47

stormfire - 04/07/07

I have a nas drive that uses samba, the vista machine could always see the nas drive, the problem is that I can access the nas drive but I can not write to the nas drive, it keeps saying that the drive is full, when it is not, any idea on how to fix this problem?

» Report offensive content

48

MadatLinksys - 28/07/07

I have same issue as stormfire, it sucks... any resolution yet? Windows Explorer is reporting the drive is full, can't write.

» Report offensive content

49

Stefan - 28/07/07

I have a NAS (manufacturer SUNRISE, I was not able to find out which SMB version's running on that). Mapping folders as a drive on a WIN2K PC is no problem. However, on my other PC running Vista Home Premium I can see the folders, map them as drives but not actually access any files.

I highly appreciate any help, thanks.

» Report offensive content

50

Stefan - 29/07/07

I could fix the problem by updating the firmware of my NAS enclosure (SUNRISE). http://www.enclosureservice.com/

» Report offensive content

51

Scott - 11/08/07

Thank you; i was close to throwing this damn computer out the window!

» Report offensive content

52

Scott - 11/08/07

Thank you; i was close to throwing this damn computer out the window!

» Report offensive content

53

Scott Danforth - 15/08/07

Thank you, Thank you! And thanks to Google for finding you your note!

» Report offensive content

54

Aaron Hawkins - 21/08/07

This worked fantastically. I will add that we had to reboot before it connected.

I had a user buy a new Vista laptop this weekend and she couldn't connect to our Apple OS X Server. We tried everything & this is the only thing that worked. Thanks, very much!

» Report offensive content

55

Aaron Hawkins - 21/08/07

This worked fantastically. I will add that we had to reboot before it connected.

I had a user buy a new Vista laptop this weekend and she couldn't connect to our Apple OS X Server. We tried everything & this is the only thing that worked. Thanks, very much!

» Report offensive content

56

Aaron Hawkins - 21/08/07

This worked fantastically. I will add that we had to reboot before it connected.

I had a user buy a new Vista laptop this weekend and she couldn't connect to our Apple OS X Server. We tried everything & this is the only thing that worked. Thanks, very much!

» Report offensive content

57

Aaron Hawkins - 21/08/07

This worked fantastically. I will add that we had to reboot before it connected.

I had a user buy a new Vista laptop this weekend and she couldn't connect to our Apple OS X Server. We tried everything & this is the only thing that worked. Thanks, very much!

» Report offensive content

58

Aaron Hawkins - 21/08/07

This worked fantastically. I will add that we had to reboot before it connected.

I had a user buy a new Vista laptop this weekend and she couldn't connect to our Apple OS X Server. We tried everything & this is the only thing that worked. Thanks, very much!

» Report offensive content

59

Aaron Hawkins - 21/08/07

This worked fantastically. I will add that we had to reboot before it connected.

I had a user buy a new Vista laptop this weekend and she couldn't connect to our Apple OS X Server. We tried everything & this is the only thing that worked. Thanks, very much!

» Report offensive content

60

Aaron Hawkins - 21/08/07

This worked fantastically. I will add that we had to reboot before it connected.

I had a user buy a new Vista laptop this weekend and she couldn't connect to our Apple OS X Server. We tried everything & this is the only thing that worked. Thanks, very much!

» Report offensive content

61

Aaron Hawkins - 21/08/07

This worked fantastically. I will add that we had to reboot before it connected.

I had a user buy a new Vista laptop this weekend and she couldn't connect to our Apple OS X Server. We tried everything & this is the only thing that worked. Thanks, very much!

» Report offensive content

62

Aaron Hawkins - 21/08/07

This worked fantastically. I will add that we had to reboot before it connected.

I had a user buy a new Vista laptop this weekend and she couldn't connect to our Apple OS X Server. We tried everything & this is the only thing that worked. Thanks, very much!

» Report offensive content

63

Aaron Hawkins - 21/08/07

This worked fantastically. I will add that we had to reboot before it connected.

I had a user buy a new Vista laptop this weekend and she couldn't connect to our Apple OS X Server. We tried everything & this is the only thing that worked. Thanks, very much!

» Report offensive content

64

Scott - 22/08/07

@azeo

I had the same problem with my Xbox, until I stumbled across ccxgui. Download it and point it to your share, then start server. Then in XBMC point to video, then I think Network share auto discover, then your computer will come up, then you share folder.

Hope this helps

» Report offensive content

65

Scott - 22/08/07

@azeo

I had the same problem with my Xbox, until I stumbled across ccxgui. Download it and point it to your share, then start server. Then in XBMC point to video, then I think Network share auto discover, then your computer will come up, then you share folder.

Hope this helps

» Report offensive content

66

Scott - 22/08/07

@azeo

I had the same problem with my Xbox, until I stumbled across ccxgui. Download it and point it to your share, then start server. Then in XBMC point to video, then I think Network share auto discover, then your computer will come up, then you share folder.

Hope this helps

» Report offensive content

67

Scott - 22/08/07

@azeo

I had the same problem with my Xbox, until I stumbled across ccxgui. Download it and point it to your share, then start server. Then in XBMC point to video, then I think Network share auto discover, then your computer will come up, then you share folder.

Hope this helps

» Report offensive content

68

mike zonta - 07/09/07

hi, i've a MAGNEX nas unit, and my new DELL with Vista Home basic see the NAS, but don't access to the files. I've tried to use the procedure that you describe, but i'm not be able to find the file secpol.msc (the find command don't find it...). can you help me?

» Report offensive content

69

mike zonta - 07/09/07

hi, i've a MAGNEX nas unit, and my new DELL with Vista Home basic see the NAS, but don't access to the files. I've tried to use the procedure that you describe, but i'm not be able to find the file secpol.msc (the find command don't find it...). can you help me?

» Report offensive content

70

Steve Rowe - 14/09/07

you could simply use the default Vista settings and do the following:

On the *nix box (or ssh onto it) run

vi /etc/samba/smb.conf

then edit the smb.conf file to include the next lines in the GLOBAL section. Make sure the actual domain name (realm) is in UPPER CASE (i.e realm = MYDOMAIN.LOCAL)

[global]
idmap gid = 10000-20000
netbios name = yourmachinename
idmap uid = 10000-20000
workgroup = YOURWORKGROUP (yourdomain short name)
os level = 20
security = ADS
encrypt passwords = yes
winbind trusted domains only = yes
realm = YOURDOMAIN.INT
winbind enum users = no

Now on the *nix box entre :
/etc/init.d/smb restart
/etc/init.d/nmb restart -(if not restarted by smb)
/etc/init.d/winbind restart

net join -U administrator -S FQDN_of_Server

when requested entre the password and your samba will be a domain memeber.

» Report offensive content

71

Steve Rowe - 14/09/07

you could simply use the default Vista settings and do the following:

On the *nix box (or ssh onto it) run

vi /etc/samba/smb.conf

then edit the smb.conf file to include the next lines in the GLOBAL section. Make sure the actual domain name (realm) is in UPPER CASE (i.e realm = MYDOMAIN.LOCAL)

[global]
idmap gid = 10000-20000
netbios name = yourmachinename
idmap uid = 10000-20000
workgroup = YOURWORKGROUP (yourdomain short name)
os level = 20
security = ADS
encrypt passwords = yes
winbind trusted domains only = yes
realm = YOURDOMAIN.INT
winbind enum users = no

Now on the *nix box entre :
/etc/init.d/smb restart
/etc/init.d/nmb restart -(if not restarted by smb)
/etc/init.d/winbind restart

net join -U administrator -S FQDN_of_Server

when requested entre the password and your samba will be a domain memeber.

» Report offensive content

72

Ryan F - 17/09/07

I was having a similiar problem to Dennis where I could map a drive and it would show everything, but when I used UNC or windows apps like WMP used UNC it would not see anything in the folder.

I was connecting to a TeraStation Live NAS box. Thanks to Richard for mentioning MSDFS line. Since Terastation is webbased only I had to login to the web based console and then go the DFS setup section. As soon as I disabled DFS all of the shares started showing their content.

This is very strange since I did not have this problem on my XP machines. Either way, thanks to everyone for their help.

» Report offensive content

73

Ryan F - 17/09/07

I was having a similiar problem to Dennis where I could map a drive and it would show everything, but when I used UNC or windows apps like WMP used UNC it would not see anything in the folder.

I was connecting to a TeraStation Live NAS box. Thanks to Richard for mentioning MSDFS line. Since Terastation is webbased only I had to login to the web based console and then go the DFS setup section. As soon as I disabled DFS all of the shares started showing their content.

This is very strange since I did not have this problem on my XP machines. Either way, thanks to everyone for their help.

» Report offensive content

74

Ryan F - 17/09/07

I was having a similiar problem to Dennis where I could map a drive and it would show everything, but when I used UNC or windows apps like WMP used UNC it would not see anything in the folder.

I was connecting to a TeraStation Live NAS box. Thanks to Richard for mentioning MSDFS line. Since Terastation is webbased only I had to login to the web based console and then go the DFS setup section. As soon as I disabled DFS all of the shares started showing their content.

This is very strange since I did not have this problem on my XP machines. Either way, thanks to everyone for their help.

» Report offensive content

75

George Caines - 19/09/07

I am trying to access our shared server which is a SMB with redhat. I tried to do the above but I can not find the security policies. I have a HP laptop with vista.

Can anyone help me?

Thanks

» Report offensive content

76

George Caines - 19/09/07

I am trying to access our shared server which is a SMB with redhat. I tried to do the above but I can not find the security policies. I have a HP laptop with vista.

Can anyone help me?

Thanks

» Report offensive content

77

George Caines - 19/09/07

I am trying to access our shared server which is a SMB with redhat. I tried to do the above but I can not find the security policies. I have a HP laptop with vista.

Can anyone help me?

Thanks

» Report offensive content

78

George Caines - 19/09/07

I am trying to access our shared server which is a SMB with redhat. I tried to do the above but I can not find the security policies. I have a HP laptop with vista.

Can anyone help me?

Thanks

» Report offensive content

79

George Caines - 19/09/07

I am trying to access our shared server which is a SMB with redhat. I tried to do the above but I can not find the security policies. I have a HP laptop with vista.

Can anyone help me?

Thanks

» Report offensive content

80

Paolo - 20/09/07

to make sure samba ver. 3+ will authenticate normally with vista:
(my build: windows vista ultimate)

-(linux) add this parameter to your smb.conf

client ntlmv2 auth = yes

-(linux) restart samba
-(vista) map the share to a drive

* no need to edit secpol.msc

cheers

» Report offensive content

81

Paolo - 20/09/07

to make sure samba ver. 3+ will authenticate normally with vista:
(my build: windows vista ultimate)

-(linux) add this parameter to your smb.conf

client ntlmv2 auth = yes

-(linux) restart samba
-(vista) map the share to a drive

* no need to edit secpol.msc

cheers

» Report offensive content

82

Paolo - 20/09/07

to make sure samba ver. 3+ will authenticate normally with vista:
(my build: windows vista ultimate)

-(linux) add this parameter to your smb.conf

client ntlmv2 auth = yes

-(linux) restart samba
-(vista) map the share to a drive

* no need to edit secpol.msc

cheers

» Report offensive content

83

Paolo - 20/09/07

to make sure samba ver. 3+ will authenticate normally with vista:
(my build: windows vista ultimate)

-(linux) add this parameter to your smb.conf

client ntlmv2 auth = yes

-(linux) restart samba
-(vista) map the share to a drive

* no need to edit secpol.msc

cheers

» Report offensive content

84

Paolo - 20/09/07

to make sure samba ver. 3+ will authenticate normally with vista:
(my build: windows vista ultimate)

-(linux) add this parameter to your smb.conf

client ntlmv2 auth = yes

-(linux) restart samba
-(vista) map the share to a drive

* no need to edit secpol.msc

cheers

» Report offensive content

85

Xbox freak - 04/10/07

HI. is it posible to connect an old xbox to Vista ultimate X64 if yes
please tell me so i think i have all software programs to run it....
please help...
best regards
the freak
cool forum by the way
helps me a lot

» Report offensive content

86

hands-on - 09/10/07

I have the same problem:
Unable to rename in anyway with my document folders, I could rename a few days ago, but no more. I've spent day and night on my this Toshiba laptop going crazy... I have Windows XP but not Vista. Anyone out there can pleaseeeeeeeee help me? Thanks sooooooooooo much!

» Report offensive content

87

Pankaj Aggrawal - 12/10/07

I have mapped the solaris drive to windows using sambha but i am not able to saved any files / folder with unicode name.
Please tell me if it is possible by some other protocol / patch.

Thanks,
Pankaj

» Report offensive content

88

Frank - 21/10/07

I've got Vista Home edition and I've tried using a few of the fixes here to hook up to my wrt350n with no luck.

I have no .msc file and the following is missing a few steps;
Go to Networks and right click on the 'empty' network map.
Select 'make a network connection'.
Give the connection a drive letter

This must be in the Ultimate version.

I'd appreciate any assistance.

Thanks

» Report offensive content

89

SteveP - 08/12/07

I have a problem kind of in the other direction. Vista to Linux, using regediting changes above works fine - but now the vista can see linux shares to which it is not supposed to have access. The shares are not set to be readable by the group that the vista login/password belongs to. Ant thoughts welcome.

» Report offensive content

90

RebootNZ - 11/12/07

Hi,
I have a Centos 5 Server running Samba (latest Redhat SAMBA) which is a member server of a M$ Active Dir Domain and I have found that Vista running SP1 can not connect to any share if you use authenticated users in your SMB.conf eg valid users = domain+username This did work before SP1 was installed on Vista and it does still work on XP. If there is no permissions set on the share then you can go into the share. I have attached a copy of my SMB.conf.

Any help to fix this would be Great.

# Global parameters
[global]
workgroup = DC
realm = DC.DOMAIN.NET
server string =
# security = domain
security = ADS
auth methods = sam, winbind
log file = /var/log/samba/%m.log
preferred master = No
wins server = 10.3.0.124
ldap ssl = no
default service = homes
idmap uid = 10000-20000
idmap gid = 10000-20000
template homedir = /home/winnt/%D/%U
template shell = /bin/bash
winbind separator = +
dns proxy = yes
winbind nested groups = yes


#for Vista compatibility
client lanman auth = no
client ntlmv2 auth = yes
domain logons = yes



[c$]
path = /
valid users = "DC+lay" "DC+admin"
admin users = "DC+lay" "DC+admin"
write list = "DC+lay" "DC+admin"


[c]
path = /

» Report offensive content

91

Venkatesh - 12/12/07

Thanks Mr. Brend It worked for me. One of my clients want to access his shares on Nitix Linux Server from his Windows Vista Ultimate machine. I followed the above said method and It worked well.

GREAT

Thanks a Lot

A. Venkatesh

» Report offensive content

92

Xerad - 22/12/07

TIM !! I love you because of that regedit edit !!!

» Report offensive content

93

Nafcom - 16/02/08

Thanks for this blog post, it helped me a lot!

» Report offensive content

94

Nafcom - 16/02/08

Thanks for this blog post, it helped me a lot!

» Report offensive content

95

Nafcom - 16/02/08

Thanks for this blog post, it helped me a lot!

» Report offensive content

96

Nafcom - 16/02/08

Thanks for this blog post, it helped me a lot!

» Report offensive content

97

Nafcom - 16/02/08

Thanks for this blog post, it helped me a lot!

» Report offensive content

98

Nafcom - 16/02/08

Thanks for this blog post, it helped me a lot!

» Report offensive content

99

RiTarDid - 18/02/08

worked great with my old server and new vista, thanks!

» Report offensive content

100

jamieg - 07/03/08

my computer does not respond to secpol.msc can you help

» Report offensive content

101

konenas - 28/03/08

Unfortunately my vista bussiness doesn't work changing this policy.
With samba 3 everything is fine.

» Report offensive content

102

konenas - 28/03/08

But I cannot put samba 3 to my iomega nas.
see http://www.linux-watch.com/news/NS4434907782.html

» Report offensive content

103

duco - 28/03/08

I have some new machines with Vista Home....

I tried to connect to Samba share using the regedit method, changing the security level to a "1" and it worked...once... next time I started the machine the connection was gone again and no way to reconnect... even making another network connection does not work...

Please who has any answer ???

» Report offensive content

104

alaskajohn - 11/04/08

After a windows update and forced Vista reboot on the 7th of April my Samba connection no longer works (Vista Business).

Anyone else having this problem?

Better yet, anyone with a solution?

Thanks,
John

» Report offensive content

105

mirc - 26/04/08

HI. is it posible to connect an old xbox to Vista ultimate X64 if yes
please tell me so i think i have all software programs to run it....
please help...
best regards
the freak
cool forum by the way
helps me a lot

» Report offensive content

106

pt - 30/04/08

does not seem to find secpol.msc on my Vista Home Basic notebook

» Report offensive content

107

emily - 02/05/08

This fix worked for me many months ago, but after a series of windows updates I can longer access my works domain. Any ideas?

» Report offensive content

108

pcmike - 21/05/08

You are a scholar sir. Thank you very much for this entry.

» Report offensive content

109

delayer - 29/05/08

greetings!
i have tried everything on this blog, and just cant reach the share folders from vista to samba! could sombody help? thnaks

» Report offensive content

110

Tony Cheetham - 01/06/08

This also works very well for hooking up vista to window XP pro machines that have complicated security setups(i.e. no simple sharing). It fixed the old "bad username/password" problem straight away.

» Report offensive content

111

Joshua Melton - 12/06/08

NTLMv2 may only be half the problem. I also found that Samba doesn't like clients who are trying to use signed SMB blocks.

In addition to the lmcompatibilitymode key that we're all familiar with; look into this:

Change this key on the client:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation\parameters\requiresecuritysignature

Set it to "0" (which is disabled)

No warranty implied or expressed! Best wishes

» Report offensive content

112

MG - 02/07/08

great advice.
worked perfect for me
thanks!

» Report offensive content

113

neo - 15/08/08

Thanks this helped out my issues with connecting to my tvix!

» Report offensive content

114

ryan - 22/08/08

It appears as far as I can tell.. this still isn't fixed in osx 10.5.4. Can anyone verify that samba still isn't communicating with NTLMv2??????

» Report offensive content

115

Brian - 25/08/08

Good, useful post. Does anyone know if there is another way to achieve the same results with Vista Home Basic? secpol.msc doesn't seem to exist in the Home Basic version of Vista.
Sure wish every os could be as user friendly as linux.
Thanks in advance for your response...

» Report offensive content

116

Paul - 09/09/08

Comment 16 from Tim worked great for. the system is Vista Home Prermiumm After making the change in the register. Just restart the system.

» Report offensive content

117

Bjoern - 07/10/08

Do not forget to enable the "Cient for Microsft Networks" in the LAN properties! - Otherwise the Windows Server 2008 will not see the Samba share from the NAS...

» Report offensive content

118

dR_cHe - 01/11/08

thanks http://www.mircara.com

» Report offensive content

119

John - 01/12/08

The command that is quoted is only available in Ultimate. You can edit the settings by going through your registry...
http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/regentry/76052.mspx?mfr=true

» Report offensive content

120

Ryan - 13/02/09

For Windows 7 you may need to turn off 128-bit also


Control Panel - Administrative Tools - Local Security Policy

Local Policies - Security Options



Network security: LAN Manager authentication level
Send LM & NTLM responses

Minimum session security for NTLM SSP
Disable Require 128-bit encryption



my SMB server worked after changing those two options

» Report offensive content

121

voodoobob - 16/02/09

Thanks Tim!!! post #16 fixed my ongoing no-connect to a buffalo terastation nas from Vista Home Premium. months of off and on research and troubleshooting are finally over. you da man!

» Report offensive content

122

AEgidius - 21/03/09

I solved my problem following 3 steps:

1) Security policy thing:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\LMCompatibilityLevel from a 3 to a 1.

2) signed SMB blocks thing:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation\parameters\requiresecuritysignature to a "0" (disabled)

3) Correct login info. When trying to connect VISTA users will be asked for the filds
USER
PASSWORD

and vista will assume
SERVER\USER
PASSWORD

So, change it to:
WORKGROUP\USER
PASSWORD

done! (at least for me). Thanks to everyone bringing ideas to this post and good luck to the ppl still looking for a cure.

» Report offensive content

123

Dennis - 17/04/09

After our Vista maschines have updated from windows update this night, we cant get them to connect our samba servers!!!

Anyone else with this problem & is there a solution ??

Best regards
Dennis

» Report offensive content

124

John - 07/08/09

Well I'm a late adopter of Vista (have been avoiding it) but have an old linux server (built in 1999) so this saved me mucho time. I can now go to bed happy. Thanks Tim.

» Report offensive content

125

Josh - 27/08/09

Thank you for this post. The odd thing is everything used to work fine, but after a recent re-do of my samba share, only my vista machine had problems connecting. This post solved the issue right away.. thanks!

» Report offensive content

126

George - 29/09/09

My solution of all problems with Vista was very simple: after a few days of I erased this horrible system form my computer and installed XP Prof. And suddenly all begun to work.

» Report offensive content

127

Georgi Borisov - 24/10/09

I think that Vista isn't work. The best windows is Xp and will be! Good Luck!

http://wayworkathome.com

http://wayworkathome.com

» Report offensive content

128

Rod Rook - 01/11/09

I am glad I've found this info.
I almost gave up on samba until I used this info. It works like a charm.

From CentOS 5.4 smb4k, I can see shared folders and files of Vista Business.

» Report offensive content

129

Mark - 08/11/09

Thanks a lot. Worked great.

» Report offensive content

130

cheap uggs online - 06/12/09

Thanks very much .

<a href="http://www.cheap-uggs-online.com/">cheap ugg</a>

» Report offensive content

131

ugg outlet store - 25/01/10

http://www.cheapuggsonline.net cheap ugg

» Report offensive content

132

hoston - 25/01/10

Samba on vista
This makes it so I can use damn Vista Ultimate to connect to a Mac OS X 10.4 samba server.

I hate vista.
<a href="http://www.thriftier.com.au" rel=follow>mobile phone</a>

» Report offensive content

133

Alessio - 30/01/10

My Windows seven connect the samba share out of the box, without doing anything, but...if I show a folder with some executables inside, like some setup programs Windows Explorer windows crashes...does anyone know how to solve it? I treid with lots of machines with 32 and 64 bit but the result is always the same. I also tried to change the setting described on this article.

» Report offensive content

Leave a comment

You must read and type the 6 chars within 0..9 and A..F

* indicates mandatory fields.

Log in


Sign up | Forgot your password?

What's on?

  • Optus Deal

    Broadband + home phone + PlayStation®3 in a single package price!