tag:blogger.com,1999:blog-5617019537770140471.post7213356209816583243..comments2017-04-24T09:58:32.361-04:00Comments on darkphader's ramblings: Samba and guest shares with "security = user"Darkphaderhttp://www.blogger.com/profile/00522202035245685302noreply@blogger.comBlogger13125tag:blogger.com,1999:blog-5617019537770140471.post-7225336104584871452013-02-28T15:39:01.505-05:002013-02-28T15:39:01.505-05:00Glad I saw your note regarding the username. I had...Glad I saw your note regarding the username. I had to deluser AND delgroup before samba stopped prompting for password on my writable guest share (on debian squeeze).Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5617019537770140471.post-43073380675661403052011-08-19T15:09:38.393-04:002011-08-19T15:09:38.393-04:00Seems to work for windows 7 after all, just make s...Seems to work for windows 7 after all, just make sure the username you use on the windows machine doesn't match any linux username.<br />It does however still give me username/password popup. When I just enter some crap as password, it connects as guest.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5617019537770140471.post-20590230361751568042011-08-19T15:03:19.152-04:002011-08-19T15:03:19.152-04:00Doesn't work from Windows 7 client.Doesn't work from Windows 7 client.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5617019537770140471.post-85537258756218989912011-07-25T16:13:08.893-04:002011-07-25T16:13:08.893-04:00testparm can't parse this line:
-- no 'val...testparm can't parse this line:<br />-- no 'valid users =' line --<br /><br />Using Ubuntu 11.04 Server everything is up2dateAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5617019537770140471.post-48619875323554860612011-04-20T01:45:20.443-04:002011-04-20T01:45:20.443-04:00Something i should probably mention is i am using ...Something i should probably mention is i am using netgears stora for this which has a version of samba but i dont have the commands like pdbedit or testparm but i do have most of the other commands and i have sudo access so thats how i make the changes. <br /><br />i tried the above and none of it worked including the guest account which i enabled since that didnt work i tried the administrator account which i enabled and that worked like it was supposed to which got me to thinking so i created a admin account (which was listed in the smbusers file. the other accounts that were listed as well but were under the nobody = guest pcguest didnt work even though i created them inside windows. however anything that was listed as being under root = administrator , admin, and any other id i put in there saw the public folder fine. just not the people listed for nobody = which is just fine.robnoreply@blogger.comtag:blogger.com,1999:blog-5617019537770140471.post-66414566707782294442011-04-19T15:08:01.741-04:002011-04-19T15:08:01.741-04:00@Rob
Sorry about that - I've never had an inst...@Rob<br />Sorry about that - I've never had an install where it didn't work. Maybe something else in your configuration. Did you post your complete smb.conf?<br />Maybe you're already connected as another user. Try running:<br />net use * /delete /yes<br />in a command prompt first.<br />Also try setting:<br />guest only = yes<br />in your share. Then you should get a credentials box (unless you're logged as guest - which isn't normal as that account is typically left disabled) requiring you to supply "guest" as the username.<br />Another thing to check: make sure you didn't actually create a user named guest in Samba:<br />pdbedit -L<br />should not list a user named guest.Darkphaderhttps://www.blogger.com/profile/00522202035245685302noreply@blogger.comtag:blogger.com,1999:blog-5617019537770140471.post-11490510553530252222011-04-19T12:30:13.389-04:002011-04-19T12:30:13.389-04:00its still not working but thanks for your helpits still not working but thanks for your helpRobnoreply@blogger.comtag:blogger.com,1999:blog-5617019537770140471.post-65044422733789596722011-04-19T00:47:57.106-04:002011-04-19T00:47:57.106-04:00@Rob
Nothing jumping out at me here.
Although remo...@Rob<br />Nothing jumping out at me here.<br />Although removing the the "public = yes" from your share is a good idea as it is just a synonym for "guest ok = yes", which you already have.<br />You may want to read the man file regarding "preferred master = yes" - maybe not a great idea to set that, and the same for "mangled names = no". Also "browseable = yes" is a default and no need to place it in the global section. When troubleshooting simplify using defaults.<br />Always do a "testparm" to make sure your smb.conf shows no errors and that the values assigned to the parameters are what you expect.<br />Do double check that "nobody" is an actual user on your system. I get this:<br /># grep 'nobody' /etc/passwd<br />nobody:x:65534:65534:nobody:/:/bin/false<br /><br />ChrisDarkphaderhttps://www.blogger.com/profile/00522202035245685302noreply@blogger.comtag:blogger.com,1999:blog-5617019537770140471.post-56709498273085376022011-04-18T23:22:20.059-04:002011-04-18T23:22:20.059-04:00i'm still being prompted for a password for my...i'm still being prompted for a password for my public share below is the contents of my smb file. any ideas??<br /><br /><br />[global]<br /><br />netbios name = STORA<br />workgroup = WORKGROUP<br />server string = Stora<br /><br />#netbios aliases = STORA2<br /><br /><br />security = user<br />#security = share<br />encrypt passwords = yes<br />smb passwd file = /etc/samba/smbpasswd<br />use sendfile = yes<br />username map = /etc/samba/smbusers<br />guest account = nobody<br /><br />printcap name = cups<br /><br />dns proxy = no<br /><br />browseable = yes<br />Map to guest = Bad User<br /><br />domain master = no<br />local master = yes<br />preferred master = yes<br />os level = 2<br />unix charset = UTF8<br />mangled names = no<br /><br />[Public]<br />comment = Stora (Public)<br />browseable = yes<br />writable = yes<br />path = /home/public<br />guest ok = yes<br />public = yes<br /><br />my smbusers file shows nobody = guestRobnoreply@blogger.comtag:blogger.com,1999:blog-5617019537770140471.post-3649598676458814832011-03-17T12:20:31.502-04:002011-03-17T12:20:31.502-04:00THANK YOU!!!!THANK YOU!!!!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5617019537770140471.post-23280611225350446682010-12-31T14:21:47.404-05:002010-12-31T14:21:47.404-05:00Found this: DD-WRT does not include user nobody (I...Found this: DD-WRT does not include user nobody (I did mention that you need a valid 'nix guest user to map to) at startup (user nobody is the Linux default for "guest").<br />http://www.dd-wrt.com/wiki/index.php/OptwareDarkphaderhttps://www.blogger.com/profile/00522202035245685302noreply@blogger.comtag:blogger.com,1999:blog-5617019537770140471.post-76189334399411570692010-12-27T10:25:14.579-05:002010-12-27T10:25:14.579-05:00Has worked on every Samba install I've seen fo...Has worked on every Samba install I've seen for years - but they have all been on "standard" Linux distros. I have a version of ddwrt running on an AP but it doesn't have the memory to run Samba. It's possible the available Samba packages for ddwrt are crippled in some way to reduce their memory footprint.Darkphaderhttps://www.blogger.com/profile/00522202035245685302noreply@blogger.comtag:blogger.com,1999:blog-5617019537770140471.post-55468158590414529002010-12-27T02:29:03.922-05:002010-12-27T02:29:03.922-05:00not working on my Samba 3.5 in ddwrt.not working on my Samba 3.5 in ddwrt.Anonymoushttps://www.blogger.com/profile/05301150384682821352noreply@blogger.com