Cannot access Samba share on Proxmox host

macamba

Renowned Member
Mar 8, 2011
96
5
73
First of all my complements for this great peace of work. I was previously using Ubuntu 10.04 Server with KVM and tested Convirt 2.0 and OpenQRM on it. I takes a long way to get both of those working and OpenQRM installs a lot of services which slowed down my system. So far Proxmox does the job great. I only had to switch from Ubuntu to Debian :-(...

The first minor challenge I had so far with Proxmox directly after installation is that I had to put a rootdelay=90 in Grub config. Hence, I installed the complete system on an USB stick so probably the lack of speed of the USB stick is the cause.

Additionaly on the Debian host of Proxmox I installed cryptsetup, for accessing my encrypted harddisks, and Samba server. Since I want to use the host as a file server rather than a VM. Meanwhile Samba service is running and I also configured my shares in smb.conf. Now I have the problem that I can see my shares through the network but it doesn't allow me to access them via the Proxmox root user? Somebody had the same experience and knows a solution for me?

Feature request: cryptsetup, dm-crypt, LUKS as partitions for Proxmox
 
Samba packages on lenny are quite old, I suggest you use the samba packages from lenny-backports.
 
I am newbie to Debian so to update via lenny-backports is easier said than done for me.
How do I invoke a package via backports including dependencies?
 
I logged in to the host shell with the root account and issued the command 'smbpasswd' which prompted me for a new password. So actually I added my root user now to the Samba user store. My shares work now!

I only wonder why I have to enter a new password why doesn't it just use the one of the OS root account, so that they stay synchronized. I think that's how it works under Ubuntu. I never added a user specifically via smbpasswd...
 
I logged in to the host shell with the root account and issued the command 'smbpasswd' which prompted me for a new password. So actually I added my root user now to the Samba user store. My shares work now!

I only wonder why I have to enter a new password why doesn't it just use the one of the OS root account, so that they stay synchronized. I think that's how it works under Ubuntu. I never added a user specifically via smbpasswd...
Hi,
samba use an own password-store, which is not compatible with the linux one. This is a must have, because, windows can't use "normal" password-hashes.
If you install samba on ubuntu later, you must also add the samba-account.

Udo
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!