Hinweis: Das Forum wird geschlossen! Neue Registrierungen sind nicht mehr möglich!

 Zurück zu Pro-Linux   Foren-Übersicht   FAQ     Suchen    Mitgliederliste
Samba Problem

 
Neuen Beitrag schreiben   Auf Beitrag antworten    Pro-Linux Foren-Übersicht -> Netzwerk
Vorheriges Thema anzeigen :: Nächstes Thema anzeigen  
Autor Nachricht
Tom
Gast





BeitragVerfasst am: 08. Feb 2003 21:34   Titel: Samba Problem

Hallo,

ich habe Suse 8.1 Personal und einen Laptop mit Windows 2000.
Jetzt möchte ich zwischen den beiden Rechnern über die Netzkarte Dateien
austauschen und habe Samba installiert, aber so richtig
funktioniert das nicht mit der "connection".

IP-linux: 192.168.0.3
IP-win : 192.168.0.2


Folgende tests funktionieren (aus diagnosis.txt):


1. testparm -L linux gibt:
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[sambadir]"
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Press enter to see a dump of your service definitions

# Global parameters
[global]
coding system =
client code page = 850
code page directory = /usr/share/samba/codepages
workgroup = WGROUP
netbios name =
netbios aliases =
netbios scope =
server string = Samba 2.2.5
interfaces =
bind interfaces only = No
security = SHARE
encrypt passwords = Yes
update encrypted = No
allow trusted domains = Yes
hosts equiv =
min passwd length = 5
map to guest = Never
null passwords = No
obey pam restrictions = No
password server =
smb passwd file = /etc/samba/smbpasswd
root directory =
pam password change = No
passwd program = /usr/bin/passwd
passwd chat = *new*password* %n
*new*password* %n
*changed*
passwd chat debug = No
username map =
password level = 0
username level = 0
unix password sync = No
restrict anonymous = No
lanman auth = Yes
use rhosts = No
admin log = No
log level = 1
syslog = 0
syslog only = No
log file =
max log size = 5000
timestamp logs = Yes
debug hires timestamp = No
debug pid = No
debug uid = No
protocol = NT1
large readwrite = No
max protocol = NT1
min protocol = CORE
read bmpx = No
read raw = Yes
write raw = Yes
nt smb support = Yes
nt pipe support = Yes
nt status support = Yes
announce version = 4.9
announce as = NT
max mux = 50
max xmit = 65535
name resolve order = lmhosts host wins bcast
max packet = 65535
max ttl = 259200
max wins ttl = 518400
min wins ttl = 21600
time server = Yes
unix extensions = Yes
change notify timeout = 60
deadtime = 0
getwd cache = Yes
keepalive = 300
lpq cache time = 10
max smbd processes = 0
max disk size = 0
max open files = 10000
read size = 16384
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
stat cache size = 50
use mmap = Yes
total print jobs = 0
load printers = Yes
printcap name = CUPS
disable spoolss = No
enumports command =
addprinter command =
deleteprinter command =
show add printer wizard = Yes
os2 driver map =
strip dot = No
mangling method = hash
character set =
mangled stack = 50
stat cache = Yes
domain admin group =
domain guest group =
machine password timeout = 604800
add user script =
delete user script =
logon script =
logon path = \%N\%U\profile
logon drive =
logon home = \%N\%U
domain logons = No
os level = 2
lm announce = Auto
lm interval = 60
preferred master = Auto
local master = Yes
domain master = Auto
browse list = Yes
enhanced browsing = Yes
dns proxy = No
wins proxy = No
wins server =
wins support = Yes
wins hook =
kernel oplocks = Yes
lock spin count = 3
lock spin time = 10
oplock break wait time = 0
add share command =
change share command =
delete share command =
config file =
preload =
lock dir = /var/lib/samba
pid directory = /var/run/samba
utmp directory =
wtmp directory =
utmp = No
default service =
message command =
dfree command =
valid chars =
remote announce =
remote browse sync =
socket address = 0.0.0.0
homedir map = auto.home
time offset = 0
NIS homedir = No
source environment =
panic action =
hide local users = No
host msdfs = No
winbind uid =
winbind gid =
template homedir = /home/%D/%U
template shell = /bin/false
winbind separator = \
winbind cache time = 15
winbind enum users = Yes
winbind enum groups = Yes
winbind use default domain = No
acl compatibility =
comment =
path =
alternate permissions = No
username =
guest account = nobody
invalid users =
valid users =
admin users =
read list =
write list =
printer admin =
force user =
force group =
read only = Yes
create mask = 0744
force create mode = 00
security mask = 0777
force security mode = 00
directory mask = 0755
force directory mode = 00
directory security mask = 0777
force directory security mode = 00
force unknown acl user = 00
inherit permissions = No
inherit access acls = No
inherit acls = No
guest only = No
guest ok = Yes
only user = No
hosts allow =
hosts deny =
status = Yes
nt acl support = Yes
profile acls = No
block size = 1024
max connections = 0
min print space = 0
strict allocate = No
strict sync = No
sync always = No
write cache size = 0
max print jobs = 1000
printable = No
postscript = No
printing = cups
print command = lpr -r -P%p %s
lpq command = lpq -P%p
lprm command = lprm -P%p %j
lppause command =
lpresume command =
queuepause command =
queueresume command =
printer name =
use client driver = No
default devmode = No
printer driver =
printer driver file = /etc/samba/printers.def
printer driver location =
default case = lower
case sensitive = No
preserve case = Yes
short preserve case = Yes
mangle case = No
mangling char = ~
hide dot files = Yes
hide unreadable = No
delete veto files = No
veto files = /*.eml/*.nws/riched20.dll/*.{*}/
hide files =
veto oplock files =
map system = No
map hidden = No
map archive = Yes
mangled names = Yes
mangled map =
browseable = Yes
blocking locks = Yes
csc policy = manual
fake oplocks = No
locking = Yes
oplocks = Yes
level2 oplocks = Yes
oplock contention limit = 2
posix locking = Yes
strict locking = No
share modes = Yes
copy =
include =
exec =
preexec close = No
postexec =
root preexec =
root preexec close = No
root postexec =
available = Yes
volume =
fstype = NTFS
set directory = No
wide links = Yes
follow symlinks = Yes
dont descend =
magic script =
magic output =
delete readonly = No
dos filemode = No
dos filetimes = No
dos filetime resolution = No
fake directory create times = No
vfs object =
vfs options =
msdfs root = No

[homes]
comment = Home Directories
read only = No
create mask = 0640
directory mask = 0750

[sambadir]
comment = Sambadir
path = /home/myhome

[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775


2. ping linux und ping win geht auch



3. smbclient -L linux auf der linux console gibt:
added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0
Password: <ENTER>
Domain=[WGROUP] OS=[Unix] Server=[Samba 2.2.5]

Sharename Type Comment
--------- ---- -------
homes Disk Home Directories
sambadir Disk Sambadir
print$ Disk Printer Drivers
IPC$ IPC IPC Service (Samba 2.2.5)
ADMIN$ Disk IPC Service (Samba 2.2.5)
gdibw Printer HP710C BW

Server Comment
--------- -------
LINUX Samba 2.2.5

Workgroup Master
--------- -------
WGROUP

4. nmblookup -B linux __SAMBA__ gibt:
querying __SAMBA__ on 192.168.0.3
192.168.0.3 __SAMBA__<00>


5. nmblookup -B win '*' gibt:
querying * on 192.168.0.2
192.168.0.2 *<00>


6. nmblookup -d 2 '*' gibt:
added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0
querying * on 192.168.0.255
Got a positive name query response from 192.168.0.3 ( 192.168.0.3 )
Got a positive name query response from 192.168.0.2 ( 192.168.0.2 )
192.168.0.3 *<00>
192.168.0.2 *<00>


7. smbclient //linux/sambadir gibt:
added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0
Password: <ENTER>
Domain=[WGROUP] OS=[Unix] Server=[Samba 2.2.5]


8. net view \linux auf dem win rechner gibt:
Systemfehler 5 aufgetreten
Zugriff verweigert


***************************************************************************
***************************************************************************

Kann mir vielleicht jemand auf die Sprünge helfen, weil ich bin so langsam
am verzweifeln?
Vielen Dank schon mal.

Tom
 

Mario
Gast





BeitragVerfasst am: 08. Feb 2003 21:53   Titel: Re: Samba Problem

Du hast da schon allerlei gemacht, verstehe es nicht ganz, aber egal, ich erzähl dir mal wie ich das gemacht habe.

- smb.conf anpassen, unter "Global" netbios name = [Name] verwenden, damit du vom w2k-explorer die Linux-Kiste siehtst.
- dann passwörter auf samba anlegen: smbpasswd -a [Username]
- dann Samba neu starten (rcsmb start,rcsmb stop, rcsmb restart)

das war alles, dann hat es bei mir funktioniert.
 

Tom
Gast





BeitragVerfasst am: 08. Feb 2003 22:34   Titel: Re: Samba Problem

Hi

den Linux rechner sehe ich im Explorer. Nur eben keine verzeichnisse darunter. Aber das mit den Passwort unter Samba habe ich noch nicht gemacht. Ich habe auf win auch in der lmhosts den linux rechner eingetragen. Unter netbios name steht noch nichts. Ich probiere das mal aus.

Tom
 

arno
Gast





BeitragVerfasst am: 08. Feb 2003 22:42   Titel: Re: Samba Problem

hi

der user der zugreift braucht ein linuxkonto und
dann eben mit smbpasswd -a <user>
ein sambakonto

und wenns noch immer net hinhaut post einmal die smb.conf

mfg arno
 

Tom
Gast





BeitragVerfasst am: 08. Feb 2003 23:08   Titel: Re: Samba Problem

Hi,

auch mit Passwort für den User (hat ein Konto auf dem Linuxrechner) gehts nicht.
Hier mal die smb.conf:

Tom


# Samba config file created using SWAT
# from localhost (127.0.0.1)
# Date: 2003/02/08 20:12:19

# Global parameters
[global]
workgroup = WGROUP
security = SHARE
netbios name = linux
encrypt passwords = Yes
log level = 1
syslog = 0
time server = Yes
unix extensions = Yes
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
printcap name = CUPS
os level = 2
dns proxy = No
wins support = Yes
guest ok = Yes
printing = cups
veto files = /*.eml/*.nws/riched20.dll/*.{*}/

[homes]
comment = Home Directories
read only = No
create mask = 0640
directory mask = 0750

[sambadir]
comment = Sambadir
path = /home/myhome

[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
 

Tom
Gast





BeitragVerfasst am: 11. Feb 2003 10:01   Titel: Re: Samba Problem

Hallo zusammen,

mario, arno: noch mal vielen Dank für Eure Hilfe, aber ich habs leider nicht mit Samba hinbekommen, auf die Windows Freigaben zuzugreifen. Keine Ahnung, woran das liegt. Mache es jetzt über ftp.

Gruss
Tom
 

sputnik1969



Anmeldungsdatum: 26.07.2002
Beiträge: 92
Wohnort: Berlin

BeitragVerfasst am: 12. Feb 2003 2:25   Titel: Re: Samba Problem

Samba hat in einigen Versionen ein Problem, wenn der Admin (root) das smbpassword setzen will geht es NICHT.
Man muss sich dann sambauser mit leerem Passwort anlegen, als user einloggen und das password setzen...
Etwas umständlich aber dann klappte es bei mir...
Ich kenne das Problem von mehreren Distributionen, SuSE 8.1 ist da bestimmt nicht anders Wink
 
Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden

Beiträge vom vorherigen Thema anzeigen:   
     Pro-Linux Foren-Übersicht -> Netzwerk Alle Zeiten sind GMT + 1 Stunde
Seite 1 von 1

 
Gehen Sie zu:  

Powered by phpBB © phpBB Group
pro_linux Theme © 2004 by Mandaxy