SAMBA

"mighty mighty pleasin', poppas goin' squeezin', shhh, white lightnin'"

Home Up

 

The number of hits this page gets is a clear indication that Samba remains one of the main stumbling blocks preventing Linux from going truly mainstream.  If you have any information that could help, send it in and I will post it, or if the information is already on a website, I will link to it if you prefer..

 

Samba, samba, we love you.  At least when we can get you working properly.

 

 

 

The password is the tough part.  The smb.conf file can be edited by trial and error.

With distros using shadow passwords, as root type

mksmbpasswd.sh < /etc/passwd > smbpasswd

chmod 600 smbpasswd

smbpasswd yourusername

then make sure smb.conf has the following lines

encrypt passwords = yes

smb passwd file = /etc/samba/smbpasswd (or whatever path your distro uses)

To add other usernames type

smbadduser username:username

then type

/sbin/service smb restart

then type

ntsysv

and make sure Samba starts up when your computer boots

If you are using Caldera 2.x

change to /etc/samba.d

type

cp smb.conf.sample smb.conf

cat /etc/passwd | mksmbpasswd > /etc/samba.d/smbpasswd

smbpasswd yourusername

 

For ease of access, log into windows using the same username and password you use for Samba, and you will be able to access your Linux home directory like another windows box.

To avoid problems, when installing Linux set security at the lowest level, configure Samba, then set up your firewall.  This will avoid access problems that could stop Samba kicking off.

 

I recently succeeded in getting Samba running on SuSE 7.3, unfortunately I haven't got a clue how I did it, and I am too much of a coward to try it again.  If you have a walkthrough for this operation, please send it to me so I can post it for the benefit of your fellow sufferers.

 

Good luck, and may the force be with you.

The Four Preps. They were big men yesterday.  Well, the day before that!

 

Put the stupid webmaster out of his misery and hire him - nobody in the known universe works cheaper.

 

All tips and tricks gratefully received and posted.

View technology headlines at MSNBC

Home ] Up ]

If we have to destroy them to dominate them, so be it!

 

Copyright © 2001 Brian Brett