Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Simon Matthews

Pages: 1 2 [3]
32
Yeah, I'm using the latest ebox and when I just tried re-adding the module it didn't fix it.

33
Nevermind, I found the fix for this.

I ended up finding this script under /usr/share/ebox-samba called ebox-fix-sid
All I had to do to repair the problem was first get the domain sid 'net getlocalsid' and then
'./usr/share/ebox-samba/ebox-fix-sid <domain SID>' and it repaired it!

From what I can tell (I'm not a programmer) the script runs these commands:
net setlocalsid <domain SID>
net setdomainsid <domain SID>
and it removes the Samba Domain Name among other things and repairs all the Ldap SIDs

I was also wondering if this fix would be permanant and not lost on an update/upgrade?

34
I noticed on all the installs that aren't working that the SID for users is exactly the same:
S-1-5-21-3818554400-921237426-3143208535-**** (even last number).
But all the domain SID's are different.

I can fix this problem by using the command:
sudo pdbedit -u <user> -U S-1-5-21-<SID>-<RID>

35
I am having the exact same problem but following what you did was unable to get it to work again. What I have found is that the user SID's are incorrect. They should match the domain SID except for the last 4 characters (RID). The problem is they aren't matching at all.

The user SID's are S-1-5-21-3818554400-921237426-3143208535-**** (even last number)
The group SID's are S-1-5-21-3613055025-1941356807-2500616316-**** (uneven last number)
and the domain SID is S-1-5-21-3613055025-1941356807-2500616316

Group shares work... User shares do not.

Is there anyway to fix the problem with users SID's when they are created. I have managed to replicate this problem on 3 different machines. These have been done from a standard Ubuntu server install and the Ebox Ubuntu install all resulting in the same problem.

The only time I have got it to work without a problem is when I installed it in a vmware server vm.

Pages: 1 2 [3]