[Samba] pdbedit handles samba domain name incorrectly

Andrew Bartlett abartlet at samba.org
Fri Aug 8 11:26:07 GMT 2003

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

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                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20030808/637958c0/attachment.bin

More information about the samba mailing list