I have created a network with e-smith and samba.
My users are divided in groups. Every group have their own loginscript.
The loginscript configuration in smb.conf =
logon path = \%L\netlogon
logon script = %G.bat
My problem is that the group that i have made on the server-manager is not the primary group of the user. The primary group of the user is a group with the name of the user.
Example:
I have created a group called "test_afd"
I have created a user called "testgeb"
So my idea is that the user "testgeb" gets the login script "test_afd.bat", but instead of this samba picks his primary group wich is the group "testgeb".
When i give the commando "id" in the console the result is:
uid=5080(testgeb) gid=5080(testgeb) groups=5080(testgeb), 500(shared), 5079(test_afd)
You can see that the group "test_afd" is the 3th group, not the 1st.
What can i do about this?