samba on ubuntu issues
Posted: Tue Jul 11, 2006 12:40 am
I can't seem to get samba to work correctly:
this is what I have done:
sudo apt-get install samba
sudo apt-get install smbfs
sudo smbpasswd -a burrito
then typed and confirmed my password
then in /etc/samba/smbusers I added this line:
burrito = burrito
I also tried
burrito = "burrito"
and (thinking maybe I had to have a different name:
burrito = burritos
next in: /etc/samba/smb.conf I uncommented this line
security = user
and added this line right below it:
username map = /etc/samba/smbusers
finally I added this to the end of my smb.conf file:
[music]
comment = music folder
path = /var/www/music
public = yes
writable = yes
valid users = burrito
create mask = 0777
directory mask = 0777
force user = nobody
force group = nobody
I also tried it w/o the 'valid users' directive
after saving my file I ran 'testparm' and received this for my output
burrito@tacostand:/etc/samba# sudo testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[printers]"
Processing section "[print$]"
Processing section "[music]"
Loaded services file OK.
WARNING: passdb expand explicit = yes is deprecated
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
which looks ok to me...save the one minor warning.
I then restarted my samba services and tried to map a drive from my windows xp machine adn get this error:
"The mapped network drive could not be created because the following error has occurred: An extended error has occurred"
I'm at a complete loss of what to try next, can anyone shed some light on this please?
this is what I have done:
sudo apt-get install samba
sudo apt-get install smbfs
sudo smbpasswd -a burrito
then typed and confirmed my password
then in /etc/samba/smbusers I added this line:
burrito = burrito
I also tried
burrito = "burrito"
and (thinking maybe I had to have a different name:
burrito = burritos
next in: /etc/samba/smb.conf I uncommented this line
security = user
and added this line right below it:
username map = /etc/samba/smbusers
finally I added this to the end of my smb.conf file:
[music]
comment = music folder
path = /var/www/music
public = yes
writable = yes
valid users = burrito
create mask = 0777
directory mask = 0777
force user = nobody
force group = nobody
I also tried it w/o the 'valid users' directive
after saving my file I ran 'testparm' and received this for my output
burrito@tacostand:/etc/samba# sudo testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[printers]"
Processing section "[print$]"
Processing section "[music]"
Loaded services file OK.
WARNING: passdb expand explicit = yes is deprecated
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
which looks ok to me...save the one minor warning.
I then restarted my samba services and tried to map a drive from my windows xp machine adn get this error:
"The mapped network drive could not be created because the following error has occurred: An extended error has occurred"
I'm at a complete loss of what to try next, can anyone shed some light on this please?