<div dir="ltr">Issue is my zendto is authentication through AD users but somehow admin userid is also working whose password i am unable to change or delete that user admin.<div><br></div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Thanks,<div>Rahul Kumar</div><div>Contact(M): 9958664330</div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 5, 2020 at 4:08 PM Jules Field <<a href="mailto:Jules@zend.to">Jules@zend.to</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <br>
    <br>
    <div>On 05/03/2020 09:37, Rahul Kumar via
      ZendTo wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">Hi ,
        <div><br>
        </div>
        <div>please check te error below,</div>
        <div><br>
        </div>
        <div>/opt/zendto/bin# ./deleteuser.php admin<br>
          PHP Notice:  Undefined index: SERVER_PORT in
          /opt/zendto/lib/NSSDropbox.php on line 41<br>
          PHP Notice:  Undefined index: HTTPS in
          /opt/zendto/lib/NSSDropbox.php on line 42<br>
          PHP Notice:  Undefined index: HTTPS in
          /opt/zendto/lib/NSSDropbox.php on line 48<br>
          PHP Notice:  Undefined index: SERVER_NAME in
          /opt/zendto/lib/NSSDropbox.php on line 48<br>
          PHP Notice:  Undefined index: REQUEST_URI in
          /opt/zendto/lib/NSSDropbox.php on line 48<br>
        </div>
      </div>
    </blockquote>
    Don't worry about them, they are harmless.<br>
    <br>
    <blockquote type="cite">
      <div dir="ltr">
        <div>Failed: Aborting deleting user admin as that user does not
          exist<br>
        </div>
      </div>
    </blockquote>
    So there isn't any local user (in ZendTo) called "admin".<br>
    <br>
    ZendTo doesn't automatically create *any* accounts of any sort when
    you install it. There are no "default admin credentials" or anything
    like that.<br>
    <br>
    If you want to delete an account called "admin", you first need to
    find where it is. You have just proved it's not part of ZendTo
    itself.<br>
    <br>
    Cheers,<br>
    Jules.<br>
    <br>
    <br>
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div dir="ltr">
              <div dir="ltr"><br>
              </div>
              <div dir="ltr">Thanks,
                <div>Rahul Kumar</div>
                <div>Contact(M): 9958664330</div>
              </div>
            </div>
          </div>
          <br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Thu, Mar 5, 2020 at 1:19 PM
          Chris Venter via ZendTo <<a href="mailto:zendto@zend.to" target="_blank">zendto@zend.to</a>> wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div dir="ltr">
            <div>Hi Rahul</div>
            <div><br>
            </div>
            <div>Are you talking about a local admin account created for
              the Zend.To install? If so have a look for the deleteuser
              script and remove the local account using that not sure on
              the version but the syntax example on my install is:</div>
            <div><br>
            </div>
            <div>/opt/zendto/bin$ ./deleteuser<br>
              <br>
                usage:<br>
              <br>
                 ./deleteuser '<username>'</div>
            <div><br>
            </div>
            <div>Hope that helps.</div>
          </div>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">On Thu, 5 Mar 2020 at
              07:33, Rahul Kumar via ZendTo <<a href="mailto:zendto@zend.to" target="_blank">zendto@zend.to</a>> wrote:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
              <div dir="ltr">hi Jules,
                <div><br>
                </div>
                <div>i checked , config showing me this  'authAdmins'  
                          =>
                  array('taraf','trou','jone','balla','bickel','holcom'),</div>
                <div><br>
                </div>
                <div>but my concern is <b>admin </b>username which i
                  need to disable, i don't see any username "<b>admin</b>"
                  in config files so what could i do?</div>
                <div><br>
                </div>
                <div><br clear="all">
                  <div>
                    <div dir="ltr">
                      <div dir="ltr">Thanks,
                        <div>Rahul Kumar</div>
                        <div>Contact(M): 9958664330</div>
                      </div>
                    </div>
                  </div>
                  <br>
                </div>
              </div>
              <br>
              <div class="gmail_quote">
                <div dir="ltr" class="gmail_attr">On Wed, Mar 4, 2020 at
                  3:37 PM Jules Field <<a href="mailto:Jules@zend.to" target="_blank">Jules@zend.to</a>>
                  wrote:<br>
                </div>
                <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                  <div bgcolor="#FFFFFF"> Rahul,<br>
                    <br>
                    My mistake, sorry.<br>
                    The setting is called 'authAdmins'. So you want to
                    change that line in preferences.php to<br>
                    <tt>    'authAdmins' => array(),</tt><br>
                    <br>
                    Don't forget the trailing comma on the end!<br>
                    <br>
                    Cheers,<br>
                    Jules.<br>
                    <br>
                    <div>On 04/03/2020 04:15, Rahul Kumar wrote:<br>
                    </div>
                    <blockquote type="cite">
                      <div dir="ltr">Hi Jules,
                        <div><br>
                        </div>
                        <div>Thanks for sharing the advise, i would like
                          to go for it but for the moment i need first
                          to disable the admin login.</div>
                        <div><br>
                        </div>
                        <div>when i checked the config files, there is
                          no such settings for  "adminUsers" , could you
                          please suggest what i can do next.</div>
                        <div><br>
                        </div>
                        <div>Thanks,</div>
                        <div>Rahul<br clear="all">
                          <div>
                            <div dir="ltr">
                              <div dir="ltr">Thanks,
                                <div>Rahul Kumar</div>
                                <div>Contact(M): 9958664330</div>
                              </div>
                            </div>
                          </div>
                          <br>
                        </div>
                      </div>
                      <br>
                      <div class="gmail_quote">
                        <div dir="ltr" class="gmail_attr">On Tue, Mar 3,
                          2020 at 5:25 PM Jules Field <<a href="mailto:Jules@zend.to" target="_blank">Jules@zend.to</a>>
                          wrote:<br>
                        </div>
                        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                          <div bgcolor="#FFFFFF"> Rahul,<br>
                            <br>
                            I would strongly advise that you build a new
                            server/VM running the latest version of
                            ZendTo. There are a lot of new features and
                            improvements that your users might well want
                            to use.<br>
                            <br>
                            But to answer your question, look in
                            preferences.php. There is a setting called
                            "adminUsers". Set that to<br>
                                'adminUsers' => array(),<br>
                            and that will mean you have no ZendTo
                            administrators. Everything should work fine
                            like that. You will just need to temporarily
                            add whatever username is an administrator
                            when you need to carry out any admin tasks
                            such as looking at the global list of
                            drop-offs, or unlocking users who have been
                            locked out for having failed to many
                            username/password checks in a row.<br>
                            <br>
                            Cheers,<br>
                            Jules.<br>
                            <br>
                            <div>On 03/03/2020 05:21, Rahul Kumar via
                              ZendTo wrote:<br>
                            </div>
                            <blockquote type="cite">
                              <div dir="ltr">Hi ,
                                <div><br>
                                </div>
                                <div>i have zendto  <span>Version 4.11</span> 
                                  running but i want to disable the
                                  Admin user account as it is a security
                                  issue for us. we already
                                  authenticating users through ldap.</div>
                                <div><br>
                                </div>
                                <div>could someone please help in this ?</div>
                                <div><br>
                                </div>
                                <div><br clear="all">
                                  <div>
                                    <div dir="ltr">
                                      <div dir="ltr">Thanks,
                                        <div>Rahul Kumar</div>
                                        <div>Contact(M): 9958664330</div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                              <br>
                              <fieldset></fieldset>
                              <pre>_______________________________________________
ZendTo mailing list
<a href="mailto:ZendTo@zend.to" target="_blank">ZendTo@zend.to</a>
<a href="http://jul.es/mailman/listinfo/zendto" target="_blank">http://jul.es/mailman/listinfo/zendto</a>
</pre>
                            </blockquote>
                            <br>
                            <pre cols="72">Jules

-- 
Julian Field MEng CEng CITP MBCS MIEEE MACM

The current UK shipping forecast:
Tyne, Dogger: East or southeast, veering west 6 to gale 8, occasionally severe
gale 9 for a time. Moderate or rough, occasionally very rough in Dogger. Rain,
then wintry showers. Moderate or poor, occasionally good later.

<a href="http://www.Zend.To" target="_blank">www.Zend.To</a>
Twitter: @JulesFM
</pre>
                          </div>
                        </blockquote>
                      </div>
                    </blockquote>
                    <br>
                    <pre cols="72">Jules

-- 
Julian Field MEng CEng CITP MBCS MIEEE MACM

The current UK shipping forecast:
Tyne, Dogger: East or southeast, veering west 6 to gale 8, occasionally severe
gale 9 for a time. Moderate or rough, occasionally very rough in Dogger. Rain,
then wintry showers. Moderate or poor, occasionally good later.

<a href="http://www.Zend.To" target="_blank">www.Zend.To</a>
Twitter: @JulesFM
</pre>
                  </div>
                </blockquote>
              </div>
              _______________________________________________<br>
              ZendTo mailing list<br>
              <a href="mailto:ZendTo@zend.to" target="_blank">ZendTo@zend.to</a><br>
              <a href="http://jul.es/mailman/listinfo/zendto" rel="noreferrer" target="_blank">http://jul.es/mailman/listinfo/zendto</a><br>
            </blockquote>
          </div>
          _______________________________________________<br>
          ZendTo mailing list<br>
          <a href="mailto:ZendTo@zend.to" target="_blank">ZendTo@zend.to</a><br>
          <a href="http://jul.es/mailman/listinfo/zendto" rel="noreferrer" target="_blank">http://jul.es/mailman/listinfo/zendto</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
ZendTo mailing list
<a href="mailto:ZendTo@zend.to" target="_blank">ZendTo@zend.to</a>
<a href="http://jul.es/mailman/listinfo/zendto" target="_blank">http://jul.es/mailman/listinfo/zendto</a>
</pre>
    </blockquote>
    <br>
    <pre cols="72">Jules

-- 
Julian Field MEng CEng CITP MBCS MIEEE MACM

The current UK shipping forecast:
Tyne, Dogger: East or southeast, veering west 6 to gale 8, occasionally severe
gale 9 for a time. Moderate or rough, occasionally very rough in Dogger. Rain,
then wintry showers. Moderate or poor, occasionally good later.

<a href="http://www.Zend.To" target="_blank">www.Zend.To</a>
Twitter: @JulesFM
</pre>
  </div>

</blockquote></div>