Hello, I'm struggling with a Samba 3.07 installation on a Debian Sarge system. This system is used as a backup server and a scheduler job on a windows 2000 server should backup some data on that system. The integration of samba and the Windows 2000 domain works fine, as long as we interactivly access the samba box from the windows server. In this case the user is recognized correctly from the samba system. As soon as the job is started from the scheduler I can't even access the samba box, because there is no user mapped to samba. I got these error message in the samba log: > check_ntlm_password: Checking password for unmapped > user []\[]@[SERVER] with the new password interface If I manually run the job I got this in the log file: > check_ntlm_password: Checking password for unmapped user > [DOMAIN]\[Administrator]@[SERVER] with the new password interface I already tried to map the samba box using in the job: > net use drive: \\sambabox\directory /user:domain\user password but even with this there is no user mapping on the samba box. And again if run interactivly its working fine, but as a scheduler task its not. Any hints to solve that problem would be fine.. thanks in advance. regards Lars
Gordon Russell
2004-Nov-09 21:36 UTC
[Samba] Re: Windows 2000 Scheduler Permission Problem
W2k by default runs scheduled tasks as "system" user, which isnt a samba user. somewhere in the config of the W2K job schedule interface (it may be under an "advanced" button) you can change the user that the job runs under. Change it to a user who is in your samba system, and can read/write the share you want to access. gordon