[Samba] Scripting net command problem
henke at mac.se
Thu Mar 1 13:16:37 GMT 2007
Yes, maybe I should. I think that most samba commands should have a
script or non-interactive flag if you want to use them in scripts.
BTW Why does the net command asks for my machines password ( CUBIQ-DEB
$@'s password: ) even though I specify -U Admin%pass?
I noticed that I don't get the question if I use the -P flag.
Is it safe to always specify the -P flag?
What happens if I specify both -U Admin%pass and -P ??
28 feb 2007 kl. 17:50 skrev Felipe Augusto van de Wiel:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> On 02/27/2007 02:32 PM, Henrik Zagerholm wrote:
>> Hello list,
>> I'm writing some scripts that executes the net command.
>> I have noticed that sometimes when things goes wrong the net
>> command asks for input i.e a password which results in a
>> hanging script.
>> Is there some way to avoid this?
>> I've looked at the different flags fro net command but haven't
>> found anything that could help me with this.
> If you can't find a way, perhaps you should report a
> wishlist bug against Samba Bugzilla.
> Kind regards,
> - --
> Felipe Augusto van de Wiel <felipe at paranacidade.org.br>
> Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE
> http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300)
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> -----END PGP SIGNATURE-----
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/listinfo/samba
More information about the samba