Hi,

We are using Samba 3.0.22 on FreeBSD 5.5 PDC with ldap backend and roaming profiles.

We meet some difficulties when users logout from some Windows 2000 SP4 clients, and storing their profiles back to the Samba server.

The file NTUSER.DAT seems to be uploaded and stored in lowercase, as ntuser.dat. Then, when users try to reopen a win session, they get a corrupted new profile. This new profile is fully broken, since it's not possible to modify any options that affect NTUSER.DAT.

When they disconnect, smbstatus shows the user as connected on the machine for a long time ( from 15 minutes to hours ) after he has logged out. The shares that has been mounted on the client do not seem to be disconnected. Here is the output of smbstatus for user test 15 minutes afters he has logged out :

Samba version 3.0.22
PID     Username      Group         Machine
-------------------------------------------------------------------
30017   test        wusers           pc0507      (10.12.220.73)

Service      pid     machine       Connected at
-------------------------------------------------------
public       30017   pc0507       Fri Sep  1 10:14:37 2006
public       30017   pc0507       Fri Sep  1 10:14:36 2006
netlogon     30017   pc0507       Fri Sep  1 10:14:35 2006
test         30017   pc0507       Fri Sep  1 10:14:36 2006
profiles     30017   pc0507       Fri Sep  1 10:14:34 2006
IPC$         30017   pc0507       Fri Sep  1 10:14:38 2006
test         30017   pc0507       Fri Sep  1 10:14:37 2006

No locked files

--------------------------------------------------------------------


Here is some relevant part of smb.conf :

[global]
  workgroup = DOMAIN1
  netbios name = PDC
  server string = Samba %v PDC
  interfaces = lo0, fxp0
  security = user
  encrypt passwords = yes
  enable privileges = yes
  username map = /usr/local/etc/smbusers.map
  log level = 1
  log file = /var/log/samba/smb.log
  max log size = 16384
  debug uid = Yes
  announce version = 5.3
  time server = Yes
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=32768 SO_SNDBUF=32768
  load printers = No
  logon path = \\%L\profiles\%U
  logon drive = u:
  logon home = \\%L\%U
  domain logons = yes
  os level = 255
  preferred master = yes
  domain master = yes
  passdb backend = ldapsam:ldapi://%2fvar%2frun%2fopenldap%2fldapi/
  ldap admin dn = cn=samba,ou=Applications,dc=domain1
  ldap suffix = dc=domain1
  ldap machine suffix = ou=computers
  ldap user suffix = ou=users
  ldap group suffix = ou=groups
  ldap passwd sync = no
  ldap replication sleep = 30000
  ldap ssl = no
  utmp = yes
  wins support = yes
  dns proxy = yes
  hosts allow = 127.0.0.1/24, 10.12.
  dos charset = 850
  unix charset = ISO8859-15

[homes]
  read only      = No
  create mask    = 0600
  directory mask = 0700
  browseable     = No
  force user     = %U
  valid users    = %S
  max connections= 8

[netlogon]
  path           = /export/samba/netlogon
  browseable     = no
  writable       = no

[profiles]
  path           = /export/samba/profiles
  read only      = No
  create mask    = 0600
  directory mask = 0700
  browseable     = No
  profile acls   = yes
  csc policy     = disable
  force user     = %U

[public]
  path           = /export/public
  browseable     = yes
  read only      = no
  create mask    = 0640
  directory mask = 0770
  force group    = wusers
  valid users    = @wadms,@wusers

----------- EOF ----------------

Is there a way to force these shares to close really when users logout ?

Thank for your help.

--
Philippe
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to