Koozali.org: home of the SME Server

Can I setup SME Server to not require user passwords?

Garrett

Can I setup SME Server to not require user passwords?
« on: May 30, 2002, 12:50:41 AM »
I am adding a SME Server to an existing network that already has a Windows 2000 server. The 2000 server is setup without passwords for user logon. I would like to add transparent access to the SME Server, and that would mean it would also have user accounts without passwords. Security is not a concern, and everything is behind a firewall. Is there a file I can edit or some setting I can change to allow me to creat user acconts with a blank password?

Thanks!

Luke Drumm

Re: Can I setup SME Server to not require user passwords?
« Reply #1 on: May 30, 2002, 03:10:36 AM »
I'm not sure how well it works but the following does the job for me in a similar situation:

From the command line do the following:

mkdir -p /etc/e-smith/templates-custom/etc/nsswitch.conf
cd /etc/e-smith/templates-custom/etc/nsswitch.conf
cp /etc/e-smith/templates/etc/nsswitch.conf/template-begin .

Edit the 'hosts:' line so it reads as follows:

hosts:      files dns


mkdir -p /etc/e-smith/templates-custom/etc/smb.conf
cd /etc/e-smith/templates-custom/etc/smb.conf
cp /etc/e-smith/templates/etc/smb.conf/11guestOk
cp /etc/e-smith/templates/etc/smb.conf/11secuirty


Edit the contents of 11guestOk file so it reads:

guest ok = no


Edit the contents of the 11security file so it reads:

security = share

/sbin/e-smith/expand-template /etc/smb.conf

service smb restart

Regards,
Luke

Lynn

Re: Can I setup SME Server to not require user passwords?
« Reply #2 on: May 30, 2002, 10:48:42 AM »
Dont know if this will help, but you can create a login script that uses the 'net use' command.

When users log onto the win2k server, the logon script can attach them to an information bay or their home directory on the SME Server as a mapped drive.

Say, the SME Server was named 'firewall', and you created an i-bay named 'storage', and there was a user named 'john' and his password was 'password'

The logon script on the win2k server would contain:

net use f: \firewall\storage /user:john password

To attach to the home directory:

net use f: \firewall\john /user:john password

Or, omit the password, and the user will be prompted for one...

It can be any valid username - even if its a different user, so you can create a universal username and use the same logon script for everyone. Or use individual scripts with their actual usernames and passwords.

Luke Drumm

Re: Can I setup SME Server to not require user passwords?
« Reply #3 on: May 31, 2002, 05:01:27 AM »
Oops,

I think that should of read:

guest ok = yes

PS: This solution doesn't degrade the security of any IBays that you haven't set available to 'everybody' so I consider it the best of both worlds. Users can still have private ibays & home folders without having everyone else trample through.

Regards,
Luke

Michael Smith

Re: Can I setup SME Server to not require user passwords?
« Reply #4 on: May 31, 2002, 07:44:51 AM »
Thanks, great info!  On the "wish list" forum it was suggested to use TweakUI for autologon ... also a great way to accomplish this.