ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] findsmb
@ 2003-01-06 20:17 Peter V. Saveliev
  0 siblings, 0 replies; only message in thread
From: Peter V. Saveliev @ 2003-01-06 20:17 UTC (permalink / raw)
  To: sisyphus

...

Один и тот же скрипт findsmb. Но как по-разному работает!

Сервер:

[root@kehlisaari root]# findsmb 

IP ADDR         NETBIOS NAME   WORKGROUP/OS/VERSION 
---------------------------------------------------------------------
192.168.0.1     kehlisaari.home

Это специально от рута, дело не в правах на nmblookup:

[root@kehlisaari root]# nmblookup -A 192.168.0.1
Looking up status of 192.168.0.1
	KEHLISAARI      <00> -         M <ACTIVE> 
	KEHLISAARI      <03> -         M <ACTIVE> 
	KEHLISAARI      <20> -         M <ACTIVE> 
	..__MSBROWSE__. <01> - <GROUP> M <ACTIVE> 
	HOME            <00> - <GROUP> M <ACTIVE> 
	HOME            <1b> -         M <ACTIVE> 
	HOME            <1c> - <GROUP> M <ACTIVE> 
	HOME            <1d> -         M <ACTIVE> 
	HOME            <1e> - <GROUP> M <ACTIVE> 

Теперь на клиенте:

[root@ankeriasniemi root]# findsmb

IP ADDR         NETBIOS NAME   WORKGROUP/OS/VERSION
---------------------------------------------------------------------
192.168.0.1             KEHLISAARI    *[HOME] [Unix] [Samba ALT/2.2.7]
192.168.0.252           ANKERIASNIEMI  [HOME] [Unix] [Samba ALT/2.2.7]

Вот конфиги:

Сервер:
8<------- /etc/samba/smb.conf -----------------------------------------------------------
# Global parameters
[global]

;;; -----------------------------------------------
;;; Server options:
	security = user
	workgroup = HOME
	netbios name = KEHLISAARI
	server string = just for placeholder
	
;;; -----------------------------------------------
;;; Wins support, network browsing:
	wins support = yes
	os level = 255
	preferred master = yes
	local master = yes
	domain master = yes
	time server = yes
	name resolve order = wins bcast host
	dns proxy = no
		
;;; -----------------------------------------------
;;; Logging control:
	log file = /var/log/samba/log.%m
	log level = 1
	max log size = 50

;;; -----------------------------------------------
;;; "Hard" network options:
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	interfaces = lo eth0
	bind interfaces only = no

;;; -----------------------------------------------
;;; Service:
	client code page = 866
	character set = KOI8-R
	message command = /bin/sh -c '/usr/bin/LinPopUp "%f" "%m" %s; rm -f %s' &
	veto files = /lost+found/

;;; -----------------------------------------------
;;; NT logon settings:
	domain logons = yes
	logon drive  =
	logon path   =
	logon script = default.bat
	logon home   = \\%L\%U

;;; -----------------------------------------------
;;; Encryption etc.:
	obey pam restrictions = no
	pam password change = no
	lanman auth = yes
	password level = 5
	username level = 5
	unix password sync = no
	encrypt passwords = yes
;;;	restrict anonymous = 1

;;; -----------------------------------------------
;;; LDAP support:
	ldap admin dn = "cn=proxyuser,dc=kehlisaari,dc=home"
	ldap server = 127.0.0.1
	ldap suffix = "ou=users,dc=kehlisaari,dc=home"
	ldap ssl = on
	
;;; дальше поскипано.
8<------- /etc/samba/smb.conf -----------------------------------------------------------
						
Клиент:
8<------- /etc/samba/smb.conf -----------------------------------------------------------
[global]

   workgroup = HOME
   netbios name = ANKERIASNIEMI
   server string =  Samba server on %h (v. %v)

   log file = /var/log/samba/log.%m
   max log size = 50
   log level = 1

   security = domain
   password server = *
   encrypt passwords = yes

   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   interfaces = lo eth0

   local master = yes
   os level = 33
   domain master = no
   preferred master = yes
   domain logons = no

   name resolve order = wins bcast host
   wins server = 192.168.0.1
   wins proxy = no
   dns proxy = no 

   client code page = 866
   character set = KOI8-R

;;; дальше поскипано.
8<------- /etc/samba/smb.conf -----------------------------------------------------------

Как всегда, самба 2.2.7 alt1 из Сизифа, пересобрана с --with-ldapsam,
больше никаких отличий. 

Пожалуйста, хелп: куда копать. И еще. Клиент в домен не добавлен, только
имя домена _совпадает_, но на сервере он не внесен. Но это не мешает
клиенту заходить на сервер. Как так?

--
Sincerely, Peter V. Saveliev

E-mail: peet@eltel.net
Jabber: peet@jabber.ru


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-06 20:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-06 20:17 [sisyphus] findsmb Peter V. Saveliev

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git