Mac OS X Lion (version 10.7) is the eighth major release of OS X, Apple's desktop and server operating system for Macintosh computers.

learn more… | top users | synonyms

8
votes
2answers
1k views

Mac OS X Lion - forward all connections on port 22 to external ip [closed]

I need to forward all connection to any address port 22 to a different gateway (i.e. no default). Firstly I suppose to do it with ipfw: sudo ipfw add 5 fwd $EXTERNAL_IP,22 tcp from any to any 22 ...
7
votes
1answer
2k views

NGINX on OSX - Performing terribly slow

I I've been trying to get NGINX up and running on my OSX 10.7 Lion computer. I have it running however simple html pages every few are taking a long time to load; for example: <html> ...
7
votes
0answers
100 views

OS X Lion machines will continually query Active Directory 2008 for every user in the directory [closed]

We are having a problem where our OS X Lion machines will continually query Active Directory 2008 for every user in the directory until a user logs into the machine. When a user logs into the machine, ...
6
votes
2answers
3k views

Modifying kernel shared memory settings on a lion install

What's the location of the sysctl.conf file on lion? In Snow Leopard it was in /etc/sysctl.conf but now that folder doesn't contain it anymore. Searching for the file in spotlight yields no results. ...
4
votes
4answers
1k views

Get the interface and ip address used to connect to a specific host (ip)

I'm sure this has been asked and answered before, but I wasn't able to find it, so hopefully this will at least link someone to the right place. I want to find out my local interface and ip address ...
4
votes
3answers
12k views

Active Directory password update not recognized on OS X 10.7.3?

We have a few Macs in our office which are bound to our Active Directory (Server 2k8R2) domain for login authentication and access to file shares. For the most part this has worked without trouble. I ...
4
votes
1answer
2k views

Share Point ACL on OSX Lion Server - Posix group always takes over ACLs

Trying to configure a share point on a Lion Server machine. The directory is created by the local server admin (serveradmin) and has rwxr-x--- given to it. The serveradmin user belongs to the local ...
3
votes
1answer
1k views

I/O redirection in OS X Lion

I have a script that used to work, which relies on sending commands (file names to be processed in fact) to a process listening on a port, using TCP. So I can fire it up and tell it to listen on, say ...
3
votes
1answer
981 views

Joining an OS X 10.7 client to a 10.x Server on the command line

I have a Mac server that I can join clients to using System Preferences -> Users and Groups -> Login Options -> Network Account Server. However, I'd like to do this remotely without having to touch ...
3
votes
2answers
582 views

OS X 10.7 doesn't detect my WPA2 Enterprise server-side password changes

I have a Meraki wifi network that's authenticating via RADIUS to an Active Directory. Users log in with their AD username and password via WPA2. That all works. However, when a user changes their ...
3
votes
1answer
2k views

Why isn't ipfw correctly limiting the bandwidth?

I've played around with the ipfw command on a Mac and tried to limit the bandwidth to 1MBit/s. sudo ipfw add pipe 1 ip from any to me sudo ipfw pipe 1 config bw 1MBit/s These are the statements I'm ...
2
votes
1answer
4k views

Monit won't start: “Cannot translate '<hostname>' to FQDN name — nodename nor servname provided”

I installed monit-5.3.2 on OS X 10.7 but haven't been able to get it running. When I run sudo monit -t I get: monit: Cannot translate 'hakan' to FQDN name -- nodename nor servname provided, or not ...
2
votes
3answers
849 views

OSX lion server, software update service can't connect to apple

I have a somewhat unique lion server setup, but it's experiencing a couple issues. The main goal is to provide a transparent update server for computers on the network, but to allow them to default ...
2
votes
2answers
3k views

Add multiple Time Machine shares in Mac OS X Lion server?

Under Mac OS X 10.6 Server (and perhaps older), when setting up a share I had an option I could check to make the share available as a TimeMachine backup location. By doing so, I could have multiple ...
2
votes
2answers
770 views

How are group ids assigned?

I want to create a developers group on my OS-X system. I'm executing: sudo dscl . -create /groups/developers sudo dscl . -append /groups/developers passwd 'blah' My understanding from reading ...
2
votes
1answer
190 views

Migrating from OS X Server 10.6.6 to 10.7 (Lion) - any worries?

I use the built-in server features of OS X Snow Leopard Server to run a local copy of Apache, MySQL, PHP, and Perl. I develop against these so it is very important to me that they stay available after ...
2
votes
5answers
2k views

SVN command works in shell but not in cron. Why not?

I use cron to run an 'svn up' nightly on a directory of files that I need to keep up to date locally while others are working on them. This used to work fine, with a simple: /usr/bin/svn up ...
2
votes
3answers
7k views

How do I debug / fix my apache SSL setup?

The Goal: set up a server that can receive https and http requests from a domain, and forwarded to the rails app running on the server. The rails app is running on localhost:3002, and all attempts ...
2
votes
2answers
2k views

Resetting root password for MySQL problems (Mac OS X Lion)

I've been trying to reset the root password, and have been following these instructions: http://www.coolestguyplanet.net/how-to-change-the-mysql-root-password/ However, when I use the command: ...
2
votes
1answer
671 views

Mount VHD from Rackspace, with Windows 7 or Mountain Lion

I'm trying to explore the contents of a VHD form a backup of my Rackspace server. Any idea on how I might be able to mount it and explore it's contents? I've tried using the Computer Management tool ...
2
votes
2answers
162 views

On OS X Server, only admin users can access email

In OS X Lion Server, when I create admin users via the workgroup manager, they are allowed to log in remotely via ssh and they get email served by dovecot. However, if I remove the option "user can ...
2
votes
1answer
471 views

Resetting root password for MySQL problems (Mac OS X Lion)

I've been trying to reset the root password, and have been following these instructions: http://www.coolestguyplanet.net/how-to-change-the-mysql-root-password/ However, when I use the command: ...
2
votes
2answers
3k views

Could not open the requested SVN filesystem

When i go to http://localhost/repo/myproject/ and enter password this information is displayed: This XML file does not appear to have any style information associated with it. The document tree is ...
2
votes
1answer
421 views

How to get around OS X Lion Server SMB “safe save”?

First, there is this problem: http://support.apple.com/kb/TS4149 Which says that anything copied to os x server via smb will be "safe saved" and essentially chmod to 600. This is extremely annoying ...
2
votes
0answers
151 views

How can I specify which IP address is used for outbound traffic in OS X Lion Server with multiple WAN IPs?

I have a Mac Mini Server running OS X 10.7.4 (Lion). I am using the ethernet port for the LAN and I have a USB->Ethernet adapter for the WAN. I have assigned two external IPs to the USB->Ethernet ...
2
votes
0answers
294 views

Macs to work on 802.1X wired network

We are in the process on 802.1X for all our wired clients. We are using NPS on Server 2008R2 as our Radius server. All our windows clients authenticate using just a computer certificate issued by our ...
2
votes
1answer
346 views

OS X Lion Server not able to set Open Directory user account to store home directory on server

I'm setting up a new Mac Mini server for a client that came with Lion Server. The Mac Mini will act as an Open Directory server and will store each Mac user in the office's home directory on it. It's ...
1
vote
3answers
574 views

Mac OSX Lion: Switch on SMB share depending on network connection

we have a Scanner that can save the scanned documents to an SMB share. So I need to switch on SMB sharing on the Mac - should be no problem. Issue: The Mac is a MacBook, which will also be used in ...
1
vote
3answers
6k views

Office 2011, Mac OS Lion, Excel creates temporary file on Windows server 2008, SMB share how to stop?

I have an issue with Macs and a windows SMB share, when using Excel 2011. If I open an excel document from the windows share it will create a "Ghost file" starting with ~$ then the full filename e.g ...
1
vote
5answers
10k views

Adding Lion client to win2008 Active Directory "Unable to add server. Node name wasn’t found. (2000)”

I try and bind a Mac running 10.7.3 to a Windows 2008 active directory using System Preferences and Directory Utility. It comes back saying "Unable to add server. Node name wasn’t found. (2000)”. ...
1
vote
2answers
3k views

vagrant up command very slow on OS X Lion

When I run vagrant up to provision a new VM on Lion it takes an extremely long time, during which the entire Mac is very laggy and unresponsive. The output is as follows, the key point being the ...
1
vote
2answers
632 views

reset root password in mysql without access to mysql table [duplicate]

Possible Duplicate: reseting mysql root password I am having an issue on OS X 10.7.5 as I used to use MAMP but for .htaccess issues I am now using my own compiled local server from a long ...
1
vote
1answer
2k views

Cannot access psql after installing postgres

I installed postgresql via homebrew on my 10.7.3. The install seemed successful and I was able to start up the server. However when I try to access psql I get the following error: psql: FATAL: role ...
1
vote
1answer
509 views

multiple postgresql installations in osx

I have multiple installations of postgres on my machine, and would like to narrow down to a single installation (macports flavor). I believe that OSX comes shipped with some sort of package, but I am ...
1
vote
1answer
216 views

Can I use Open Directory with a Leopard client and a Lion server?

I've looked around on the interwebs but I can't find any sort of answer. I just picked up a Mac Mini and I'm going to throw Lion Server on it for my network. Most of my computers are running either ...
1
vote
1answer
985 views

Setting up Jenkins and permission issues

I have set up Jenkins on my Mac lion however I am having my share of issues. I am able to connect and download the SVN file repository however as part of my shell build script, I have to do an SVN ...
1
vote
1answer
3k views

Redirect URL using Mac OS X Server Lion

I have just set up a Mac Mini with OS X Lion Server to host my own website. I have registered multiple domain names, but I would like the user to be automatically redirected to my main domain name if ...
1
vote
1answer
909 views

Remove MySQL (from Apple) on OS X Server Lion

I have a Lion Server (upgraded from a Snow Leopard Server), which still has the Apple provided MySQL 5.0 server [mysql Ver 14.12 Distrib 5.0.92, for apple-darwin10.0 (i386)]. Without out rebuilding ...
1
vote
2answers
2k views

“Password Server: Stopped” on Mac OS Lion Server. Stops with error -1 during startup

Since I've restored the Open Directory from an archive because my Server crashed and the DB was corrupt. The password server does not start anymore. The log looks like this: Feb 14 2012 21:41:20 ...
1
vote
2answers
3k views

Apache Tomcat run on port 80 on Mac Lion. It says the port are used?

I need to have a homepage running on my Mac that external users can use. I thought the easiest way, was to make Apache Tomcat running on port 80. But when i try it says that the port are in use. I ...
1
vote
1answer
132 views

Local transparent proxy OS X pf

I was trying to create local transparent proxy using this pf rules: rdr pass inet proto tcp from $Out to any port 80 -> 127.0.0.1 port 3129 pass out on $Out route-to lo0 inet proto tcp from $Out ...
1
vote
1answer
48 views

Server App - Users

I'm using mac OSX lion server, and I'm trying to setup a user account with access to different services. I had to create the user in Prefs > users and groups, because it wouldn't work in the Server ...
1
vote
0answers
256 views

Open Directory authenticated bind succeeds, but creates incomplete record

I have about a dozen Macs running 10.6.7 or 10.6.8, which are all failing to bind properly to my new 10.7.4 Server OD. I can bind them just fine via Directory Utility or dsconfigldap, and it reports ...
1
vote
0answers
671 views

MAC OS X VPN client / Certificates / Cisco ASA series

I spent a lot of time surfing the web for the solution, but alas, so I finally concluded that this might be an interesting topic to discover. Here's the task: 1. I need to establish VPN connection ...
1
vote
0answers
161 views

Migrate calendar data from Snow Leo server to Lion server

I have a big problem that doesn't seem to be covered by the migration documentation from Apple. I installed a fresh Lion server on a backup MacMini and I started migrating services. Wiki and OD ...
1
vote
0answers
343 views

OSX Lion SFTP Chroot

I am looking to allow my SFTP users on my OSX Lion box to be chrooted so they cannot see anything else. I know about the usual changes in the sshd_config that match the user and set the chroot ...
1
vote
0answers
352 views

OS X 10.7 Application whitelist for user mcx is disallowing system services and child processes

I use managed preferences in 10.6 to restrict user accounts, including allowed applications, to allowed folders. This works by allowing the *.app folder for individual applications or other folders ...
1
vote
0answers
1k views

Problems with multicast under Mac OSX Lion

We have been developing our Java applications under OSX for some time. Since switching to OSX Lion (version 10.7.1 now), we see sporadic issues around multicast packets going into the bit bucket and ...
1
vote
1answer
441 views

Unattended silent install of Java on OS X Lion/Mountain Lion (OS X 10.7, 10.8)

As Java is not installed by defaults on Lion and Mountain Lion systems (OS X 10.7, 10.8) I would like to deploy it to all machines on our network. I understand that I can simply download the .pkg and ...
0
votes
4answers
98 views

Remote Desktop with 3 different operating systems

i work as a part-time problem solver in a small company. I can solve most of the problems from the command line remotely. But when there is a problem on a client machine, i have to go to the company ...