4,930 reputation
1614
bio website
location
age
visits member for 5 years, 5 months
seen 35 mins ago

1d
comment permission denied error too many arguments
Also, what are the permissions on /usr/bin/id?
Oct
22
comment Scripting command that can be executed on Macs to generate/remove (NOT SIMPLY BIND/UNBIND) those Macs as computer objects in Active Directory?
Yes, although it's been a while since I've used it...
Oct
21
comment Scripting command that can be executed on Macs to generate/remove (NOT SIMPLY BIND/UNBIND) those Macs as computer objects in Active Directory?
The standard binding command (dsconfig -add) should create a computer object if none exists. You need to troubleshoot why this is not happening, rather than looking for a different command.
Sep
20
comment Printer on OS X not printing across VPN subnets
Try using lpstat -v to see how the Mac is trying to connect to the printer. If it has a dnssd://<something>.local url, it's trying to use multicast DNS to locate the printer, and that may not be getting forwarded across the VPN.
Sep
9
awarded  Nice Answer
Aug
31
comment Making Private Domain Marriage Public Domain Name - Revisited
Another reason not to use .local: OS X (and anything else that uses multicast DNS per RFC6762) will resolve names ending in .local via mDNS instead of normal DNS. Recent versions of OS X have hacky workarounds that'll let them mostly work in .local AD domains... but only mostly. And OS X is getting more popular in corporate environments...
Aug
21
revised Constant prompts for credentials from one Mac Outlook 2011 client
Added note on 10.9 and the Local Items/iCloud keychain
Aug
3
answered Leveraging rsync for a local copy between two slow drives, benefits without a daemon
Jul
29
comment 10.9 Server DNS Server Having Intermittent Issues with Open Directory
I'm finding your dig results very weird -- dig doesn't do multicast DNS (aka Bonjour), so it shouldn't see .local names at all (unless you somehow have .local names defined in your DNS server?). Are you actually using dig, or something else? Also, what happens if you use dig and direct its queries to a specific server (dig ourodserver.ourdomain.org @serverIP)? Also, have you looked at the DNS logs on the OS X server?
Jul
22
comment Force DNS lookups through specific adapter on OS X?
If the DNS server you want to use is not on the ethernet interface's subnet, things get more complicated. In that case, the only idea I have is to create a manual routing table entry to sent to the DNS server over ethernet. Unfortunately, OS X does not have a good way to manage static routes...
Jul
22
comment Force DNS lookups through specific adapter on OS X?
Note that the settings for the primary service defines which DNS server(s) will be used, but do not control which interface DNS queries are sent over -- that's handled by OS X's normal routing algorithms. So if the DNS server is on the same subnet as your Mac's ethernet interface, you could put that DNS server in the Wi-Fi service's DNS tab, make the Wi-Fi interface primary (so its router setting will be used for non-local traffic), and the normal routing system will send DNS queries over the ethernet interface.
Jul
21
comment Force DNS lookups through specific adapter on OS X?
This won't work. OS X always uses the DNS servers from its primary network "service" (interface); if there aren't any, it doesn't resolve DNS (even if there are servers defined for other services). (Actually, there's an exception: if it can't ARP the router of the primary service, it sort of fails over and the DNS settings fail over as well...)
Jul
21
answered Force DNS lookups through specific adapter on OS X?
Jul
19
comment Can I create a share on a Windows Server Domain Controller for anonymous Mac OS access?
Is the guest account enabled in the domain? I haven't used Server 2012, but in 2008 it's in the Guest account's properties, Account tab, in the Account options section. Note that since this is a domain-wide account, enabling it may have more general security implications...
Jul
14
answered /bin/sh: difference between variable and direct command
Jul
12
comment starting nginx on mac fails with 48: address already in use
Also, the lsof command shows both incoming & outgoing connections on the listed port; the results you're seeing are outgoing connections to port 80 on various remote servers, not activity on your server's port 80.
Jul
10
revised Bash script match grep output and send message
added 3 characters in body
Jul
9
comment Unable to locate DHCP Server …
If the PPID is 1 (well, actually even if it isn't), try grep -Eir "bootp|dhcp" /Library/LaunchDaemons /Library/StartupItems /System/Library/LaunchDaemons and see if it finds matches other than in /System/Library/LaunchDaemons/bootps.plist (which is the normal way of starting bootpd, and not what you're looking for).
Jul
9
comment Unable to locate DHCP Server …
Hmm, the low process ID number (55) means bootpd is being started pretty early in the OS X startup process, and I don't think any of the "standard" ways of enabling it would do that. So, I'm pretty sure you're looking for something a bit weird & nonstandard. Can you ask the user if they've installed any special network software/done any custom config on the Mac? Failing that, try ps -j 55 and see what the parent process's ID (PPID) is -- my guess is it'll be 1 (the system instance of launchd), but if it's something else find out all you can about that parent process.
Jul
9
comment Unable to locate DHCP Server …
It's not clear how you're looking for the DHCP service on the suspect Mac. Note that Apple's server app is only one of a number of things that might set up & run the DHCP/bootp server on a Mac, so checking that won't tell you if e.g. the Internet Sharing has started DHCP service. What I'd do is run sudo lsof -i:bootps on the Mac, and see if that shows a process listening for DHCP/bootp requests. If it sees a process, report back with its info and we can go from there. Oh, and one more question: what version of OS X is this Mac running?