J. Echter
2011-Apr-12 17:16 UTC
[Samba] roaming profiles - one file can't be copied to server
Hi, i have a Ubuntu x64 10.04 Server. Samba configured as PDC. Since today i experience that roaming prfiles can't copy one file to the server and shout an error message. It's no specific file, mostly its one in my Thunderbird Profile. Does anybody know what could this cause to happen? My smb.conf: [global] printing = bsd netbios name = PDC server string = PDC (%h) workgroup = workgroup interfaces = eth0,lo security = user encrypt passwords = true map to guest = bad user local master = yes preferred master = yes domain master = yes domain logons = yes add user script = /usr/sbin/useradd -m '%u' -g ntusers -G ntusers -s /bin/false 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 -d /var/lib/nobody -g 100 -s /bin/false -M %u logon path = \\%L\profile\%U logon script = logon.bat hide files = /desktop.ini/ntuser.ini/NTUSER.*/Thumbs.db/ panic action = /usr/share/samba/panic-action %d #======================= Share Definitions ======================[homes] comment = Home Directories browseable = no writeable = yes [profile] comment = Profildateien path = /bacula/samba/profile guest ok = yes browseable = no create mask = 0600 directory mask = 0700 writeable = yes profile acls = yes [netlogon] comment = Network Logon Service path = /bacula/samba/netlogon guest ok = yes writeable = no share modes = no browseable = no any hints about that? greetings juergen
L.P.H. van Belle
2011-Apr-13 06:19 UTC
[Samba] roaming profiles - one file can't be copied to server
Hi, what is the error message ? if i guess.. Look for .TMP files in the users profile folder. delete them when the user is logged in. Let the user logout again and see if its happens again. i have these extra lines in the profiles in smb.conf csc policy = disable force user = %U # next line allows administrator to access all profiles valid users = %U @"Domain Admins" Louis>-----Oorspronkelijk bericht----- >Van: j.echter at elektro-mayer-echter.de >[mailto:samba-bounces at lists.samba.org] Namens J. Echter >Verzonden: 2011-04-12 19:17 >Aan: samba at lists.samba.org >Onderwerp: [Samba] roaming profiles - one file can't be copied >to server > >Hi, > >i have a Ubuntu x64 10.04 Server. Samba configured as PDC. >Since today i experience that roaming prfiles can't copy one >file to the >server and shout an error message. > >It's no specific file, mostly its one in my Thunderbird Profile. > >Does anybody know what could this cause to happen? > >My smb.conf: > >[global] > printing = bsd > netbios name = PDC > server string = PDC (%h) > workgroup = workgroup > interfaces = eth0,lo > security = user > encrypt passwords = true > map to guest = bad user > local master = yes > preferred master = yes > domain master = yes > domain logons = yes > add user script = /usr/sbin/useradd -m '%u' -g ntusers -G ntusers -s >/bin/false > 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 -d /var/lib/nobody -g 100 -s >/bin/false -M %u > logon path = \\%L\profile\%U > logon script = logon.bat > hide files = /desktop.ini/ntuser.ini/NTUSER.*/Thumbs.db/ > panic action = /usr/share/samba/panic-action %d > >#======================= Share Definitions ======================>[homes] > comment = Home Directories > browseable = no > writeable = yes > >[profile] > comment = Profildateien > path = /bacula/samba/profile > guest ok = yes > browseable = no > create mask = 0600 > directory mask = 0700 > writeable = yes > profile acls = yes > >[netlogon] > comment = Network Logon Service > path = /bacula/samba/netlogon > guest ok = yes > writeable = no > share modes = no > browseable = no > > >any hints about that? > >greetings > >juergen >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba > >-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 4906 bytes Desc: not available URL: <http://lists.samba.org/pipermail/samba/attachments/20110413/47c4eb52/attachment.bin>
J. Echter
2011-Apr-13 15:07 UTC
[Samba] roaming profiles - one file can't be copied to server
Am 12.04.2011 19:16, schrieb J. Echter:> Hi, > > i have a Ubuntu x64 10.04 Server. Samba configured as PDC. > Since today i experience that roaming prfiles can't copy one file to the > server and shout an error message. > > It's no specific file, mostly its one in my Thunderbird Profile. > > Does anybody know what could this cause to happen? > > My smb.conf: > > [global] > printing = bsd > netbios name = PDC > server string = PDC (%h) > workgroup = workgroup > interfaces = eth0,lo > security = user > encrypt passwords = true > map to guest = bad user > local master = yes > preferred master = yes > domain master = yes > domain logons = yes > add user script = /usr/sbin/useradd -m '%u' -g ntusers -G ntusers -s > /bin/false > 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 -d /var/lib/nobody -g 100 -s > /bin/false -M %u > logon path = \\%L\profile\%U > logon script = logon.bat > hide files = /desktop.ini/ntuser.ini/NTUSER.*/Thumbs.db/ > panic action = /usr/share/samba/panic-action %d > > #======================= Share Definitions ======================> [homes] > comment = Home Directories > browseable = no > writeable = yes > > [profile] > comment = Profildateien > path = /bacula/samba/profile > guest ok = yes > browseable = no > create mask = 0600 > directory mask = 0700 > writeable = yes > profile acls = yes > > [netlogon] > comment = Network Logon Service > path = /bacula/samba/netlogon > guest ok = yes > writeable = no > share modes = no > browseable = no > > > any hints about that? > > greetings > > juergenHi, i found another hint. I recently had created a directory with a user and copied some files into that. As im logging out now, the newly created file couldn't be copied to my profiles dir --> file already in use. any hints? greetings juergen.
J. Echter
2011-Apr-13 15:09 UTC
[Samba] roaming profiles - one file can't be copied to server
Am 12.04.2011 19:16, schrieb J. Echter:> Hi, > > i have a Ubuntu x64 10.04 Server. Samba configured as PDC. > Since today i experience that roaming prfiles can't copy one file to the > server and shout an error message. > > It's no specific file, mostly its one in my Thunderbird Profile. > > Does anybody know what could this cause to happen? > > My smb.conf: > > [global] > printing = bsd > netbios name = PDC > server string = PDC (%h) > workgroup = workgroup > interfaces = eth0,lo > security = user > encrypt passwords = true > map to guest = bad user > local master = yes > preferred master = yes > domain master = yes > domain logons = yes > add user script = /usr/sbin/useradd -m '%u' -g ntusers -G ntusers -s > /bin/false > 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 -d /var/lib/nobody -g 100 -s > /bin/false -M %u > logon path = \\%L\profile\%U > logon script = logon.bat > hide files = /desktop.ini/ntuser.ini/NTUSER.*/Thumbs.db/ > panic action = /usr/share/samba/panic-action %d > > #======================= Share Definitions ======================> [homes] > comment = Home Directories > browseable = no > writeable = yes > > [profile] > comment = Profildateien > path = /bacula/samba/profile > guest ok = yes > browseable = no > create mask = 0600 > directory mask = 0700 > writeable = yes > profile acls = yes > > [netlogon] > comment = Network Logon Service > path = /bacula/samba/netlogon > guest ok = yes > writeable = no > share modes = no > browseable = no > > > any hints about that? > > greetings > > juergenah and here a snippet from log.smbd [2011/04/13 17:04:55, 0] lib/util_sock.c:539(read_fd_with_timeout) [2011/04/13 17:04:55, 0] lib/util_sock.c:1498(get_peer_addr_internal) getpeername failed. Error was Transport endpoint is not connected read_fd_with_timeout: client 0.0.0.0 read error = Connection reset by peer.
L.P.H. van Belle
2011-Apr-18 09:52 UTC
[Samba] roaming profiles - one file can't be copied to server
Hai, try this [profiles] path = /bacula/samba/profile comment = Profildateien read only = no create mask = 0600 directory mask = 0700 browseable = Yes guest ok = Yes csc policy = disable profile acls = no force user = %U # next line allows the user and administrators to access all profiles valid users = %U @"Domain Admins">-----Oorspronkelijk bericht----- >Van: belle at bazuin.nl [mailto:samba-bounces at lists.samba.org] >Namens L.P.H. van Belle >Verzonden: 2011-04-13 08:19 >Aan: samba at lists.samba.org >Onderwerp: Re: [Samba] roaming profiles - one file can't be >copied to server > >Hi, > >what is the error message ? >if i guess.. > >Look for .TMP files in the users profile folder. >delete them when the user is logged in. >Let the user logout again and see if its happens again. > >i have these extra lines in the profiles in smb.conf >csc policy = disable >force user = %U ># next line allows administrator to access all profiles >valid users = %U @"Domain Admins" > >Louis > >>-----Oorspronkelijk bericht----- >>Van: j.echter at elektro-mayer-echter.de >>[mailto:samba-bounces at lists.samba.org] Namens J. Echter >>Verzonden: 2011-04-12 19:17 >>Aan: samba at lists.samba.org >>Onderwerp: [Samba] roaming profiles - one file can't be copied >>to server >> >>Hi, >> >>i have a Ubuntu x64 10.04 Server. Samba configured as PDC. >>Since today i experience that roaming prfiles can't copy one >>file to the >>server and shout an error message. >> >>It's no specific file, mostly its one in my Thunderbird Profile. >> >>Does anybody know what could this cause to happen? >> >>My smb.conf: >> >>[global] >> printing = bsd >> netbios name = PDC >> server string = PDC (%h) >> workgroup = workgroup >> interfaces = eth0,lo >> security = user >> encrypt passwords = true >> map to guest = bad user >> local master = yes >> preferred master = yes >> domain master = yes >> domain logons = yes >> add user script = /usr/sbin/useradd -m '%u' -g ntusers -G >ntusers -s >>/bin/false >> 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 -d /var/lib/nobody -g 100 -s >>/bin/false -M %u >> logon path = \\%L\profile\%U >> logon script = logon.bat >> hide files = /desktop.ini/ntuser.ini/NTUSER.*/Thumbs.db/ >> panic action = /usr/share/samba/panic-action %d >> >>#======================= Share Definitions ======================>>[homes] >> comment = Home Directories >> browseable = no >> writeable = yes >> >>[profile] >> comment = Profildateien >> path = /bacula/samba/profile >> guest ok = yes >> browseable = no >> create mask = 0600 >> directory mask = 0700 >> writeable = yes >> profile acls = yes >> >>[netlogon] >> comment = Network Logon Service >> path = /bacula/samba/netlogon >> guest ok = yes >> writeable = no >> share modes = no >> browseable = no >> >> >>any hints about that? >> >>greetings >> >>juergen >>-- >>To unsubscribe from this list go to the following URL and read the >>instructions: https://lists.samba.org/mailman/options/samba >> >> >