Re: [Samba] Vista password being rejected on share security mode
Jeremy Allison wrote: On Wed, Feb 07, 2007 at 10:07:58AM -0600, Schaefer Jr, Thomas R. wrote: Using your patch and Vista, if I'm logged into Vista as someone other than username schaefer and go Start -> Run -> \\stercus\schaefer it won't connect, even if the current Vista user's password is the same as schaefer's password on stercus. So, then Vista prompts me for a username and password, I can enter schaefer and schaefer's correct password, it still won't be able to connect. I need to see a debug level 10 of this from a machine with the patch applied. This might be a bug, I'm not sure yet. What does work is if I'm logged into Vista as someone other than username schaefer I can right click My Computer, get into the "map network drive" dialogue, and in that dialogue I can specify a drive letter, \\stercus\schaefer, and, this is the key, click "Connect using a different user name" specify schaefer and schaefer's password on stercus and then the drive maps successfully. Eagerly awaiting any comments you might have. Again, thankyou for the patch, at least I have some funtionality now. I think this is by design on Vista. The key is that Vista does the sessionsetup as user name "schaefer" until you select the ""Connect using a different user name". We cache the user sent in the sessionsetupX call. With the patch for Vista share level security, I have found the following behavior when attempting to connect with start->run \\server\\sharename : On WinXP, the username is greyed out and not editable. I can get in with just the password. On Win2K, the username can be entered or left blank, and as long as the password is correct, it lets me in no matter what I type in the username field. On Vista, the username must be entered, or it won't even attempt to connect and the username must be the share name and sent along with the correct password. -Lee Devlin -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Vista password being rejected on share security mode
I'm working on trying to get Samba 3.0.23c to work with Vista and I've run into a snag. If a share is set up for security = share, and protected with a password, when I try to mount the share using Start->Run->\\server\share, the password is rejected by Samba for about the first 10 seconds, but after that, it lets me in. I've tried all the common suggestions such as changing NTLMV2 on the Vista system without success. I've looked high and low on the Internet and have not found a mention of this problem. The smb.conf file looks like this: [global] netbios name = TestSystem server string = "TestSystem" workgroup = MSHOME security = share guest account = guest log file = /var/log/samba.log socket options = TCP_NODELAY SO_RCVBUF=65536 SO_SNDBUF=65536 encrypt passwords = yes use spnego = no client use spnego = no host msdfs = no interfaces = lo eth0 eth1 eth2 br0 qos enable = no level1 file extensions = level2 file extensions = os level = 20 preferred master = auto domain master = auto local master = yes domain logons = no log level = 0 max log size = 960 null passwords = yes wins server = (ip addresses deleted) passdb backend = smbpasswd:/tmp/smbpasswd use client driver = yes printer admin = root, guest show add printer wizard = yes load printers = yes default devmode = yes printcap name = /tmp/etc/printcap [printers] comment = All Printers path=/shares/Volume1/__var/spool/samba printing = brcm guest ok = yes printable = yes browseable = no print command = chmod 666 %s; printcmd jobsubmit %p '%J' %x '%u' lpq command = printcmd queuestat %p lprm command = printcmd jobcancel %p %j lppause command = printcmd jobpause %p %j lpresume command = printcmd jobresume %p %j queuepause command = printcmd queuepause %p queueresume command = printcmd queueresume %p [FileShare] comment = path = /shares/Volume1/FileShare writeable = yes browsable = yes inherit permissions = yes inherit acls = yes msdfs root = no valid users = %S user = %S guest ok = no guest only = no ... Any suggestions? Thanks, Lee -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba