Samba PDC + Samba Server ( Urgent! )

Daniel William Schultz danws at terra.com.br
Sat Nov 10 03:38:02 GMT 2001


Hi all again :)

I have read the Samba PDC HOWTO and Samba PDC Faq, and search the mail
archives as well, but I still have one doubt about one thing.

Lets explain what I have done:

Samba PDC ( 10.0.0.1 )

smb.conf for samba-pdc
-------------------------------------------------------------
[global]
    workgroup = EDUTECJF
    server string = Servidor Edutec PDC
    hosts allow = 10.
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    log file = /var/log/samba/log.%I
    max log size = 50000
    debug level = 1
    security = user
    encrypt passwords = yes
    passwd program = /usr/bin/passwd
    passwd chat = *new*password* %n\n *new*password* %n\n *changed*
    smb passwd file = /etc/smbpasswd
    local master = yes
    domain master = yes
    preferred master = yes
    domain logons = yes
    logon script = %U_%I.bat
----------------------------------------------------

Samba PDC is working fine, no problems :)

I have another samba server... ( 10.0.0.2 )

smb.conf for samba secondary server:

----------------------------------------------------
[global]

   workgroup = EDUTECJF
   server string = SERVIDOR SAMBA EXPERIMENTAL
   hosts allow = 10.
   log file = /var/log/samba/log.%m
   max log size = 50000
   debug level = 1
   security = domain
   password server = EDUTECLINUX
   encrypt passwords = yes
   smb passwd file = /etc/smbpasswd
   unix password sync = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   local master = no
   domain master = no 
   preferred master = no
   domain logons = yes
   dns proxy = no 
---------------------------------------------------------------

I added the samba server on PDC as described below:

adduser -g machines -c Secondary -d/dev/null -s/bin/false -n pinguim$

smbpasswd -a -m pinguim$

The entry on /etc/smbpasswd was added and everything looked ok

Then on samba secondary server I follow the step:

smbpasswd -j EDUTECJF -r EDUTECLINUX

And joined the domain as expected :)

I have one user called "dws" on the samba PDC and one called "koala"
on samba secondary server.

On PDC there is the creation of logonscripts "on the fly", but its not
working with samba secondary server running.

The user dws logs but do not execute the .bat

The user koala logs but do no execute the .bat

I think that I am almost there...can anyone help me ?

PS: if I disable the domain logons = yes on samba secondary server,
the user koala ( that is registered on secondary server ) do not logs,
but the user "dws" ( that is registered on PDC ) logs and execute the
logon script...annoying thing :(

Thanks,

Daniel William Schultz





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


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





More information about the samba-ntdom mailing list