auto.net-like script for smbfs?
Ian Kent
maintainerQuoted 5 lines · Christoph Bugel
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.
Quoted 9 lines
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.
Signature · 4 lines
,-._|\ Ian Kent / \ Perth, Western Australia *_.--._/ E-mail: [email protected] v Web: http://themaw.net/
Quoted 26 lines · Ian Kent
Quoted 6 lines · Christoph Bugel
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.
Quoted 10 lines
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?
Quoted 5 lines
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'm a little confused.
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.
Ian Kent
maintainerQuoted 7 lines · Soyoung Park
Quoted 1 line
i'm a little confused.
i've gotten smb mount to work w/ autofs, but not used any script.
what i did was:
Quoted 9 lines
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.smband i was copying files across smb w/ the smb folder auto mounted.
the windows machine had to be password protected.
I got the impression that someone was talking about using the anonymous share (no passwords) which is rearly avaialble in most places.
Signature · 4 lines
,-._|\ Ian Kent / \ Perth, Western Australia *_.--._/ E-mail: [email protected] v Web: http://themaw.net/