Koozali.org: home of the SME Server

Searching for the "default profile"

Simonvetterli

Searching for the "default profile"
« on: January 24, 2007, 05:29:25 PM »
Hi

Where can I find the "default profile" or "default user profile" on the server?

Or how does it work's, when a new user log on?

Kind Regards.
Simon, Switzerland

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Searching for the "default profile"
« Reply #1 on: January 24, 2007, 06:37:48 PM »
Where he logs on what? Email? FTP?

And what profile? The one under collaboration/users?

Be specific.
"It should just work" if it doesn't report it. Thanks!

Simonvetterli

Searching for the "default profile"
« Reply #2 on: January 24, 2007, 06:46:29 PM »
Hi

Okay, I have my SME-Server; the I used it as an Domain-Controller.
Now I connected one PC to this domain; statring up this PC with one User, defined on the Server.

He get one Profile from the Server. But where can I define the default Profile for some new User? Where is this locatet?

Kind Regards

mrmango

Searching for the "default profile"
« Reply #3 on: January 24, 2007, 07:34:50 PM »
Default user path (XP)

C:\Documents and Settings\Default User

You add files etc in there and when the default user logs in, it will look in that folder first.

Snip from the Samba website:

"When MS Windows 200x/XP participates in a domain security context, and if the default user profile is not found, then the client will search for a default profile in the NETLOGON share of the authenticating server. In MS Windows parlance, it is %LOGONSERVER%\NETLOGON\Default User, and if one exists there, it will copy this to the workstation in the C:\Documents and Settings\ under the Windows login name of the use."

By %LOGONSERVER% it means your SME server hostname. So if your SME is called mypdc, then you would use \\mypdc\netlogon\.

Incidently, this is also the place for your logon scripts as well.

If I get time, I may offer to try to transfer some of this info to the WIKI manual being created. Admins, is this ok?

Thanks

Simonvetterli

Searching for the "default profile"
« Reply #4 on: January 24, 2007, 07:41:44 PM »
Hi

I mean where on the sme-server is the default profile located.
On the PC (WXP) and some W2003 Server I know...

But anyway; it's interesting to docu these things.

Kind Regards.

mrmango

Searching for the "default profile"
« Reply #5 on: January 24, 2007, 07:56:22 PM »
Indeed, however using netlogon you can define the template for a new user.

However you can use /etc/skel

This is the default /home/newuser folder. Anything put in there will be added to the users home dir.

Lastly /etc/login.defs is another file. This has defaults for when a user is added.

I do however have a feeling that SME may use another file. Perhaps a Samba config file for adding extra info for them to login using Samba.

I will have a look. I am interested now.

What may I ask are you wanting to do with the default user when it is added?

<edit>
Hmm.. I suppose the smb.conf file in /etc would also have some default settings for users utilising the Samaba server like home drives. However you will need to use the templates for that.



Thanks.

Offline kruhm

  • *
  • 680
  • +0/-0
Searching for the "default profile"
« Reply #6 on: January 28, 2007, 12:50:41 AM »
"I mean where on the sme-server is the default profile located."

/home/e-smith/files/samba/netlogon

or

\\%logonserver\netlogon

Offline k0r54

  • ****
  • 111
  • +0/-0
Searching for the "default profile"
« Reply #7 on: April 19, 2007, 11:43:44 AM »
hi,

so if i want to create a default profile for new users. Mainly things like my keyboard layout to uk rather than us and the xp theme, but mayb a background and screen saver and such. I login as a user, create the profile i want for the default and then copy that profile (e.g c:/docs n settings/profile name (profile name being the user i logged in as) and then copy that to the /home/e-smith/files/samba/netlogon/.

What do i rename the folder to for it to be used as the default profile.

Just to make sure i hope im on the right wave length as every1 else here, as what i want is that when i create a new user (through the web panel) and they first log in this is the profile they will get.

Also out of interest is it possible to automaticly put a default password in and for the account not to be locked when i create the user and when the user logs in he is required to change there password immediatly?

Thanks
k0r54

Offline kruhm

  • *
  • 680
  • +0/-0
Searching for the "default profile"
« Reply #8 on: April 23, 2007, 11:17:10 PM »
name the folder "DEFAULT USER".

The WIN client checks for the network "DEFAULT USER". If it doesn't find it, it looks for the local "DEFAULT USER", usually at: C:\Documents and Settings
(You can look if you want, it's hidden.)

You'll have to make sure your logged out & you can see hidden files to copy over the NTUSER.DAT (also known at the HK_CURRENT_USER).

"Just to make sure i hope im on the right wave length as every1..."
Yes.

"Also out of interest is it possible to automaticly put a default password in"
You can use the LAZY ADMIN tools to set a default pass but i'm not certain about forcing password change at first login.

Offline k0r54

  • ****
  • 111
  • +0/-0
Searching for the "default profile"
« Reply #9 on: April 25, 2007, 04:39:15 PM »
Hi,

I created a user called test, logged in on one of the workstations with that user. Adjusted the profile accordingly, background, screensaver, language settings ect. logged out. I then logged back into the workstation as domain admin. Copied from c:/documents and settings the folder test to the server /home/e-smith/files/samba/netlogon and then changed the name of the folder to DEFAULT.

I then created a new user logged in on a workstation but it didn't apply my new default profile, it was the usual one.

What am i doing wrong?

Thanks
k0r54

Offline kruhm

  • *
  • 680
  • +0/-0
Searching for the "default profile"
« Reply #10 on: April 25, 2007, 04:48:41 PM »
DEFAULT USER

-see above