<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule">

<channel>
<title>Topic &#x27;Re: Samba Issue&#x27; in forum &#x27;All Things Unix&#x27; - dslreports.com</title>
<link>http://www.dslreports.com/forum/Re-Samba-Issue-27924226</link>
<description></description>
<language>en</language>
<pubDate>Fri, 24 May 2013 12:44:53 EDT</pubDate>
<lastBuildDate>Fri, 24 May 2013 12:44:53 EDT</lastBuildDate>

<item>
<title>Re: Samba Issue</title>
<link>http://www.dslreports.com/forum/Re-Samba-Issue-27948452</link>
<description><![CDATA[rexbinary posted : <div class="bquote"><said>said by <a href="/profile/522822" onClick="this.blur(); return popup(event,'/uidpop?ajh=1&uid=522822');">Archivis</a>:</said><p>I wanted to report back that I discovered that SELINUX was set to targeted and was causing issues. <br> </p></div>Drat. I was going to suggest that, but I was waiting to see how it went with the other troubleshooting suggested. Next time I'll suggest sooner!<br><br>If you get interested in re-enabling SELINUX, the common booleans needed are listed in the the top of /etc/samba/smb.conf<br><small>--<br>Verizon FiOS subscriber since 2005 | Mac owner since 1990 | Fedora user since 2006 | CentOS user since 2007 | "Anyone who is unwilling to learn is entitled to absolutely nothing." - graysonf | EDIT: I seldom post without an edit.</small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-Samba-Issue-27948452</guid>
<pubDate>Fri, 25 Jan 2013 23:29:40 EDT</pubDate>
</item>

<item>
<title>Re: Samba Issue</title>
<link>http://www.dslreports.com/forum/Re-Samba-Issue-27945757</link>
<description><![CDATA[Archivis posted : I wanted to report back that I discovered that SELINUX was set to targeted and was causing issues.  I knew Samba wasn't so complex and that's why I couldn't see anything in the logs.  I shut that off (I don't need it for this server) and everything works just fine.<br><br>Thanks for the help.<br><small>--<br>A government big enough to give you everything you want, is strong enough to take everything you have. -MLK</small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-Samba-Issue-27945757</guid>
<pubDate>Fri, 25 Jan 2013 08:43:03 EDT</pubDate>
</item>

<item>
<title>Re: Samba Issue</title>
<link>http://www.dslreports.com/forum/Re-Samba-Issue-27927011</link>
<description><![CDATA[watice posted : probably an obvious question/answer, but did you add samba users & aliases?]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-Samba-Issue-27927011</guid>
<pubDate>Sat, 19 Jan 2013 06:45:06 EDT</pubDate>
</item>

<item>
<title>Re: Samba Issue</title>
<link>http://www.dslreports.com/forum/Re-Samba-Issue-27925739</link>
<description><![CDATA[koitsu posted : <div class="bquote"><said>said by <a href="/profile/522822" onClick="this.blur(); return popup(event,'/uidpop?ajh=1&uid=522822');">Archivis</a>:</said><p>Let me ask you, if I have Domain Controllers to work off of and I can get their Unix names to be identical to their AD stuff, do you know how I can set that up?</p></div>Sorry, nope.  I'm a UNIX administrator by profession; Domain Controllers and Active Directory are a Windows/Microsoft thing, and (both sadly and thankfully :-) ) I have no experience with them.  On the Samba end of things, all I know is that you should be running Samba 4.x if you want to do Active Directory.<br><br><div class="bquote"><said>said by <a href="/profile/522822" onClick="this.blur(); return popup(event,'/uidpop?ajh=1&uid=522822');">Archivis</a>:</said><p>I've gone through the documentation on it and I think I'm just burnt out on this.</p></div>Hearing you on FM -- the Samba docs are immense and are quite overwhelming.  I can only read a "chapter" or large section before I have to take a break.  SMB/CIFS is such a mess in this regard; classic bare-bones NFS seems so simple in comparison.  Windows just does a lot of things very differently (and often not in a pleasurable way).<br><br><div class="bquote"><said>said by <a href="/profile/522822" onClick="this.blur(); return popup(event,'/uidpop?ajh=1&uid=522822');">Archivis</a>:</said><p>I did also read that security = share hasn't worked for a while, but not until I spent several hours on it. </p></div>Give <code>security = user</code> a shot along with adding proper users via <code>pdbedit</code> and see if things improve.  If not I can provide my <code>smb.conf</code> and a sample user entry and le you give that a try.<br><small>--<br>Making life hard for others since 1977.<br>I speak for <A HREF="http://jdc.koitsu.org/">myself</a> and not my employer/affiliates of my employer.</small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-Samba-Issue-27925739</guid>
<pubDate>Fri, 18 Jan 2013 17:53:50 EDT</pubDate>
</item>

<item>
<title>Re: Samba Issue</title>
<link>http://www.dslreports.com/forum/Re-Samba-Issue-27925140</link>
<description><![CDATA[Archivis posted : Let me ask you, if I have Domain Controllers to work off of and I can get their Unix names to be identical to their AD stuff, do you know how I can set that up?<br><br>I've gone through the documentation on it and I think I'm just burnt out on this.<br><br>I did also read that security = share hasn't worked for a while, but not until I spent several hours on it.<br><small>--<br>A government big enough to give you everything you want, is strong enough to take everything you have. -MLK</small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-Samba-Issue-27925140</guid>
<pubDate>Fri, 18 Jan 2013 14:55:38 EDT</pubDate>
</item>

<item>
<title>Re: Samba Issue</title>
<link>http://www.dslreports.com/forum/Re-Samba-Issue-27925097</link>
<description><![CDATA[koitsu posted : The problem with Samba is that most people seem to try to bang on gongs with it rather than actually reading about how it works and how to properly maintain it.  It doesn't help that 90% of what's on the web is completely wrong either.<br><br>Your Samba logs should contain verbose details about what's going on.  Please don't say "no they don't" -- you're either looking in the wrong spot or at the wrong log.  For example on FreeBSD the logs are stored in <code>/var/log/samba</code>.  There are multiple log files to look at (<code>log.nmbd</code>, <code>log.smbd</code>, <code>log.xxx</code> where xxx is usually a NetBIOS machine name or if you use the %i parameter in your log filename then it's the IP address of the connecting client, and sometimes in that case there's <code>log.0.0.0.0</code>).<br><br>I would say your issue stems from use of <code>security = share</code> and not <code>security = user</code>.  I haven't seen the "share" model work for quite some time, mostly because machines doing authentication send along a password, while the "share" model doesn't require one.<br><br>Do not simply change <code>security = share</code> to <code>security = user</code> and expect everything to work.  You will need to use <code>pdbedit</code> to add an actual Samba user whose Windows ("NT") username should match the UNIX username; the "NT username" field left blank means to correlate it with the UNIX username.  When you add the account using pdbedit you'll be prompted for a password; this should be the same password the user enters when they log in to the system.  Mismatched passwords will result in an authentication error.  You should also ensure that <code>passdb backend = tdbsam</code> is set (that's what I use anyway), which is what pdbedit prefers.<br><br>You can verify the password is correct on the Samba server by doing <code>smbclient --user windowsusername '\\ipaddressofsambaserver\sharename'</code>.  You'll be prompted for a password; enter it and if all is well you'll be given a <code>smb: \&gt;</code> prompt, where you can do <code>ls</code> and so on.<br><br>If you want me to provide a working Samba <code>smb.conf</code> and step you through what all needs to be done, I can do so.  My Samba configuration has migrated/worked since the early 3.x days and I understand fully what every parameter does/how things behave, ditto with the "performance tuning" aspects.<br><br><small>--<br>Making life hard for others since 1977.<br>I speak for <A HREF="http://jdc.koitsu.org/">myself</a> and not my employer/affiliates of my employer.</small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-Samba-Issue-27925097</guid>
<pubDate>Fri, 18 Jan 2013 14:45:56 EDT</pubDate>
</item>

<item>
<title>Re: Samba Issue</title>
<link>http://www.dslreports.com/forum/Re-Samba-Issue-27924791</link>
<description><![CDATA[Archivis posted : I have tried using a different username, including root, some other accounts, etc.  I can see the server's shares when I type in \\I.P.Add.ress and look at it.<br><br>I'm coming from Windows Server 2008.<br><small>--<br>A government big enough to give you everything you want, is strong enough to take everything you have. -MLK</small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-Samba-Issue-27924791</guid>
<pubDate>Fri, 18 Jan 2013 13:36:43 EDT</pubDate>
</item>

<item>
<title>Re: Samba Issue</title>
<link>http://www.dslreports.com/forum/Re-Samba-Issue-27924743</link>
<description><![CDATA[El Quintron posted : When I run into this at home, it usually lets me autheticate from Windows as the Linux machine owner,  have you tried logging in with the user id and password of the Linux machine doing the sharing?<br><br>Other possiblity is that you may have to tweak the Windows machine trying to access the share. Which version of Windows is the client machine using?<br><br>I've only even had to troubleshoot this on Ubuntu with Windows machines on the same LAN... but this may be enough to get you going.<br><small>--<br>Support Bacteria -- It's the Only Culture Some People Have</small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-Samba-Issue-27924743</guid>
<pubDate>Fri, 18 Jan 2013 13:26:21 EDT</pubDate>
</item>

<item>
<title>Samba Issue</title>
<link>http://www.dslreports.com/forum/Samba-Issue-27924226</link>
<description><![CDATA[Archivis posted : I like Samba when it works, but I really hate Samba when it's being a bitch.  I have a RHEL6 box that's running the latest version of Samba as available via YUM.<br><br>I'm having issues getting any shares to work at all.<br><br><code><br>[global]<br>        security = share<br>        guest account = nobody<br>        map to guest = Bad User<br>        username map = /etc/samba/smbusers<br><br>[varlog]<br>        path = /var/log<br>        public = yes<br>        available = yes<br>        read only = yes<br>[test]<br>        path = /test<br>        public = yes<br></code><br><br>This is my smb.conf file.  My global stuff is really just me screwing around with no change in results.<br><br>I can access the machine via \\IP and see the varlog and test shares, but when I click on them, I get "Access is Denied" on the Windows side.<br><br>Logs have been no help.  When I turn it up to log level 3, I see no errors, just shit about call_trans2qfilepathinfo.<br><br>I don't even care about security at this point.  The /test directory is chmod 777.  I've tried ownership via root, nobody, a user, it doesn't matter.<br><br>I can see the server, but can't hit any of the shares.  I'm hitting a wall here and was wondering what the next step would be to troubleshoot this.<br><br><small>--<br>A government big enough to give you everything you want, is strong enough to take everything you have. -MLK</small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Samba-Issue-27924226</guid>
<pubDate>Fri, 18 Jan 2013 11:10:40 EDT</pubDate>
</item>

</channel>
</rss>
