Re: [Samba] Problems with "net rpc trustdom establish"

2006-05-24 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Read BROWSING.txt before you attempt this.

I personally recommend a HOSTS file for a domain trust as well.

kalilac wrote:

> 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-2 idmap gid = 15000-2 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.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEdO1Wmb+gadEcsb4RAttPAKDFeQCcmPKwFQi0OyEIXBWHUF4aJwCeKEiZ
B14Lt6mnrhbaxhUlC6rcR00=
=kUFo
-END PGP SIGNATURE-

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Problems with "net rpc trustdom establish"

2006-05-23 Thread kalilac

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-2
idmap gid = 15000-2 

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. 


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba