[Samba] What is the domain name when using Samba as PDC

Clement clement at ans.com.au
Tue Jul 27 16:17:31 GMT 2004


Andreas Ntaflos wrote:

>On Wed, Jul 28, 2004 at 01:25:41AM +1000, Clement wrote:
>  
>
>>In setting up a Samba to serve as a PDC, where do I set the "Domain" 
>>name?  I checked a lot of document and just can't find this!
>>
>>    
>>
>
>This is all in
>http://at.samba.org/samba/docs/man/Samba-HOWTO-Collection/samba-pdc.html
>and an example is in
>http://at.samba.org/samba/docs/man/Samba-HOWTO-Collection/samba-pdc.html#id2517482
>
>Basically the domain name is set via the "workgroup = NAME" directive in
>your smb.conf.
>
>I suggest to read the document linked above as well as
>http://at.samba.org/samba/docs/man/Samba-HOWTO-Collection/domain-member.html
>which is equally important.
>
>HTH
>  
>
Hi Andreas,

Thank you very much for the suggestion.  I read that doc before and have 
read it again.  I believe I made a little progress, but not enough.  
Now, in joining my W2k Pro client to the "domain",  I get this error 
message:

"The following error occured attempting to join the domain "SAMBA":
"Logon failure: unknown user name or bad password."

The user "clement" and the machine user "clement$" were both manually 
created.  The log.smbd also showed the password was authenticated.  Do 
you have any suggestion about the trouble?

The log.smbd is quite large.  I can produce it if needed.  Here is the 
smb.conf

# Global parameters

[global] 
        security = user
        ; status = yes

        ; This is the Domain name
        workgroup = SAMBA

        ; wins server = { ip of a wins server if you have one }

        encrypt passwords = yes
        domain logons =yes
        logon script = scripts\%U.bat
        ; domain admin group = @admin
        add user script = /usr/sbin/adduser -n -g smbmachine -c Machine 
-d /dev/null -s /bin/false %m$
        guest account = smbguest
        share modes=no
        os level=65

        log level=10

        passdb backend = tdbsam, guest


[homes]
        guest ok = no
        read only = no
        create mask = 0700
        directory mask = 0700
        ; oplocks = false
        ; locking = no

[netlogon]
        path = /var/lib/samba/netlogon
        writeable = no
        guest ok = no


[profiles]
        path = /var/lib/samba/profiles
        read only = no
        create mask = 0600
        directory mask = 0700


Regards,

Clement





More information about the samba mailing list