--0__=0ABBFBB9DFFDADE98f9e8a93df938690918c0ABBFBB9DF FDADE9
Content-type: text/plain; charset=us-ascii


Robert,
I understand about the configuration options on the Windows side, but what
my problem is that no matter what I setup on the windows side, the clients
do not behave properly with offline files from my Samba server. If I set
them offline from a windows server, there is no problem. I only have
issues when I make a samba share available offline. I need to make every
user's home directory available offline for laptop travel, but I can't get
the system to work.
I am really starting to think this is a bug in my version of Samba.

Thanks! -Cheers, Peter.


====================
In specification, Murphy's
Law supersedes Ohm's Law.
--Unknown




Robert Schetterer
r.org> To
pfb4212@rit.edu
03.03.2006 12:42 cc
samba@lists.samba.org
Subject
Re: [Samba] [Repost] Offline Files
No Go










Hi Peter,
there is only one parameter in smb.conf
with offline files to a share

from man smb.conf
csc policy (S)

This stands for client-side caching policy, and specifies how
clients capable of offline caching will cache the files in the share.
The valid values are: manual, documents, programs, disable.

These values correspond to those used on Windows servers.

For example, shares containing roaming profiles can have offline
caching disabled using csc policy = disable.

Default: csc policy = manual

Example: csc policy = programs

but if you wanna fine tune i.e by users/groups/host etc you have
to do this with NTconfig.pol in the netlogon share created by
poledit.exe which is more flexible
so would say use csc policy = manual in your conf so it depends to users
entries when or what offline sync in a share, but i dont think this is a
good idea at the profiles share ( as i saw it in your conf ,i use
disable here )

Best Regards

pfb4212@rit.edu schrieb:
> Robert,
> Ah, I now see what you are meaning... I have used the Active

Directory
> policy manager to create the policies that I want and have successfully

run
> offline files from a Windows server, my trouble is that when I move to a
> Samba server, the Windows PCs have improper behavior. (i.e. files can

not
> be accessed even with proper permissions, applications report the files

as
> non-existant, etc.) I am thinking that my problem is either related to
> my Samba configuration or my Samba version. How does my configuration

file
> compare to your configuration?
>
> Thanks so much! -Cheers, Peter.
>
>
> ====================
> In specification, Murphy's
> Law supersedes Ohm's Law.
> --Unknown
>
>
>
>


> Robert Schetterer


>

> r.org>

To
>


> 03/02/2006 05:26 pfb4212@rit.edu


> PM

cc
> samba@lists.samba.org


>


>


>


>


>

Subject
> Re: [Samba] [Repost] Offline Files


> No Go


>


>


>


>


>


>


>
>
>
>
> hi, sorry that i wrote this like missunderstanding,
> what i mean you can fully control offline file/directory behavior
> with NTconfig.pol for user ,groups ,client machines
> so this is the tool/function you need
> i use it to disable offline files on workstations and have it possible
> with laptop with different samba shares.
> there are a lot of ohter features possible, so exclude filestypes etc..
> Regards
> pfb4212@rit.edu schrieb:
>> Robert,
>> I don't want to disable this... I want to make it work. That is what

> I
>> am looking for help with.
>> Thanks. -Cheers, Peter.
>>
>>
>> ====================
>> In specification, Murphy's
>> Law supersedes Ohm's Law.
>> --Unknown
>>
>>
>>
>>

>
>> Robert Schetterer

>
>>
>
>> r.org>

> To
>> pfb4212@rit.edu

>
>> 02.03.2006 04:09

> cc
>> samba@lists.samba.org

>
> Subject
>> Re: [Samba] [Repost] Offline

Files
>
>> No Go

>
>
>
>
>
>
>
>>
>>
>>
>> Hi,
>> yo can do disabling offline features via NTconfig.pol.
>> for users and/or machines and different folders
>> study google and smb faqs how to use this
>> Regards
>>
>> pfb4212@rit.edu schrieb:
>>> Dear All,
>>> I want to enable Offline Files support on several Win2K SP4 laptops.

>> We
>>> have a samba file server. I have researched as much as I could to get
>>> answers and here is what I have. I am unfortunately unable to get this
>>> working properly. If anyone can answer or point me in to a good

>> resource,
>>> I would greatly appreciate that. I am attempting to offline profile
>>> directories mapped to network drive letter X:. Here is my config for

> the
>>> profiles share:
>>> -----------------
>>> [Profiles]
>>> comment = Shared User Profiles
>>> path = /home
>>> invalid users = nobody, guest
>>> create mask = 0600
>>> directory mask = 0700
>>> map acl inherit = Yes
>>> case sensitive = Yes
>>> hide special files = Yes
>>> store dos attributes = Yes
>>> csc policy = documents
>>> dos filemode = Yes
>>> dos filetime resolution = Yes
>>> -----------------
>>>
>>> I get an error similar to the following for every file that I try to

> make
>>> available offline:
>>> Could not make 'somthing.doc' available offline. The specified file

can
>>> not be found.
>>>
>>> If I create a new file, it appears as available offine, but I can

> neither
>>> delete nor rename it.
>>> At that point I usually start to get an Access Denied error on the

> entire
>>> shared drive and am forced to restart.
>>>
>>> The share is stored on a RHEL 3 server running Samba 3.0.9-1.3E.5 with

> an
>>> EXT3 file system with ACL support enabled.
>>> I have also included my global configuration at the bottom of this

> email.
>>> Here is my test procedure.
>>> -I make a share available offline.
>>> -It synchronizes showing all current files as "Unable to make

>> 'file.txt'
>>> available offine on '\\server_b\profiles\testuser\My Documents'. The

>> system
>>> cannot find the file specified."
>>> -I create new files in the folder while online. They appear oplocked

>> in
>>> samba status:
>>> DENY_NONE RDWR EXCLUSIVE+BATCH /home/testuser/My Documents/New

>> Text
>>> Document.txt
>>> -I attempt to give the file a name. This results in "X:\My Documents
>>> folder does not exist. Do you want to create it?"
>>> -The oplock is removed.
>>> -If I edit the file and attempt to save changes, I get "This file

>> exists
>>> with Read Only attributes. Please use a different name."
>>> -If I then name the file something else, the file is created on the
>>> windows side and appears offline available. The file appears on the

> samba
>>> server also.
>>> -If I try to save this file again, I repeat the "This file exists

with
>>> Read Only attributes..." situation from above.
>>> -Now, if I take the computer "offline" by disconnecting the NIC...

all
>>> files behave normally.
>>> -After reconnecting, all files that were changed on windows while

>> offline
>>> are synced to the samba server.
>>>
>>> Could this have something to do with case sensitivity or such?
>>>
>>> ANY help is greatly appreciated.
>>> Thanks! -Cheers, Peter.
>>>
>>> ====================
>>> [global]
>>> workgroup = EXAMPLE
>>> realm = EXAMPLE.COM
>>> server string = File Server [ServerB] (Samba %v)
>>> security = ADS
>>> password server = SERVERA
>>> username level = 5
>>> log level = 1
>>> log file = /var/log/samba/%m
>>> max xmit = 65535
>>> name resolve order = host wins bcast
>>> socket options = TCP_NODELAY SO_SNDBUF=65536 SO_RCVBUF=65536
>>> IPTOS_LOWDELAY
>>> load printers = No
>>> logon script = \\servera\netlogon\logon.bat
>>> logon drive = X:
>>> logon home = \\SERVERB\Profiles\%U
>>> lm announce = No
>>> preferred master = No
>>> local master = No
>>> domain master = No
>>> wins server = 10.0.2.1
>>> lock spin count = 30
>>> lock spin time = 15
>>> ldap ssl = no
>>> idmap uid = 1000-2000
>>> idmap gid = 1000-2000
>>> template primary group = @
>>> template homedir = /home/%U
>>> template shell = /bin/bash
>>> winbind separator = +
>>> winbind cache time = 10
>>> winbind use default domain = Yes
>>> winbind nested groups = Yes
>>> printer admin = jdoe
>>> read only = No
>>> create mask = 0660
>>> directory mask = 0770
>>> inherit permissions = Yes
>>> inherit acls = Yes
>>> delete veto files = Yes
>>> veto files = /.AppleDouble/.AppleDesktop/Network Trash Folder/
>>> veto oplock files = /*.sem/*.qbw/*.mdb/*.nsf/*.log/*.id/*.ini/
>>> csc policy = disable
>>> strict locking = No
>>>

>> (See attached file: robert.vcf)

> (See attached file: robert.vcf)
>

(See attached file: robert.vcf)

--0__=0ABBFBB9DFFDADE98f9e8a93df938690918c0ABBFBB9DF FDADE9
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
--0__=0ABBFBB9DFFDADE98f9e8a93df938690918c0ABBFBB9DF FDADE9--