Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Samba and "My Documents"

Status
Not open for further replies.

tsltsl

Technical User
Jan 17, 2002
24
SE
Hi,
I have samba running on RH8 and use it as a PDC.
When users login to the domain their profiles are created and maintained under /home/samba/profiles/%USERNAME%
This is great, but it also creates the "My Documents" folder and transfers the content back and forth from the server to the client (and vice versa on logout).
Clients are WinXP.

Question:
How can I inhibit this feature?
I don't want transfers of the content in "My Documents" for the users. Some of them have lots of data in there and it generates unnecessary traffic. The data in "My Documents" should only reside on the local client.
I still want the rest stored on the server though.

I think an NT PDC does not copy the content of the "My Documents" folder (or?).

I have tried googling around but without any luck on this matter.
Does someone have experience on this?

Thank you // tsl
 
Additional info:

Samba v2.2.7-2

parts from smb.conf
----------------------
[global]
...

;PDC and master browser settings
os level = 64
preferred master = yes
local master = yes
domain master = yes

;user profiles and home directory
logon home = \\%L\%U logon drive = H:
logon path = \\%L\profiles\%U
logon script = netlogon.bat

# ==== shares ====

[homes]
comment = Home Directories
browseable = no
writeable = yes

[profiles]
path = /home/samba/profiles
writeable = yes
browseable = no
create mask = 0600
directory mask = 0700

[netlogon]
comment = Network Logon Service
path = /home/netlogon
read only = yes
browseable = no
write list = tom

Thanks // tsl
 
Well, on my Win2000-Box i fixed that with Start-> Settings ->
System Control -> System -> User Profiles, select
the Profile -> Change Type and Set the Radio Button
to 'Local Profile'. (Sorry, if the notations are not
exactly correct, i have only a german version of Windows)

Guess in XP it should be similar.

Hope it helps.

 
Thanks Roland,
but I guess that would mean I'm loosing the roaming profiles function!?
Users would not be able to login to any workstation and have their default desktop settings, IE bookmarks etc...
Or am I mistaking?
I wish to only exclude "My Documents" from the profiles.
Maybe that's not possible.

TIA // tsl
 
Yes, you're right. For whatever reasons Microsoft handles the Profile-Stuff and
"My Documents" as a whole.

I decided to do it without profile-saving because
any Clerc has a own Workplace - and i want to avoid the
"Friday-afternoon traffic-jam": every guy may have about
100 MB "My documents", and when 15 persons log out
at the same time my phone runs hot...

 
Thanks for your input Roland.
Right, this is exactly what I meant.
Unfortunately it looks like the only way to go is with "local profiles" as you described.

I tested it yesterday and it works fine switching to local profile. But I wonder how you tell samba that domain users should use local profiles. If I comment the "profiles" sections out in smb.conf and try to join the domain with a new user, the login process complains that no central profile can be found and trying with the local profile instead, but there is no local profile for this new user on the workstation ???

 
I dont change the profile-settings in the smb.conf -
i join a workstation to the domain with saveing profiles,
My Documents etc. at the first time and then(!)
i switch to the local profiles...

 
Yes, that's my experience too.
Thanks // tsl
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top