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.
31
Installation and Upgrades / Re: OK this is getting frustrating - SAMBA shares inaccessible
« on: November 11, 2008, 01:21:52 am »32
Installation and Upgrades / Re: Samba users unable to login on more than one share
« on: October 25, 2008, 04:09:53 pm »
Yeah, I'm using the latest ebox and when I just tried re-adding the module it didn't fix it.
33
Installation and Upgrades / Re: Samba users unable to login on more than one share
« on: October 24, 2008, 05:43:12 am »
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?
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
Installation and Upgrades / Re: Samba users unable to login on more than one share
« on: October 24, 2008, 04:27:18 am »
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>
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
Installation and Upgrades / Re: Samba users unable to login on more than one share
« on: October 24, 2008, 04:14:18 am »
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.
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.