diff options
author | Gerald Carter <jerry@samba.org> | 2003-09-24 15:16:57 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-09-24 15:16:57 +0000 |
commit | 602ad283b4724acac0a416cd1fd1124ce89ee316 (patch) | |
tree | 0a0a995abaa76d3a350d450ddb996ee260ca4f3a /source3/utils/net.c | |
parent | 4b10dd945476a93fd9a7d3e047cff7592935ad34 (diff) | |
download | samba-602ad283b4724acac0a416cd1fd1124ce89ee316.tar.gz samba-602ad283b4724acac0a416cd1fd1124ce89ee316.tar.bz2 samba-602ad283b4724acac0a416cd1fd1124ce89ee316.zip |
* sync more files from 3.0
* set version string to "CVS 3.1.0alpha1"
(This used to be commit c6a61ffcbd0c95afd94bd33fd832b24bc8209de5)
Diffstat (limited to 'source3/utils/net.c')
-rw-r--r-- | source3/utils/net.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c index e5c078da29..42966b4f83 100644 --- a/source3/utils/net.c +++ b/source3/utils/net.c @@ -476,8 +476,8 @@ static int net_afskey(int argc, const char **argv) int fd; struct afs_keyfile keyfile; - if (argc != 1) { - d_printf("usage: 'net afskey <keyfile>'\n"); + if (argc != 2) { + d_printf("usage: 'net afskey <keyfile> cell'\n"); return -1; } @@ -496,7 +496,7 @@ static int net_afskey(int argc, const char **argv) return -1; } - if (!secrets_store_afs_keyfile(afs_cell(), &keyfile)) { + if (!secrets_store_afs_keyfile(argv[1], &keyfile)) { d_printf("Could not write keyfile to secrets.tdb\n"); return -1; } |