[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Samba - PDC - profile mobilne



Witam

Komuś się udało zmusić sambę i winxp aby działały profile mobilne?

Co opis to coś nowego i jak nie działało to dalej nie działa , przy logowaniu użytkownik dostaje informacje ze niby profil istnieje ale nie jest jego właścicielem, na serwerze natomiast nic nie ma nic nie było kopiowane.

smb.conf

[global]
  workgroup = TESTOWO
  netbios name = SERVER1
  server string = %h server (Samba)


  passdb backend = tdbsam
  security = user
  username map = /etc/samba/smbusers
  name resolve order = wins bcast hosts
  domain logons = yes
  preferred master = yes
  wins support = yes

  # Set CUPS for printing
  load printers = yes
  printcap name = CUPS
  printing = CUPS

  # Default logon
  logon drive = H:
  logon script = scripts/logon.bat
  #logon path = \\server1\profile\%U
  logon path = \\%L\%U\profile


  # Useradd scripts
# add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u
  add user script = /usr/sbin/useradd -m '%u' -g users -G users
  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/usernod -G %g %u
add machine script = /usr/sbin/useradd -s /bin/false/ -d /var/lib/nobody %u
  idmap uid = 15000-20000
  idmap gid = 15000-20000
  template shell = /bin/bash


  # sync smb passwords woth linux passwords
  passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
  passwd chat debug = yes
  unix password sync = yes

  log file = /var/log/samba/log.%I
  max log size = 50
  log level = 2


[homes]
  comment = Home
  valid users = %S
  read only = no
  browsable = no


[netlogon]
  comment = Network Logon Service
  path = /home/samba/netlogon
  admin users = Administrator
  valid users = %U
  read only = no
  guest ok = yes
  writable = no
  share modes = no


[allusers]
 comment = All Users
 path = /home/shares/allusers
 valid users = @users
 force group = users
 create mask = 0660
 directory mask = 0771
 writable = yes


Reply to: