[LUGOS] samba in PDC

Ales kavka14 at gmail.com
Thu Jun 29 08:43:51 CEST 2006


Torej samo v vednost sedaj na isti mreži nimam več obeh PDC serverjev. 
Je samo še eden.

Miroslav Jurkas wrote:

> Problem ni v tem, da imaš dva PDCja na eni mreži ampak v dveh Wins 
> serverjih (ki jih tipično poganjaš na PDCju) na eni mreži. Torej, za 
> čas testiranja na drugi PDC mašini izključi Wins server in 
> skonfiguriraj tako, da se bo drugi PDC pogovarjal z Wins serverjem na 
> prvem PDC, pa bo najbrž  začelo delati. XPje pa bo gotovo potrebno 
> rebootat (najbolje vse skupaj).
>
> Lep pozdrav
>  Miroslav
>
> -------------------------------------------------
> ** miroslav.jurkas na k2.net                      **
> ** close your windows, use GNU/Linux!          **
> -------------------------------------------------
>
>
>
>
> Ales wrote:
>
>> Imam sambo skonfigurirano kot PDC. Zadeva je delovala brez tezav. 
>> Pred kratkim pa sem na sito mrezo konektal in konfiguriral dodaten 
>> strežnik prav tako kot PDC. Zadeva mi nekako od tega casa ne deluje 
>> vec. Ali je mozno, da je to problem?
>>
>> Prilagam moj config file
>>
>> [global]
>>  netbios name = JAVOR
>>  workgroup = curk-sp.lan
>>  server string = Samba %v
>>
>>  hosts allow = 192.168.1.0/24 127.0.0.0/8
>>  security = user
>>  encrypt passwords = yes
>>  socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>>  interfaces = lo eth0
>>  bind interfaces only = yes
>>
>>  local master = yes
>>  os level = 65
>>  domain master = yes
>>  preferred master = yes
>>
>>  null passwords = no
>>  hide unreadable = yes  hide dot files = yes
>>
>>  domain logons = yes
>>  logon script = %U_login.bat
>>  logon path = \\%L\profiles\%U
>>  logon drive = H:
>>  logon home = \\%L\%U\.9xprofile
>>
>>  wins support = yes
>>  name resolve order = wins lmhosts host bcast
>>  dns proxy = no
>>
>>  time server = yes
>>  log file = /var/log/samba/log.%m
>>  max log size = 50
>>  smb passwd file = /var/lib/samba/private/smbpasswd
>>
>>  add user script = /usr/sbin/useradd -m %u
>>  delete user script = /usr/sbin/userdel -r %u
>>  add group script = /usr/sbin/groupadd %g
>>  delete group script = /usr/sbin/groupdel %g
>>  add user to group script = /usr/sbin/usermod -G %g %u
>>  add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u
>>  passwd program = /usr/bin/passwd %u
>>  passwd chat = "*New password:*" %n\r "*New password (again):*" %n\r 
>> \ "*Password changed*"
>>
>>  dos charset = CP850
>>  unix charset = UTF-8
>>  display charset = UTF-8
>>
>> [netlogon]
>>  path = /var/lib/samba/netlogon
>>  guest ok = no
>>  read only = yes
>>  browseable = no
>>
>> [profiles]
>>  path = /var/lib/samba/profiles
>>  browseable = no
>>  writeable = yes
>>  default case = lower
>>  preserve case = no
>>  short preserve case = no
>>  case sensitive = no
>>  hide files = /desktop.ini/ntuser.ini/NTUSER.*/
>>  write list = @smbusers @root
>>  create mask = 0600
>>  directory mask = 0700
>>
>> [printers]
>>  comment = All Printers
>>  path = /var/spool/samba
>>  browseable = no
>> # to allow user 'guest account' to print.
>>  guest ok = yes
>>  writable = no
>>  printable = yes
>>  create mode = 0700
>>
>>  print command = lpr-cups -P %p -o raw %s -r   # using client side 
>> printer drivers.
>> ;  print command = lpr-cups -P %p %s # using cups own drivers (use 
>> generic PostScript on clients).
>> # The following two commands are the samba defaults for printing=cups
>> # change them only if you need different options:
>>  lpq command = lpq -P %p
>>  lprm command = cancel %p-%j
>>
>> [homes]
>>  path = /home/%U
>>  browseable = no
>>  valid users = %S
>>  read only = no
>>  guest ok = no
>>  inherit permissions = yes
>>
>> [pc]
>>  path = /var/smbshare/pc
>>  browseable = yes
>>  valid users = @pc
>>  read only = no
>>  guest ok = no
>>  force user = psql
>>  force group = pvsw
>>  read only = No
>>  create mask = 0664
>>  directory mask = 0775
>>  inherit permissions = yes
>>
>> [public]
>>  path = /var/smbshare/public
>>  browseable = yes
>>  valid users = @users
>>  read only = no
>>  guest ok = no
>>  inherit permissions = yes
>>
>> [backup]
>>  path = /var/smbshare/backup
>>  browseable = yes
>>  valid users = @pc
>>  read only = no
>>  guest ok = no
>>  inherit permissions = yes
>>
>> [PVPIPE$]
>>  comment = Pervasive pipes
>>  path = /usr/local/psql/etc/pipe
>>  # only members of group pvsw will have access
>>  valid users = @pvsw
>>  # Absolutely necessary - prevents caching
>>  oplocks = no
>>  level2 oplocks = no
>>  read only = yes
>>  browseable = No
>>
>> #[PSQLDATA]
>> #    comment = Pervasive databases
>> #    path = /usr/local/psql/data
>> #    force user = psql
>> #    force group = pvsw
>> #    read only = No
>> #    create mask = 0664
>> #    directory mask = 0775
>>
>------------------------------------------------------------------------
>
>_______________________________________________
>lugos-list mailing list
>lugos-list na lugos.si
>http://liste2.lugos.si/cgi-bin/mailman/listinfo/lugos-list
>  
>


-- 
Aleš Curk :)

+ CALLTO://alescurk (Skype)

-------------- naslednji del --------------
HTML priponka je pre�i��ena...
URL: http://liste2.lugos.si/pipermail/lugos-list/attachments/20060629/38dd502d/attachment-0001.html


More information about the lugos-list mailing list