chaosprinz
Newbie
Hallo,
Samba ist noch Neuland für mich, aber ich benötige es halt fürs heimische Netzwerk. Dementsprechend hab ich mich erst mal durch diese Anleitung im Wiki gewurschtelt.
Im Anschluss Neustart und dann versucht über den Conqueror SMB://MSHEIMNETZ aufzurufen. Ergebnis: Zeitüberschreitung des Servers.
Also hab ich es mal über Smb4K versucht, in der Hoffnung mehr zu erfahren. Erst hat er kein Netzwerk gefunden, also hab ich das ganze über die Konsole nochmal händisch gestartet (Autostart aus dem Yast-Kontroll-Zentrum funzt anscheinend nicht) und da war dann auch MSHEIMNETZ.
Versuche ich dieses nun zu öffnen bekomme ich folgende Meldung:
Meine smb.conf sieht momentan folgendermaßen aus:
Habe überings auch schon via
Samba ist noch Neuland für mich, aber ich benötige es halt fürs heimische Netzwerk. Dementsprechend hab ich mich erst mal durch diese Anleitung im Wiki gewurschtelt.
Im Anschluss Neustart und dann versucht über den Conqueror SMB://MSHEIMNETZ aufzurufen. Ergebnis: Zeitüberschreitung des Servers.
Also hab ich es mal über Smb4K versucht, in der Hoffnung mehr zu erfahren. Erst hat er kein Netzwerk gefunden, also hab ich das ganze über die Konsole nochmal händisch gestartet (Autostart aus dem Yast-Kontroll-Zentrum funzt anscheinend nicht) und da war dann auch MSHEIMNETZ.
Versuche ich dieses nun zu öffnen bekomme ich folgende Meldung:
Zumindest ist also schon mal eine Fehlermeldung. Um das ganze noch etwas detailierter aufgeführt zu bekommen bin ich in die Konsole und habeDie Serverliste konnte nicht abgefragt werden.
Lesen Sie die Fehlermeldung unter "Details", um mehr herauszufinden.
eingegeben und habe folgende Ausgabe erhalten:smbclient -L localhost -d10 -U
Code:
INFO: Current debug levels:
all: True/10
tdb: False/0
printdrivers: False/0
lanman: False/0
smb: False/0
rpc_parse: False/0
rpc_srv: False/0
rpc_cli: False/0
passdb: False/0
sam: False/0
auth: False/0
winbind: False/0
vfs: False/0
idmap: False/0
quota: False/0
acls: False/0
locking: False/0
msdfs: False/0
dmapi: False/0
registry: False/0
lp_load_ex: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
doing parameter netbios name = Chaosserver
handle_netbios_name: set global_myname to: CHAOSSERVER
doing parameter server string = Server für Musik, Printer etc.
doing parameter workgroup = Msheimnetz
doing parameter security = user
doing parameter hosts allow = 127. 192.168.0.
doing parameter interfaces = 127.0.0.1/8 192.168.0.0/24
doing parameter bind interfaces only = yes
doing parameter remote announce = 192.168.0.255
doing parameter remote browse sync = 192.168.0.255
doing parameter printcap name = cups
doing parameter load printers = yes
doing parameter cups options = raw
doing parameter printing = cups
doing parameter guest account = user
doing parameter log file = /var/log/samba/samba.log
doing parameter max log size = 1000
doing parameter null passwords = no
doing parameter username level = 6
doing parameter password level = 6
doing parameter unix password sync = yes
doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
doing parameter local master = Yes
doing parameter domain master = Yes
doing parameter preferred master = Yes
doing parameter domain logons = Yes
doing parameter os level = 65
doing parameter logon drive = m:
doing parameter logon home = \\%L\homes\%u
doing parameter logon path = \\%L\profiles\%u
doing parameter logon script = %G.bat
doing parameter time server = no
doing parameter name resolve order = wins lmhosts bcast
doing parameter wins support = no
doing parameter wins proxy = no
doing parameter dns proxy = no
doing parameter preserve case = yes
doing parameter short preserve case = yes
doing parameter client use spnego = no
doing parameter client signing = no
doing parameter client schannel = no
doing parameter server signing = no
doing parameter server schannel = no
doing parameter nt pipe support = yes
doing parameter nt status support = yes
doing parameter allow trusted domains = no
doing parameter obey pam restrictions = yes
doing parameter enable spoolss = yes
doing parameter client plaintext auth = no
doing parameter disable netbios = no
doing parameter follow symlinks = no
doing parameter update encrypted = yes
doing parameter pam password change = no
doing parameter passwd chat timeout = 120
doing parameter hostname lookups = no
doing parameter username map = /etc/samba/smbusers
doing parameter smb passwd file = /etc/samba/smbpasswd
doing parameter passwd program = /usr/bin/passwd '%u'
doing parameter passwd chat = *New*password* %n\n *ReType*new*password* %n\n *passwd*changed*\n
doing parameter add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
doing parameter machine password timeout = 120
doing parameter idmap uid = 16777216-33554431
doing parameter idmap gid = 16777216-33554431
doing parameter template shell = /dev/null
doing parameter winbind use default domain = yes
doing parameter winbind separator = @
doing parameter winbind cache time = 360
doing parameter winbind trusted domains only = yes
doing parameter winbind nested groups = no
doing parameter winbind nss info = no
doing parameter winbind refresh tickets = no
doing parameter winbind offline logon = no
doing parameter include = /etc/samba/dhcp.conf
params.c:pm_process() - Processing configuration file "/etc/samba/dhcp.conf"
pm_process() returned Yes
lp_servicenumber: couldn't find homes
set_server_role: role = ROLE_DOMAIN_PDC
Attempting to register new charset UCS-2LE
Registered charset UCS-2LE
Attempting to register new charset UTF-16LE
Registered charset UTF-16LE
Attempting to register new charset UCS-2BE
Registered charset UCS-2BE
Attempting to register new charset UTF-16BE
Registered charset UTF-16BE
Attempting to register new charset UTF8
Registered charset UTF8
Attempting to register new charset UTF-8
Registered charset UTF-8
Attempting to register new charset ASCII
Registered charset ASCII
Attempting to register new charset 646
Registered charset 646
Attempting to register new charset ISO-8859-1
Registered charset ISO-8859-1
Attempting to register new charset UCS2-HEX
Registered charset UCS2-HEX
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
interpret_interface: Adding interface 127.0.0.1/8
added interface 127.0.0.1/8 ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0
interpret_interface: using netmask value 24 from config file on interface eth0
added interface eth0 ip=192.168.0.163 bcast=192.168.0.255 netmask=255.255.255.0
Netbios name list:-
my_netbios_names[0]="CHAOSSERVER"
Client started (version 3.2.0rc1-22.1-1795-SUSE-SL11.0).
Opening cache file at /var/lib/samba/gencache.tdb
Cache entry with key = AD_SITENAME/DOMAIN/ couldn't be found
sitename_fetch: No stored sitename for
internal_resolve_name: looking up localhost#20 (sitename (null))
Returning valid cache entry: key = NBT/LOCALHOST#20, value = 127.0.0.1:0, timeout = Wed Jul 23 17:11:58 2008
name localhost#20 found.
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Substituting charset 'UTF-8' for LOCALE
Connecting to 127.0.0.1 at port 445
error connecting to 127.0.0.1:445 (Verbindungsaufbau abgelehnt)
Connecting to 127.0.0.1 at port 139
error connecting to 127.0.0.1:139 (Verbindungsaufbau abgelehnt)
Error connecting to 127.0.0.1 (Verbindungsaufbau abgelehnt)
lang_tdb_init: /usr/lib/samba/de_DE.UTF-8.msg: Datei oder Verzeichnis nicht gefunden
Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)
Meine smb.conf sieht momentan folgendermaßen aus:
Code:
[global]
netbios name = Chaosserver
server string = Server für Musik, Printer etc.
workgroup = Msheimnetz
security = user
hosts allow = 127. 192.168.0.
interfaces = 127.0.0.1/8 192.168.0.0/24
bind interfaces only = yes
remote announce = 192.168.0.255
remote browse sync = 192.168.0.255
printcap name = cups
load printers = yes
cups options = raw
printing = cups
guest account = user
log file = /var/log/samba/samba.log
max log size = 1000
null passwords = no
username level = 6
password level = 6
unix password sync = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = Yes
domain master = Yes
preferred master = Yes
domain logons = Yes
os level = 65
logon drive = m:
logon home = \\%L\homes\%u
logon path = \\%L\profiles\%u
logon script = %G.bat
time server = no
name resolve order = wins lmhosts bcast
wins support = no
wins proxy = no
dns proxy = no
preserve case = yes
short preserve case = yes
client use spnego = no
client signing = no
client schannel = no
server signing = no
server schannel = no
nt pipe support = yes
nt status support = yes
allow trusted domains = no
obey pam restrictions = yes
enable spoolss = yes
client plaintext auth = no
disable netbios = no
follow symlinks = no
update encrypted = yes
pam password change = no
passwd chat timeout = 120
hostname lookups = no
username map = /etc/samba/smbusers
smb passwd file = /etc/samba/smbpasswd
passwd program = /usr/bin/passwd '%u'
passwd chat = *New*password* %n\n *ReType*new*password* %n\n *passwd*changed*\n
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
machine password timeout = 120
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /dev/null
winbind use default domain = yes
winbind separator = @
winbind cache time = 360
winbind trusted domains only = yes
winbind nested groups = no
winbind nss info = no
winbind refresh tickets = no
winbind offline logon = no
include = /etc/samba/dhcp.conf
[homes]
comment = Home Directories
path = /home
read only = no
available = yes
browseable = yes
writable = yes
guest ok = no
public = no
printable = no
share modes = no
locking = no
[netlogon]
comment = Network Logon Service
path = /home/netlogon
read only = Yes
available = yes
browseable = yes
writable = no
guest ok = no
public = no
printable = no
share modes = no
locking = no
write list = root
[profiles]
comment = User Profiles
path = /var/samba/profiles
read only = no
available = yes
browseable = no
writable = yes
guest ok = no
public = no
printable = no
locking = no
create mode = 0600
directory mask = 0700
[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
writable = no
guest ok = Yes
public = no
printable = yes
share modes = no
locking = no
read only = Yes
[pdf-documents]
path = /home/pdf-documents
comment = Converted PDF Documents
available = yes
browseable = yes
[pdf-printer]
path = /tmp
comment = PDF Printer Service
printable = yes
guest ok = yes
use client driver = yes
printing = bsd
print command = /usr/bin/gadmin-samba-pdf %s %u
[music]
path = /media/music
comment = Musikordner
read only = No
available = yes
browseable = yes
writable = yes
guest ok = Yes
public = no
printable = No
locking = no
guest only = Yes
einen SMB-Userangelegt und den bei den Smb4K-Einstellungen angegeben. Ich weiß echt nich mehr weiter. Hat nicht jemand einen Rat?smbpasswd -a chaosprinz