[Samba] Setting Separate File server from Samba PDC

Vizitiu, Ciprian CVizitiu at gbif.org
Wed Jun 11 15:35:05 GMT 2003


If I were you I'd get the sources and see if the patch is in there. I
haven't tested the latest samba from RH, right now I run 2.2.8 from
samba.org.

I hope you  know that if you're desperate you can to that too on RH, samba
from samba.org can be made .rpm! That is the tgz from the site has a .spec
in it. It's just that you get only a samba.rpm and not all the sepparate
components that RedHat does. I guess that's what --nodeps and --forced were
given for as rpm options... :-s

> 
> Then that explains it, I'm running version 2.27a-8.9.0 from 
> Redhat 9.0. I'm going to download and install the latest Samba.
> 
> Thanks Again
> Roberto
> 
> On Wed, 2003-06-11 at 11:11, Vizitiu, Ciprian wrote:
> > > 
> > > I'm aim to set up a file server that is separate from my
> > > SAMBA PDC. I've had no problem setting file server up, and 
> > > joining it to he domain using smbpasswd. 
> > > 
> > > Can I use winbind with a SAMBA PDC or is it meant only for
> > > Windows NT servers.
> > > 
> > 
> > 
> > Not so long ago I posted the same question and someone sent me this 
> > patch. I was on RH 8.0 with 2.2.7 so I needed it.
> > 
> > --- nmbd/nmbd_logonnames.c      30 Jan 2002 06:08:22 -0000      1.11
> > +++ nmbd/nmbd_logonnames.c      6 Oct 2002 09:58:09 -0000
> > @@ -139,6 +139,7 @@
> >  void add_logon_names(void)
> >  {
> >    struct subnet_record *subrec;
> > +  struct nmb_name nmbname;
> >    for (subrec FIRST_SUBNET; subrec; subrec
> > NEXT_SUBNET_INCLUDING_UNICAST(subrec))
> >    {
> > @@ -146,7 +147,6 @@
> >      if (work && (work->log_state LOGON_NONE))
> >      {
> > -      struct nmb_name nmbname;
> >        make_nmb_name(&nmbname,global_myworkgroup,0x1c);
> >        if (find_name_on_subnet(subrec, &nmbname, 
> FIND_SELF_NAME) NULL) 
> > @@ -162,4 +162,6 @@
> >        }
> >      }
> >    }
> > +  make_nmb_name(&nmbname,global_myworkgroup,0x1c);
> > +  insert_permanent_name_into_unicast(FIRST_SUBNET, &nmbname, 0x1c);
> >  }



More information about the samba mailing list