New net breaks scripts

Ken Cross kcross at nssolutions.com
Sun Sep 14 02:29:49 GMT 2003


Good point, and the patch is even simpler.  Now -P disables prompting for a
password.

Also entered as bug #451.

Ken
________________________________

Ken Cross

Network Storage Solutions
Phone 865.675.4070 ext 31
kcross at nssolutions.com 

> -----Original Message-----
> From: Andrew Bartlett [mailto:abartlet at samba.org] 
> Sent: Saturday, September 13, 2003 8:02 PM
> To: Ken Cross
> Cc: 'Multiple recipients of list SAMBA-TECHNICAL'
> Subject: RE: New net breaks scripts
> 
> 
> On Sun, 2003-09-14 at 04:58, Ken Cross wrote:
> > FWIW, here's a patch to fix the first "feature" noted 
> below.  It adds 
> > a --no-prompt option to net to inhibit prompting for a password.
> > 
> > It was crucial for my operation when running net in a script, but 
> > maybe nobody else cares, so for those who can use it...
> 
> I would much prefer a patch that simply removes my breakage - 
> if you say -P, then that's all you want.
> 
> I agree with you, you we should *never* prompt in that case.  
> Make sure you file this in bugzilla, so we don't miss it...
> 
> Andrew Bartlett 
> 
> -- 
> Andrew Bartlett                                 abartlet at pcug.org.au
> Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
> Student Network Administrator, Hawker College   abartlet at hawkerc.net
> http://samba.org     http://build.samba.org     http://hawkerc.net
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-prompt.patch
Type: application/octet-stream
Size: 1107 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20030913/c289fc59/no-prompt.obj


More information about the samba-technical mailing list