User:Antocm
From openSUSE
Real Name: António Cardoso Martins
E-mail: digiplan.pt(a)gmail.com
openSuSE Portuguese translation team coordinator.
Please see my homepage[1].
Integrating LDAP and Samba using openSUSE
I have recently written a document that describes how to configure LDAP + Samba integration in openSUSE. Check it here[2]
For some time i have been looking for a way to create a simple fileserver in Linux, that could easily be configured by anyone. OpenSUSE made it reality, but there was no aggregated graphical documentation about it (at least from what i have found). With this comprehensive and simple howto that i present, you will be able to create a fileserver with minimal effort, using just graphical tools to configure and administrate.
The case presented, wil allow that Linux and Windows computers share the same network folders in a transparent way, using their native file sharing system, which is NFS for Unix/Linux and SMB/CIFS for Windows.
All users will be defined in a central repository, so you can synchronize Samba with NFS, but also keeping the possibility to use that central repository for many other purposes, like having a mail server with those same users, or an FTP server also with them automatically recognized.
LDAP is configured in a secure way using TLS/SSL.
Hope you like it. Please send me any comments that you find important.
http://antocm.sodacaustica.net/scripts-n-stuff.html#ldap-samba[3]
Mounting a USB hard disk in a fixed mount point using openSUSE 11.0
I installed openSUSE 11.0 (as most wise people did) and noticed, that perhaps the way to mount my external USB hard disk always in the same place, was not so user friendly as i wanted.
I tried to use the partioner in YaST, but then the computer throw me a console in runlevel 1 (didn't boot properly), because the external hard disk was not plugged at that time. I had to change the line from /etc/fstab, but then i thought about writing here how to do it the right way.
For the console fans, we just have to insert the new parameter 'nofail', in order for the computer to proceed, even if at the time of reading fstab, the device is not available.
| /dev/disk/by-id/usb-Ext_Hard_Disk_S07I2501A00000164680-0:0-part2 /media /personal-disk ext3 acl,nofail 1 2 |
|---|
However, we can do it all graphically, with the help of YaST...
Please make sure you are carefull about what you touch in the Partitioner, as all options are sensitive here, and can ultimately render an useless operating system. Start invoquing YaST, then select 'System' and 'Partitioner'.
Select the partition you want to always mount in the same place. In this case, i have chosen /dev/sdb2.
When editing the partition, choose a 'Mount point' for it. Then, select 'Fstab Options'
Here, you just have to make sure that under 'Arbitrary option value' you place the value 'nofail'.
Press OK twice, and then 'Finish'.
The device will be mounted in the same mount point (directory) every time you plug it, or boot your computer, with the device connected. That's all.
--antocm 18:54, 20 June 2008 (UTC)




