Re: [Samba] Sync - sysvol and getfacl

2013-07-15 Thread Philippe.Simonet
Hi

i'm pretty sure this has the same cause as 

https://bugzilla.samba.org/show_bug.cgi?id=9820


Philippe

> -Original Message-
> From: samba-boun...@lists.samba.org [mailto:samba-
> boun...@lists.samba.org] On Behalf Of Sandbox
> Sent: Wednesday, July 10, 2013 8:30 AM
> To: samba@lists.samba.org
> Subject: [Samba] Sync - sysvol and getfacl
> 
> Hi,
> 
> I'm using Samba 4.0.5 and when I use  ls -la or getfacl on eg:
> sysvol/Policies directory Samba dies with this error message:
> 
> ==> samba/samba.log <==
> [2013/07/10 07:49:30,  0] ../lib/util/fault.c:72(fault_report)
>   ===
> [2013/07/10 07:49:30,  0] ../lib/util/fault.c:73(fault_report)
>   INTERNAL ERROR: Signal 11 in pid 3222 (4.0.5)
>   Please read the Trouble-Shooting section of the Samba HOWTO
> [2013/07/10 07:49:30,  0] ../lib/util/fault.c:75(fault_report)
>   ===
> 
> but the command gave this info:
> 
> # file: Policies/
> # owner: root
> # group: 300
> user::rwx
> user:root:rwx
> group::rwx
> group:300:rwx
> group:301:r-x
> group:302:rwx
> group:303:r-x
> group:304:rwx
> mask::rwx
> other::---
> default:user::rwx
> default:user:root:rwx
> default:group::---
> default:group:300:rwx
> default:group:301:r-x
> default:group:302:rwx
> default:group:303:r-x
> default:group:304:rwx
> default:mask::rwx
> default:other::---
> 
> 
> It is interesting because I dont have that kind of groups with those ID's
> (according to getent group and wbinfo -g) except 304 which is Group
> Policy Creator Owners.
> I suppose the other four groups are (checked from windows side):
> Administrators, Server Operators, SYSTEM and Authenticated Users.
> Can I do anything with this?
> 
> My next question is: sysvol sync.
> My PDC's and BDC's user and group ID's are totaly different.
> 
> Is it possible to set my PDC/BDC ID's equal, because as I see BDC couldn't
> do his job while this isn't solved.
> 
> Regards, Robert
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Sync - sysvol and getfacl

2013-07-10 Thread steve
On Wed, 2013-07-10 at 08:30 +0200, Sandbox wrote:

> My PDC's and BDC's user and group ID's are totaly different.
> 
> Is it possible to set my PDC/BDC ID's equal, because as I see BDC couldn't
> do his job while this isn't solved.


Hi
You can have the same id's everywhere by putting uidNumber and gidNumber
attributes in the directory in the DN of the user or group and then
recovering them using nss with winbind, nslcd or sssd. But make sure
that if you use winbind you actually configure it to pull the values
from AD and not any external database.

If you already have groups and users, only add the new attributes to one
of the DC's. Disable the other DC while you do this. Take the id's from
whatever the xidNumber is on the DC you choose.
hth
Steve


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba