Samba PDC + Samba Server ( Urgent! ) Helppppppppppppppppppp

Chris Tooley ctooley at amoa.org
Sat Nov 10 05:00:10 GMT 2001


What platform are you running Samba on that is going to actually execute
a batch file?  Are you making these batch files with UNIX style carriage
returns or are you using DOS style carriage returns?  Just things to
think about.

Chris Tooley

On Sat, 2001-11-10 at 05:26, Daniel William Schultz wrote:
> 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 mailing list