Re: help me

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

 



> 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




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

  Powered by Linux