From: Sorin S. <sor...@or...> - 2010-03-15 11:36:49
|
>-----Original Message----- >From: Chris Bennett [mailto:ch...@ce...] >Sent: Thursday, March 11, 2010 3:33 PM >To: sor...@or...; General list for user discussion, questions and >support >Subject: Re: [BackupPC-users] Trouble setting up backup to a Windows host > >Your autofs entry is not working. Any sign of problems in >/var/log/{messages,daemon.log,syslog} when you cd into >/windows/starforge? Nothing I could find. 8-/ >Can you mount the CIFS resource manually? You need to make sure this >works first, before you try and convince autofs to automount it for >you: > > mkdir -p /windows/starforge > mount.cifs //starforge/c$ /windows/starforge \ > -o ro,credentials=/etc/.autofs.smbpasswd I used #mount starforge -fstype=cifs,ro,credentials=/etc/.autofs.smbpasswd ://starforge/E\$ And got no error message. Entering #mount ;gives me starforge on ://starforge/E$ type ype=cifs,ro,credentials=/etc/.autofs.smbpasswd (rw) All is well so far I think. Cd'ing to /windows/Starforge gives me "-bash: cd: /windows/starforge/: No such file or directory". 8-/ >Possible problems: > - starforge is not resolvable > - credentials in /etc/.autofs.smbpasswd are incorrect. Do you need > the AD domain appended to the username? > - supplied credentials do not have permission to access > //starforge/c$ Pinging Starforge by name works, I added it all to the hosts-file, ie the trivial windows name, FQDN and ip too. In /etc/.autofs.smbpasswd I have the credentials set to User Name = domainname/username. The account in question is a domain admin account, and as such should have access to all of the E-drive on the Win-machine. I'll try setting the cred's as username@domainname instead and see if there's any difference. -- /Sorin |