[Samba] Can someone help? Strange behaviour of establishing trust

Frederic Descamps fred at x-tend.be
Tue Jul 31 09:06:51 GMT 2007


Fajar, you should put the result of the following command :

testparm -sva | grep winbin





On Tue, 2007-07-31 at 16:00 +0700, Fajar Priyanto wrote:
> 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 at 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 at 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 at 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 at 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
> 
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba





More information about the samba mailing list