diff options
author | Volker Lendecke <vlendec@samba.org> | 2003-09-23 14:52:21 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2003-09-23 14:52:21 +0000 |
commit | c716385220f5ce63fafffd4cff1e9480c5991d02 (patch) | |
tree | 93be6842a21e6b8de135bac836d861de34dc7750 /source3/utils | |
parent | ee868462a0fadcb7a0b18568069dd9190e246d9a (diff) | |
download | samba-c716385220f5ce63fafffd4cff1e9480c5991d02.tar.gz samba-c716385220f5ce63fafffd4cff1e9480c5991d02.tar.bz2 samba-c716385220f5ce63fafffd4cff1e9480c5991d02.zip |
This only touches the fake kaserver support. It adds two parameters:
afs share -- this is an AFS share, do AFS magic things
afs username map -- We need a way to specify the cell and possibly
weird username codings for several windows domains
in the afs cell
Volker
(This used to be commit 4a3f7a9356cd5068d9ed4fd6e2336d9bf7923fbd)
Diffstat (limited to 'source3/utils')
-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; } |