Fórum Ubuntu CZ/SK
Ostatní => Ubuntu Server => Téma založeno: dusan64 02 Prosince 2009, 12:37:41
-
Zdravím,
pri použití príkazu v Ubuntu server v.9.10
sudo net groupmap add ntgroup="Domain Admins" unixgroup=sysadmin rid=512 type=d
vracia hlášku
sudo: net: command not found
V čom je problém
-
instaloval ste balicky samby?
http://wiki.ubuntu.cz/Samba (http://wiki.ubuntu.cz/Samba)
net je prikaz samby, viac man net:
net - Tool for administration of Samba and remote CIFS servers.
SYNOPSIS
net {<ads|rap|rpc>} [-h] [-wworkgroup] [-Wmyworkgroup] [-Uuser] [-Iip-
address] [-pport] [-nmyname] [-sconffile] [-Sserver] [-l] [-P] [-dde-
buglevel] [-V]
DESCRIPTION
This tool is part of the samba(7) suite.
The samba net utility is meant to work just like the net utility avail-
able for windows and DOS. The first argument should be used to specify
the protocol to use when executing a certain command. ADS is used for
ActiveDirectory, RAP is using for old (Win9x/NT3) clients and RPC can
be used for NT4 and Windows 2000. If this argument is omitted, net will
try to determine it automatically. Not all commands are available on
all protocols.
...
sudo apt-get install samba libpam-smbpass
-
Pouzil som oba prikazy:
sudo apt-get install samba
sudo apt-get install samba libpam-smbpass
Hlasi mi najnovsiu verziu aj balicky