<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Great!<br>
      <br>
      On 04/20/2014 17:55, Joe Maloney wrote:<br>
    </div>
    <blockquote
cite="mid:CAGgLw5bO3boiBnaUMP=+e7gOvTBoMRm_Nuqvv8uE6Ur6bet9LQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Confirmed the new pw code to create home
        directories for PDCM works.  Still have to modify
        /etc/rc.conf.pcbsd by hand to use samba_server_enable=“YES”
        until that part of the system update gets passed out.  Otherwise
        working out of box now.  :)
        <div>
          <br>
        </div>
        <div>Joe Maloney</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Thu, Apr 17, 2014 at 7:12 AM, Ken
          Moore <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:ken@pcbsd.org" target="_blank">ken@pcbsd.org</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF">
              <div>All done.<br>
                PCDM should now use the "pw" utility to create the
                user's home directory if it does not exist, but the
                login credentials are valid.
                <div>
                  <div class="h5"><br>
                    <br>
                    On 04/14/2014 11:40, Kris Moore wrote:<br>
                  </div>
                </div>
              </div>
              <div>
                <div class="h5">
                  <blockquote type="cite">
                    <div><br>
                      I merged those changes into freebsd/master. I'll
                      backport it to stable/10 and releng/10.0 as well.
                      As for PCDM, I think it can be set to do that
                      automatically.<br>
                      <br>
                      Ken, can you make that change? If the login / pass
                      is successful, yet $HOME doesn't exist, create
                      $HOME directory. <br>
                      <br>
                      On 04/12/2014 20:33, Joe Maloney wrote:<br>
                    </div>
                    <blockquote type="cite">
                      <div dir="ltr">I’ve updated pc-samba again in
                        master with another fix for starting samba and
                        I’ve proposed a change for rc.conf.pcbsd to fix
                        samba not starting up.  Those two changes will
                        also fix the previous winbind startup issues and
                        active directory users will now appear out of
                        box when joined to an ad.
                        <div> <br>
                        </div>
                        <div>The only thing left for it to be fully
                          functional out of box would be to somehow have
                          PCDM create a /usr/home/%username% directory
                          when a new user logs in that doesn’t yet have
                          a home directory.  Otherwise if the user
                          creates a home directory manually the login
                          works fine.
                          <div> <br>
                          </div>
                          <div>Joe Maloney</div>
                        </div>
                      </div>
                      <div class="gmail_extra"><br>
                        <br>
                        <div class="gmail_quote">On Fri, Mar 28, 2014 at
                          11:07 AM, Joe Maloney <span dir="ltr"><<a
                              moz-do-not-send="true"
                              href="mailto:jmaloney@pcbsd.org"
                              target="_blank">jmaloney@pcbsd.org</a>></span>
                          wrote:<br>
                          <blockquote class="gmail_quote"
                            style="margin:0 0 0 .8ex;border-left:1px
                            #ccc solid;padding-left:1ex">
                            <div dir="ltr">Changed.  Was just checking
                              first because Ken said we should ask you
                              before changing that one.<span><font
                                  color="#888888">
                                  <div> <br>
                                  </div>
                                  <div>Joe Maloney</div>
                                </font></span></div>
                            <div>
                              <div>
                                <div class="gmail_extra"><br>
                                  <br>
                                  <div class="gmail_quote">On Fri, Mar
                                    28, 2014 at 10:15 AM, Kris Moore <span
                                      dir="ltr"><<a
                                        moz-do-not-send="true"
                                        href="mailto:kris@pcbsd.org"
                                        target="_blank">kris@pcbsd.org</a>></span>
                                    wrote:<br>
                                    <blockquote class="gmail_quote"
                                      style="margin:0 0 0
                                      .8ex;border-left:1px #ccc
                                      solid;padding-left:1ex">
                                      <div text="#000000"
                                        bgcolor="#FFFFFF">
                                        <div><br>
                                          Sure! Can you make the change,
                                          or would you like me to do it?
                                          <div>
                                            <div><br>
                                              <br>
                                              On 03/27/2014 21:51, Joe
                                              Maloney wrote:<br>
                                            </div>
                                          </div>
                                        </div>
                                        <div>
                                          <div>
                                            <blockquote type="cite">
                                              <div dir="ltr">Kris,
                                                <div>can we change
                                                  smb.conf here to
                                                  smb4.conf to begin to
                                                  fix pc-adsldap domain
                                                  joins?</div>
                                                <div><br>
                                                </div>
                                                <div><a
                                                    moz-do-not-send="true"
href="https://github.com/pcbsd/pcbsd/blob/91d60cdbfb76269232372ffcdd3239c069453899/src-sh/pc-adctl/scripts/pc-samba"
style="font-family:arial,sans-serif;font-size:13px" target="_blank">https://github.com/pcbsd/pcbsd/blob/91d60cdbfb76269232372ffcdd3239c069453899/src-sh/<span>pc</span>-adctl/scripts/<span>pc</span>-samba</a><br>
                                                </div>
                                                <div><br>
                                                </div>
                                                <div>Joe Maloney</div>
                                              </div>
                                              <div class="gmail_extra"><br>
                                                <br>
                                                <div class="gmail_quote">On
                                                  Wed, Mar 19, 2014 at
                                                  9:12 PM, Joe Maloney <span
                                                    dir="ltr"><<a
                                                      moz-do-not-send="true"
href="mailto:jmaloney@pcbsd.org" target="_blank">jmaloney@pcbsd.org</a>></span>
                                                  wrote:<br>
                                                  <blockquote
                                                    class="gmail_quote"
                                                    style="margin:0 0 0
                                                    .8ex;border-left:1px
                                                    #ccc
                                                    solid;padding-left:1ex">
                                                    <div dir="ltr">Login
                                                      without the user
                                                      list also works
                                                      perfect.<span><font
color="#888888">
                                                          <div><br>
                                                          </div>
                                                          <div>Joe
                                                          Maloney</div>
                                                          <div><br>
                                                          </div>
                                                        </font></span></div>
                                                    <div>
                                                      <div>
                                                        <div
                                                          class="gmail_extra"><br>
                                                          <br>
                                                          <div
                                                          class="gmail_quote">On

                                                          Wed, Mar 19,
                                                          2014 at 9:09
                                                          PM, Joe
                                                          Maloney <span
                                                          dir="ltr"><<a
moz-do-not-send="true" href="mailto:jmaloney@pcbsd.org" target="_blank">jmaloney@pcbsd.org</a>></span>
                                                          wrote:<br>
                                                          <blockquote
                                                          class="gmail_quote"
                                                          style="margin:0
                                                          0 0
                                                          .8ex;border-left:1px
                                                          #ccc
                                                          solid;padding-left:1ex">
                                                          <div dir="ltr">It’s
                                                          not creating
                                                          the home
                                                          directories.
                                                           Once I
                                                          created
                                                          /usr/home/jmaloney
                                                          manually it
                                                          worked.  That
                                                          explains why
                                                          it was working
                                                          on my old
                                                          setup until I
                                                          removed that
                                                          user from my
                                                          local system
                                                          and nuked the
                                                          dataset for
                                                          that user.
                                                          <div> <br>
                                                          </div>
                                                          <div>So.  4
                                                          steps required
                                                          to make it
                                                          work.</div>
                                                          <div><br>
                                                          </div>
                                                          <div>Change
                                                          smb.conf to
                                                          smb4.conf in
                                                          pc-samba</div>
                                                          <div>launch
                                                          winbindd</div>
                                                          <div>restart
                                                          PCDM after
                                                          launching
                                                          winbind</div>
                                                          <div>mkdir
                                                          /usr/home/%username%<span><font
color="#888888"><br>
                                                          <div><br>
                                                          </div>
                                                          <div>Joe
                                                          Maloney</div>
                                                          </font></span></div>
                                                          </div>
                                                          <div>
                                                          <div>
                                                          <div
                                                          class="gmail_extra"><br>
                                                          <br>
                                                          <div
                                                          class="gmail_quote">On


                                                          Wed, Mar 19,
                                                          2014 at 8:20
                                                          PM, Joe
                                                          Maloney <span
                                                          dir="ltr"><<a
moz-do-not-send="true" href="mailto:jmaloney@pcbsd.org" target="_blank">jmaloney@pcbsd.org</a>></span>
                                                          wrote:<br>
                                                          <blockquote
                                                          class="gmail_quote"
                                                          style="margin:0
                                                          0 0
                                                          .8ex;border-left:1px
                                                          #ccc
                                                          solid;padding-left:1ex">
                                                          <div dir="ltr">After


                                                          some more
                                                          testing I see
                                                          that I can log
                                                          in as a local
                                                          user with just
                                                          “admin” and no
                                                          problems.  It
                                                          seems now even
                                                          if I bring
                                                          back the list
                                                          of users and
                                                          click to login
                                                          it still
                                                          hangs.  I more
                                                          than likely
                                                          just borked my
                                                          setup when I
                                                          tried to
                                                          install samba
                                                          port to see if
                                                          it would bring
                                                          back
                                                          /usr/local/etc/rc.d/winbindd
                                                          script so that
                                                          I could make
                                                          it start
                                                          automatically.
                                                           Which it
                                                          didn’t so I
                                                          need to figure
                                                          that out.  I
                                                          will start
                                                          over fresh and
                                                          just make that
                                                          smb.conf >
                                                          smb4.conf
                                                          change in
                                                          pc-samba and
                                                          at most start
                                                          winbindd
                                                          manually and
                                                          see what
                                                          happens...<span><font
color="#888888">
                                                          <div> <br>
                                                          </div>
                                                          <div>Joe
                                                          Maloney</div>
                                                          <div><br>
                                                          </div>
                                                          </font></span></div>
                                                          <div>
                                                          <div>
                                                          <div
                                                          class="gmail_extra"><br>
                                                          <br>
                                                          <div
                                                          class="gmail_quote">On


                                                          Wed, Mar 19,
                                                          2014 at 10:18
                                                          AM, Ken Moore
                                                          <span
                                                          dir="ltr"><<a
moz-do-not-send="true" href="mailto:ken@pcbsd.org" target="_blank">ken@pcbsd.org</a>></span>
                                                          wrote:<br>
                                                          <blockquote
                                                          class="gmail_quote"
                                                          style="margin:0
                                                          0 0
                                                          .8ex;border-left:1px
                                                          #ccc
                                                          solid;padding-left:1ex">
                                                          <div
                                                          bgcolor="#FFFFFF"
                                                          text="#000000">
                                                          <div>
                                                          <div>On
                                                          03/19/2014
                                                          10:45, Joe
                                                          Maloney wrote:<br>
                                                          </div>
                                                          <blockquote
                                                          type="cite">
                                                          <div dir="ltr">
                                                          <div>I
                                                          actually
                                                          tested with
                                                          FreeNAS
                                                          9.2.1.2
                                                          configured as
                                                          a domain
                                                          controller. 
                                                          :)  I'm moving
                                                          on to a new
                                                          job full-time
                                                          in a few weeks
                                                          where I've
                                                          already
                                                          deployed about
                                                          5 FreeNAS
                                                          servers so far
                                                          to replace an
                                                          old samba3 +
                                                          openldap
                                                          setup.  So
                                                          I've been
                                                          consumed with
                                                          figuring out
                                                          the perfect
                                                          setup for that
                                                          which I have
                                                          and it's
                                                          working great
                                                          so far.<br>
                                                          <br>
                                                          I'm hoping to
                                                          get a new work
                                                          PC set up my
                                                          first day with
                                                          PCBSD joined
                                                          to the
                                                          directory so I
                                                          can kind of
                                                          show that
                                                          off.  So far I
                                                          can log in if
                                                          I choose the
                                                          option in PCDM
                                                          to list the
                                                          users but the
                                                          manual entry
                                                          method just
                                                          freezes.  I'll
                                                          have to see if
                                                          I can gather
                                                          more logs
                                                          somehow.  <br>
                                                          <br>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          <br>
                                                          </div>
                                                          Both
                                                          visible/invisible
                                                          user lists use
                                                          the exact same
                                                          backend
                                                          systems in
                                                          PCDM, so maybe
                                                          it is
                                                          something in
                                                          the "display
                                                          name" to
                                                          "username"
                                                          conversion
                                                          that is
                                                          messing up
                                                          active
                                                          directory (or
                                                          some AD
                                                          "magic"
                                                          resulting in
                                                          needing a
                                                          different
                                                          username than
                                                          you think for
                                                          the manual
                                                          entry). Try
                                                          entering the
                                                          normally-visible
                                                          "Display Name"
                                                          into the
                                                          manual entry
                                                          and see if
                                                          that works -
                                                          that should
                                                          let the PCDM
                                                          backend
                                                          convert it to
                                                          the
                                                          auto-detected
                                                          username
                                                          associated
                                                          with that
                                                          display name
                                                          and see if it
                                                          works.
                                                          <div><br>
                                                          <br>
                                                          <blockquote
                                                          type="cite">
                                                          <div dir="ltr">BTW


                                                          after looking
                                                          at the
                                                          alternatives
                                                          Fedora,
                                                          CentOS,
                                                          Ubuntu, Debian
                                                          only centos
                                                          had a GUI tool
                                                          to actually
                                                          bind a machine
                                                          to an active
                                                          directory it
                                                          was a little
                                                          more
                                                          cumbersome to
                                                          set up than
                                                          yours was.  So
                                                          I have to say
                                                          good job.  <br>
                                                          <br>
                                                          Joe Maloney<br>
                                                          <br>
                                                          </div>
                                                          <div
                                                          class="gmail_extra"><br>
                                                          </div>
                                                          </blockquote>
                                                          <br>
                                                          </div>
                                                          :-)
                                                          <div>
                                                          <div><br>
                                                          <blockquote
                                                          type="cite">
                                                          <div
                                                          class="gmail_extra"><br>
                                                          <div
                                                          class="gmail_quote">On



                                                          Wed, Mar 19,
                                                          2014 at 8:33
                                                          AM, Ken Moore
                                                          <span
                                                          dir="ltr"><<a
moz-do-not-send="true" href="mailto:ken@pcbsd.org" target="_blank">ken@pcbsd.org</a>></span>
                                                          wrote:<br>
                                                          <blockquote
                                                          class="gmail_quote"
                                                          style="margin:0
                                                          0 0
                                                          .8ex;border-left:1px
                                                          #ccc
                                                          solid;padding-left:1ex">
                                                          <div
                                                          bgcolor="#FFFFFF"
                                                          text="#000000">
                                                          <div>Thanks
                                                          for the
                                                          feedback on
                                                          PCDM, this is
                                                          the first
                                                          confirmation I
                                                          have seen that
                                                          it works from
                                                          somebody
                                                          actually
                                                          testing it
                                                          with a full AD
                                                          setup.<br>
                                                          <br>
                                                          My guess would
                                                          be that the
                                                          samba conf
                                                          file location
                                                          simply got
                                                          changed
                                                          between samba3
                                                          and samba4, so
                                                          moving our
                                                          default
                                                          configuration
                                                          over to
                                                          samba4.conf is
                                                          probably a
                                                          good idea
                                                          since we don't
                                                          use samba3
                                                          anymore. I
                                                          will defer to
                                                          Kris for the
                                                          final say on
                                                          this matter
                                                          though.....
                                                          ;-)
                                                          <div>
                                                          <div><br>
                                                          <br>
                                                          On 03/18/2014
                                                          23:34, Joe
                                                          Maloney wrote:<br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          <blockquote
                                                          type="cite">
                                                          <div>
                                                          <div>
                                                          <div dir="ltr">After



                                                          further
                                                          research I
                                                          touched this
                                                          file and
                                                          changed
                                                          smb.conf to
                                                          smb4.conf.  
                                                          <div><br>
                                                          </div>
                                                          <div><a
                                                          moz-do-not-send="true"
href="https://github.com/pcbsd/pcbsd/blob/91d60cdbfb76269232372ffcdd3239c069453899/src-sh/pc-adctl/scripts/pc-samba"
target="_blank">https://github.com/pcbsd/pcbsd/blob/91d60cdbfb76269232372ffcdd3239c069453899/src-sh/pc-adctl/scripts/pc-samba</a><br>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          <div>I haven’t
                                                          yet edited in
                                                          pcbsd git
                                                          repo.  Is this
                                                          ok to change?
                                                           Is there a
                                                          reason for it
                                                          to be
                                                          smb.conf?</div>
                                                          <div><br>
                                                          </div>
                                                          <div>After the
                                                          above change I
                                                          just had to
                                                          launch only
                                                          winbindd
                                                          manually and
                                                          problem
                                                          solved. Indeed
                                                          PCDM does not
                                                          list users
                                                          when in
                                                          directory mode
                                                          unless the box
                                                          is checked to
                                                          show users.
                                                           Pretty cool.</div>
                                                          <div><br>
                                                          </div>
                                                          <div>Joe
                                                          Maloney</div>
                                                          <div><br>
                                                          </div>
                                                          </div>
                                                          <div
                                                          class="gmail_extra"><br>
                                                          <br>
                                                          <div
                                                          class="gmail_quote">On



                                                          Tue, Mar 18,
                                                          2014 at 9:27
                                                          PM, Joe
                                                          Maloney <span
                                                          dir="ltr"><<a
moz-do-not-send="true" href="mailto:jmaloney@pcbsd.org" target="_blank">jmaloney@pcbsd.org</a>></span>
                                                          wrote:<br>
                                                          <blockquote
                                                          class="gmail_quote"
                                                          style="margin:0
                                                          0 0
                                                          .8ex;border-left:1px
                                                          #ccc
                                                          solid;padding-left:1ex">
                                                          <div dir="ltr">After



                                                          configuring
                                                          with
                                                          pc-activedirectory
                                                          it doesn’t
                                                          work.  After
                                                          copying
                                                          smb.conf to
                                                          smb4.conf the
                                                          net ads join
                                                          command then
                                                          works.  At
                                                          this stage
                                                          wbinfo -u
                                                          doesn’t work
                                                          to list users
                                                          so finally
                                                          starting smb,
                                                          nmbd, winbind
                                                          manually it
                                                          fully works
                                                          now I can see
                                                          all of my ad
                                                          users in PCDM.<span><font
color="#888888">
                                                          <div>
                                                          <div><br>
                                                          </div>
                                                          <div>Joe
                                                          Maloney</div>
                                                          <div><br>
                                                          </div>
                                                          </div>
                                                          </font></span></div>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                          </div>
                                                          <br>
                                                          <fieldset></fieldset>
                                                          <br>
                                                          </div>
                                                          </div>
                                                          <pre>_______________________________________________
Testing mailing list
<a moz-do-not-send="true" href="mailto:Testing@lists.pcbsd.org" target="_blank">Testing@lists.pcbsd.org</a>
<a moz-do-not-send="true" href="http://lists.pcbsd.org/mailman/listinfo/testing" target="_blank">http://lists.pcbsd.org/mailman/listinfo/testing</a><span><font color="#888888">
</font></span></pre>
                                                          <span><font
                                                          color="#888888">
                                                          </font></span></blockquote>
                                                          <span><font
                                                          color="#888888">
                                                          <br>
                                                          <br>
                                                          <pre cols="72">-- 
~~ Ken Moore ~~
PC-BSD/iXsystems</pre>
                                                          </font></span></div>
                                                          <br>
_______________________________________________<br>
                                                          Testing
                                                          mailing list<br>
                                                          <a
                                                          moz-do-not-send="true"
href="mailto:Testing@lists.pcbsd.org" target="_blank">Testing@lists.pcbsd.org</a><br>
                                                          <a
                                                          moz-do-not-send="true"
href="http://lists.pcbsd.org/mailman/listinfo/testing" target="_blank">http://lists.pcbsd.org/mailman/listinfo/testing</a><br>
                                                          <br>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                          </div>
                                                          </blockquote>
                                                          <br>
                                                          <br>
                                                          <pre cols="72">-- 
~~ Ken Moore ~~
PC-BSD/iXsystems</pre>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                        </div>
                                                      </div>
                                                    </div>
                                                  </blockquote>
                                                </div>
                                                <br>
                                              </div>
                                            </blockquote>
                                            <br>
                                            <br>
                                          </div>
                                        </div>
                                        <span><font color="#888888">
                                            <pre cols="72">-- 
Kris Moore
PC-BSD Software
iXsystems</pre>
                                          </font></span></div>
                                    </blockquote>
                                  </div>
                                  <br>
                                </div>
                              </div>
                            </div>
                          </blockquote>
                        </div>
                        <br>
                      </div>
                      <br>
                      <fieldset></fieldset>
                      <br>
                      <pre>_______________________________________________
Testing mailing list
<a moz-do-not-send="true" href="mailto:Testing@lists.pcbsd.org" target="_blank">Testing@lists.pcbsd.org</a>
<a moz-do-not-send="true" href="http://lists.pcbsd.org/mailman/listinfo/testing" target="_blank">http://lists.pcbsd.org/mailman/listinfo/testing</a>
</pre>
                    </blockquote>
                    <br>
                    <br>
                    <pre cols="72">-- 
Kris Moore
PC-BSD Software
iXsystems</pre>
                    <br>
                    <fieldset></fieldset>
                    <br>
                    <pre>_______________________________________________
Testing mailing list
<a moz-do-not-send="true" href="mailto:Testing@lists.pcbsd.org" target="_blank">Testing@lists.pcbsd.org</a>
<a moz-do-not-send="true" href="http://lists.pcbsd.org/mailman/listinfo/testing" target="_blank">http://lists.pcbsd.org/mailman/listinfo/testing</a>
</pre>
                  </blockquote>
                  <br>
                  <br>
                  <pre cols="72">-- 
~~ Ken Moore ~~
PC-BSD/iXsystems</pre>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            Testing mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Testing@lists.pcbsd.org">Testing@lists.pcbsd.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.pcbsd.org/mailman/listinfo/testing"
              target="_blank">http://lists.pcbsd.org/mailman/listinfo/testing</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
~~ Ken Moore ~~
PC-BSD/iXsystems</pre>
  </body>
</html>