[Samba] domain not showing up with smbcacls

Darin Broady dbroady1 at gmail.com
Mon May 10 11:05:17 MDT 2010


I have installed Samba 3.5.2 and setup the service as a Domain member
server, NT-4 style.  Everything appears to be working just fine (NSS winbind
is installed).  The only problem is that the output from smbcacls when
contacting this Samba server does not include the domain to which the server
is joined.  When I use smbcacls to test out an existing Windows server, the
domain name is appended in the output.  Does anyone have any ideas on this?

I've started the Samba services in the following order:    nmbd, winbind,
smbd

smb.conf:
-----------------
[global]
   workgroup = <domain>
   netbios name = <machine>
   security = DOMAIN
   idmap uid = 15000-20000
   idmap gid = 15000-20000
   wins server = <ip>
   winbind use default domain = no
   domain logons = no
   domain master = no
   preferred master = no
   local master = no

[share]
   path = <...>
   valid users = <domain>\dbroady
   read only = No
   create mask = 0644
   guest ok = No

---------------------------------------------------------------

smbcacls //<machine>/share /         yields the following output:
REVISION:1
CONTROL:0x9004
OWNER:dbroady
GROUP:Domain Users
ACL:dbroady:ALLOWED/0x0/FULL
ACL:Domain Users:ALLOWED/0x0/FULL
ACL:Everyone:ALLOWED/0x0/READ


As you can see, the OWNER & GROUP lines do not contain the <domain> prefix.
On my Windows server hosting a share in the same domain, the OWNER & GROUP
lines are output as:
OWNER: <domain>\dbroady
GROUP: <domain>\Domain Users

Does anyone know how to make smbcacls output the domain attached?

Thanks
Darin


More information about the samba mailing list