On Mon, 28 Jan 2002, Christoph Bugel wrote:i'm a little confused.
Is there a script that uses smbclient -L or something to
figure out the available shares on a given windows smb host,
similar to the auto.net script that uses showmount to figure
out the available mountpoints for a given NFS host?
No. Not yet.
The goal is to have a /smb directory that will function just like my NFS /net directory..
currently I have auto.misc with the line
* -fstype=smbfs,username=guest,password= ://&/c
But not all shares are called "C". I guess there is no
catch-all solution for the password thing, but maybe someone
has written the script for finding the shares?
No. I have never been able to satisfactorily use SMB shares in a 'real' domain environmnet. I have tried enough to not want do any more.
i've gotten smb mount to work w/ autofs, but not used any script.
what i did was:
1. create a share dir in my window machine for file share access
2. add an auto.smb file w/ line "-fstype=smbfs,username=username,password=password:\\path" and
3. motify auto.master to include auto.smb
and i was copying files across smb w/ the smb folder auto mounted.
the windows machine had to be password protected.
hope this helps.
_______________________________________________ autofs mailing list [EMAIL PROTECTED] http://linux.kernel.org/mailman/listinfo/autofs
