From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 6 Jan 2003 23:17:10 +0300 From: "Peter V. Saveliev" To: sisyphus@altlinux.ru Message-Id: <20030106231710.2cb63504.peet@eltel.net> Organization: JSC Eltel X-Mailer: Sylpheed version 0.8.6 (GTK+ 1.2.10; i586-alt-linux) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Subject: [sisyphus] findsmb Sender: sisyphus-admin@altlinux.ru Errors-To: sisyphus-admin@altlinux.ru X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: sisyphus@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: ... Один и тот же скрипт 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 KEHLISAARI <03> - M KEHLISAARI <20> - M ..__MSBROWSE__. <01> - M HOME <00> - M HOME <1b> - M HOME <1c> - M HOME <1d> - M HOME <1e> - M Теперь на клиенте: [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