Sunday, January 16, 2011

Getting SMB to work on CentOS 5

I followed these instructions for command line setup.

http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-samba-configuring.html

Make the following changes to /etc/samba/smb.conf

workgroup = ADS
server string = Matt's Penguin box, Samba Server Version %v


[mullermw]
comment = mullermw's stuff
path = /local/mullermw
valid users = mullermw root
public = yes
writeable = yes
printable = no
create mask = 0765

Be sure to set up a password for the user.

%smbpasswd -a mullermw

I'd like to know if there's a way to use the machine password.

When connecting, prepend the username with the domain: ADS/mullermw

Friday, January 7, 2011

Somehow I broke yum on CentOS 5.5. I was getting this:

There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

No module named cElementTree

Please install a package which provides this module, or
verify that the module is installed correctly.

It’s possible that the above module doesn’t match the
current version of Python, which is:
~~~~~~

If you cannot solve this problem yourself, please go to
the yum faq at:

http://wiki.linux.duke.edu/YumFaq

I was able to fix it following this:

http://stuff.nekhbet.ro/2010/05/27/yum-error-on-centos-5.html