[Samba] net rpc join -U root error

Adam Williams awilliam at mdah.state.ms.us
Wed Nov 7 22:31:34 GMT 2007


Yeah, odd that that command isn't working now. 

samba is running:

[root at gomer ~]# ps ax|grep mbd
 6765 ?        Ss     0:00 smbd -D
 6768 ?        Ss     0:00 nmbd -D
 6769 ?        S      0:00 nmbd -D

but when I nmap scan, it looks like its not responding on ports 139 and 445.

[root at awilliam nmap-4.20]# ./nmap -sS -O -T insane gomer

Starting Nmap 4.20 ( http://insecure.org ) at 2007-11-07 16:23 CST
Interesting ports on gomer.mdah.state.ms.us (10.8.3.37):
Not shown: 1685 closed ports
PORT     STATE SERVICE
21/tcp   open  ftp
22/tcp   open  ssh
80/tcp   open  http
111/tcp  open  rpcbind
389/tcp  open  ldap
610/tcp  open  npmp-local
614/tcp  open  unknown
826/tcp  open  unknown
992/tcp  open  telnets
1023/tcp open  netvenuechat
2049/tcp open  nfs
3306/tcp open  mysql

[root at awilliam mnt]# mount "//gomer/adam" /mnt/gomer -o username=adam
Password:
mount error 111 = Connection refused

but i have in my smb.conf

  interfaces = eth0, lo
  bind interfaces only = Yes

any ideas?

Diego Obetko wrote:
> i'm sorry but he did join the machine in an earlier reply.. don't know 
> if it's the same machine or situation...
>
> [quote]
> [root at gomer etc]# net rpc join -S GOMER -U root
> Password:
> Joined domain ADMIN.
> [/quote]
>



More information about the samba mailing list