[Samba] Winxp netlogon script

Khanh Tran khanh at slc.edu
Fri Jun 20 21:37:16 GMT 2003


I'm running Samba-2.2.8a on RedHat Linux 7.1, Kernel 2.4.18-24.7.x,
glibc-2.2.4-31, on an i686.  I understand that kernel-2.4.20-18.7 and
glibc-2.2.4-32 is available for RH7.1.

If need be, I'll update to 7.3 with the latest kernel and glibc if that will
fix the issue.  I'd prefer to not take the server down for a lengthy time to
do a complete OS upgrade, rather just update the kernel and glibc on RH7.1
if possible.

smb.conf:

[global]
        workgroup = ACADEMIC
        netbios name = SLC3
        interfaces = 172.16.0.3 127.0.0.1
        bind interfaces only = Yes
        hosts allow = 172.16. 10.
        encrypt passwords = Yes
        name resolve order = wins lmhosts hosts
        domain admin group = @admin
        add user script = /usr/sbin/adduser -n -g machines -c Machine -d
/dev/null -s /bin/false %m$
        unix password sync = yes
        smb passwd file = /var/samba/private/smbpasswd
        log level = 1
        debug timestamp = yes
        password level = 1
        passwd program = /var/samba/bin/syncpass.sh %u %n
        passwd chat = *Password* *changed*
        logon script = scripts\%g.bat
        logon drive = H:
        logon home = \\SLC3\%u
        domain logons = Yes
        os level = 65
        preferred master = True
        domain master = True
        wins support = Yes
        time server = True
        guest account = ftp

[netlogon]
        path = /var/samba/netlogon
        browseable = no

[homes]
        comment = home directory support
        read only = No
        inherit permissions=yes
        browseable = no

[data]
        comment = Data Resources
        path = /var/data
        admin users = @admin
        read only = No 
        create mask = 0775   
        directory mask = 0775
        browseable = no

-----Original Message-----
From: John H Terpstra [mailto:jht at samba.org] 
Sent: Friday, June 20, 2003 3:42 PM
To: Khanh Tran
Cc: 'tlackey at dmsidaho.com'; 'samba at lists.samba.org'
Subject: RE: [Samba] Winxp netlogon script


Folks,

For what it is worth, in my testing of samba-3 domain logon behaviour I have
found logon script processing totally reliable. The only instance of trouble
that I have come across so far was with sites running RedHat 7.3 that did
NOT have the glibc and kernel updates. In every case where the updates have
been applied there has been no pleoblem.

If you want your problems resolved then a little more detail might help.

What version of samba?
What platform (OS version and updates)?
What smb.conf info?

How are clients configured?

- John T.

On Fri, 20 Jun 2003, Khanh Tran wrote:

> I have been experiencing the exact same issue as you, and I was 
> wondering if you ever came to a resolution?  I didn't see a response 
> on the Samba list!
>
> Thanks!
>
> List:     samba
> Subject:  RE: [Samba] Winxp netlogon script
> From:     "Truman" <tlackey () dmsidaho ! com>
> Date:     2003-05-16 20:31:28
> [Download message RAW]
>
> I am adding more information on my status:
> The question that I need to find is why Win98 client have no problem 
> running the logon script and WinXp clients do not even appear to try.
>
> When I log onto the domain from a WinXp pro client the home share is 
> getting mapped but the logon script is not getting executed.  I have 
> checked the log files and I am in the domain.
>
> Initially I had 2 WinXp client using roaming profiles just to test but 
> I decided against using this feature.  This may somehow caused WinXp 
> clients to not run the logon script but I am not sure.  I have the 
> same symptoms on 4 WinXp clients, and 1 win2000 client.
>
> Truman
>
>
> Khanh Tran
> Network Operations
> Sarah Lawrence College
>
>

-- 
John H Terpstra
Email: jht at samba.org




More information about the samba mailing list