Re: [Samba] Samba and Vista profile probs

2008-09-22 Thread lolotux

Hi,

My english is not very good, so french !

I had solve this problem, like this.

Vista or 2008 server, search share with the name profiles.V2. If it doesn't
existe Vista create in your $PATH/profiles your account $USER.V2, but dont
update it !

So I made it happy (vista) with :
smb.conf

[profiles.V2]
copy = profiles

So now in $PATH/profiles there is all my profiles for XP, Vista, and vista
doesn't cry any more !

-- 
View this message in context: 
http://www.nabble.com/Samba-and-Vista-profile-probs-tp16764249p19612004.html
Sent from the Samba - General mailing list archive at Nabble.com.

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


Re: [Samba] Samba and Vista profile probs

2008-09-22 Thread lolotux

See : http://lists.samba.org/archive/samba-technical/2007-April/052674.html

-- 
View this message in context: 
http://www.nabble.com/Samba-and-Vista-profile-probs-tp16764249p19612052.html
Sent from the Samba - General mailing list archive at Nabble.com.

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


Re: [Samba] Samba and Vista profile probs

2008-06-04 Thread harmus

Yes, if you're using roaming profiles Vista will automatically accept your
login (if your PDC is configured correctly, check the firewall on the
clients and server also, write/read access to the profile for the current
user, but i guess these things were already said here but I'm only replying
to your last question without having read most of the rest)

The profile is not needed to be recreated, it already exists on the server.
If you didn't copy it, copy profile from your vista to your home folder
(it's surely better to put it in a separate folder, but OK) without
NTuser.dat and ntuser.forgotextension otherwise it won't work! And don't
forget to reset the user rights on all te files!!

Then do the CompatibleRUPSecurity=dword:0001 fix, but don't do the
WaitForNetwork=dword: if there are profiles bigger than a certain
size (i don't know the size, but when using thunderbird mailboxes  500 mb,
which can happen after a couple of years, Vista will say 'profile not loaded
COMPLETELY instead of profile could not be loaded, because it will break the
transfer when it's tired of waiting.

Without deleleting the old SID (after reinstalling your server, or sometimes
when te user is recreated) in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\ProfileList\ you'll get the profile could not be loaded
error. This really sucks and just shouldn't be true, but it is. When i
transferred to Vista from XP this took me 50! hours (with 6 hours of sleep
inbetween) to find it, because it wasn't on google. Vista should have a tool
for this in control panel, because much users won't find this without being
told. 

To answer your question, the thing that seems to be changed is the SID, and
if it's changed Vista just won't accept your login. You can be really sure
you can't login after doing a reinstallation!

If you still got questions, ask me, without wanting it I had to become an
expert on this subject because I just coulnd't accept the Vista machines
would'nt work like the XP machines, but now they do! I'll reply as soon as
possible.




Andrea Venturoli wrote:
 
 Jean-Jacques Moulis ha scritto:
 
 Hello.
 Sorry for answering so late, but I only had the chance to test this today.
 
 define those keys on clients:
 
 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System]
 WaitForNetwork=dword:
 CompatibleRUPSecurity=dword:0001
 
 I defined the first, since the second was already there.
 This did not solve the problem.
 
 
 
 If you remove %USERPROFILE% (C:\users\john) for an user 
 this user will be subsequently logged in with a temporary profile unless
 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
 NT\CurrentVersion\ProfileList\SID of user
 is also removed.
 
 Sorry, but I do not really understand this.
 Do you mean I should delete the user profile on the client???
 (Obviously I should take a backup before, since this is the only copy I 
 have).
 Then alter the registry to delete its SID?
 
 What then?
 Would Vista generate a new profile where I should restore the afore 
 mentioned backup?
 Would it be roaming this time?
 Why? I mean, what has changed since it generated the current one?
 
 
 
   bye  Thanks
   av.
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba
 
 

-- 
View this message in context: 
http://www.nabble.com/Samba-and-Vista-profile-probs-tp16764249p17651065.html
Sent from the Samba - General mailing list archive at Nabble.com.

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


Re: [Samba] Samba and Vista profile probs

2008-05-07 Thread Andrea Venturoli

Jean-Jacques Moulis ha scritto:

Hello.
Sorry for answering so late, but I only had the chance to test this today.


define those keys on clients:

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System]
WaitForNetwork=dword:
CompatibleRUPSecurity=dword:0001


I defined the first, since the second was already there.
This did not solve the problem.



If you remove %USERPROFILE% (C:\users\john) for an user 
this user will be subsequently logged in with a temporary profile unless

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\SID 
of user
is also removed.


Sorry, but I do not really understand this.
Do you mean I should delete the user profile on the client???
(Obviously I should take a backup before, since this is the only copy I 
have).

Then alter the registry to delete its SID?

What then?
Would Vista generate a new profile where I should restore the afore 
mentioned backup?

Would it be roaming this time?
Why? I mean, what has changed since it generated the current one?



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


Re: [Samba] Samba and Vista profile probs

2008-04-21 Thread Collen Blijenberg

Well i must say, it looks like the removal
of the profile list works. !

but the mentioning of the nt4 policy's not working with vista
was a big bummer...

isn't there an otherway to make policy's work with vista ??
like adding the SYSVOL share orso ??
or using the policy editor of xp/vista in combination with samba.

Thx, Collen


ps for the maillist admin: i get a lot of duplicate mail's from the 
samba list.


Jean-Jacques Moulis wrote:

CB Hi all, I've got some problems with vista sp1 + samba 3.0.28a

CB vista will not save the profiles nor load them. !
CB I'm all familiar with the .V2 thing.
CB vista however does create the profilename.V2 directory, but does not
CB populate it with the data

CB Xp machines work like a charm however.
CB profiles path's are: \\server\profiles\testuser
CB so the problem with the .V2 part is not share related, coz they are a 
CB dir in a share.
CB we do get logged in with a temp profile. so authentication works (little 
CB slow do...)


CB do i need to alter the vista policy's or something ??
CB if i browse manually to the profile share, i will be able to create dirs 
CB and files


define those keys on clients:

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System]
WaitForNetwork=dword:
CompatibleRUPSecurity=dword:0001


If you remove %USERPROFILE% (C:\users\john) for an user 
this user will be subsequently logged in with a temporary profile unless

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\SID 
of user
is also removed.


Unfortunatly Vista doesn't obey Netlogon\NTConfig.pol.
you have to apply policies with other methods.

  


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


Re[2]: [Samba] Samba and Vista profile probs

2008-04-21 Thread Jean-Jacques Moulis
On Mon, 21 Apr 2008 11:23:57 +0200 Collen Blijenberg [EMAIL PROTECTED] wrote:

CB Well i must say, it looks like the removal
CB of the profile list works. !

CB but the mentioning of the nt4 policy's not working with vista
CB was a big bummer...

CB isn't there an otherway to make policy's work with vista ??
CB like adding the SYSVOL share orso ??
CB or using the policy editor of xp/vista in combination with samba.

CB Thx, Collen

One solution is to use Wpkg for this.
Have a look at: http://wpkg.org/Adding_Registry_Settings

Wpkg works well with Vista (if run as SYSTEM) even with UAC enabled.
Wpkg intalls and maintains software on clients computers and is
IMHO an indispensable companion to a samba domain server.

Regards!

-- 
Jean-Jacques   Moulis  Tel:  (013) 281684
ISYFax:  (013) 139282
Linköping UniversityE-mail: [EMAIL PROTECTED]
581 83 Linköping
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba and Vista profile probs

2008-04-19 Thread Andrea Venturoli

Charles Marcus ha scritto:

On 4/18/2008, Andrea Venturoli ([EMAIL PROTECTED]) wrote:


I have \\PDC\username as home dir and \\PDF\username\profile[.V2] there. 


Not a good idea...


The only problems I see with this is that a user can manually access it.
I leave it to them as a responsability: someone even recover their files 
from there in case they happen to delete them by accident.
Sure, sooner or later someone will delete his/her their profile: either 
it will be recreated or I'll get it back from the backup tapes.




MS says you are asking for trouble if you put the profile inside the 
user home ...


I'd also be curious about the rationale behind that...




Profiles shoudl be in etheir own, separate share...


Probably. However, the whole system has been working this way for eight 
yeras or so, without the slighest problem... I'd need more than a rumor 
to convince them to switch...



In any case, this is completely irrelevant wrt Vista  Profiles, since I 
and Collen have different setups and still experience the same prolem.




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


Re: [Samba] Samba and Vista profile probs

2008-04-19 Thread Charles Marcus

On 4/19/2008, Andrea Venturoli ([EMAIL PROTECTED]) wrote:

Charles Marcus ha scritto:

On 4/18/2008, Andrea Venturoli ([EMAIL PROTECTED]) wrote:


I have \\PDC\username as home dir and \\PDF\username\profile[.V2] 
there. 



Not a good idea...


The only problems I see with this is that a user can manually access 
it.


Well, the way I see it, why give users the power to screw something up 
if it isn't necessary? If you do, it is only a matter of *when*, not 
if... I find it strange that you see this as acceptable.


If you don't give someone the opportunity/ability to screw something up, 
then they won't, its that simple.


That said, I did this for a number of years too (although I at least 
made the folder hidden so the user couldn't even see it unless they 
enabled showing hidden files and folders), and had lots of minor, 
occasional file corruption in the user profiles that required a chkdsk 
/f to be run to fix...


These problems completely disappeared when I moved the profiles to their 
own share. At the same time I also redirected the Desktop, Application 
Data and My Documents folders to their home directory, where prior to 
that I had manually pointed their My Documents folder to this share. 
This worked wonderfully to make all of the user profiles extremely 
small, so now logging in/out is very fast, and have had no file 
corruption since.


This was, however, on a real Windows 2000 Domain Controller though... I 
have always run Samba with things set up this way since thats how I 
learned it in the windows world - maybe Samba doesn't have the same 
problem...


Anyway, as I said, it is a free world, and you are free to do things 
however you like, even if it ends up causing yourself unnecessary grief.


--

Best regards,

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


[Samba] Samba and Vista profile probs

2008-04-18 Thread Collen Blijenberg

Hi all, I've got some problems with vista sp1 + samba 3.0.28a

vista will not save the profiles nor load them. !
I'm all familiar with the .V2 thing.
vista however does create the profilename.V2 directory, but does not
populate it with the data

Xp machines work like a charm however.
profiles path's are: \\server\profiles\testuser
so the problem with the .V2 part is not share related, coz they are a 
dir in a share.
we do get logged in with a temp profile. so authentication works (little 
slow do...)


do i need to alter the vista policy's or something ??
if i browse manually to the profile share, i will be able to create dirs 
and files


- smb.conf

[profiles]
   path = /Jordanet/profiles
   guest ok = yes
   browseable = no
   nt acl support = yes
   csc policy = disable
   read only =no

#create mode = 0600
#directory mode = 0700
  
#profile acls = yes

#writable = yes
#inherit permissions = no
#inherit acls = no
#nt acl support = no
#map acl inherit = No

--

Cheers, Collen

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


Re: [Samba] Samba and Vista profile probs

2008-04-18 Thread Jean-Jacques Moulis
CB Hi all, I've got some problems with vista sp1 + samba 3.0.28a

CB vista will not save the profiles nor load them. !
CB I'm all familiar with the .V2 thing.
CB vista however does create the profilename.V2 directory, but does not
CB populate it with the data

CB Xp machines work like a charm however.
CB profiles path's are: \\server\profiles\testuser
CB so the problem with the .V2 part is not share related, coz they are a 
CB dir in a share.
CB we do get logged in with a temp profile. so authentication works (little 
CB slow do...)

CB do i need to alter the vista policy's or something ??
CB if i browse manually to the profile share, i will be able to create dirs 
CB and files

define those keys on clients:

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System]
WaitForNetwork=dword:
CompatibleRUPSecurity=dword:0001


If you remove %USERPROFILE% (C:\users\john) for an user 
this user will be subsequently logged in with a temporary profile unless
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\SID 
of user
is also removed.


Unfortunatly Vista doesn't obey Netlogon\NTConfig.pol.
you have to apply policies with other methods.

-- 
Jean-Jacques   Moulis  Tel:  (013) 281684
ISYFax:  (013) 139282
Linköping UniversityE-mail: [EMAIL PROTECTED]
581 83 Linköping
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba and Vista profile probs

2008-04-18 Thread Andrea Venturoli

Collen Blijenberg ha scritto:

Hi all, I've got some problems with vista sp1 + samba 3.0.28a

vista will not save the profiles nor load them. !
I'm all familiar with the .V2 thing.
vista however does create the profilename.V2 directory, but does not
populate it with the data


Hi. I'm having the same problem and I reported it to the list a while 
ago, but the only answers I got were like it works for us, it should 
for you. (N.B. this is no flame).
I though I was having some specific situation, since I was the only one 
who seemed to experience this; perhaps we could compare our setups and 
hope we can find something common which might be relevant.





Xp machines work like a charm however.
profiles path's are: \\server\profiles\testuser


I have \\PDC\username as home dir and \\PDF\username\profile[.V2] there.



so the problem with the .V2 part is not share related, coz they are a 
dir in a share.


Same here. Vista creates the profile.v2 directory and permissions seem fine.



we do get logged in with a temp profile. so authentication works (little 
slow do...)


Auhtentication is not an issue here, since the user can access every 
share he should.





do i need to alter the vista policy's or something ??


I tried every trick Google and the samba mailing lists could provide, 
but still no luck.




I have:
_ FreeBSD 6.2/i386 + samba 3.0.28,1 PDC;
_ FreeBSD 6.3/amd64 + samba 3.0.28,1 BDC;
_ replicated OpenLDAP backend;
_ profiles in home dirs on PDC;
_ more than 30 2000/XP professional machines running perfectly;
_ 1 Vista Business laptop which refuse to roam profiles.

Here's my PDC's smb.conf:
[global]
debug level = 1
passwd program=/usr/bin/passwd %u
unix password sync=false
workgroup = 
server string = x
hosts allow = 192.168.xxx. 127.
load printers = no
max log size = 5000
security = user
encrypt passwords = yes
socket options = TCP_NODELAY
interfaces = fxp0 192.168.xxx.1/24
local master = yes
os level = 255
domain master = yes
preferred master = yes
domain logons = yes
logon script=netlogon.cmd
wins support = yes
wins proxy = yes
dns proxy = yes
ldap admin dn=xx
ldap ssl=off
ldap suffix=x
passdb backend=ldapsam_compat
host msdfs = no
[homes]
writeable = yes
follow symlinks=no
browseable=no
msdfs root = no
[netlogon]
   path = /usr/local/etc/netlogon
   browseable=no
   follow symlinks=no
...


 bye  Thanks
av.

P.S. netlogon scripts works too.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba and Vista profile probs

2008-04-18 Thread Charles Marcus

On 4/18/2008, Andrea Venturoli ([EMAIL PROTECTED]) wrote:


I have \\PDC\username as home dir and \\PDF\username\profile[.V2] 
there. 


Not a good idea...

MS says you are asking for trouble if you put the profile inside the 
user home ...


Profiles shoudl be in etheir own, separate share...

--

Best regards,

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


Re: [Samba] Samba and Vista profile probs

2008-04-18 Thread John Drescher
  Not a good idea...

  MS says you are asking for trouble if you put the profile inside the user
 home ...

I have seen that however we have had it that way with samba for at
least 6 years without a single problem.

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


Re: [Samba] Samba and Vista profile probs

2008-04-18 Thread Charles Marcus

On 4/18/2008 5:12 PM, John Drescher wrote:

 Not a good idea...

MS says you are asking for trouble if you put the profile inside
the user home ...


I have seen that however we have had it that way with samba for at 
least 6 years without a single problem.


Hopefully you're knocking on wood right now...

The way I see it, no sense in living dangerously... its not like its 
hard to use a separate share...


But its a free world, no?  :)

--

Best regards,

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


Re: [Samba] Samba and Vista profile probs

2008-04-18 Thread John Drescher
  Hopefully you're knocking on wood right now...

No. I am not at all worried.

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