In an intranet, network clients have several options, such as AFP, NFS and SMB/CIFS, to connect to their file server. But for the best performance, and 100% compatibility, the native client file sharing protocol is the right choice.AFP is clearly superior to SMB or NFS for Mac OS 8.1-OS X 10.8 clients.SMB/CIFS is the native Windows network file sharing protocol is the preferred protocol for Windows clients.
A Samba server helps a Windows machine use a remotely hosted Linux filesystem to be used locally.
Install OpenLDAP Server. LDAP is good for anything that involves a large number of access requests to a mostly-read, attribute-based (name:value) backend. Examples include an address book, a list of email addresses, and a mail server’s configuration.
samba and smbldap-tools
The Linux Samba-OpenLDAP Howto
How to install ownCloud in Ubuntu, ownCloud is not running a separate daemon, but is just a php web application, forwarding the ports necessary for webserver access is enough.
iPhone/iPad can use LDAP accounts