Autor |
Nachricht |
|
|
Titel: Samba: Connection from XP doesn't work anymore aft..(SOLVED)
Verfasst am: 18.09.2006, 18:41 Uhr
|
|
Anmeldung: 30. Mar 2006
Beiträge: 43
Wohnort: HELSINKI
|
|
Hi,
I have problems with my Samba connection. I did dist-upgrade and upgraded mine Samba to version 3.0.23c-1. It seems that it doesnt work. I tried to downgrade version but testing repository contains same version of Samba.
So finally I downgraded my Samba using stable repository and now everything works like should be.
Code:
apt-get install samba/stable samba-common/stable smbfs/stable smbclient/stable
Has anyone else problems with Samba 3.0.23c-1? And is there any tips how to get it work?
-josk |
_________________ Kanotix wallpapers
Zuletzt bearbeitet von josk am 19.09.2006, 15:57 Uhr, insgesamt ein Mal bearbeitet
|
|
|
|
|
|
Titel: RE: Samba: Connection from XP doesn
Verfasst am: 18.09.2006, 19:49 Uhr
|
|
Anmeldung: 16. Aug 2004
Beiträge: 1905
|
|
Never attempt to install packages for debian stable on kanotix, you will break your system - besides that the current samba versions are working fine. |
|
|
|
|
|
|
Titel:
Verfasst am: 18.09.2006, 22:06 Uhr
|
|
Anmeldung: 30. Mar 2006
Beiträge: 43
Wohnort: HELSINKI
|
|
I dont know what is wrong. I just upgraded again to 3.0.23c-1 and all I get is these lines to mine log:
Code:
[2006/09/18 23:28:36, 0] smbd/service.c:make_connection_snum(840)
Can't become connected user!
Code:
Sep 18 23:28:36 sajaniemi smbd[4669]: Can't become connected user!
I downgraded and everything works again. So I think mine conf files can be broken.
I have tried couple different conf-files:
SMB.CONF v1
Code:
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2006/03/30 22:02:23
# Global parameters
[global]
unix charset = iso-8859-15
display charset = iso-8859-15
dos charset = 850
workgroup = TYORYHMA
server string = Samba Server %v
map to guest = Bad User
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
load printers = no
printcap cache time = 60
printcap name = cups
dns proxy = no
ldap ssl = No
username = root, josk
valid users = root, josk
admin users = root, josk
write list = root, josk
hosts allow = 80.223.XX.XX (MY IP)
restrict anonymous = yes
domain master = no
preferred master = no
max protocol = NT
server signing = Auto
[shared]
comment = siirto
path = /shared
username = root,josk
valid users = root,josk
write list = root, jos
admin users = root,josk
case sensitive = no
msdfs proxy = no
read only = no
SMB.CONF v2
Code:
[global]
workgroup = TYORYHMA
netbios name = xxx.net (MY NETBIOS NAME)
server string = host %h Version %v for %I
security = user
encrypt passwords = true
map to guest = Bad User
username map = /etc/samba/smbusers
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
unix charset = ISO8859-1
printcap name = cups
load printers = yes
printing = cups
guest ok = yes
[homes]
comment = Home Directories
writeable = yes
browseable = no
dos filetimes = true
valid users = %S
read-only = no
[shared]
comment = siirto
path = /shared
username = root,josk
valid users = root,josk
write list = root, jos
admin users = root,josk
case sensitive = no
msdfs proxy = no
read only = no
Oh, and I found this one: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=387076
-josk
ps. slh: I wont use stable repositories again. I hope I just get it mine samba works. |
_________________ Kanotix wallpapers
|
|
|
|
|
|
Titel:
Verfasst am: 19.09.2006, 00:50 Uhr
|
|
Anmeldung: 16. Aug 2004
Beiträge: 1905
|
|
start "testparm" and fix all errors it complains about, ensure to only use one parameter for "passdb backend" (like "passdb backend = tdbsam"). |
|
|
|
|
|
|
Titel:
Verfasst am: 19.09.2006, 12:54 Uhr
|
|
Anmeldung: 30. Mar 2006
Beiträge: 43
Wohnort: HELSINKI
|
|
slh hat folgendes geschrieben::
start "testparm" and fix all errors it complains about, ensure to only use one parameter for "passdb backend" (like "passdb backend = tdbsam").
I tried "testparm" and conf-file seems to be clean, no errors. Could someone post working smb.conf??? |
_________________ Kanotix wallpapers
|
|
|
|
|
|
Titel:
Verfasst am: 19.09.2006, 15:42 Uhr
|
|
Anmeldung: 30. Mar 2006
Beiträge: 43
Wohnort: HELSINKI
|
|
SOLVED!
Some how newer Samba version is little bitchy and didn't like my old smb.conf. I cannot be sure what line cause the trouble but here is working smb.conf if someone else have any problems, just use this conf-file.
smb.conf
Code:
[global]
unix charset = iso-8859-15
display charset = iso-8859-15
dos charset = 850
max log size = 50
workgroup = YOUR_WORKGROUP_NAME
netbios name = YOUR_MACHINE_NAME
server string = host %h Version %v for %I
security = user
encrypt passwords = yes
map to guest = Bad User
username map = /etc/samba/smbusers
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
character set = ISO8859-1
printcap name = cups
load printers = no
printing = cups
restrict anonymous = yes
username = YOUR_USER_NAME
valid users = YOUR_USER_NAME
admin users = YOUR_USER_NAME
write list = YOUR_USER_NAME
hosts allow = YOUR_IP
#IF YOU WANT TO SHARE HOME DIRECTORIES - now commented
#[homes]
# comment = Home Directories
# writeable = yes
# browseable = no
# dos filetimes = true
# username = root,josk
# valid users = root,josk
# write list = root, josk
# admin users = root,josk
# read-only = no
[your_share_name]
comment = your_comment
path = /your_shared_folder
writeable = yes
browseable = no
username = YOUR_USER_NAME
valid users = YOUR_USER_NAME
write list = YOUR_USER_NAME
admin users = YOUR_USER_NAME
case sensitive = no
read only = no
|
_________________ Kanotix wallpapers
|
|
|
|
|
|
Titel: help please?
Verfasst am: 24.09.2006, 06:04 Uhr
|
|
Anmeldung: 03. Jul 2006
Beiträge: 32
Wohnort: North America?
|
|
It would be good if I could get my problem solved as this did not help after I did a dist upgrade from Easter Preview, unfortunately I am still using that version (easter), when I upgraded I tried to use the smb.conf file posted (I changed the parts that needed to be personalized and samba would not let me connect to the shares) It takes me but a few minutes with my easter version to configure samba but it would be nice to have the latest versions of everything, so maybe, just possibly there might be the slightest possibility there is something wrong with the new version of samba, or not. |
|
|
|
|
|
|
Titel:
Verfasst am: 24.09.2006, 07:31 Uhr
|
|
Team Member
Anmeldung: 04. Apr 2006
Beiträge: 153
Wohnort: Melbourne, Australia
|
|
In Control Centre>Internet & Network>File Sharing:
click admin button and right hand side just over half way down are some buttons to
add/change/delete permissions |
_________________ Kanotix Easter RC4 on a dual boot P4 and a production box Desktop KDE::
Kanotix 2006 Easter RC4 on a P2 and Production Box , Desktop KDE::
Kanotix EasterRC4 on a MMX 199Mhz lappy
and a Production Box, Desktop ICEWM::
|
|
|
|
|
|
Titel:
Verfasst am: 15.10.2006, 18:08 Uhr
|
|
Anmeldung: 18. Mar 2004
Beiträge: 3417
|
|
|
|
|
|
Titel:
Verfasst am: 18.10.2006, 10:39 Uhr
|
|
Anmeldung: 12. Okt 2006
Beiträge: 26
|
|
Will your smb.conf file fix this error?
root@brits:/etc/samba# /etc/init.d/samba restart
Stopping Samba daemons: nmbd smbd.
Starting Samba daemons: nmbd failed!
I keep getting daemon errors. Any ideas? I like RC6 but If I can't get samba working like in easter then shoot. |
|
|
|
|
|
|