RE: SOME Suggestions on [Samba] Can't the very basic stuff to work
A beginner just listening in... On Windows XP Pro, are you using "Simple File Sharing"? I know that on a Windows network it forces all network connections to be "Guests". Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: May 3, 2004 3:12 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject:SOME Suggestions on [Samba] Can't the very basic stuff to work Hello Tim, I have verified and recreated your problem. As soon as I switch SAMBA option security=share , I have exactly the same problems like you, when trying to access a SAMBA share via Windows "Add Network Places" The only option I have to logon is DOOMIT\Guets (DOOMIT is the NetBIOS Name of my samba server). HOWEVER: There *aren't any* problems, if I try to map the share as network drive (via Win explorer) when SAMBA option security=share. In Windows Explorer Menu: Tools->Map Network Drive Click on the "Connect using different user name" and enter a valid SAMBA user name and password. Then enter the network path to the share in the "Folder" Field of the "Map Network Drive" Dialog click finish and that's it. BUT: Things are different when SAMBA option security=user. Then I do *not* have any problems to access the share via "add network places". Here a login-dialog is displayed where you can enter a user name and password. Mapping network drive via Windows Explorer also works w/o any problem. BTW: I think that in your smb.conf there might by a error: from your posting of smb.conf you have valid users = tim chrissy however, according to the on-line documentation, names in the valid user parameter have to be separated by comma (,) So it should be valid users = tim, chrissy I hope this helps! Regards, Vlad! P.S. Perhaps a developer should take a look on this!! >>Thanks, but I am still having the same problem -- I made sure to reference >>the correct passwd file, but WinXP is still forcing me to logon as >>AGAMEMNON\Guest. >> >>Tim >>Subject: SOME Suggestions on [Samba] Can't the very basic stuff to work >>Hello Tim, >>I have read your posting on the samba mailing list. >>I suggest that you put following lines in your >>smb.conf >> >>encrypt password = yes >>smb passwd file = /etc/samba/smbpasswd >>passwd program = /bin/passwd %u >>CAUTION: The above paths to the smbpasswd and passwd file >>are related to my system. They differ from distribution to >>distribution. So on your Linux system the paths may be different. >>you may determine the path to those files by >> >>find / -name smbpasswd >>and >>find / -name passwd >> >>Now make sure that you have on your Linux system the users >>who shall have access to teh SAMBA Shares. >> >>Regards, >>Vlad -- NEU : GMX Internet.FreeDSL Ab sofort DSL-Tarif ohne Grundgeb|hr: http://www.gmx.net/dsl -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: SOME Suggestions on [Samba] Can't the very basic stuff to work
No -- not that I know -- how do I check that? I have been sharing lots of files with other windows computers and have several drives mapped. When I don't have windows passwords, it always prompts me for my password and username. Thanks, Tim My smb.conf # ** [global] workgroup = archenland netbios name = agamemnon security = share printcap name = cups disable spoolss = Yes show add printer wizard = No printing = cups encrypt password = yes smb passwd file = /etc/samba/smbpasswd passwd program = /usr/bin/passwd %u [homes] comment = Tim and Chrissy's Home Directories # we set the valid users = to the current share's name valid users = %S read only = No # we might want to set this to No after troubleshooting browseable = Yes [data] # this is the main share we run all our files from comment=Tim and Chrissy's data store path = /home/data valid users = tim chrissy read only = No writeable = Yes [printers] path = /var/spool/samba guest ok = Yes printable = Yes use client driver = Yes browseable = No -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Johnson Sent: Monday, May 03, 2004 6:50 PM To: [EMAIL PROTECTED] Subject: RE: SOME Suggestions on [Samba] Can't the very basic stuff to work A beginner just listening in... On Windows XP Pro, are you using "Simple File Sharing"? I know that on a Windows network it forces all network connections to be "Guests". Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: May 3, 2004 3:12 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject:SOME Suggestions on [Samba] Can't the very basic stuff to work Hello Tim, I have verified and recreated your problem. As soon as I switch SAMBA option security=share , I have exactly the same problems like you, when trying to access a SAMBA share via Windows "Add Network Places" The only option I have to logon is DOOMIT\Guets (DOOMIT is the NetBIOS Name of my samba server). HOWEVER: There *aren't any* problems, if I try to map the share as network drive (via Win explorer) when SAMBA option security=share. In Windows Explorer Menu: Tools->Map Network Drive Click on the "Connect using different user name" and enter a valid SAMBA user name and password. Then enter the network path to the share in the "Folder" Field of the "Map Network Drive" Dialog click finish and that's it. BUT: Things are different when SAMBA option security=user. Then I do *not* have any problems to access the share via "add network places". Here a login-dialog is displayed where you can enter a user name and password. Mapping network drive via Windows Explorer also works w/o any problem. BTW: I think that in your smb.conf there might by a error: from your posting of smb.conf you have valid users = tim chrissy however, according to the on-line documentation, names in the valid user parameter have to be separated by comma (,) So it should be valid users = tim, chrissy I hope this helps! Regards, Vlad! P.S. Perhaps a developer should take a look on this!! >>Thanks, but I am still having the same problem -- I made sure to reference >>the correct passwd file, but WinXP is still forcing me to logon as >>AGAMEMNON\Guest. >> >>Tim >>Subject: SOME Suggestions on [Samba] Can't the very basic stuff to work >>Hello Tim, >>I have read your posting on the samba mailing list. >>I suggest that you put following lines in your >>smb.conf >> >>encrypt password = yes >>smb passwd file = /etc/samba/smbpasswd >>passwd program = /bin/passwd %u >>CAUTION: The above paths to the smbpasswd and passwd file >>are related to my system. They differ from distribution to >>distribution. So on your Linux system the paths may be different. >>you may determine the path to those files by >> >>find / -name smbpasswd >>and >>find / -name passwd >> >>Now make sure that you have on your Linux system the users >>who shall have access to teh SAMBA Shares. >> >>Regards, >>Vlad -- NEU : GMX Internet.FreeDSL Ab sofort DSL-Tarif ohne Grundgeb|hr: http://www.gmx.net/dsl -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: SOME Suggestions on [Samba] Can't the very basic stuff to work
"Simple File Sharing" - My Computer window, Tools menu, Folders Options, View tab, Advanced settings, then check box at bottom of the list (usually). As for the constant username and password prompts, that's something different. You have to get into the Security Settings, Password Policy. The Local Security Policy shortcut, in the Administrative Tools is the way you would get at that. It took me a while to find that one. I believe the policy that you are looking for is the "Minimum password length". Set it to "0", according to the Help info, that is supposed to allow blank passwords. Hope that helps... Eric -Original Message- From: Tim Booher [mailto:[EMAIL PROTECTED] Sent: May 3, 2004 7:49 PM To: 'Eric Johnson'; [EMAIL PROTECTED] Subject: RE: SOME Suggestions on [Samba] Can't the very basic stuff to work No -- not that I know -- how do I check that? I have been sharing lots of files with other windows computers and have several drives mapped. When I don't have windows passwords, it always prompts me for my password and username. Thanks, Tim My smb.conf # ** [global] workgroup = archenland netbios name = agamemnon security = share printcap name = cups disable spoolss = Yes show add printer wizard = No printing = cups encrypt password = yes smb passwd file = /etc/samba/smbpasswd passwd program = /usr/bin/passwd %u [homes] comment = Tim and Chrissy's Home Directories # we set the valid users = to the current share's name valid users = %S read only = No # we might want to set this to No after troubleshooting browseable = Yes [data] # this is the main share we run all our files from comment=Tim and Chrissy's data store path = /home/data valid users = tim chrissy read only = No writeable = Yes [printers] path = /var/spool/samba guest ok = Yes printable = Yes use client driver = Yes browseable = No -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Johnson Sent: Monday, May 03, 2004 6:50 PM To: [EMAIL PROTECTED] Subject: RE: SOME Suggestions on [Samba] Can't the very basic stuff to work A beginner just listening in... On Windows XP Pro, are you using "Simple File Sharing"? I know that on a Windows network it forces all network connections to be "Guests". Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: May 3, 2004 3:12 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject:SOME Suggestions on [Samba] Can't the very basic stuff to work Hello Tim, I have verified and recreated your problem. As soon as I switch SAMBA option security=share , I have exactly the same problems like you, when trying to access a SAMBA share via Windows "Add Network Places" The only option I have to logon is DOOMIT\Guets (DOOMIT is the NetBIOS Name of my samba server). HOWEVER: There *aren't any* problems, if I try to map the share as network drive (via Win explorer) when SAMBA option security=share. In Windows Explorer Menu: Tools->Map Network Drive Click on the "Connect using different user name" and enter a valid SAMBA user name and password. Then enter the network path to the share in the "Folder" Field of the "Map Network Drive" Dialog click finish and that's it. BUT: Things are different when SAMBA option security=user. Then I do *not* have any problems to access the share via "add network places". Here a login-dialog is displayed where you can enter a user name and password. Mapping network drive via Windows Explorer also works w/o any problem. BTW: I think that in your smb.conf there might by a error: from your posting of smb.conf you have valid users = tim chrissy however, according to the on-line documentation, names in the valid user parameter have to be separated by comma (,) So it should be valid users = tim, chrissy I hope this helps! Regards, Vlad! P.S. Perhaps a developer should take a look on this!! >>Thanks, but I am still having the same problem -- I made sure to reference >>the correct passwd file, but WinXP is still forcing me to logon as >>AGAMEMNON\Guest. >> >>Tim >>Subject: SOME Suggestions on [Samba] Can't the very basic stuff to work >>Hello Tim, >>I have read your posting on the samba mailing list. >>I suggest that you put following lines in your >>smb.conf >> >>encrypt password = yes >>smb passwd file = /etc/samba/smbpasswd >>passwd program = /bin/passwd %u >>CAUTION: The above paths to the smbpasswd and passwd file >>are related to my system. They differ from distribution to >>distribution. So on your Linux system the paths may be different. >>you may determine the
RE: SOME Suggestions on [Samba] Can't the very basic stuff to work
Thanks, but I am still having the same problem -- I made sure to reference the correct passwd file, but WinXP is still forcing me to logon as AGAMEMNON\Guest. Tim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, May 03, 2004 6:11 AM To: [EMAIL PROTECTED] Subject: SOME Suggestions on [Samba] Can't the very basic stuff to work Hello Tim, I have read your posting on the samba mailing list. I suggest that you put following lines in your smb.conf encrypt password = yes smb passwd file = /etc/samba/smbpasswd passwd program = /bin/passwd %u CAUTION: The above paths to the smbpasswd and passwd file are related to my system. They differ from distribution to distribution. So on your Linux system the paths may be different. you may determine the path to those files by find / -name smbpasswd and find / -name passwd Now make sure that you have on your Linux system the users who shall have access to teh SAMBA Shares. I think in your case they are: tim AND chrissy Now, since you are using security=share, so no LDAP server, you need to add these users to your smbpasswd, due it is used for authentification. This shall be done by calling smbpasswd -a user_name so smbpasswd -a tim and smbpasswd -a chrissy you will be promted for a password when adding the user. Give the same password as the unix password for those users. BTW: You shall be the root-user to perform the above said. Now RESTART your smbd and nmbd deamons and verify that they are running: ps -ef|grep smbd and ps -ef|grep nmbd Well, then try to access the FIRST your home directories, from Windows. You may also shall consider to set security=user. In this case you do not need to specify valid users for shares. Hope this helps. Regards, Vlad -- NEU : GMX Internet.FreeDSL Ab sofort DSL-Tarif ohne Grundgebühr: http://www.gmx.net/dsl -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba