s3-net: make sure to call libnetapi init functions at the top of "net rpc" command.
authorGünther Deschner <gd@samba.org>
Mon, 27 Apr 2009 12:39:02 +0000 (14:39 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 28 Apr 2009 10:16:38 +0000 (12:16 +0200)
commit09ec85715b0e99740156ebb7213eddd1edfea631
tree7aea66402c3f652e442421c3ab1a6f43a0d24b92
parent251c220f91681a9e39452eba860d38e73ec719a4
s3-net: make sure to call libnetapi init functions at the top of "net rpc" command.

Without the initialization "net rpc password" will prompt twice for passwords
and will not allow to define the name of the connection admin user.

In the long run we should probably only have one place where to initialize
libnetapi.

Kai, please check.

Guenther
source3/utils/net_rpc.c