<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Well I went from centos 5 to 6 and copied over my smb.conf and
    everything worked fine<br>
    I can't remember if I copied over the smb passwords or just created
    them again with smbpasswd, but I have not used tdbedit, so I didn't
    realize that it is the preferred method now. And now that I've
    looked at it, smbpasswd is still supported, but I don't know for how
    long. :P<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 2/20/2013 2:01 PM, Eric Cope wrote:<br>
    </div>
    <blockquote
cite="mid:CA+KsXZSAmcC+faQ3PHNVr9sU15WuFwihVs26OLVgbMBmHxXnww@mail.gmail.com"
      type="cite">
      <div dir="ltr">Lee, 
        <div style="">you're right. tdbedit is the command.</div>
        <div style="">Thanks,</div>
        <div style="">Eric</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Wed, Feb 20, 2013 at 1:01 PM, Lee
          Reynolds <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:Lee.Reynolds@asu.edu" target="_blank">Lee.Reynolds@asu.edu</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Glad to
            hear you have it working.<br>
            <br>
            Your question about tbdsam kind of stumped me in that I had
            no idea where samba stored this information.<br>
            <br>
            After some searching around, I found out that the tbdsam
            files are stored in /var/lib/samba/private  (On Centos 6.x
            at least)<br>
            <br>
            But I'm not finding the command you're mentioning,
            tbdconfig.  Are you sure you're spelling it right?<br>
            <br>
            I did stumble across a command you might find useful:
            pdbedit<br>
            <br>
            This will list info on all your samba users:<br>
            <br>
            pdbedit -L -v<br>
            <div class="im"><br>
              <br>
              <br>
              <br>
              Lee Reynolds<br>
              Systems Analyst Principal<br>
              ASU Advanced Computing Center<br>
              <a moz-do-not-send="true" href="http://a2c2.asu.edu"
                target="_blank">a2c2.asu.edu</a><br>
              <br>
              GWC-558<br>
              <a moz-do-not-send="true" href="tel:480.965.9460"
                value="+14809659460">480.965.9460</a> (Office)<br>
              <a moz-do-not-send="true" href="tel:480.458.7434"
                value="+14804587434">480.458.7434</a> (Mobile)<br>
              <br>
              Have an A2C2 related question or problem?<br>
              <br>
              Just send an email to the following address detailing<br>
              the nature of the question or problem and a service
              request<br>
              will be created automatically:<br>
              <br>
              <a moz-do-not-send="true"
                href="mailto:support@hpchelp.asu.edu">support@hpchelp.asu.edu</a><br>
              <br>
              <br>
              <br>
              ________________________________________<br>
              From: <a moz-do-not-send="true"
                href="mailto:plug-discuss-bounces@lists.phxlinux.org">plug-discuss-bounces@lists.phxlinux.org</a>
              [<a moz-do-not-send="true"
                href="mailto:plug-discuss-bounces@lists.phxlinux.org">plug-discuss-bounces@lists.phxlinux.org</a>]
              on behalf of Eric Cope [<a moz-do-not-send="true"
                href="mailto:eric.cope@gmail.com">eric.cope@gmail.com</a>]<br>
            </div>
            Sent: Tuesday, February 19, 2013 9:10 PM<br>
            <div class="im">To: Main PLUG discussion list<br>
            </div>
            Subject: Re: Samba on CentOS<br>
            <div class="im"><br>
              I used tbdconfig to set my password instead of smbpasswd.
              I rebooted, and now it works.<br>
              <br>
              Thanks,<br>
              Eric<br>
              <br>
              <br>
              <br>
            </div>
            <div class="im">On Tue, Feb 19, 2013 at 8:59 PM, Eric Cope
              <<a moz-do-not-send="true"
                href="mailto:eric.cope@gmail.com">eric.cope@gmail.com</a><mailto:<a
                moz-do-not-send="true" href="mailto:eric.cope@gmail.com">eric.cope@gmail.com</a>>>
              wrote:<br>
              ok, I ran getenforce. It was "enforcing". I ran setenforce
              permissive, but I still have the issue.<br>
              <br>
              Here is my conf entry:<br>
              <br>
              [voltamp]<br>
                 comment = Voltamp File Space on 2<br>
                 valid users = +voltamp<br>
                 path = /voltamp<br>
                 force create mode = 0770<br>
                 force directory mode = 0770<br>
                 create mask = 0007<br>
                 read only = no<br>
                 writable = yes<br>
              <br>
               I did the smbpasswd for the user, but I can't find where
              the user is added. my conf file says it uses the tdbsam,
              but I don't know much about it.<br>
              <br>
              I checked my file permissions, they are set to 770. Any
              ideas?<br>
              Thanks,<br>
              Eric<br>
              <br>
              <br>
            </div>
            <div class="im">On Tue, Feb 19, 2013 at 12:11 PM, Lee
              Reynolds <<a moz-do-not-send="true"
                href="mailto:Lee.Reynolds@asu.edu">Lee.Reynolds@asu.edu</a><mailto:<a
                moz-do-not-send="true"
                href="mailto:Lee.Reynolds@asu.edu">Lee.Reynolds@asu.edu</a>>>
              wrote:<br>
              The conf file isn't the only thing you need to copy.  You
              also need the file(s) that hold the samba passwords.
               Where this file is and what it is called has changed in
              more recent versions of samba, so you'll have to do some
              looking.  Your smb.conf file should tell you something.
               The smbusers file might also need to be copied.<br>
              <br>
              Also, as others have mentioned, SELINUX is a hell of a
              drug.  Luckily it can be configured to let samba do its
              thing.  I did this myself recently and only two changes
              were required, but don't ask me to repeat them from
              memory.  There is a tool in KDE that runs in the system
              tray that tells you when selinux is fussing, and it also
              provides tips on how to make it be quiet.  This is how I
              got it working on my laptop.<br>
              <br>
              <br>
              <br>
              Lee Reynolds<br>
              Systems Analyst Principal<br>
              ASU Advanced Computing Center<br>
            </div>
            <a moz-do-not-send="true" href="http://a2c2.asu.edu"
              target="_blank">a2c2.asu.edu</a><<a
              moz-do-not-send="true" href="http://a2c2.asu.edu"
              target="_blank">http://a2c2.asu.edu</a>><br>
            <br>
            GWC-558<br>
            <a moz-do-not-send="true" href="tel:480.965.9460"
              value="+14809659460">480.965.9460</a><tel:<a
              moz-do-not-send="true" href="tel:480.965.9460"
              value="+14809659460">480.965.9460</a>> (Office)<br>
            <a moz-do-not-send="true" href="tel:480.458.7434"
              value="+14804587434">480.458.7434</a><tel:<a
              moz-do-not-send="true" href="tel:480.458.7434"
              value="+14804587434">480.458.7434</a>> (Mobile)<br>
            <div class="im"><br>
              Have an A2C2 related question or problem?<br>
              <br>
              Just send an email to the following address detailing<br>
              the nature of the question or problem and a service
              request<br>
              will be created automatically:<br>
              <br>
            </div>
            <a moz-do-not-send="true"
              href="mailto:support@hpchelp.asu.edu">support@hpchelp.asu.edu</a><mailto:<a
              moz-do-not-send="true"
              href="mailto:support@hpchelp.asu.edu">support@hpchelp.asu.edu</a>><br>
            <br>
            <br>
            <br>
            ________________________________________<br>
            From: <a moz-do-not-send="true"
              href="mailto:plug-discuss-bounces@lists.phxlinux.org">plug-discuss-bounces@lists.phxlinux.org</a><mailto:<a
              moz-do-not-send="true"
              href="mailto:plug-discuss-bounces@lists.phxlinux.org">plug-discuss-bounces@lists.phxlinux.org</a>>
            [<a moz-do-not-send="true"
              href="mailto:plug-discuss-bounces@lists.phxlinux.org">plug-discuss-bounces@lists.phxlinux.org</a><mailto:<a
              moz-do-not-send="true"
              href="mailto:plug-discuss-bounces@lists.phxlinux.org">plug-discuss-bounces@lists.phxlinux.org</a>>]
            on behalf of Eric Cope [<a moz-do-not-send="true"
              href="mailto:eric.cope@gmail.com">eric.cope@gmail.com</a><mailto:<a
              moz-do-not-send="true" href="mailto:eric.cope@gmail.com">eric.cope@gmail.com</a>>]<br>
            <div class="im">Sent: Tuesday, February 19, 2013 11:21 AM<br>
              To: Main PLUG discussion list<br>
              Subject: Samba on CentOS<br>
              <br>
              Hi all,<br>
              I am trying to get Samba to installed on a CentOS 6.2
              machine. I have read-only access working, but when I try
              to make edits to files, it claims I don't have
              permissions. I copied my smb.conf file from another
              machine that had things working, so the conf file should
              be good.<br>
              <br>
              I read some online about SELinux settings. I tried setting
              a few, but it had no change. Does anyone have any ideas?<br>
              <br>
              Thanks,<br>
              Eric<br>
              ---------------------------------------------------<br>
            </div>
            PLUG-discuss mailing list - <a moz-do-not-send="true"
              href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><mailto:<a
              moz-do-not-send="true"
              href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a>><br>
            <div class="HOEnZb">
              <div class="h5">To subscribe, unsubscribe, or to change
                your mail settings:<br>
                <a moz-do-not-send="true"
                  href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss"
                  target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
                <br>
                <br>
                ---------------------------------------------------<br>
                PLUG-discuss mailing list - <a moz-do-not-send="true"
                  href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>
                To subscribe, unsubscribe, or to change your mail
                settings:<br>
                <a moz-do-not-send="true"
                  href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss"
                  target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">---------------------------------------------------
PLUG-discuss mailing list - <a class="moz-txt-link-abbreviated" href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a>
To subscribe, unsubscribe, or to change your mail settings:
<a class="moz-txt-link-freetext" href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a></pre>
    </blockquote>
    <br>
  </body>
</html>