Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2006-08-27 14:01:27

  EsTeL - Użytkownik

EsTeL
Użytkownik
Skąd: LDZ
Zarejestrowany: 2006-08-21

[samba] podłączenie do domeny

Mam taki config samby

Kod:

[global]
        workgroup = XYZ
        netbios name = ORION
        server string = Samba PDC
        map to guest = Bad User
        passwd program = /usr/bin/passwd %u
        unix password sync = Yes
        log level = 2
        syslog = 0
        log file = /var/log/samba/%m.log
        max log size = 50
        time server = Yes
        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
        printcap name = cups
        logon path = \%Lprofiles%U
        logon home = \%L%U.profiles
        domain logons = Yes
        os level = 64
        preferred master = Yes
        domain master = Yes
        dns proxy = No
        wins support = Yes
        invalid users = bin, deamon, sys, man, postfix, mail, proxy
        guest ok = Yes
        nt acl support = No

[netlogon]
        comment = Network Logon Service
        path = /etc/samba/netlogon
        browseable = No

[homes]
        comment = Katalog domowy
        valid users = %S
        read only = No
        create mask = 0700
        directory mask = 0700
        browseable = No

[printers]
        comment = Drukarki
        path = /tmp
        read only = No
        printable = Yes
        printing = cups
        print command =
        lpq command = %p
        lprm command =
        browseable = No

[print$]
        comment = Sterowniki drukarek
        path = /var/lib/samba/printers
        guest ok = No

[profiles]
        path = /var/samba/profiles
        read only = No
        create mask = 0700
        directory mask = 0700
        browseable = No

[share]
        path = /home/share
        force user = share
        force group = share
        read only = No
        create mask = 0777
        directory mask = 0777
        hosts allow = ALL

podaczas podłączenia na linuxie jest taki komunikat:

Kod:

protocol negotiation failed

natomiast po padniu loginu oraz hasla (w okienku logowania do domeny) na Win XP Pro mam taki komunikat:

Kod:

podana nazwa juz jest niedostepna

na serwerowym firewall sa otwarte porty (na TCP oraz UDP):
137, 138, 139, 445

czyli te co niby samba potrzebuje

Offline

 

#2  2006-08-27 20:42:33

  guzzi - Członek DUG

guzzi
Członek DUG
Skąd: Asteroida Linux
Zarejestrowany: 2005-03-31

Re: [samba] podłączenie do domeny

Najpierw sprawdź dokładnie firewalla (wyłącz go)
http://forum.slackware.pl/viewtopic.php?p=76282

Offline

 

#3  2006-08-27 21:35:31

  jezoo - Dzięcioł

jezoo
Dzięcioł
Skąd: Z lasu
Zarejestrowany: 2005-09-02

Re: [samba] podłączenie do domeny

[b]@ESTEL[/b] nie zasmiercaj forum, bo taki topic juz jest:
http://forum.dug.net.pl/viewtopic.php?t=4845

czasami uzywaj funkcji [b]Szukaj[/b] = http://forum.dug.net.pl/search.php?mode=results

a do global jeszcze dozuc
[b]security = DOMAIN[/b]

jak se neda to zapodaj:
[b]security = USER[/b]

i jeszcze zapodaj loga samby z /var/log


[img]http://intershock.pl/images/icons/freebsd.jpg[/img] [img]http://www.the-eleven.com/site_media/static/img/postgresql_powered.png[/img] [img]http://www.wwgmc.com/images/badge_php.gif[/img]
LRU #480459

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Możesz wyłączyć AdBlock — tu nie ma reklam ;-)

[ Generated in 0.007 seconds, 9 queries executed ]

Informacje debugowania

Time (s) Query
0.00009 SET CHARSET latin2
0.00004 SET NAMES latin2
0.00094 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.118.28.217' WHERE u.id=1
0.00085 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.118.28.217', 1732546799)
0.00059 SELECT * FROM punbb_online WHERE logged<1732546499
0.00059 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=5072 AND t.moved_to IS NULL
0.00005 SELECT search_for, replace_with FROM punbb_censoring
0.00147 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=5072 ORDER BY p.id LIMIT 0,25
0.00098 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=5072
Total query time: 0.0056 s