Saturday, December 26, 2009

Getting samba to work on knoppix

uninstall samba, samba-common, libsmbclient, smbclient, smbfs, libgnomevfs2-extra
uninstall virtualbox stuff
reinstall samba, samba-client
add a user to samba
smbpasswd -a hughes
Note. If the command fails it is because the password file does not exist. Retouch the file with the following command and try again.
[root@server2 samba]# touch /etc/samba/smbpasswd
Finally change the smbpasswd security to 644
[root@server2 samba]# chmod 644 smbpasswd
That command will make it read only!

Looking at samba params:
testparm /etc/samba/smb.conf

install swat using synaptic manager
install smbclient
This is where the samba config is stored:
/etc/samba/smb.conf
deleted file in /var/lib/samba/passdb.tdb
now need to add a new user to samba?

No comments:

Post a Comment