Re: [Linux-ag] Samba ,yavaþlýk ve parola

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Mehmet Ekiz (ekizm@tbmm.gov.tr)
Date: Thu 31 Mar 2005 - 11:54:15 EEST


Selamlar,
Görebildiğim kadarıyla problemli satırlar:

interfaces = 176.16.0.0/255.255.0.0
ve
hosts allow = 176.16.0.0/255.255.0.0
hosts deny = 0.0.0.0/0.0.0.0

bunlara localhost'u da eklemelisiniz:

interfaces = eth0, lo
ve
hosts allow = 176.16.0.0/16, 127.0.0.1
hosts deny = 0.0.0.0/0.0.0.0

Bkz. smb.conf man sayfası... bind interfaces only için söylüyor bunları
ama hosts allow ve hosts deny için de geçerli:

> To change a users SMB password, the smbpasswd by default connects to
> the localhost - 127.0.0.1 address as an SMB client to issue the
> password change request. If bind interfaces only is set then
> unless the network address 127.0.0.1 is added to theinterfaces
> parameter list then smbpasswd will fail to connect in it’s default
> mode. smbpasswd can be forced to use the primary IP interface of the
> local host by using its smbpasswd(8)-r remote machine parameter, with
> remote machine set to the IP name of the primary interface of the
> local host.

Ayrıca, unix password sync'e gerçekten ihtiyacınız var mı?
password backend olarak tdbsam kullanmak bir parça loginleri
hızlandırabilir. Bir de netlogon paylaşımı altında ( /samba/netlogon )
giriş betiği (logon.bat) var mı? içeriği nedir? Girişin uzun sürmesi
oradaki komutların uzun zaman almasından olabilir.

Kolay gelsin,
Mehmet Ekiz

Prş, 2005-03-31 tarihinde 09:46 +0300 saatinde, Veli ADIGÜZEL yazdı:
> Herkese Selamlar...
>
>
> Uzun çabalarım sonucun da debian testing üzerinde samba yı pdc olarak
> çalıştıra bildim. Ama kullanıcı login olma ve logout olma zamanları bana
> biraz uzun geldi profilleri de pdc de tutmadığım halde w2k ~20 saniye
> login ~1 dakika logout işlemi sürüyor
> smb.conf dosyası aşağıdaki gibi acaba ayarlarda bir sorun mu var. Birde
> windowstan administrator bile parola deÄŸiÅŸtiremiyor.
>
> Teşekkürler ...
>
>
> # Samba config file created using SWAT
> # from 176.16.0.3 (176.16.0.3)
> # Date: 2005/03/26 13:41:30
>
> # Global parameters
> [global]
> dos charset = CP857
> unix charset = ISO8859-9
> display charset = ISO8859-9
> workgroup = KROMAN
> server string = Kroman Åžirketler Grubu Linux BAK Sunucusu
> interfaces = 176.16.0.0/255.255.0.0
> min password length = 2
> unix password sync = Yes
> log level = 1
> log file = /var/log/samba/%M
> time server = Yes
> socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
> SO_SNDBUF=8760 SO_RCVBUF=8760
> add machine script = /usr/sbin/useradd -d /dev/null -g 104 -s
> /bin/false -M %u
> logon script = logon.bat
> logon path =
> domain logons = Yes
> os level = 64
> domain master = Yes
> wins support = Yes
> ldap ssl = no
> admin users = @admins
> hosts allow = 176.16.0.0/255.255.0.0
> hosts deny = 0.0.0.0/0.0.0.0
> veto files = /*.eml/*.nws/riched20.dll/*.{*}/
>
> [netlogon]
> comment = Network Logon Service
> path = /samba/netlogon
> read list = @admins, @elektrik
> write list = @admins
>
> [elektrik]
> comment = Elektrik ortak kullanım alanı belli sürelerde burası
> boşaltılır
> path = /samba/elektrik
> valid users = @elektrik
> read list = @elektrik
> write list = @elektrik
> read only = No
> create mask = 0774
> directory mask = 077
> _______________________________________________
> Linux-ag mailing list
> Linux-ag@liste.linux.org.tr
> http://liste.linux.org.tr/mailman/listinfo/linux-ag

_______________________________________________
Linux-ag mailing list
Linux-ag@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-ag


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.