Samba: Adding Homes to PDC causes netlogon.bat script to not execute
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Samba: Adding Homes to PDC causes netlogon.bat script to not execute
I have a samba server running as a PDC with ldap as its backend. The PDC does not have a [homes] directive as I have another samba server running on our file server that has the homes directive. It was no problem being that I had a script in [netlogon] called netlogon.bat that would mount the home directories on windows. Now everytime someone logs on, I get an error message in the logs that say service 'username' cannot be found. Well I tested it out with a user by creating a [username] directive. Well the message goes away, but now netlogon.bat is not being executed. And its not like it cannot be accessed. I can from windows navigate to \\pdc\netlogon and execute the script and have it mount the directories. Any ideas?
Check the netlogon directory(and similar specified in the smb.conf global aswell as homes sec)
whether the these directories are writable by the concerned users?
I have had also the same problem. But it solved though i don't exactly know how it solved. May be I changed the permissions
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.