On Fri, 2003-08-08 at 19:15, Marcus Blomenkamp wrote:
> Am Freitag, 8. August 2003 08:11 schrieben Sie:
> > >
> > > 2. (tested with ldapsam)
> > > If I try to enumerate the users stored in databse, pdbedit and in turn
> > > ldapsam searches with the wrong filter. Also here a machine name is used
> > > instead of the correct domain name.
> >
> > This actually looks right because it doesn't appear that you have
> > configured samba as a PDC.
> 
> Hmm, i forgot to mention that i use different configuration files for 
> different services (smbd,nmbd,winbind and utils) in form of a tree. My 
> intention was to keep the individual configuration files simple and thus the 
> system more manageable. The current tree is:
> 
> config-common (also symlinked as smb.conf)
>  ^  ^  ^
>  |  |  |
>  |  |  |
>  |  |  |----- config-winbindd
>  |  |
>  |  |-------- config-smbd
>  |
>  |----------- config-nmbd
> 
> smbd and nmbd are configured to serve as primary domain controller and that 
> works fine so far. 
> 
> Nevertheless why does pdbedit have to know what role the samba daemons play? 
> Does it indeed make sense to put something different than the workgroup name 
> into the domain name field of the sam record?

So, you have configured a 'strange' setup, specifically overriding how
the Samba team constructs and tests the system, then wonder why it
breaks?

Tools like smbclient need to know if Samba is acting as a PDC - because
the name of the 'sam' is only the workgroup name for the PDC, otherwise,
it's the name of the machine.  (individual machines may each have
accounts in LDAP servers, for their own 'local' accounts, should you
wish to configure it this way.)

Andrew Bartlett

-- 
Andrew Bartlett                                 [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org     http://build.samba.org     http://hawkerc.net

Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to