[Samba] How can I remove these log entries 'Failed to create Users' and 'Failed to create Administrators'

Pelle Svensson pelle2004 at hotmail.com
Thu Dec 27 19:26:09 GMT 2007


Hi,

I have a very small setup, one XP/clinet and one Vista/client and a Ubuntu/samba server.

I like to cleanup my log.smbd but I can't figure out how!

I have everything up and running and I can access the share's from the XP client.

I googled around and it seems that I should bind some Windows group/user against Unix group/users
with something like 'net groupmap add rid=2512 ntgroup='Domain Admins'  unixgroup='Domain Admins''
Do I relay need all this stuff? It seems like it's overkill, can shut down somthing and get rid of the
error.

/Pelle

log.smbd
========

2007/12/27 19:46:49, 0] smbd/server.c:main(944)
  smbd version 3.0.26a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2007
[2007/12/27 19:46:49, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/12/27 19:46:49, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/12/27 19:46:51, 0] auth/auth_util.c:create_builtin_administrators(792)
  create_builtin_administrators: Failed to create Administrators
[2007/12/27 19:46:51, 0] auth/auth_util.c:create_builtin_users(758)
  create_builtin_users: Failed to create Users
[2007/12/27 19:46:51, 0] auth/auth_util.c:create_builtin_administrators(792)
  create_builtin_administrators: Failed to create Administrators
[2007/12/27 19:46:51, 0] auth/auth_util.c:create_builtin_users(758)
  create_builtin_users: Failed to create Users

smb.conf
========

[global]
   socket options = IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   workgroup = WORKGROUP
   server string = Samba %v %h
   dns proxy = yes
   name resolve order = lmhosts host 
   interfaces = eth0 127.0.0.1/8         
   disable netbios = no
   invalid users = root
   guest ok = no
   browseable = No
   bind interfaces only = true

   log file = /var/log/samba/log.%m                    
   max log size = 1000
   syslog = 0
   panic action = /usr/share/samba/panic-action %d

   security = user
   encrypt passwords = true
   passdb backend = tdbsam:/etc/samba/private/passdb.tdb 
   obey pam restrictions = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *passwd:*password\supdated\ssuccessfully* .

   idmap uid = 10000-20000
   idmap gid = 10000-20000

include = /etc/samba/include/smb.conf.per-machine.%m

[Test]
   comment = Test disk 1GB
   browseable = Yes
   writable = yes
   locking = no
   path = /srv/disk-003
   create mask = 0777
   directory mask = 0777

[homes]
   comment = %u's Home Directory
   browseable = No
   writable = yes
   create mask = 0700
   directory mask = 0777

_________________________________________________________________
Trött på krångliga mejladresser? Skaffa en live.se-adress här!
 http://get.live.com/mail/options


More information about the samba mailing list