Mac OS X Lion Server :: Finding The Scripting References For Web Domain Creation?
Feb 14, 2012
I have been unable to find any references on how to best automate certain "tasks" in Lion so that I can do the following:Â
create predefined DNS names based upon the clients domain name
create predefnined web address based upon the just created DNSÂ
For example.... We have the customer "Sammy's Flower Garden" and his domain is "sammysflowergarden.com". At the command line, I would type:
$ clientsetup sammysflowergarden.com This would then create a base folder structure (this part has already been written)ClientDomains    -    S         -    sammysflowergarden.com              -    production              -    staging              -    archive              -    design                   -    template    Â
[code]....
From what I have read, alot of modifications outside of the Lion serveradmin tooling can result in some rather unusual if not nasty behaviour. If this is true, then I would assume that I could not just write out to a file in /var/named/ and have it automaticly picked up by the server? The same for the apache instance? I still want to be able to use the GUI interface when needed. Â
View 2 Replies
ADVERTISEMENT
May 6, 2012
I am exploring the possibility of scripting the creation of smart playlists in iTunes. As I understand it this can only be achieved with GUI scripting. I have come across a couple of threads which suggest this can be achieved:Â
[URL]
however both generate an error for me. The problem appears to be around the line "tell scroll area 1 of group 1 of window 1". I get the error: System Events got an error: Can't get group 1 of window 1 of process "iTunes". Invalid index.Â
Info:
Macbook Pro, Mac OS X (10.7), 2.66 GHz Intel Core i7 8GB RAM
View 14 Replies
View Related
Jun 23, 2012
I've just set up DNS on Lion Server and whereas previously I could connect to a system on my network by the hostname (e.g. via ssh), using the Lion Server DNS requires the fully-qualified name. Is this by design? I've checked all my settings and it all seems to be correct. Â
View 2 Replies
View Related
Apr 11, 2012
I have not set up ssl before so i have a very basic question. I would like to support my Mac Lion server based email with a basic SSL cert that was provided with my domain name.Â
When setting up the certificate would i set the dNSName to  domainname.com or to server.domainname.comÂ
My mail server host name is set to server.domainname.com so i would assume this is the correct one, but emails are addressed to name@domainname.com so
I want to be sure i am setting this correctly before i generate the csr
View 1 Replies
View Related
May 16, 2012
Here again dealing with how OS X deals with .local domains I think.Was previously bound and all was working fine. Have just updated to 10.7.4 When trying to login using the "Other User" the button stays red and says Network accounts unavailable. I can ping domain server by name and IP.Permissions have been rebuilt.
Have rebound. Had a problem at first unbinding inside the Open Directory Utility as it said it could not connect with the domain and an unused account would be left if a forced unbind was done. Tried again by using the minus button instead of the Unbind button and it worked without any message.
So then binded to the domain and all looked good. Green button next to Network Account Server in the Users and Groups.
Info:iMac (27-inch Mid 2011), Mac OS X (10.7.3), VM Ware with XP Pro
View 2 Replies
View Related
Mar 10, 2012
Normally, you can create a DNS record that points to the zone itself, e.g.:Â
@Â Â 10800 IN AÂ Â Â 196.197.200.201Â
How do you accomplish that on a Mac OSX Lion Server? The DNS requires you to enter a hostname and it does not accept "@" as the hostname as it normally appears in the zone file. (manually modifying the host file does not work - I tried that ;-) )Â
Info:
Mac mini, Mac OS X (10.7.3)
View 1 Replies
View Related
Mar 23, 2012
I have MAC OS X 10.7.3 After joined to Windows Domain 2008 R2 and reboot system - i have not items, where is i must enter domain credentials.But, if i login as local user, and logoff - i have item for entering domain credentials.Why this item not show me after restart? How i can fixed it?
Info:
Mac OS X (10.7.3)
View 1 Replies
View Related
Mar 23, 2012
I'm trying to setup a Lion Server as an internet server - not as a web server - I need access to a different port. When I use the Server UI to go to Web, I can select to edit my domain name but then in the edit window, the Domain Name field is blank, and I can't change anything such as the port, SSL Cert, etc. As best I can tell, I have the DNS setup but I'm not sure I've done it correctly. I can add a second domain name and can edit the details for that. I'd hoped I could delete the first one or swap them but no luck. I can't access the domain name from outside the LAN but it may have just not propagated yet. I can access the IP address and do see the default home page.
View 8 Replies
View Related
Mar 15, 2012
i've setted up my mini server as "server.domain.private"because i don't want it to be published on the internet by default, i want to have control on wich webapp is published.my main goal is to have a new Vhosts wich is serving only the webapps i need to be running and ,why not, hosting multiple VhostS enabling just some (or one) webapps each [url]). in other words: i want control on what is published where and how in order to publish Profile Manager i did: - created a new virtual host on the web service called "server.public-domain.com"- enabled the webapp on that Vhost from terminal as found in: [url] using this command "webappctl start [url]"- restarted the whole server but this seems not to work as expected.. should it ??? after some dirty work on the apache config (copy/paste from the original vHost of some "proxypass" and "balancemembers" and "include" regarding devicemngmt) i got it to ask me for password when browsed from the outside world, BUT after login it will redirect my browser to "server.domain.private" wich is obviously not working from outside.Â
Info:
Lion Server, Mac OS X (10.7.3), profile manager / ical server / ios
View 1 Replies
View Related
Mar 8, 2012
Not able to find the lion software update service in server app
View 1 Replies
View Related
Jan 10, 2010
I'm using the command "touch" in the terminal to set the creation date of some old home movies I'm dumping on HD.
I can move the creation date back with the following command:
MacPro:~ scott$ touch -t 200308311500 /Users/scott/Desktop/2-month-bath.mov
The problem now, I cannot move the date back up (when I fat finger)... EVEN if I move the modified date way in the future, the creation date won't move back up with it... Give the command a try on a garbage file and see what I mean.
View 4 Replies
View Related
Dec 21, 2006
on setting up an OD master to accept kerberos from a AD domain and I can't get AFP to work.
What I've done:
1. Bind OD Master to AD
2. Destroyed the OD Kerberos realm
3. Ran sudo dsconfigad -enableSSO
When I log into a client that is bond to both AD and OD and try to access a SMB share on the AD side it works. When I try to access a SMB share on the OD master it work. When I try to access a AFP share on the OD Master it fails with the error " The user Authentication Method required by this server can't be found". Now I think this error is because I'm forcing Kerberos authentication, if I change AFP setting to any method authentication I get promoted with the AFP login window, I enter my AD account information and I'm able to mount the share.
View 3 Replies
View Related
Nov 30, 2006
I'm running server 10.4.8, how do I authenticate NT domain users on this? I tried to set the server to be a Backup Domain Controller, but then it wants Open Directory to be in replica mode. The problem there is that it needs an Open Directory server to replicate.
View 6 Replies
View Related
Jan 30, 2010
I have just done a little design on iweb 09 on my new imac 27" and have uploaded it to my hosting. Its succesfully uploaded but the problem is thisIf my web address was say www.macs4u.co.uk the website. When i type that in now it goes to www.macs4u.co.uk/www.macs4u.co.uk/welcome.html and shows that site i just uploadedWhy cant i just have it uploaded to my server so when i type in www.macs4u.co.uk it stays as that and show the website??
View 1 Replies
View Related
Apr 13, 2012
I've registered a domain and it works wine when anyone enters www.mydomain.com. However when I type the domain name without 'www', I get the following:Network Error (tcp_error) A communication error occurred: "Operation timed out" The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time. For assistance, contact the IS Support Center. Â
Info:
 iMac G5 PPC,  Mini Server,  MBP  TV, Mac OS X (10.6.4), iPad2, iPhone, AppleTV
View 1 Replies
View Related
Dec 19, 2008
How To Connect Mac Os X 10 5 5 To Windows Server 2003 Domain
View 2 Replies
View Related
Mar 17, 2012
I recently purchased a new MacBook pro with Mac OS X, I updated the OS to the latest release which is 10.7.3. I need to join (bind) a MS Windows server 2008 Domain, but when I try to bind I get below error:
Unable to add server.
The daemon encountered an error processing request (10002)
I searched the internet for a solution; most suggestions refer to sync the clock with the domain clock as Kerberos protocol is unable to authenticate. I cannot find a option to sync the clock with the domain clock, how I do that?
[code]...
Info:MacBookPro, Mac OS X (10.7.3)
View 8 Replies
View Related
Aug 19, 2010
I looked for a introduction forum but couldn't see one so hello guys and gals. Great forum you've got here..Right my issue is as follows.I have a new iMac Pro on snow leopard 10.6.4 and it is linked to a Windows SBS server 2007 but i don't think i've done it properly.When i switch the machine on all i get on boot up is 1 local user Sometimes i can leave it and it will offer me the 'Other' option which i can then login to the server But most times it doesn't to that... I have to logon as that local user and then unbind the windows domain and rebind it then when i logoff it shows me the 'Other' user Also another thing thats annoying is it doesn't map anything automatically i have had to create a alias icon on my desktop to go to my server space and it can take up to a minute to connect to the server..
View 3 Replies
View Related
Nov 14, 2009
we have a mac server running and have a windows based (XP) machine logging on to the domain. is there a way to enable offline files on the mac server so that a copy is saved on the windows machine and when the user relogs on to the domain the files get syncd?
View 4 Replies
View Related
Feb 12, 2012
I have files with no creation date or creation date 1969, etc (came from bad settings in camera).
Since I knew the date, I was able to easily fix it via touch:
touch -t 20090110 IMG_1023.JPGÂ
This used to set creation, modification, and access time to 20090111, in Snow Leopard.  However, I can no longer do this in Lion. It does set modification and access, but creation date is still screwed up.Â
Info:
macbook pro 2007, Mac OS X (10.7.2), iPhone 3GS, 4, iPad2, latest iOS5
View 7 Replies
View Related
Apr 8, 2012
I have a System Image Utility (SIU) workflow in Snow Leopard. It installs the 10.6.3 DVD, the combo update for 10.6.8 and about 20 packaged Apps. It works. I tried to make a similar workflow for Lion. I installed 10.7.3 on a MacBook Pro, I installed Server Admin Tools 10.7.3 on it and I downloaded the Lion 10.7.3 Installation App from the App store. NetRestore image creation does not work. Instead I get an "unknown error".
Here is my SIU install log:
Creating working path at /Volumes/Spare/April2012Lion
Creating sparse disk image
created: /Volumes/Spare/April2012Lion/TempImage.sparseimage
Installing from OSInstall.collection
Installing to destination volume .....
An unknown error has occurred.
NetRestore creation failed.
Image creation process finished.
Stopping image creation.
Image creation failed.
Info:
Mac OS X (10.7.3)
View 2 Replies
View Related
Jul 25, 2006
Is it just a server? and how much do they go in retail shops / stores??
I would like to find out as i have a mac mini, g5 quad and a macbook.. just a fan of apple mac lol. I do alot of webdesigning for many clients, could the xserve be a way to i don't know host these clients or something if it is a webserver?
View 7 Replies
View Related
Feb 20, 2012
Am I missing something or is it just impossible to do a simple search for all emails received from domain X?
Info:
iMac, Mac OS X (10.7.2)
View 4 Replies
View Related
Mar 9, 2012
My company has one mac user with a Macbook Air, we have a Windows 2008 r2 domain.I'm wondering if it is worth joining him to the domain, what benefits are there for a mac user? We use Exchange 2007 and change our passwords every 90 days.One concern is when the user is out of the office the cached password can become out of sync with the domain password.
Info:
MacBook Air, Mac OS X (10.7.3)
View 2 Replies
View Related
Jun 20, 2012
I have binded my Lion system to AD. I have configured Mac local update server also. When i run software update on lion it asks for Domain controller passwordÂ
Is there is any way for allow domain user to run software update on mac
Info:
iMac
View 2 Replies
View Related
Apr 26, 2012
I've been considering joining my mac to the company windows domain but I'm not sure what the outcome might be. Before I do that, I want to know what is going to change, be better, be worse, etc. Will it streamline connecting to server shares? Will my local profile still be available if I want to revert back?Â
View 1 Replies
View Related
May 21, 2012
Im running Lion 10.7.4 and am connected to a .local domain.Â
I am also running VMWare Fusion on the same machine with Windows 7. neither Lion or Windows 7 are joined to the domain. The windows 7 VM browses the internet perfectly but lion is painfully slow. My IP's are DHCP assigned and the search domain is xxxx.localÂ
The VM is using bridged not NAT which is why the VM is perfming perfectly. I know its something to do with the .local but cant change the TLD here so need a fix. Â
Info:
MacBook Pro, Mac OS X (10.7.4)
View 3 Replies
View Related
May 24, 2012
I just installed Lion 10.7.4 named my computer "fx6800". Then I joined my Windows 2003 Server domain with no problems. After that I could not log on to domain with one of my windows 7 machines because it had the same computer ID. Ok no problem I re joined the domain and re binded with the Win 7 machine and then un binded my Mac Lion machine then re-binded with a different computer ID. No problem both machines can log on to AD with separate computer accounts. Then I notice when I opened terminal it was showing the old computer ID. No problem I fixed it With sudo scutil --set HostName "new host name". Â
Then when I go to select file sharing in the description to the right under File Sharing On: it shows the path to tha machine is fx6800.domainname.local which is the original computer ID. Also when I select remote login and I believe it shows username@fx6800.domainname.local. I have searched for 2 days and have not come up with anything. I am sure if I reinstall everything it should fix it but I would like to save the time.
Info:
Mac Pro, Mac OS X (10.7.4)
View 4 Replies
View Related
Jun 16, 2012
I have created a simple apple script (my vary first one) in which I wanted the script, when run, to open a random image from a folder that had images within it. I did it using this code: tell application "Finder" (* get a random image file from a desktop folder *) set randomImage to some file of folder "Pictures" open randomImage end tellÂ
That worked well and good when the folder containing the images was on the desktop. However, the folder I really want to use is on a USB stick. How can I tell the script that the folder I want it to run with is on the USB Stick? I know I could easily copy the folder from the stick to the desktop, but I'd rather keep the folder on the stick.Â
Info:
Mac OS X (10.7.4), 8GB RAM
View 2 Replies
View Related
Mar 21, 2010
I am new to GeekTool and am trying to get a handle on what the components of the scripts mean.
Does anyone know of a scripting diagram that shows what the different parts of the scripts do?
View 2 Replies
View Related