Install LDAP and SAMBA for user management
Hi, I am install OpenLDAP server on linux CENTOS 6.3. To manage linux user/password and Windows user/password.
I would like for user of windows to share disk space on Linux. Is there any step by step instruction of the installation. Is there a web interface to manage user/passw? So user can use that to change password themself. Thanks! |
|
Assalam o Alaikum!
I can only answer your this question Quote:
Use samba server Steps: yum install samba mkdir /mnt/share chmod 777 /mnt/share #share is folder you want to share vim /etc/samba/smb.conf WORKGOUP=WORKGROUP interfaces= eth0 192.168.1.252/24 #this is my samba server IP and its interface hosts allow = 127. 192.168.1. #all hosts that are in 127 and 192.168.1's network are allowed security = user [share] #share is folder name that you want to share or put any comments = all users path = /mnt/share browseable = yes writeable = yes guest ok = yes share mode = yes valid users = sambauser root ukengr # these useres must exist in your system Save & exit now run following commands smbpasswd -a smbuser smbpasswd -a root service iptables stop GO TO WINDOWS CLIENT: Turnoff firewall Start----> Run-----> //192.168.1.252 OR \\192.168.1.252 ####this your samba server IP, username: sambauser password: ******* END WINDOWS to LINUX Sharing -Allow sharing (in windows xp you can allow in this way My computer---> tools-----> folder options----> view (tab)-----> use simple file sharing (enable it)) -Right click on folder (name: share_windows)----> click on sharing and security----> share the folder -come to linux server----> write following command: mount -t cifs \\192.168.1.252\share_windows /mnt/share Please see spelling mistakes in config file which i have written above. |
The shared space should limit to /home/<userdi>
Nikosis and uk.engr,
Thanks for your help! The goal of install LDAP and SAMBA is that each user own the same userId on Linux and Windows. When user from windows share the diskspace on Linux, the user only can access user's home directory which is "/home/<user id>". When a new user join the system, the only step is to create an account in LDAP, SAMBA should include the user automatically. Anyone who have done this before? Thanks in advance for your help! |
Sorry dear I didn't work on ldap. Please let me know some tutorial or steps for doing LDAP on fedora
Thanks! |
|
Thanks! Nicosis
This artical is out of date. Current commands are working differently. It is very hard to follow this tutorial.
Any update to date instructions? Thanks! |
All times are GMT -5. The time now is 08:48 PM. |