On Fri, May 14, 2004 at 02:27:25PM -0400, Grigsby, Garl wrote:
> Sorry, my poor tired brain was functioning at only half power. What I should
> have said was that users can login to a Windows box and authenticate to the
> samba server. I can add users and machines to the domain using usermgr.exe
> and that all seems to work except for the fact that the logon script is never
> run. 

Hmm, I never used usermgr.exe except for windows domains.  Here are some
relevant sections from my v3 smb.conf:
    security = user
    encrypt passwords = true
    passdb backend = smbpasswd guest
    os level = 64
    preferred master = yes
    domain master = yes
    local master = yes
    domain logons = yes
    logon path = 
    logon drive = P:
    logon home = \\%N\%U
    logon script = logon.cmd
    add machine script = /usr/sbin/useradd -d /dev/null -g machines -c 'Machine 
Account' -s /bin/false -M %u

When I was using this, it was working fine.  I did not have an ldap backend and
had a wrapper script to make or delete unix and samba accounts simultaneously.
Login scripts worked fine.  I noticed that in order to get winxp to join the
domain I had to change some settings in it to tell it to join as if it were in
an nt4 domain.

Cory

-- 
Cory Petkovsek                                       Adapting Information
Adaptable IT Consulting                                Technology to Your
(858) 705-1655                                                   Business
[EMAIL PROTECTED]                                  www.AdaptableIT.com
_______________________________________________
EUGLUG mailing list
[EMAIL PROTECTED]
http://www.euglug.org/mailman/listinfo/euglug

Reply via email to