Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: justdave007 on September 10, 2004, 06:09:40 AM

Title: How do I access SME I bays using a Win DC for authentication
Post by: justdave007 on September 10, 2004, 06:09:40 AM
Hi all.

I'm a SME newbie.  Our Samba server which does the lions share of our file serving is just about out of space. I've heard good things about SME so I decided to check it out for myself and have just installed SME on a new box.

Our Samba server is set to domain authentication in smb.conf, and users that have logged into our Win2K server can access the samba server without being asked for another username and password.

I'd like the SME server to behave in the same way.

I set up an I bay on SME.  I then went to a client machine running XP Pro to try and navigate to it.  As soon as I click on the SME server from the 'Entire network tree' in windows explorer it asks for a username and password to connect to it.

I've had look through the manual and checked for obvious settings in the SME server manager page, but couldn't see the answer staring me in the face.

What am I missing?  Any help will be much appreciated.
Title: How do I access SME I bays using a Win DC for authentication
Post by: Boris on September 10, 2004, 07:54:15 PM
Just Dave,
unfortunately SME server doesn't support (by default) domain authentication. It meant to be the primary (or the only) server on the network that does user management by itself.
There are some how-tos on this site that help you to add domain authentication to SME, but if you go this route SME will become just another samba fileserver on your network and not any better then the one you already have. Why do you need the whole cow, then you only looking for glass of milk?
Title: How do I access SME I bays using a Win DC for authentication
Post by: justdave007 on September 22, 2004, 01:07:34 AM
I got it working in the end.  Here's the solution if anyone ever needs to do the same thing.

1) Howto Set Up SME for domain Authentication.

1   SME uses templates for config files. Important to use them.

2   Log in as root.

3   Copy /etc/samba/smb.conf to /etc/e-smith/templates-custom/etc

4   Add/Change following lines to smb.conf in templates directory.

   netbios name = {SME computer name}
   security = domain
   workgroup = {your domain}
   encrypt passwords = yes
   password server = {your PDC}

5   stop samba (/etc/rc.d/init.d/smb stop)

6   Join your domain.  Use following command
   smbpasswd -j {your domain} -r {your PDC (use name instead of IP address)}

7   Apply template.  (/sbin/e-smith/expand-template /etc/smb.conf)

8   Restart Samba

2) Howto Configure Ibays for domain authentication

1   Set up Ibay through web interface as per usual.

2   Log in as root

3   Set up Samba For Domain Authentication. (shown above)

4   Find the [name of ibay] section in smb.conf  Rember to use
   templates.

5   Add line public = yes to this section.

6   Reapply custom template. (/sbin/e-smith/expand-template /etc/smb.conf)

7   Restart Samba.