[Samba] point n print driver deployment for canon ip7250

niya levi niyalevi at gmail.com
Mon Nov 28 04:25:49 UTC 2016


> >/$ sudo getfacl /smb/Printer_drivers/ />/getfacl: Removing leading '/' from absolute path names />/# file: smb/Printer_drivers/ />/# owner: root />/# group: domain\040admins />/# flags: -s- />/user::rwx />/group::rwx />/other::r-x />/default:user::rwx />/default:group::rwx />/default:group:domain\040admins:rwx />/default:mask::rwx />/default:other::r-x />//>/i still get the followig errors. />//>/Computer Management(TARDIS)\System Tools\SharedFolders\Shares\print$ />/share permission tab />//>/======================= />/an error occurred while applying security information to />/\\TARDIS.AD.TISSISAT.COUK\print$ />/failed to enumerate object in the container. access denied />/if i press continue i get />/unable to save permission changes on print$ />/\\TARDIS.AD.TISSISAT.COUK\print$ />/access is denied />//>/if i press cancel i get />/if you stop the propergation of permission settings, />/it might lead to a inconsistent state where objects have different />/settings. if you made this change by mistake you should apply the />/correct permission settings immediately. />//>/print management/print servers/TARDIS/drivers/add Driver />/================================================== />/error />/failed to add driver />/access denied />//>//>//>//
> I think you must be mixing up Windows and Posix ACLs, if I follow the
> wiki, I get this:
>
> root at devstation <https://lists.samba.org/mailman/listinfo/samba>:/home/rowland# ls -la /var/lib/samba/Printer_drivers/
> total 40
> drwxrwx---+ 9 root root 4096 Nov 27 15:45 .
> drwxr-xr-x  3 root root 4096 Nov 27 15:44 ..
> drwxr-xr-x  2 root root 4096 Nov 27 15:45 IA64
> drwxr-xr-x  2 root root 4096 Nov 27 15:45 W32ALPHA
> drwxr-xr-x  2 root root 4096 Nov 27 15:45 W32MIPS
> drwxr-xr-x  2 root root 4096 Nov 27 15:45 W32PPC
> drwxr-xr-x  2 root root 4096 Nov 27 15:45 W32X86
> drwxr-xr-x  2 root root 4096 Nov 27 15:45 WIN40
> drwxr-xr-x  2 root root 4096 Nov 27 15:45 x64
>
> getfacl /var/lib/samba/Printer_drivers/
> getfacl: Removing leading '/' from absolute path names
> # file: var/lib/samba/Printer_drivers/
> # owner: root
> # group: root
> user::rwx
> user:root:rwx
> group::r-x
> group:root:r-x
> group:2004:r-x
> group:2005:rwx
> mask::rwx
> other::---
> default:user::rwx
> default:user:root:rwx
> default:group::---
> default:group:root:---
> default:group:2004:r-x
> default:group:2005:rwx
> default:mask::rwx
> default:other::---
>
> Rowland

yes i was mixing up Windows and Posix ACLs
so i have removed all acl's off the share
and set the share to look like your example
it now looks like this

ls -al /smb/Printer_drivers/
total 8
drwxr-xr-x 1 root root   84 Nov 22 01:47 .
drwxr-xr-x 7 root root 4096 Nov 14 03:18 ..
drwxr-xr-x 1 root root    0 Oct 30 15:25 IA64
drwxr-xr-x 1 root root    0 Oct 30 15:25 W32ALPHA
drwxr-xr-x 1 root root    0 Oct 30 15:25 W32MIPS
drwxr-xr-x 1 root root    0 Oct 30 15:25 W32PPC
drwxr-xr-x 1 root root    0 Oct 30 15:25 W32X86
drwxr-xr-x 1 root root    0 Oct 30 15:25 WIN40
drwxr-xr-x 1 root root    0 Oct 30 15:25 x64
lrwxrwxrwx 1 root root    3 Nov 22 01:47 X64 -> x64

getfacl /smb/Printer_drivers/
getfacl: Removing leading '/' from absolute path names
# file: smb/Printer_drivers/
# owner: root
# group: root
user::rwx
group::r-x
other::r-x

i still get the same permission denied errors
and failed to enumerate object  in the container
when i try to set the acl from windows,
i don't think it makes any difference but i'll mention that
the filesystem is btrfs and the print$ share is a subvolume mounted rw

shadrock





More information about the samba mailing list