Showing posts with label samba. Show all posts
Showing posts with label samba. Show all posts

Wednesday, 7 April 2010

openSuSE 11.2 as Active Directory PDC?

I'm looking at reinstalling my server (currently Ubuntu 8.04 LTS) with openSuSE 11.2. Does anyone know of some way that I can configure openSuSE as an Active Directory domain controller? I would like to configure Samba and LDAP with a GUI preferably, and automatically transfer any modifications I make to the client computers. I also need offline authentication.

I was looking at Novell eDirectory, and it appears to be exactly what I am looking for. Is there a tutorial available for how to setup eDirectory on openSuSE? By default it runs on Open Enterprise Server only.

Sunday, 2 August 2009

"All Squash" in Samba FIle Server

NFS has the ability to "root squash" or "all squash" - map authenticated users to alternate user ids, for purposes of security. This makes it easy to setup an NFS public folder where all users share the same permissions.

Samba on the other hand, does not have such capabilities. However, you can achieve similar functionality by configuring a "guest" user, which maps to a specific local user id on the server.

Simply open /etc/samba/smb.conf and enable the following line:
guest account = [mapped user id]
That's all there is to it! Now any anonymous client can access the shared folders, and they will automatically have the same access rights as if they were logged into the server locally, with the username specified in the smb.conf file.