Rich Webb
2014-Dec-19 14:06 UTC
[Samba] setfacl: Option -m: Invalid argument near character 3
Looks like that worked but the UIDs probably need to be mapped more appropriately - how do I take care of that? getent group "domain users" DOMAIN\Domain Users:*:100: Rich -----Original Message----- From: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] On Behalf Of Rich Webb Sent: Friday, December 19, 2014 9:05 AM To: samba at lists.samba.org Subject: Re: [Samba] setfacl: Option -m: Invalid argument near character 3 find . -name libnss_winbind.so -print ./lib64/libnss_winbind.so It's there so just add winbind to the nsswitch.conf? Restart anything? Thanks, Rich -----Original Message----- From: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] On Behalf Of Rowland Penny Sent: Friday, December 19, 2014 9:03 AM To: samba at lists.samba.org Subject: Re: [Samba] setfacl: Option -m: Invalid argument near character 3 OK, do you have 'libnss_winbind.so' on your system ? it would normal be in /usr/lib or similar. If you have, then it probably just needs 'winbind' adding to the 'passwd' & 'groups' lines in /etc/nsswitch.conf. If you cannot find it then it needs to be installed, anybody know which Sernet package provides it ?? Rowland -- 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
Rich Webb
2014-Dec-19 14:18 UTC
[Samba] setfacl: Option -m: Invalid argument near character 3
Also I'm getting an access denied when trying to modify the permissions from Windows still. I am able to set them at the command line with setfacl and the getent group by itself lists all the domain groups along with the unix groups. Also all my users are listed when doing getent passwd. Wonder why I wouldn't be able to set the ACL from windows. Any idea there? Rich -----Original Message----- From: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] On Behalf Of Rich Webb Sent: Friday, December 19, 2014 9:07 AM To: samba at lists.samba.org Subject: Re: [Samba] setfacl: Option -m: Invalid argument near character 3 Looks like that worked but the UIDs probably need to be mapped more appropriately - how do I take care of that? getent group "domain users" DOMAIN\Domain Users:*:100: Rich -----Original Message----- From: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] On Behalf Of Rich Webb Sent: Friday, December 19, 2014 9:05 AM To: samba at lists.samba.org Subject: Re: [Samba] setfacl: Option -m: Invalid argument near character 3 find . -name libnss_winbind.so -print ./lib64/libnss_winbind.so It's there so just add winbind to the nsswitch.conf? Restart anything? Thanks, Rich -----Original Message----- From: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] On Behalf Of Rowland Penny Sent: Friday, December 19, 2014 9:03 AM To: samba at lists.samba.org Subject: Re: [Samba] setfacl: Option -m: Invalid argument near character 3 OK, do you have 'libnss_winbind.so' on your system ? it would normal be in /usr/lib or similar. If you have, then it probably just needs 'winbind' adding to the 'passwd' & 'groups' lines in /etc/nsswitch.conf. If you cannot find it then it needs to be installed, anybody know which Sernet package provides it ?? Rowland -- 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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Rich Webb
2014-Dec-19 15:30 UTC
[Samba] setfacl: Option -m: Invalid argument near character 3
Actually it looks like it is working properly with the exception of a couple of items. Domain Users is properly being mapped to the "users" unix group so that is probably fine. What I don't have the ability to do is use groups such as "Authenticated Users" or "Everyone" or "System" in any of the acls. Additionally I cannot edit permissions from my windows machine. I am manually having to do it with setfacl which is working. This at least gives me a workable solution until I can sort out all this other stuff. Ideally I would like to be able to edit the ACLs from the windows admin machine. If there is any other insight into why these other issues might be happening I would appreciate it and I very much thank everyone that has helped me. This has saved me from having to completely abandon this install for that of something like Zentyal that has all this working. Rich -----Original Message----- From: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] On Behalf Of Rich Webb Sent: Friday, December 19, 2014 9:07 AM To: samba at lists.samba.org Subject: Re: [Samba] setfacl: Option -m: Invalid argument near character 3 Looks like that worked but the UIDs probably need to be mapped more appropriately - how do I take care of that? getent group "domain users" DOMAIN\Domain Users:*:100: Rich -----Original Message----- From: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] On Behalf Of Rich Webb Sent: Friday, December 19, 2014 9:05 AM To: samba at lists.samba.org Subject: Re: [Samba] setfacl: Option -m: Invalid argument near character 3 find . -name libnss_winbind.so -print ./lib64/libnss_winbind.so It's there so just add winbind to the nsswitch.conf? Restart anything? Thanks, Rich -----Original Message----- From: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] On Behalf Of Rowland Penny Sent: Friday, December 19, 2014 9:03 AM To: samba at lists.samba.org Subject: Re: [Samba] setfacl: Option -m: Invalid argument near character 3 OK, do you have 'libnss_winbind.so' on your system ? it would normal be in /usr/lib or similar. If you have, then it probably just needs 'winbind' adding to the 'passwd' & 'groups' lines in /etc/nsswitch.conf. If you cannot find it then it needs to be installed, anybody know which Sernet package provides it ?? Rowland -- 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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Rowland Penny
2014-Dec-19 16:11 UTC
[Samba] setfacl: Option -m: Invalid argument near character 3
On 19/12/14 15:30, Rich Webb wrote:> Actually it looks like it is working properly with the exception of a > couple of items. Domain Users is properly being mapped to the "users" > unix group so that is probably fine. What I don't have the ability to > do is use groups such as "Authenticated Users" or "Everyone" or "System" > in any of the acls. Additionally I cannot edit permissions from my > windows machine. I am manually having to do it with setfacl which is > working. This at least gives me a workable solution until I can sort > out all this other stuff. > > Ideally I would like to be able to edit the ACLs from the windows admin > machine. > > If there is any other insight into why these other issues might be > happening I would appreciate it and I very much thank everyone that has > helped me. This has saved me from having to completely abandon this > install for that of something like Zentyal that has all this working. > > Rich > > -----Original Message----- > From: samba-bounces at lists.samba.org > [mailto:samba-bounces at lists.samba.org] On Behalf Of Rich Webb > Sent: Friday, December 19, 2014 9:07 AM > To: samba at lists.samba.org > Subject: Re: [Samba] setfacl: Option -m: Invalid argument near character > 3 > > Looks like that worked but the UIDs probably need to be mapped more > appropriately - how do I take care of that? > > getent group "domain users" > DOMAIN\Domain Users:*:100: > > Rich > > -----Original Message----- > From: samba-bounces at lists.samba.org > [mailto:samba-bounces at lists.samba.org] On Behalf Of Rich Webb > Sent: Friday, December 19, 2014 9:05 AM > To: samba at lists.samba.org > Subject: Re: [Samba] setfacl: Option -m: Invalid argument near character > 3 > > find . -name libnss_winbind.so -print > ./lib64/libnss_winbind.so > > It's there so just add winbind to the nsswitch.conf? Restart anything? > > Thanks, > Rich > > > -----Original Message----- > From: samba-bounces at lists.samba.org > [mailto:samba-bounces at lists.samba.org] On Behalf Of Rowland Penny > Sent: Friday, December 19, 2014 9:03 AM > To: samba at lists.samba.org > Subject: Re: [Samba] setfacl: Option -m: Invalid argument near character > 3 > > > OK, do you have 'libnss_winbind.so' on your system ? it would normal be > in /usr/lib or similar. If you have, then it probably just needs > 'winbind' adding to the 'passwd' & 'groups' lines in /etc/nsswitch.conf. > > If you cannot find it then it needs to be installed, anybody know which > Sernet package provides it ?? > > Rowland > -- > 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 > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/sambaOK, you now have winbind working, but you are falling into the trap of expecting WINDOWS builtin users & groups to be mapped to Unix ones, this does happen but not as you think, it is done via idmap.ldb. I would suggest that you go and read this: https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO Specifically, the Introduction part. Rowland
Seemingly Similar Threads
- setfacl: Option -m: Invalid argument near character 3
- setfacl: Option -m: Invalid argument near character 3
- setfacl: Option -m: Invalid argument near character 3
- setfacl: Option -m: Invalid argument near character 3
- setfacl: Option -m: Invalid argument near character 3