home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch      Fun with MS-DOS batch files      42,547 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 41,463 of 42,547   
   foxidrive to All   
   Re: net use question   
   15 Sep 16 12:49:49   
   
   From: foxidrive@server.invalid   
      
   On 15/09/2016 10:59, T wrote:   
      
   >>> Works fine.  Problem.  I mount several drives this way.   
   >>> Not everyone is allowed in every drive (depends on their   
   >>> group assignments in Samba).   
   >>>   
   >>> If they try to mount a drive they are  not allow in, the   
   >>> line stops with a question.  Not something the user can   
   >>> handle in a start up script.   
   >>>   
   >>> Is there any way to cancel the "net use" if the user is   
   >>> not allowed in?   
      
      
   > The proper command for viewing shares is "net view \\server"   
   > and it does not differentiate if the user is allow in or not.   
   > Rats!   
      
   I guess you need to check the permissions on the machine trying to log in.   
      
   Maybe icacls.exe can be a place to start looking - it's not a task I have   
   needed to do.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca