PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Probleme mit Samba



Nola Hi
26.07.08, 18:22
Hi
Ich habe Samba auf meinem ubuntu instalirt
ganz normal über den sudo apt-get install per konsole
wen ich jetzt in miener leist unter anwendungen Systemwerkzeug Gsambad aufmache bekome ich Status Activated ,inactive servers: nmbd
wen cih versuche einen ordner zu sharen dan bekom ich



amba's testparm returned error 1: Load smb config files from /etc/samba/smb.conf
Processing section "[netlogon]"
Processing section "[profiles]"
Processing section "[printers]"
Processing section "[pdf-documents]"
Processing section "[pdf-printer]"
Processing section "[homes]"
Loaded services file OK.
ERROR: both 'wins support = true' and 'wins server = <server list>' cannot be set in the smb.conf file. nmbd will abort with this setting.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)


wen einer was nützliches weis bitte posten oder icq oder skype

Mit freundlichen Grüßen
Nola

Aqualung
26.07.08, 18:51
Bitte die Rechtschreibung etwas verbessern.
Der Fehler ist ziemlich eindeutig



ERROR: both 'wins support = true' and 'wins server = <server list>' cannot be set in the smb.conf file. nmbd will abort with this setting.


Also entweder "wins support = true" oder "'wins server = ..." raus aus der smb.conf.

Nola Hi
26.07.08, 21:40
ja gut die sharings funktioniren wieder.
Aber ich finde den Linux rechner immer noch nicht im netzwerk, liegt warscheinlich daran das der nmbd IMMERNOCH inaktiv ist und so wie ich es gelesen habe steht der irgendwie in zusamenhang mit der netzwerkauflösung.

Ich Adde hier mal meine config


usershare owner only = False

[global]
netbios name = SambaServer
server string = Test Samba
workgroup = THETA
security = user
hosts allow = 192.168.2.0.
interfaces = 192.168.2.1/20
remote announce = 192.168.2.255
remote browse sync = 192.168.2.255
printcap name = /etc/printcap
load printers = yes
cups options = raw
printing = cups
guest account = smbguest
log file = /var/log/samba/samba.log
max log size = 1000
null passwords = no
username level = 8
password level = 8
encrypt passwords = yes
unix password sync = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = yes
domain master = no
preferred master = yes
domain logons = no
os level = 100
logon drive = m:
logon home = \\%L\homes\%u
logon path = \\%L\profiles\%u
logon script = %G.bat
time server = no
name resolve order = SambaServer
wins support = yes

wins proxy = yes
dns proxy = yes
preserve case = yes
short preserve case = yes
client use spnego = yes
client signing = yes
client schannel = yes
server signing = yes
server schannel = yes
nt pipe support = yes
nt status support = yes
allow trusted domains = yes
obey pam restrictions = yes
enable spoolss = yes
client plaintext auth = yes
disable netbios = no
follow symlinks = yes
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 user script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null '%u'
add user to group script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null -g '%g' '%u'
add group script = /usr/sbin/groupadd '%g'
delete user script = /usr/sbin/userdel '%u'
delete user from group script = /usr/sbin/userdel '%u' '%g'
delete group script = /usr/sbin/groupdel '%g'
add machine script = /usr/sbin/useradd -d /dev/null -g sambamachines -c 'Samba Machine Account' -s /dev/null -M '%u'
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 = yes
winbind nss info = yes
winbind refresh tickets = yes
winbind offline logon = yes

[netlogon]
comment = Network Logon Service
path = /home/netlogon
read only = no
available = yes
browseable = yes
writable = yes
guest ok = yes
public = yes
printable = yes
share modes = yes
locking = no

[profiles]
comment = User Profiles
path = /var/samba/profiles
read only = no
available = yes
browseable = no
writable = yes
guest ok = yes
public = yes
printable = yes
locking = no
create mode = 0600
directory mask = 0700

[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
writable = no
guest ok = no
public = no
printable = yes
share modes = no
locking = no

[pdf-documents]
path = /home/pdf-documents
comment = Converted PDF Documents
available = yes
browseable = yes
writeable = yes
guest ok = yes

[pdf-printer]
path = /tmp
comment = PDF Printer Service
printable = yes
guest ok = yes
use client driver = yes
printing = bsd
print command = /usr/bin/gsambadpdf %s %u
lpq command =
lprm command =

[homes]
path = /home
comment = heimat
valid users = server ftpu
write list = server ftpu
admin users = server
read only = no
available = yes
browseable = yes
writable = yes
guest ok = yes
public = yes
printable = yes
share modes = yes
locking = no