Fajar Priyanto
2007-Jul-31 08:00 UTC
[Samba] Can someone help? Strange behaviour of establishing trust
Hello all, I'm using Samba on Centos5: [root@centosbdc ~]# rpm -qa | grep samba system-config-samba-1.2.39-1.el5 samba-client-3.0.23c-2 samba-common-3.0.23c-2 samba-3.0.23c-2 I'm trying to establish a interdom trust with a w2k domain (POLY): [root@centosbdc ~]# net rpc trustdom establish POLY Password: Could not connect to server POLY123 [2007/07/31 14:46:51, 0] utils/net_rpc.c:rpc_trustdom_establish(5665) NetServerEnum2 error: Couldn't find primary domain controller for domain POLY Trust to domain POLY established [root@centosbdc ~]# net rpc trustdom list Password: Trusted domains list: POLY S-1-5-21-725345543-413027322-2146892821 none Trusting domains list: POLY S-1-5-21-725345543-413027322-2146892821 Despite the error, I can create a share in w2k domain POLY and when I'm trying to retrive the User and Group from PLUTO (my samba domain), only Groups appear (no User), but I can select users manually by typing their username. Is it ok? What is causing the "NetServerEnum2 error: Couldn't find primary domain controller for domain POLY" error? Thanks. -- Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial http://linux2.arinet.org 14:53:17 up 8:07, 2.6.20-16-generic GNU/Linux Let's use OpenOffice. http://www.openoffice.org -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20070731/fa25aeab/attachment.bin
Fajar Priyanto
2007-Jul-31 09:00 UTC
[Samba] Can someone help? Strange behaviour of establishing trust
Sorry for top posting. Thank you to Daniel and Frederick who have helped me. Despite the error, client can browse the shares OK. Just a luck? Well, I'll try to set it until there's no error. Btw, this is my testparm result: [root@centosbdc doc]# testparm Load smb config files from /etc/samba/smb.conf Processing section "[homes]" Processing section "[netlogon]" Processing section "[profiles]" Processing section "[printers]" Processing section "[music]" Loaded services file OK. Server role: ROLE_DOMAIN_PDC Press enter to see a dump of your service definitions Cheers, On Tuesday 31 July 2007 15:51:14 you wrote:> Hello, > > winbind enume users should be at no > > check this with testparm > > On Tue, 2007-07-31 at 14:59 +0700, Fajar Priyanto wrote: > > Hello all, > > I'm using Samba on Centos5: > > [root@centosbdc ~]# rpm -qa | grep samba > > system-config-samba-1.2.39-1.el5 > > samba-client-3.0.23c-2 > > samba-common-3.0.23c-2 > > samba-3.0.23c-2 > > > > I'm trying to establish a interdom trust with a w2k domain (POLY): > > > > [root@centosbdc ~]# net rpc trustdom establish POLY > > Password: > > Could not connect to server POLY123 > > [2007/07/31 14:46:51, 0] utils/net_rpc.c:rpc_trustdom_establish(5665) > > NetServerEnum2 error: Couldn't find primary domain controller > > for domain POLY > > Trust to domain POLY established > > [root@centosbdc ~]# net rpc trustdom list > > Password: > > Trusted domains list: > > POLY S-1-5-21-725345543-413027322-2146892821 > > none > > > > Trusting domains list: > > POLY S-1-5-21-725345543-413027322-2146892821 > > > > Despite the error, I can create a share in w2k domain POLY and when I'm > > trying to retrive the User and Group from PLUTO (my samba domain), only > > Groups appear (no User), but I can select users manually by typing their > > username. > > > > Is it ok? What is causing the "NetServerEnum2 error: Couldn't find > > primary domain controller for domain POLY" error? > > > > Thanks. > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: https://lists.samba.org/mailman/listinfo/samba-- Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial http://linux2.arinet.org 15:58:03 up 9:11, 2.6.20-16-generic GNU/Linux Let's use OpenOffice. http://www.openoffice.org -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20070731/c8566411/attachment.bin