[Samba] how to join to AD ?
Michael Wood
esiotrot at gmail.com
Tue Dec 15 04:53:50 MST 2009
2009/12/14 mistofeles <ptmusta at utu.fi>:
>
> I'm installing another Ubuntu 9.10 server from scratch with the advice above.
> It seems that you got to instal krb5-users and krb5-client to make it work.
>
> Here is what I got (not so important):
>
> root at sandy:# net
> The program 'net' can be found in the following packages:
> * samba-common-bin
> * samba4-clients
> Try: apt-get install <selected package>
> net: command not found
>
> root at sandy:# dpkg --get-selections |grep samba
> samba install
> samba-common install
> samba-common-bin install
> samba-doc install
>
> root at sandy:# whereis net
> net: /usr/src/linux-headers-2.6.31-16/net
> /usr/src/linux-headers-2.6.31-16-generic-pae/net /usr/bin/net.samba3
This is what it should look like:
$ ls -l /usr/bin/net
lrwxrwxrwx 1 root root 21 2009-12-05 17:51 /usr/bin/net -> /etc/alternatives/net
$ ls -l /etc/alternatives/net
lrwxrwxrwx 1 root root 19 2009-12-05 17:44 /etc/alternatives/net ->
/usr/bin/net.samba3
$ ls -l /usr/bin/net.samba3
-rwxr-xr-x 1 root root 5258980 2009-10-01 16:45 /usr/bin/net.samba3
So I think that on your machine, the /etc/alternatives links are not
set up for the "net" command.
Try this:
$ sudo update-alternatives --auto net
--
Michael Wood <esiotrot at gmail.com>
More information about the samba
mailing list