Re: Samba mount

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 12 Feb 2005 17:31:36 -0800, Bob T. Hung <bthung@xxxxxxxxxxxx> 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@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> 
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> 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.
************************************


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux