Re: [Samba] Change user IDs on Samba PDC
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/04/2007 08:42 PM, Marco De Vitis wrote: Hi, I've got a Samba 3.0.24 Debian server which I'm currently moving to a new hardware. It uses tdbsam as password backend. So, while looking at configuration files, I was thinking: is there a way I could change the Unix UIDs for some users, without breaking anything? That's a little bit of a hard guess. Windows can be an wild environment, and profiles can be even wilder. :-) The problem is that, since migrating from a different Linux distribution a long time ago, I still have some UIDs and GIDs which do not follow the related Debian policy (http://www.debian.org/doc/debian-policy/ch-opersys.html), i.e. they are well below 1000 (from 500 and up for UIDs, but as low as 200 for GIDs). I would be happy if I could simply change the user IDs (or delete and create the Linux users again), fix file ownerships where needed, and then run Samba with no other change. On the other hand, if this is really impossible, I suppose I can live with it... Any info? Thanks. AFAICT, when you change the uid you will need to change the sambaSID and that would break the profile. You can definetely migrate the profiles (but sorry, I can't give you much info, since I never migrate user profiles). PS: actually, I suppose I could simple delete both Linux and Samba users and create them again, as long as I know their passwords or inform the human users that they have to enter a new password... but what happens to their roaming profiles? Are they completely lost? Can't I reuse them by just changing file ownerships? There is a great chance that with new sid the workstation will create a new profile, isn't anything in the Samba Official HOWTO (Desktop Profile Management Chapter) about this? Kind regards, - -- Felipe Augusto van de Wiel [EMAIL PROTECTED] Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF7BncCj65ZxU4gPQRAiBDAJ0UMRw3s7DCNqy83NJebaJ/Vy52UwCfSJz4 WPGYzD9Ofx9MiZulWk90gHg= =5DQG -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Change user IDs on Samba PDC
Monday 05 of March 2007 14:23:40 Felipe Augusto van de Wiel napisał(a): On 03/04/2007 08:42 PM, Marco De Vitis wrote: Hi, I've got a Samba 3.0.24 Debian server which I'm currently moving to a new hardware. It uses tdbsam as password backend. So, while looking at configuration files, I was thinking: is there a way I could change the Unix UIDs for some users, without breaking anything? That's a little bit of a hard guess. Windows can be an wild environment, and profiles can be even wilder. :-) If only uid is gonna changed then should be OK, but if SID .. ooo that's gonna hurt :( or maybe I've missed something but in my case changing SID was related to creating NEW profile because this fu.. win2k doesn't allow to change SID in other way. So try and give us the hint ;) Regards, Marcin The problem is that, since migrating from a different Linux distribution a long time ago, I still have some UIDs and GIDs which do not follow the related Debian policy (http://www.debian.org/doc/debian-policy/ch-opersys.html), i.e. they are well below 1000 (from 500 and up for UIDs, but as low as 200 for GIDs). I would be happy if I could simply change the user IDs (or delete and create the Linux users again), fix file ownerships where needed, and then run Samba with no other change. On the other hand, if this is really impossible, I suppose I can live with it... Any info? Thanks. AFAICT, when you change the uid you will need to change the sambaSID and that would break the profile. You can definetely migrate the profiles (but sorry, I can't give you much info, since I never migrate user profiles). PS: actually, I suppose I could simple delete both Linux and Samba users and create them again, as long as I know their passwords or inform the human users that they have to enter a new password... but what happens to their roaming profiles? Are they completely lost? Can't I reuse them by just changing file ownerships? There is a great chance that with new sid the workstation will create a new profile, isn't anything in the Samba Official HOWTO (Desktop Profile Management Chapter) about this? Kind regards, -- Felipe Augusto van de Wiel [EMAIL PROTECTED] Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300) -- ARISE M.Giedz, T.Żebruń sp.j. http: www.arise.pl mail: [EMAIL PROTECTED] tel: +48 502 537 157 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Change user IDs on Samba PDC
Hi, I've got a Samba 3.0.24 Debian server which I'm currently moving to a new hardware. It uses tdbsam as password backend. So, while looking at configuration files, I was thinking: is there a way I could change the Unix UIDs for some users, without breaking anything? The problem is that, since migrating from a different Linux distribution a long time ago, I still have some UIDs and GIDs which do not follow the related Debian policy (http://www.debian.org/doc/debian-policy/ch-opersys.html), i.e. they are well below 1000 (from 500 and up for UIDs, but as low as 200 for GIDs). I would be happy if I could simply change the user IDs (or delete and create the Linux users again), fix file ownerships where needed, and then run Samba with no other change. On the other hand, if this is really impossible, I suppose I can live with it... Any info? Thanks. PS: actually, I suppose I could simple delete both Linux and Samba users and create them again, as long as I know their passwords or inform the human users that they have to enter a new password... but what happens to their roaming profiles? Are they completely lost? Can't I reuse them by just changing file ownerships? -- Ciao, Marco. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba