Code: Alles auswählen
apt-get install samba
Code: Alles auswählen
cd /etc/samba
scp x.x.x.x:/etc/samba/smb.conf .
vi smb.conf // Anpassungen gemacht
smbpasswd -a user1
No builtin nor plugin backend for tdbsam, guest found
PANIC (pid 11264): pdb_get_methods_reload: failed to get pdb methods for backend tdbsam, guest
BACKTRACE: 7 stack frames:
#0 smbpasswd(log_stack_trace+0x1a) [0x4b919a]
#1 smbpasswd(smb_panic+0x34) [0x4b9274]
#2 smbpasswd [0x480a7f]
#3 smbpasswd(initialize_password_db+0x9) [0x480aa9]
#4 smbpasswd(main+0x45e) [0x43461e]
#5 /lib/libc.so.6(__libc_start_main+0xda) [0x2b3920a0b4ca]
#6 smbpasswd [0x433e4a]
smb_panic(): calling panic action [/usr/share/samba/panic-action 11264]
smb_panic(): action returned status 0
Aborted
Code: Alles auswählen
apt-get remove --purge samba
apt-get install samba
Code: Alles auswählen
apt-get remove --purge samba
rm -rf /etc/samba
apt-get install samba
Reading package lists... Done
Building dependency tree... Done
samba is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up samba (3.0.24-4) ...
Starting Samba daemons: nmbd failed!
invoke-rc.d: initscript samba, action "start" failed.
dpkg: error processing samba (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)