On Tue, 2007-11-13 at 20:22 -0800, Sandra Bonus wrote:
> Running autofs-5.0.1-0.rc3.33 on Fedora Core 6.
> 
> I'm trying to mount a share on a Windows 2003 server in a domain. nslookup 
> returns the correct IP address and I can ping it.
> I have a domain username/password that gives me admin access to this server 
> as well as to my local PC.
> For the purpose of this I create a local (not domain) user called awmelsales1 
> and a share called awmelsales1_backups. I do this on the server and on my PC.
> 
> 
> TEST 1:
> I can mount the share manually using 
> mount -o -fstype=cifs,username=awmelsales1,password=password 
> //awmelfp01/awmelsales1_backups /mnt
> 
> TEST 2:
> I run auto.samba manually (using /etc/auto.samba awmelfp01) this gives me:
> -fstype=cifs,username=awmelsales1,password=password \
>          /awmelsales1_backups "://awmelfp01/awmelsales1_backups" \
>          /awmelsales2_backups "://awmelfp01/awmelsales2_backups"
> 
> TEST 3:
> I try this out on my local PC
> ls -l /smb/MYPC/awmelsales1_backups
> and it lists out all the files ie it works
> 
> At this point I assume that:
> 1 - I can manually mount so I can see the server, the share and have 
> permissions
> 2 - autofs can successfully connect and see the shares
> 3 - it works on my PC so the names are all ok ie underscores are ok, autofs 
> and its config is ok
> 
> However when I ls -l /smb/awmelfp01/awmelsales1_backups then I get "No such 
> file or directory" and the log shows 
> 
> attempting to mount entry /smb/awmelfp01
> parse_mapent: parse(sun): invalid location
> failed to mount /smb/awmelfp01
> 
> What am I missing? Ideas? Help ....

I'm not sure what the problem is here.
It may help to post a debug log.
There's information on how to do this at
http://people.redhat.com/jmoyer.

Ian


_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to