[Samba] Problems with "net rpc trustdom establish"

kalilac kalilac at unp.br
Tue May 23 21:21:05 GMT 2006


Hello peaplo.
I´m training to establish a domain relationship.
The first comand "#net rpc trustdom adm aaa -S bkp -U root%111 -I 
192.168.0.1" is working fine.
But when a trai to establish with this command: "#net rpc trustdom establish 
adm -S bkp -U root%111 -I 192.168.0.1"
I receive this message: 

[2006/05/23 18:16:45, 0] utils/net_rpc.c:rpc_trustdom_establish(4632)
 Couldn't find domain controller for domain ADM 

I attempted to just this:
"#net rpc trustdom establish adm -U root%111 -I 192.168.0.1" 

and nothing 

Here my smb.conf 


[global]
netbios name = debian
workgroup = sambaConf
log file = /var/log/samba/log.%m
max log size = 50
security = user
smb passwd file = /etc/samba/smbpasswd
passdb backend = smbpasswd
add user script = /usr/sbin/useradd -m %u
add machine script = /usr/sbin/useradd -g machine -c "Samba machine" -d 
/dev/null -s /bin/false -M %u
wins server = 192.168.0.150
interfaces = 192.168.0.1
socket address = 192.168.0.255
bind interfaces only = yes
####
winbind separator = +
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = Yes
template homedir = /home/winnt/%D/%U
template shell = /bin/bash
template shell = /bin/false
obey pam restrictions = Yes
syslog = 0
idmap uid = 15000-20000
idmap gid = 15000-20000 

Please helpe me 


Kalil de A. Carvalho.
Setor de Redes.
+55-84-3212-1236/8845-9998
UnP - Universidade Potiguar
APEC - Associação Potiguar de Educação e Cultura. 



More information about the samba mailing list