This seems to work. The Samba (3.0.37) server is running Solaris 10 8/07 with the share on zfs and joined to a windows 2003 active directory domain. Files created in Solaris can be edited from windows without the permission being changed. Files created from windows have the correct Solaris permissions, owner and group and can be edited without permissions being changed. We use the chmod command to set windows group permissions and Solaris permissions. The zfs aclmode and aclinherit are set to passthrough. [SambaServer] path = /sambashare read only = no create mask = 0660 force create mode = 0660 directory mask = 0770 force directory mode = 0770 inherit permissions= yes inherit acls = yes inherit owner = yes ea support = yes map archive = no map read only = permissions store dos attributes = yes vfs objects = zfsacl nfs4: acedup = merge nfs4: mode = special zfsacl: acesort = dontcare nt acl support = no
Jack Downes
2010-Oct-04 22:09 UTC
[Samba] 3.4.9 printing addprinter command reparse doesn't see new printer
hello I have cups printing with cups 1.4.4. I'm using the included smbaddprinter.pl command to add printers to my server. Now, my error is that when I add the printer, I get ACCESS DENIED in the windows client, but if I check cups, there the printer is. And if I wait a bit with the windows client or reload samba, there the printer is within the share as well. Now, from the man page on smb.conf "Once the /|addprinter command|/ has been executed, |smbd| will reparse the | smb.conf| to determine if the share defined by the APW exists. If the sharename is still invalid, then |smbd | will return an ACCESS_DENIED error to the client." So... is there a way for me to ask Samba to wait a few seconds before reparsing the smb.conf to check for the new printer? I tried adding a sleep() to the perl script, but that seems to make the issue worse, so that's not the choice it seems. thanks!