Samba im Netz mit win95, win98, winNT und win2000

Post Reply
Message
Author
equal

Samba im Netz mit win95, win98, winNT und win2000

#1 Post by equal »

Hi,

ich habe RH7.1 und Samba verweigert auf NTbasierenden Systemen den Dienst wegen der verschlüsselung der PW.
Wenn ich diese aktiviere, dann läuft es nicht mehr unter win95
Gibts ne gute HOWTO für Samba mit der ich alle Systeme verwenden kann ???
Danke für Hilfe

cd
Posts: 114
Joined: 19. Dec 2000 21:04

Re: Samba im Netz mit win95, win98, winNT und win2000

#2 Post by cd »

in der samba-doku gibt´s NT- und W95- readme-files.
Dort steht, wie man Windows auf plain-text-paaswords umstellt.
Siehe auch .reg-Dateien. Fuer W2000 lautet der registry-Eintrag anders,
such mal unter deja.com nach plaintextpasswords und samba und w2k.
Es funktioniert, ich hab´s aber gerade nicht im Kopf.

Groetjes, Clemens

Zeoch

Re: Samba im Netz mit win95, win98, winNT und win2000

#3 Post by Zeoch »

Komisch, bei mir läuft Samba im Netz mit Windoofs 9x und NT Servern, ohne das ich was umstellen muste. Da ich jetzt aber kaum zeit hab post ich mal meine smb.conf von der rh7.1 die ich nutze. Habe von der standart .conf nur mit Webmin meine Verzeichnisse dazugenommen.
Müstest Dir sie nur noch um schreiben und dann viel glück :)

# This is the main Samba configuration file.
#======================= Global Settings =====================================
[global]
interfaces = 192.168.0.52/255.255.255.0
printing = lprng
dns proxy = no
security = share
ssl ca certfile = /usr/share/ssl/certs/ca-bundle.crt
encrypt passwords = yes
workgroup = Linux_Site
server string = Linux Redhat Samba Server
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
log file = /var/log/samba/%m.log
netbios name = Linux
load printers = yes
printcap name = /etc/printcap
default = Linux
max log size = 100

[homes]
comment = Home Directories
browseable = no
writable = yes

# Un-comment the following and create the netlogon directory for Domain Logons
; [netlogon]
; comment = Network Logon Service
; path = /home/netlogon
; guest ok = yes
; writable = no
; share modes = no


# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;[Profiles]
; path = /home/profiles
; browseable = no
; guest ok = yes


# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
printable = yes

# This one is useful for people to share files
;[tmp]
; comment = Temporary file space
; path = /tmp
; read only = no
; public = yes

# A publicly accessible directory, but read only, except for people in
# the "staff" group
;[public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; writable = yes
; printable = no
; write list = @staff

# Other examples.
#
# A private printer, usable only by fred. Spool data will be placed in fred's
# home directory. Note that fred must have write access to the spool directory,
# wherever it is.
;[fredsprn]
; comment = Fred's Printer
; valid users = fred
; path = /homes/fred
; printer = freds_printer
; public = no
; printable = yes

# A private directory, usable only by fred. Note that fred requires write
# access to the directory.
;[fredsdir]
; comment = Fred's Service
; path = /usr/somewhere/private
; valid users = fred
; public = no
; writable = yes
; printable = no

# a service which has a different directory for each machine that connects
# this allows you to tailor configurations to incoming machines. You could
# also use the %u option to tailor it by user name.
# The %m gets replaced with the machine name that is connecting.
;[pchome]
; comment = PC Directories
; path = /usr/pc/%m
; public = no
; writable = yes

# A publicly accessible directory, read/write to all users. Note that all files
# created in the directory by users will be owned by the default user, so
# any user with access can delete any other user's files. Obviously this
# directory must be writable by the default user. Another user could of course
# be specified, in which case all files would be owned by that user instead.
;[public]
; path = /usr/somewhere/else/public
; public = yes
; only guest = yes
; writable = yes
; printable = no

# The following two entries demonstrate how to share a directory so that two
# users can place files there that will be owned by the specific users. In this
# setup, the directory should be writable by both users and should have the
# sticky bit set on it to prevent abuse. Obviously this could be extended to
# as many users as required.
;[myshare]
; comment = Mary's and Fred's stuff
; path = /usr/somewhere/shared
; valid users = mary fred
; public = no
; writable = yes
; printable = no
; create mask = 0765



[Admin_Stuff]
path = /tmp/lost+found/Admin
writable = yes
force directory mode = 770
create mode = 770
directory mode = 770
force create mode = 770
force group = users
comment = Linux Server - Test Verzeichnis
force user = zeoch

[Free_for_All]
path = /tmp/lost+found/Pub
writable = yes
force directory mode = 775
create mode = 774
force create mode = 774
directory mode = 775
force group = users
comment = Public Section
public = yes
force user = zeoch

cd
Posts: 114
Joined: 19. Dec 2000 21:04

Re: Samba im Netz mit win95, win98, winNT und win2000

#4 Post by cd »

ach, vergesssen:

in smb.conf natuerlich encrypt passwords auf no stellen

Gruesse,

Clemens

Post Reply