Samba mount

jim lawrence fedorajim at gmail.com
Sun Feb 13 14:55:27 UTC 2005


On Sat, 12 Feb 2005 17:31:36 -0800, Bob T. Hung <bthung at adelphia.net> wrote:
> > i want to connect to the domain how can i do it i have win2k domain and
> > i use fedora and i am domain user
> 
> use system-config-authentication and input your domain-settings in smb
> and winbind, this works fine. if you need to
> mount a win-share do:
> 
> - create a directory for the mount in your homedir, eg. windoze
> - in your homedir, create a file called .smb (the dot makes it
> invisible) -> don't do this as root
> - set 'chmod 600 .smb'
> - content of .smb (vi .smb):
> username=[your windoze-username]
> password=[your windoze-password]
> 
> give your users rights to mount shares using visudo. you will find some
> somples for this, doing visudo as root.
> 
> afterwards, you can handle this by shell-script or in the shell (the
> shell-scripts contains the line, it's easier to
> call 'winsetup' rather than always that line:
> 
> content of "winsetup"
> sudo mount -t cifs -o credentials=/$HOME/.smb,rw,uid=$UID //server/share
> /home/$USER/windoze
> 
> remember, if using a shellscript:
> -chmod 700 or 770 your shellscript, otherwise it is not executable
> -if you don't copy your script to a path in your $PATH (echo $PATH), you
> will have to launch your app with the full
> path. so, placing it in /usr/local/bin or /usr/bin/ is not a bad idea.
> 
> HTH
> Roger
> 
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> 
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> 

Roger, 

you think yo could write up some quick tutorial about this?  It seems
that cifs is replacing "smbmount"  and I would like to know more about
getting this set up in my home network.

-- 

Jim Lawrence
Registered Linux User: #376813
********************************************************
When I'm feeling down, I like to whistle. 
It makes the neighbor's dog run to the end of his chain and gag himself.
************************************




More information about the fedora-list mailing list