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 ??

Regards,
Henrik

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.

Cheers,
henrik

        If you can't find a way, perhaps you should report a
wishlist bug against Samba Bugzilla.


        Kind regards,

- --
Felipe Augusto van de Wiel <[EMAIL PROTECTED]>
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

iD8DBQFF5bK/Cj65ZxU4gPQRAs9NAJ9gXbEo4UulcJqeOx+inarhzSTpaQCdHOlM
NPYPgPlyOorWUZcbnZo8M/g=
=98zG
-----END PGP SIGNATURE-----
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to