# login script not running

**URL:** <https://forums.suse.com/t/login-script-not-running/25767>\
**Category:** SLES Configure-Administer\
**Created:** [June 19, 2014, 9:46pm UTC](https://forums.suse.com/t/login-script-not-running/25767 "2014-06-19T21:46:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gfellerj](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@gfellerj](https://forums.suse.com/u/gfellerj)\
**Post date:** [June 19, 2014, 9:46pm UTC](https://forums.suse.com/t/login-script-not-running/25767/1 "2014-06-19T21:46:18Z")

</div>

Hello,

I have some windows 7 machines joined to my samba domain and for some reason the login script isn’t running. In my smb.conf file I have  
logon script = logon.bat  
guests = No

under global. and under the netlogon share I have

[netlogon]  
comment = Network Logon Service  
path = /var/lib/samba/netlogon  
write list = [@Admins](https://forums.suse.com/groups/admins)  
guest ok = no  
writeable = no  
locking = no  
read only = yes

I have a login batch file in the netlogon share called logon.bat. Can anyone help me figure out why it isn’t running?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [June 26, 2014, 3:30pm UTC](https://forums.suse.com/t/login-script-not-running/25767/2 "2014-06-26T15:30:13Z")

</div>

gfellerj,

It appears that in the past few days you have not received a response to your  
posting. That concerns us, and has triggered this automated reply.

Has your issue been resolved? If not, you might try one of the following options:

- Visit [http://www.suse.com/support](http://www.suse.com/support) and search the knowledgebase and/or check all  
the other support options available.
- You could also try posting your message again. Make sure it is posted in the  
correct newsgroup. ([http://forums.suse.com](http://forums.suse.com))

Be sure to read the forum FAQ about what to expect in the way of responses:  
[http://forums.suse.com/faq.php](http://forums.suse.com/faq.php)

If this is a reply to a duplicate posting, please ignore and accept our apologies  
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your SUSE Forums Team  
[http://forums.suse.com](http://forums.suse.com)
