Hi, Plz, i have installed a Samba NT PDC Domain with XP Prof. and strangelly the machines are syncronizing with the Samba Server when the user Logoff of the domain. I've used the smb.conf below in others domains and XP clients have never synchronized before. I understand that i'm not using roaming profile, because the logon path is empty. The only difference in this domain is that i'm using winbind to the remote domain users (that is a trusted domain) be able to print in my domain. The message is something like: "syncronizing \\server\username in SERVER". This happens just after logoff. Someone plz can say me what is this and how i disable it? My configurations... :~# net rpc trustdom list Password: Trusted domains list: REMDOMAIN S-1-5-21-1370651826-174269758-184960113 Trusting domains list: none :~# The smb.conf is: [global] netbios name = SERVER workgroup = DOMAIN wins support = yes dns proxy = yes log file = /var/log/samba/log.%m max log size = 1000 syslog = 0 panic action = /usr/share/samba/panic-action %d security = user encrypt passwords = true passdb backend = tdbsam guest obey pam restrictions = yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . load printers = no socket options = TCP_NODELAY domain master = yes local master = yes preferred master = yes os level = 65 unix charset = iso8859-1 add user script = /usr/sbin/useradd -m -g users "%u" add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null -g ntmachines "%u" add group script = /usr/local/bin/smb-addgroupscript "%g" add user to group script = /usr/sbin/adduser "%u" "%g" delete user script = /usr/sbin/userdel "%u" delete group script = /usr/sbin/groupdel "%g" delete user from group script = /usr/sbin/deluser "%u" "%g" set primary group script = /usr/sbin/usermod -g "%g" "%u" logon script = logon.%U.bat logon home = \\%N\%U logon path logon drive = U: domain logons = yes idmap uid = 10000-20000 idmap gid = 10000-20000 winbind enum users = yes winbind enum groups = yes template homedir template shell = /bin/false username map = /etc/samba/smbusers [homes] comment = Home Directories browseable = no writeable = yes create mask = 0644 directory mask = 0755 [netlogon] comment = Network Logon Service path = /home/samba/netlogon guest ok = yes writable = no browseable = no root preexec = /home/samba/netlogon/gen_logon.sh %u root postexec = /home/samba/netlogon/del_logon.sh %u [printers] comment = All Printers browseable = no path = /tmp printable = yes public = no writable = no create mode = 0700 [print$] comment = Printer Drivers path = /var/lib/samba/printers browseable = yes read only = yes guest ok = no [geral] comment = Arquivos Publicos path = /home/geral writeable = yes create mask = 666 directory mask = 777 -- Joel Franco | | self-powered by | Debian Linux | | .''`. | : :' : | `. `' | `- |
Tomasz Chmielewski
2005-Nov-28 14:58 UTC
[Samba] NT clients syncronyzing in a Samba PDC Domain
Joel Franco schrieb:> Hi, > > Plz, i have installed a Samba NT PDC Domain with XP Prof. and strangelly > the machines are syncronizing with the Samba Server when the user Logoff > of the domain. I've used the smb.conf below in others domains and XP > clients have never synchronized before. > > I understand that i'm not using roaming profile, because the logon > path is empty. The only difference in this domain is that i'm using > winbind to the remote domain users (that is a trusted domain) be able to > print in my domain. > > The message is something like: "syncronizing \\server\username in > SERVER". This happens just after logoff.isn't it some 3rd party program that does it? -- Tomek http://wpkg.org WPKG - software deployment and upgrades with Samba
Andrew Bartlett
2005-Nov-28 22:02 UTC
[Samba] NT clients syncronyzing in a Samba PDC Domain
On Mon, 2005-11-28 at 12:45 -0200, Joel Franco wrote:> Hi, > > Plz, i have installed a Samba NT PDC Domain with XP Prof. and strangelly > the machines are syncronizing with the Samba Server when the user Logoff > of the domain. I've used the smb.conf below in others domains and XP > clients have never synchronized before. > > I understand that i'm not using roaming profile, because the logon > path is empty. The only difference in this domain is that i'm using > winbind to the remote domain users (that is a trusted domain) be able to > print in my domain. > > The message is something like: "syncronizing \\server\username in > SERVER". This happens just after logoff. > > Someone plz can say me what is this and how i disable it?The problem is the offline file support in WinXP. I had much pain with this, and in theory you should be able to disable this support with the 'csc policy' parameter. I had no end of pain with that (but perhaps I never set it right...), so I ended up setting a system policy to disable offline files. I used this in my .adm file for poledit: CLASS MACHINE CATEGORY !!OfflineFiles POLICY !!OfflineFileControl KEYNAME Software\Policies\Microsoft\NetCache PART !!DisableOfflineFiles CHECKBOX VALUENAME "Enabled" VALUEON NUMERIC 0 VALUEOFF NUMERIC 1 END PART END POLICY POLICY !!OfflineFileControlKey KEYNAME Software\Microsoft\Windows\CurrentVersion\NetCache PART !!DisableOfflineFilesKey CHECKBOX VALUENAME "Enabled" VALUEON NUMERIC 1 VALUEOFF NUMERIC 0 END PART END POLICY END CATEGORY [Strings] OfflineFiles="Offline Files" OfflineFileControl="Control Offline Files (Policy)" OfflineFileControlKey="Control Offline Files (Key)" DisableOfflineFiles="Disable Offline Files (Policy)" DisableOfflineFilesKey="Disable Offline Files (Key)" Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Student Network Administrator, Hawker College http://hawkerc.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20051129/6be03d04/attachment.bin