Re: [Samba] roaming profil problem

2004-06-07 Thread Fabrice Tereszkiewicz
I don't think it's a charset problem, Im already in utf-8 on the new
samba server. And this shouldn't explain the reason why a user with
local administrator rights is able to get his roaming profile.

I'm still searching, thanks

Fabrice Tereszkiewicz


Le ven 04/06/2004 à 21:35, [EMAIL PROTECTED] a écrit :
 
 
 
 What character set are you using?? I has this problem cause my samba 2.x
 was using ascii and when I upgrade, the samba 3.x was using utf-8.
 The conversion between charsets failed and the profiles coud not be load...
 ---
 Emerson Henrique Kfuri Pereira
 
 Divisão de Atendimento e Consultoria
 CECOM - Reitoria - UFMG
 Telefone: 34994009
 ---
 
 [EMAIL PROTECTED] wrote on 04/06/2004
 13:31:35:
 
  It didn't work. A user without local administrator's rights can't use
  his old roaming profile. I've changed the samba SID to fit with the one
  in the NTUSER.dat file, didn't work anymore.
 
  any other ideas ?
 
  Fabrice TERESZKIEWICZ
 
  Le ven 04/06/2004 à 18:03, Greg Folkert a écrit :
   On Fri, 2004-06-04 at 10:12, Fabrice Tereszkiewicz wrote:
hello,
   
I've got a strange problem after an upgrade to samba 3. The existing
profils are now unavailable for users, depending on their local
 rights.
   
If the user is locally admin, his profil is succesfully loaded on
 login.
Else there's no error, but the profil isn't loaded. The samba logs
 don't
show anything special, but i can send them if someone want it.
   
If I create new users, everything's fine with them, they don't need
 to
be locally declared, and their profils are ok.
  
   Read the second part about the gpedit stuff.
   http://nic.phys.ethz.ch/readme/45
  
 
  --
  To unsubscribe from this list go to the following URL and read the
  instructions:  http://lists.samba.org/mailman/listinfo/samba--
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba

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


Re: [Samba] roaming profil problem

2004-06-07 Thread Fabrice Tereszkiewicz
I've changed the UNIX perms, still the same problem.

thanks


Le sam 05/06/2004 à 03:48, Greg Folkert a écrit :
 On Fri, 2004-06-04 at 12:31, Fabrice Tereszkiewicz wrote:
  It didn't work. A user without local administrator's rights can't use
  his old roaming profile. I've changed the samba SID to fit with the one
  in the NTUSER.dat file, didn't work anymore.
  
  any other ideas ?
 
 I have fixed it by using UNIX perms as well.
 
 chown -R username.sambadomainadmingroup /dir/where/profiles/are/username
 
 chomd -R 750 /dir/where/profiles/are/username
 
 
 That usually takes care of it also. Did and does for me. The
 samdadomainadmingroup is the group that is the equiv of the NT
 domain-admins.

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


Re: [Samba] roaming profil problem

2004-06-07 Thread Fabrice Tereszkiewicz
it works !

I finally found that the problem deals with the UserSID. The NTUSER.DAT
file in the profile directory is available only for the local
administrator and for the old UserSID.

I have to upgrade the perms of the NTUSER.DAT files to match with the
new UserSID.


this can be done with this simple script :


PROFILES_DIR=/home/profiles
   
   
for USER in `ls $PROFILES_DIR`; do
echo utilisateur : $USER
   
   
SIDvieux=`profiles $PROFILES_DIR/$USER/NTUSER.DAT | grep -m 1 Perms |
grep 1-5-21 | cut -f 3 -d ':' | sed s/ //g`
SIDnouveau=`pdbedit -v $USER | grep User | grep S-1-5 | cut -d ':' -f 2
| sed s/ //g`
   
   
echo Ancien SID : $SIDvieux, nouvel SID : $SIDnouveau
   
   
echo Mettre à jour ? [o/n]
read CHOIX
if [ $CHOIX = o ]; then
profiles -c $SIDvieux -n $SIDnouveau $PROFILES_DIR/$USER/NTUSER.DAT
echo Mise à jour de $USER
else
echo Pas de mise à jour de $USER
fi
done

--

thanks for your help,

Fabrice Tereszkiewicz


Le lun 07/06/2004 à 10:45, Fabrice Tereszkiewicz a écrit :
 I've changed the UNIX perms, still the same problem.
 
 thanks
 
 
 Le sam 05/06/2004 à 03:48, Greg Folkert a écrit :
  On Fri, 2004-06-04 at 12:31, Fabrice Tereszkiewicz wrote:
   It didn't work. A user without local administrator's rights can't use
   his old roaming profile. I've changed the samba SID to fit with the one
   in the NTUSER.dat file, didn't work anymore.
   
   any other ideas ?
  
  I have fixed it by using UNIX perms as well.
  
  chown -R username.sambadomainadmingroup /dir/where/profiles/are/username
  
  chomd -R 750 /dir/where/profiles/are/username
  
  
  That usually takes care of it also. Did and does for me. The
  samdadomainadmingroup is the group that is the equiv of the NT
  domain-admins.

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


Re: [Samba] roaming profil problem

2004-06-04 Thread Fabrice Tereszkiewicz
It didn't work. A user without local administrator's rights can't use
his old roaming profile. I've changed the samba SID to fit with the one
in the NTUSER.dat file, didn't work anymore.

any other ideas ?

Fabrice TERESZKIEWICZ

Le ven 04/06/2004 à 18:03, Greg Folkert a écrit :
 On Fri, 2004-06-04 at 10:12, Fabrice Tereszkiewicz wrote:
  hello,
  
  I've got a strange problem after an upgrade to samba 3. The existing
  profils are now unavailable for users, depending on their local rights. 
  
  If the user is locally admin, his profil is succesfully loaded on login.
  Else there's no error, but the profil isn't loaded. The samba logs don't
  show anything special, but i can send them if someone want it.
  
  If I create new users, everything's fine with them, they don't need to
  be locally declared, and their profils are ok.
 
 Read the second part about the gpedit stuff.
 http://nic.phys.ethz.ch/readme/45
 

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


Re: [Samba] roaming profil problem

2004-06-04 Thread daves-jr





What character set are you using?? I has this problem cause my samba 2.x
was using ascii and when I upgrade, the samba 3.x was using utf-8.
The conversion between charsets failed and the profiles coud not be load...
---
Emerson Henrique Kfuri Pereira

Divisão de Atendimento e Consultoria
CECOM - Reitoria - UFMG
Telefone: 34994009
---

[EMAIL PROTECTED] wrote on 04/06/2004
13:31:35:

 It didn't work. A user without local administrator's rights can't use
 his old roaming profile. I've changed the samba SID to fit with the one
 in the NTUSER.dat file, didn't work anymore.

 any other ideas ?

 Fabrice TERESZKIEWICZ

 Le ven 04/06/2004 à 18:03, Greg Folkert a écrit :
  On Fri, 2004-06-04 at 10:12, Fabrice Tereszkiewicz wrote:
   hello,
  
   I've got a strange problem after an upgrade to samba 3. The existing
   profils are now unavailable for users, depending on their local
rights.
  
   If the user is locally admin, his profil is succesfully loaded on
login.
   Else there's no error, but the profil isn't loaded. The samba logs
don't
   show anything special, but i can send them if someone want it.
  
   If I create new users, everything's fine with them, they don't need
to
   be locally declared, and their profils are ok.
 
  Read the second part about the gpedit stuff.
  http://nic.phys.ethz.ch/readme/45
 

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


Re: [Samba] roaming profil problem

2004-06-04 Thread Greg Folkert
On Fri, 2004-06-04 at 12:31, Fabrice Tereszkiewicz wrote:
 It didn't work. A user without local administrator's rights can't use
 his old roaming profile. I've changed the samba SID to fit with the one
 in the NTUSER.dat file, didn't work anymore.
 
 any other ideas ?

I have fixed it by using UNIX perms as well.

chown -R username.sambadomainadmingroup /dir/where/profiles/are/username

chomd -R 750 /dir/where/profiles/are/username


That usually takes care of it also. Did and does for me. The
samdadomainadmingroup is the group that is the equiv of the NT
domain-admins.
-- 
[EMAIL PROTECTED]
REMEMBER ED CURRY! http://www.iwethey.org/ed_curry

Novell's Directory Services is a competitive product to Microsoft's
Active Directory in much the same way that the Saturn V is a competitive
product to those dinky little model rockets that kids light off down at
the playfield. -- Thane Walkup


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba