Koozali.org: home of the SME Server

Windows user profiles

uituser

Windows user profiles
« on: September 27, 2006, 03:24:38 AM »
Well here is a problem that has got us stumpt. We are running an SME 7.0 as the file server for about 4 Windows machines. The server also the controller for Windows Domains. It does not run mail nor acts as a web server.

The problem we have come across is after deleting two users then adding two users, the new users seems to have just taken over the the old user's profiles. That is all their settings and old documents etc are all there so much as their email settings. Also within Windows, the new users do not have permission to create a directory within Documents and Settings which means their profile for the machine cannot be made. I would assume it would be the domain controller that specifies the permissions for each user as they are made and imports those permissions on the local machine as they log in however we have not found a way to set permissions for normal users as yet on the server.

The errors I have encountered (of significance) when looking through /var/log/messages on the server are "getpeername failed. Error was Transport endpoint is not connected" and "get_alias_user_groups: gid of user _username_ doesn't exist. Check your /etc/passwd and /etc/group files" both of which we have checked and could not find a problem as the uid on both files matches. I have checked and the getpeername failed error is due to the port it tries to connect to so that is not the problem. However I am unsure of the get_alias_user_groups error is. After searching through the net people have suggested try looking in the smb.conf file which I have but I am not sure what needs to be changed (if anything does). This seems to only have happened for the two users that were deleted and the two new users that was added.

Any thoughts?

uituser

Windows user profiles
« Reply #1 on: September 28, 2006, 12:08:43 AM »
We have found the error of this problem. The new users were getting the old UID's. I think this is what confused us a bit but I wonder why it a new user name can have access to directories of not created by them.

Still need to figure out how to eliminate the getpeername and get_alias_user_groups errors though :(

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Windows user profiles
« Reply #2 on: September 28, 2006, 07:55:45 PM »
Quote from: "uituser"
We have found the error of this problem. The new users were getting the old UID's. I think this is what confused us a bit but I wonder why it a new user name can have access to directories of not created by them.

Still need to figure out how to eliminate the getpeername and get_alias_user_groups errors though :(
Please submit this to the bugtracker as it seems to me this might be a bug.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Windows user profiles
« Reply #3 on: March 20, 2007, 02:56:44 PM »
Have this been fixed? I'm running in the same situation  :cry:

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Windows user profiles
« Reply #4 on: March 21, 2007, 04:12:57 AM »
Quote from: "stuntshell"
Have this been fixed?


The way to find out would be to search the bug tracker.

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Windows user profiles
« Reply #5 on: March 21, 2007, 04:50:44 AM »
Quote from: "CharlieBrady"


The way to find out would be to search the bug tracker.


which unfortunatelly hasn't been updated! :(

I also commented there as well http://bugs.contribs.org/show_bug.cgi?id=2397

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Windows user profiles
« Reply #6 on: March 21, 2007, 01:01:42 PM »
Quote from: "stuntshell"

I also commented there as well http://bugs.contribs.org/show_bug.cgi?id=2397


That bug report doesn't appear to me to have anything to do with uituser's problem (which AFAICT has not been reported via the Bug Tracker).