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?
|
need to see some conf here, how about your logon.bat???
|
Code:
[global] Then the netlogon.bat Code:
NET USE * /DEL /YES |
I think it is the issue with permissions
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 |
in you smb.conf(G) you have;
Quote:
Quote:
|
All times are GMT -5. The time now is 06:21 PM. |