Samba: How to map home folder to somethign other than Z:\
I have samba running on ubuntu 8.10, and I can login with my XP box.
When I do, the home folder for the user is mapped to Z:\ How can I map the home folders to say M:\ or U:\ (something other than Z:\)? Thanks, John |
You filder if mapped automatical;ly at login by a logon script invoked by samba, or may be the directive is within your samba smb.conf file. Check for:
logon drive = logon home = You can manually map the drive any time with: net use M: \\servername\yourhomedir |
My Computer > Tools > Map Network Drive
There you can set the drive letter for the drive you want to map as well ass the server you're mapping to. |
Right click, My computer icon -->select, Map Network Drive
on this way also you can mount |
So you are saying I can put:
net use M: \\servername\yourhomedir into my smb.conf file? I'll test that out, and if so, that's awesome. Regarding the last two comments, first thanks - I appreciate the responses. I know I can do it that way, but I wa looking for a way to set teh default to something other than Z:. |
i dont think that you can use "net use M: \\servername\yourhomedir" in your smb.conf actually this is a DOS command. chitambira has mentioned on his post, you can manually mount drive on your remote machine using this command.
check there is a option for selecting drive (in default dirve Z is there but you can select anyone in the list if not mounted already) |
Quote:
-The first two options you can use in your smb.conf file -The last is a dos command to map it manually on a Windows client |
Oh...
I thought logon drive, logon home were ignored if roaming profiles were disabled. I did find this page that I am reading now... http://oreilly.com/catalog/samba/cha...k/ch06_06.html |
Oh... my thought is wrong
Thanks John to gave this url |
Logon path is the one which is mandatory when roaming profiles are enabled,
but logon drive and logon home are not tied to roaming profiles (only) Kirukan Quote:
So nothing is new at this point. My first post still holds. using batch scripts (logon scripts)is equivalent to running net use M: manually soon after logging in, only difference is that in this case, the admin is automatically doing it for all users (which is the essence of scripting). |
All times are GMT -5. The time now is 07:07 PM. |