[Samba] Cannot access/write to shares

Charlie Page cpage at corebizserv.com
Tue Sep 29 14:01:45 MDT 2009


Hi All,

I cannot access/write to shares (depending on what level domain users 
groups become relevant to access) so I turned the logging level up to 3.
This is the error from the 'test' share while attempting to create a new
folder:
[2009/09/29 09:57:45, 3] lib/util_sid.c:string_to_sid(223)
  string_to_sid: Sid @domain users does not start with 'S-'.
Which I believe (from reading other posts), at the point this function 
is called Samba should have converted the text name of the group into a 
text SID for the string_to_sid function.  Other logging lines indicate 
that Samba is turning groups into SIDs.

I am using samba 3.0.36 on gentoo linx-2.6.28 glib-2.20.5
smb.conf
   server string = Samba Server %v
   log level = 3
   log file = /var/log/samba/log.%m
   max log size = 50
   interfaces = lo eth0
   bind interfaces only = yes
   hosts allow = 10.4.1. 172.16.142. 127.
   hosts deny = 0.0.0.0/0
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   dns proxy = no
   security = ADS
   idmap uid = 10000-20000
   idmap gid = 10000-20000
   winbind enum users = yes
   winbind enum groups = yes
   template homedir = /home/%D/%U
   template shell = /bin/bash
   client use spnego = yes
   client ntlmv2 auth = yes
   winbind use default domain = yes
   restrict anonymous = 2
   domain master = no
   local master = no
   preferred master = no
   os level = 10
   disable netbios = no
#   dos charset = ASCII
#   unix charset = UTF8
#   display charset = UTF8
   preserve case = yes
   short preserve case = yes


#   printer admin = root, "@Domain Admins"
   printing = cups
   printcap name = cups
#   printcap = /etc/printcap
   load printers = yes
   default devmode = yes
[printers]
        comment = All Printers
        path = /var/spool/samba
        browseable = no
        guest ok = no
        writable = no
        printable = yes
#       admin users = root, @"Domain Admins", @"Printer Admins",
@"Domain Power Users"
[print$]
#       comment = Printer Drivers
        path = /var/lib/samba/printers
        guest ok = no
        browseable = yes
#       read only = yes
        write list = @"domain admins"

[daily backups]
        comment = DGHYP Daily Backups
        path = /backup/set1
        valid users = @"domain admins"
        read only = Yes

[tech]
        comment = IT Files
        path = /backup/tech
        write list = @"domain admins"
        force create mode = 0770

[test]
        comment = test
        path = /backup/test
        write list = @"domain users", "@domain users", "@domain admins",
@"domain admins"

Thanks,
Charlie Page


-- 
Charlie Page
Core Business Services - Your Business Technology Partner
(o)646-837-7798
(c)203-918-3645
www.corebizserv.com



More information about the samba mailing list