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  2010-09-28 09:41:12

  redelek - Członek DUG

redelek
Członek DUG
Skąd: Warszawa
Zarejestrowany: 2008-07-17

[solved]Samba simple PDC

Hej,

Postawiłem sobie w pracy środowisko testowe 2 komputery stacjonarne i jeden laptop. Jeden z komputerów stacjonarnych ma zainstalowanego debiana 5.0 i ma być serwerem samba PDC, pozostałe to Winzgrozy XP Pro i 7 Pro.
Wzorowałem się na tym linku http://atlanticlinux.ie/blog/?p=17
Wszystko niby pięknie się uruchamia, ale po dodaniu Windows do domeny od razu dostaję komunikat błąd duplikacja nazw w sieci.
Komputery nie są w żaden sposób podłączone do sieci lokalnej , test to odrębna mała sieć.
Nawet jak zmienię nazwę to za każdym razem jest to samo , czyli duplikacja nazw. Mam taki sam objaw na XP i 7.

Czy ktoś z państwa miał taki problem ?
Tak wygląda konfiguracja samby

Kod:

#======================= Global Settings =======================

[global]
   workgroup = SLIMM
   server string = %h server
#   wins support = no
;   wins server = w.x.y.z
   dns proxy = no
;   name resolve order = lmhosts host wins bcast

#### Networking ####
 interfaces = 10.0.3.1/24 eth1

#### Debugging/Accounting ####
   log file = /var/log/samba/log.%m
   max log size = 1000
   syslog = 0



####### Authentication #######
security = user
domain master = yes
os level = 80
   encrypt passwords = true
   passdb backend = tdbsam
   obey pam restrictions = yes
   unix password sync = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
   pam password change = yes
   map to guest = bad user

########## Domains ###########
domain logons = yes
logon path = \\%N\%U\profile
logon drive = H:
logon home = \\%N\%U
logon script = logon.cmd
add machine script = /usr/sbin/useradd -d /var/lib/samba/nobody -g machines -s /bin/false %u

########## Printing ##########

# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
#   load printers = yes

# lpr(ng) printing. You may wish to override the location of the
# printcap file
;   printing = bsd
;   printcap name = /etc/printcap

# CUPS printing.  See also the cupsaddsmb(8) manpage in the
# cupsys-client package.
;   printing = cups
;   printcap name = cups

############ Misc ############

socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
   usershare allow guests = yes

#======================= Share Definitions =======================

# Un-comment the following (and tweak the other settings below to suit)
# to enable the default home directory shares.  This will share each
# user's home directory as \\server\username
[homes]
   comment = Home Directories
   browseable = no
   read only = no
   create mask = 0700
   directory mask = 0700
   valid users = %S

[netlogon]
   comment = Network Logon Service
   path = /var/lib/samba/netlogon
   guest ok = yes
   read only = yes
   share modes = no

Ostatnio edytowany przez redelek (2010-09-28 11:03:23)


Pozdrawiam
Redelek
--------------------------------------------------------
Polecam hosting ViPower https://vipower.pl/panel/aff.php?aff=208, TikTalik https://tiktalik.com/pl/

Offline

 

#2  2010-09-28 11:03:06

  redelek - Członek DUG

redelek
Członek DUG
Skąd: Warszawa
Zarejestrowany: 2008-07-17

Re: [solved]Samba simple PDC

Oki już znalazłem błąd

WORKGROUP = SLIMM
server string = %h server

a pod %h też jest nazwa SLIMM ukryta

Gapa ze mnie :)


Pozdrawiam
Redelek
--------------------------------------------------------
Polecam hosting ViPower https://vipower.pl/panel/aff.php?aff=208, TikTalik https://tiktalik.com/pl/

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Nas ludzie lubią po prostu, a nie klikając w przyciski ;-)