Two major HD upgrades this week…

This week, between a lot of other projects (the most important was the one involving playing with my 6 weeks old baby girl!), I had to increase the hard disk space on my 2 main devices, the iMac and the PS3.

I have my iTunes Library on a WD 1TB external HD, in order to store the large amounts of TV Shows and Movies (the movie section has seen a great bust in the last period in preparation of her future watcher Sara, with the Disney collection grown enormously). Unfortunately the hard disk space has become almost none, so I decided to invest in a second external HD, this time a 2TB WD Studio Edition. My plan was to move all the TV Shows folder from the 1TB to the 2TB hd, and leave the rest of the iTunes Library on the old disk. The process was fairly simple, move the folder to the new drive, create a symbolic link replacing the old folder and it’s done! In fact iTunes recognized all my TV Shows with no problem, so I thought I’ve solved my problems for the time being… but when I tried to add a new episode to the library, for some inexplicable reason, iTunes refuse to copy it over, saying that it couldn’t find the folder. Despite all the efforts I had to come to compromises, leaving the TV Shows folder on the old drive, and simply moving the “old series” on the new drive, creating a lot of symbolic link, one for each season or series.

Wouldn’t it be simpler if Apple decide to permit us to split our libraries, specifying different folders for our main kind of contents (eg. Movies, Music and TV Shows) !??!

Well, the PS3 part was pretty easy, I’ve replaced the 40Gb internal drive with a new 250Gb, restored the back up (which took 1 hour to make and 1 hour to restore, ugh!), and everything was just like before, except with more space to install games!

How to successfully migrate Samba services from OSX Server 10.4.11 to 10.6

Recently we decided to upgrade our domain server, which sport a OSX Tiger installation, with a new Mac Mini Server with Snow Leopard.

Following all the Apple instructions on how to migrate the old installation to the new one, we encountered a big problem when it comes to Samba settings. All the old domain settings were preserved, but our WindowsXP clients couldn’t authenticate against the new server. Specifically the user account was authenticated successfully but the machine one doesn’t. This lead to the situation where XP users can access Windows machine only if there is a local profile on that machine, but even in this case they were left out of the domain resources.

We tried the migration assistant and the manual migration (as described in the Apple documentation) but none of them worked as advertised. After a lot of google searching it looked like the real culprit was that on the Snow Leopard server the domain SID was different than the old Tiger Server.

After a lot of trying I’ve succeeded to resolve this issue, using a manual migration of the services (which by the way, ends in a much cleaner installation, imo).

The first two steps (that will not be discussed here) involve the process of restoring the DNS database and the OpenDirectory backup from the old server to the new one. Doing that, assure us to have all the users and machine accounts, as well as passwords and the dns structure of the domain. Note that when upgrading the server to Opendirectory Master you should provide the same username and password of the old server’s Directory Administrator.

Now we can move to the Samba part, first of all we need to copy the /etc/smb.conf config file from the Tiger Server, renaming in something convenient like smb.conf.tiger, then copy all the contents of var/samba and var/db/samba from the Tiger server. The contents of var/db/samba is particularly important because contains the secrets.db file.

Restore the files on the new server machine, put smb.conf.tiger in /etc and the other 2 directories in the appropriate paths. Now edit the /etc/smb.conf on the new server, adding your custom configurations from the old smb.conf file after the ;END section of the file. Now you can activate the SMB service, setting the same Workgroup name and options like the old one, and provide the directory administrator username and password as requested.

In this phase the new domain SID for the samba server is generated, and stored in key configurations files. The trick is to get the old domain SID, change the new one with the latter, and inject it into the secrets.tb file. So, move back to the old server, open terminal and type

sudo net rpc info

you should see some informations, like domain name, sequence numbers and most important of all the domain SID, in the form a Guid like: S-1-5-21-etc… Copy that guid, and move back to the new server.

Open workgroup manager, authenticate as directory administrator, then choose preferences from the pull down menu. Flag the “Show all records tab and inspector” option, than click ok. You should now see a new icon near the users, computers and groups, like a bullseye, select it and from the pull down menu select config. In the selection pane, you should see some services, one of them is CIFSServer, select it and edit the 2 XMLPlist files. Those files contains an xml key with the domain SID and name, while the domain name should be the same as the old server one (if you configured correctly in Server Admin), the SID value is different. Copy the SID from the old server, overwriting the new one, on BOTH the xml files, then close the Workgroup Manager.

While should be sufficient to restart the samba service, I’ve noticed that the SID isn’t updated, so you need to restart the server. Once done, open terminal and type

sudo net rpc getSID

and you’ll see the “old domain” sid injected into the secrets.td file on the new server. Restart the server once more, and your XP clients will be able to authenticate to the new server like it was the old one, permitting users to access all the shared resources.

Hope this helps some other people in my situations!!!!

Non scrivere sms mentre si guida….

Mi sono imbattuto in questa splendida iniziativa della polizia inglese, un mini film per sensibilizzare i giovani a non scrivere SMS o fare un uso intensivo del cellulare mentre sono alla guida. Visto che sono dell’ìdea che un immagine valga piu’ di mille parole, ho deciso di condividerlo.

E’ abbastanza forte vi avverto, ma sono sicuro che ne vale la pena!

Se andate alla pagina di YouTube per questo video troverete anche la seconda parte.

Mi raccomando, hanno inventato la funzione della risposta predefinita per un motivo ben preciso… o se proprio volete rispondere a quel SMS accostate!

The new macBook Pro 15″

Wow… wow, and wow again. I’m using my new macBook Pro 15″, 2.66 Ghz, 4Gb Ram, and 2 graphics card 9400 and 9600 from Nvidia. All that I’ve to say is …. it’s FAST!!!! I mean really fast… I can see the difference between this one and my iMac 24″ 2.16Ghz. I’ve just finished set things up… and I’ve wanted to post this quick note.

new-macbook-pro-aluminum

One last thing… It’s official from 3 (H3G) the new iPhone 3GS it’s coming from them too in July… that means bye bye TIM and that I’ll get the new iPhone in July too! Yippee!

New site…

I’ve put something up on the new my website. Finally I had find some time to open the new iWeb 09 and it looks promising.

Right now I’ve put on a simple About Me page, and another one linked to some Slideshows Pictures Galleries from my MobileMe account. By the way I’m pretty happy because I could embed the RSS from this wordpress blog, and some stats from my Nike+ account (which need some improvements in the running part, I’m working on it ;-) ).

Be sure to check it out at this link.

Reinstalling party…

I had to do it… ci stavo pensando da un po’ di tempo, ed e’ giunto il momento. Avevo abusato troppo della bonta dell’iMac che uso in ufficio, l’ho messo e tolto da non so quanti domini OpenDirectory diversi per fare non so nemmeno io quante prove, e non ce la faceva piu’.

A dire il vero sembrava che ce la facesse ancora benissimo, ma si sa’, io sono un po’ pignolo per queste cose e non mi andava di lavorare su un sistema che aveva una configurazione rimescolata 1000 volte. Oggi pomeriggio era una giornata tranquilal in ufficio, ed ho deciso di fare il passo. Per fortuna tutti i documenti sono salvati sul server, la libreria di iTunes (abbastanza piccola in verita’) sul disco di rete, e il server di Posta (Apple anche quello, e sulla scrivania accanto) e’ IMAP, quindi niente indugi e via di reinstallazione totale.

 

Last updates after reinstall

Last updates after reinstall

 

 

Dopo circa un ora ho finito tutto, devo solamente rimettere la macchina sul dominio e copiare qualche documento, ma il piu’ e’ fatto, e tra poco vado pure a casa!

Update from iPhone

It’s been a while… e un po di cose sono successe nel frattempo. Finalmente sono riuscito a prendere una tariffa per la navigazione dell’iphone con l’edge. Ho scelto TIM dopo tanto cercare, più che altro perché é l’unico gestore italiano con la rete edge, e poi perché anche il cellulare di Vero ha la tim. Per adesso le prime impressioni sono più che positive, la velocità é impressionante, posso solo immaginare il 3G!!!!
Per il resto… Beh é stata una settimana di riposo forzato, causa influenza, ma sincerente ci voleva proprio! E meno male che domani é festa, perché poi da martedi si deve ricominciare a lavorare e sopratutto stanno per finire i corsi all’università che significa esami in vista!

The First Nike+ Recorded Run!

And here it is!

Finalmente eccola!

Today I took the iPod, put Vero’s nike+ kit in it and started running. This isn’t my real first run (we’ve been running from August) but it’s mine first recorded one. Since now only Vero keep tracking her runs.

I’m very pleased since now, the thing is amazing, and really helps you run and keep running while you think you can’t have any more.

Just one thing, when you see the speed goes down to 10 minutes/Km it’s because I had to stop to tie my shoe laces… damn it! ;)

Wicked!!!

 

Lunedi’ 29 Settembre siamo andati a vedere Wicked a Londra. Una sola parola: SPETTACOLARE!

Sono stato 2 ora e mezza letteralmente immobilizzato a fissare il palcoscenico, catturato da Elphaba, Glinda e Nessarose. Il momento piu’ emozionante durante Defying Gravity quando Elphaba per la prima volta si alza in volo sulla scopa magica, solo a ripensarci ho la pelle d’oca!

Sono passati piu’ di 2 anni da quando ho iniziato a cercare di andarlo a vedere, e dopo 2 tentativi falliti a New York (lo spettacolo e’ sempre sold-out!!!) ci siamo riusciti a Londra, ma in ogni caso l’attesa non ha fatto altro che aumentare la magnificenza della serata. 

Lo consiglio vivamente a chiunque ami la musica e i musical, perche’ a mio parere e’ un gradino sopra a qualunque altro al momento!

Siamo tornati….

E’ da qualche giorno che siamo tornati, ma la nostalgia e’ sempre tanta. Il solito tran-tran al lavoro non ci ha certo aiutato, ed e’ anche per questo che non abbiamo piu’ scritto niente. Ci sembrava il momento di ricominciare, se non altro per buttare giu’ 2 pensieri.

Stamani ho provato ad aggiornare alcune foto sulla webGallery (trovate il link nel blogroll sulla destra), addirittura ce’ la possibilita’ di aggiungere le foto direttamente dall’iPhone, quindi che dire adesso si che e’ piu’ semplice e veloce condividere le esperienze!

Un po’ di aggiornamenti: le corse continuano e con molta costanza devo dire. Da quando siamo tornati siamo gia’ andati 6 volte, la mattina sveglia alle 6.30 una mezzora di corsa e poi al lavoro! Dovremmo essere intorno ai 30 km, che per essere il primo mese non e’ per niente male!

Follow

Get every new post delivered to your Inbox.