Re: MacPorts is hijacking account on MacOSXServer

2011-08-03 Thread Rainer Müller
Hello Kevin, On 07/28/2011 07:50 PM, kevin beckford wrote: You should familiarize yourself with the operating system you are tasked with writing software on in that case. Or, say "We did not bother to do our homework, don't use our stuff." You said the same thing about git. Ignorance is hardly

Re: MacPorts is hijacking account on MacOSXServer

2011-08-01 Thread Ryan Schmidt
On Jul 28, 2011, at 12:50, kevin beckford wrote: >> I am not familiar with "mobile accounts". >> > > You should familiarize yourself with the operating system you are > tasked with writing software on in that case. Or, say "We did not > bother to do our homework, don't use our stuff." You said

Re: MacPorts is hijacking account on MacOSXServer

2011-08-01 Thread David L Ballenger
Okay, that worked. I deleted the previously created macports user and group and did a Subversion install. This time the user's UniqueID was the first unused ID above 500 instead of above the highest in-use UniqueID. On my laptop that is an Open Directory network/mobile account with a Unique

Re: MacPorts is hijacking account on MacOSXServer

2011-07-29 Thread Joshua Root
On 2011-7-26 12:21 , James Berry wrote: > > What if MacPorts were simply always to try to find an unused id in the range > 500 - 1000, using whatever algorithm is convenient? I've committed a fix: Could someone with an affected configuration please te

Re: MacPorts is hijacking account on MacOSXServer

2011-07-26 Thread Jordan K. Hubbard
On Jul 26, 2011, at 2:00 PM, Daniel J. Luke wrote: > http://article.gmane.org/gmane.os.apple.macports.devel/1059/match=uid This thread does make it seem, however, that rather than just declaring a reserved range for Apple, we need to put some more thought into what a "sensible default policy"

Re: MacPorts is hijacking account on MacOSXServer

2011-07-26 Thread David L Ballenger
I'd vote for that as long as that is less than 1000 so as not to conflict with the Directory Administrator account. It's what I was suggesting in one of my emails, but maybe wasn't so clear about it. - David On Jul 25, 2011, at 7:21 PM, James Berry wrote: > > What if MacPorts were simply al

Re: MacPorts is hijacking account on MacOSXServer

2011-07-26 Thread Daniel J. Luke
On Jul 26, 2011, at 4:01 PM, Titus von Boxberg wrote: > > With google I failed to find that uids < 500 should be reserved, > except, funny enough, in a macports trac entry. http://article.gmane.org/gmane.os.apple.macports.devel/1059/match=uid -- Daniel J. Luke

Re: MacPorts is hijacking account on MacOSXServer

2011-07-26 Thread Titus von Boxberg
Am 26.07.2011 um 16:50 schrieb Daniel J. Luke: > On Jul 26, 2011, at 12:48 AM, Titus von Boxberg wrote: >> >> Am 26.07.2011 um 06:45 schrieb Ryan Schmidt: >>> >>> On Jul 25, 2011, at 23:43, Titus von Boxberg wrote: Why not make sure the number is below 500? That's the normal range for

Re: MacPorts is hijacking account on MacOSXServer

2011-07-26 Thread Jeremy Lavergne
Looks like it's perhaps time to add a configure flag for bounding the UIDs. Easy approach employed by those who need it, ignored by everyone else. ___ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listin

Re: MacPorts is hijacking account on MacOSXServer

2011-07-26 Thread Daniel J. Luke
On Jul 26, 2011, at 12:48 AM, Titus von Boxberg wrote: > > Am 26.07.2011 um 06:45 schrieb Ryan Schmidt: >> >> On Jul 25, 2011, at 23:43, Titus von Boxberg wrote: >>> Why not make sure the number is below 500? >>> That's the normal range for daemon users. >> >> For one thing, because MacPorts isn

Re: MacPorts is hijacking account on MacOSXServer

2011-07-25 Thread Titus von Boxberg
Am 26.07.2011 um 06:45 schrieb Ryan Schmidt: > > On Jul 25, 2011, at 23:43, Titus von Boxberg wrote: > >> Why not make sure the number is below 500? >> That's the normal range for daemon users. > > For one thing, because MacPorts isn't a daemon. s/daemon/system/g What are the other things, the

Re: MacPorts is hijacking account on MacOSXServer

2011-07-25 Thread Ryan Schmidt
On Jul 25, 2011, at 23:43, Titus von Boxberg wrote: > Why not make sure the number is below 500? > That's the normal range for daemon users. For one thing, because MacPorts isn't a daemon. ___ macports-dev mailing list macports-dev@lists.macosforge.

Re: MacPorts is hijacking account on MacOSXServer

2011-07-25 Thread Titus von Boxberg
Am 26.07.2011 um 04:21 schrieb James Berry: > > On Jul 25, 2011, at 7:16 PM, Rodolfo Aramayo wrote: > >> David is right. This is a hard issue and believe me I have burn many, >> many candles during Holidays and weekends trying to solve userIDs >> conflicts in MacOSServers. > > What if MacPorts w

Re: MacPorts is hijacking account on MacOSXServer

2011-07-25 Thread James Berry
On Jul 25, 2011, at 7:16 PM, Rodolfo Aramayo wrote: > David is right. This is a hard issue and believe me I have burn many, > many candles during Holidays and weekends trying to solve userIDs > conflicts in MacOSServers. > > It looks to me that MacPorts installer has these options: > > 1. Look

Re: MacPorts is hijacking account on MacOSXServer

2011-07-25 Thread David L Ballenger
On Jul 25, 2011, at 5:50 PM, Scott Webster wrote: > On Mon, Jul 25, 2011 at 5:43 PM, David L Ballenger > wrote: >> - Install macports on client B, macports created as local account on B with >> UID 1042. >> - Create another OD account, it gets UID 1042 since WorkGroup Manager can't >> see >>

Re: MacPorts is hijacking account on MacOSXServer

2011-07-25 Thread David L Ballenger
The "." in the dscl command specifies the local directory domain. If you change that "." in the dscl command to "/Search" it will pickup the OD Users as well as the local users of the current system. However, just doing that won't fix the problem since it can then still create a local accoun

Re: MacPorts is hijacking account on MacOSXServer

2011-07-25 Thread Bradley Giesbrecht
On Jul 25, 2011, at 4:18 PM, Rodolfo Aramayo wrote: > On Mon, Jul 25, 2011 at 18:10, Rainer Müller wrote: >> On 2011-07-26 00:53 , Daniel J. Luke wrote: >>> On Jul 25, 2011, at 6:26 PM, David L Ballenger wrote: On my laptop, which is connected to my Open Directory domain, my personal a

Re: MacPorts is hijacking account on MacOSXServer

2011-07-25 Thread David L Ballenger
On Jul 25, 2011, at 3:53 PM, Daniel J. Luke wrote: > On Jul 25, 2011, at 6:26 PM, David L Ballenger wrote: >> >> I'm assuming that the process is to find the highest unused UniqueID in >> the local directory and use the next ID. For systems with with no mobile >> accounts and not a lot of users

Re: MacPorts is hijacking account on MacOSXServer

2011-07-25 Thread Rainer Müller
On 2011-07-26 00:53 , Daniel J. Luke wrote: > On Jul 25, 2011, at 6:26 PM, David L Ballenger wrote: >> On my laptop, which is connected to my Open Directory domain, my personal >> account is set up as a mobile accoun, which means I have an account int the >> local domain with a UID of 1025 and mac

Re: MacPorts is hijacking account on MacOSXServer

2011-07-25 Thread Jeff Johnson
On Jul 25, 2011, at 6:26 PM, David L Ballenger wrote: > > On my laptop, which is connected to my Open Directory domain, my personal > account is set up as a mobile accoun, which means I have an account int the > local domain with a UID of 1025 and macports got an ID of 1026. That meant > that

Re: MacPorts is hijacking account on MacOSXServer

2011-07-25 Thread Daniel J. Luke
On Jul 25, 2011, at 6:26 PM, David L Ballenger wrote: > > I'm assuming that the process is to find the highest unused UniqueID in > the local directory and use the next ID. For systems with with no mobile > accounts and not a lot of users that's probably somewhere in the 500's. well, it does a l

Re: MacPorts is hijacking account on MacOSXServer

2011-07-25 Thread David L Ballenger
On Jul 25, 2011, at 2:09 PM, Rainer Müller wrote: > On 2011-07-25 21:44 , Rodolfo Aramayo wrote: >> The latest installation of MacPorts is taking over mobile accounts on >> MacOSXServer > > AFAIK mobile account means they have a home exported over the network? > I am not sure if it is NIS/yp, bu

Re: MacPorts is hijacking account on MacOSXServer

2011-07-25 Thread Rainer Müller
On 2011-07-25 21:44 , Rodolfo Aramayo wrote: > The latest installation of MacPorts is taking over mobile accounts on > MacOSXServer AFAIK mobile account means they have a home exported over the network? I am not sure if it is NIS/yp, but is this a similar solution? > Obviously the installer does

Re: MacPorts is hijacking account on MacOSXServer

2011-07-25 Thread Ryan Schmidt
On Jul 25, 2011, at 14:44, Rodolfo Aramayo wrote: > IMPORTANT > > For those if you running MacPorts on MacOSXServers...be aware! > > The latest installation of MacPorts is taking over mobile accounts on > MacOSXServer > > Obviously the installer does not determine the presence of 'mobile' > ac