Pelle Svensson
2007-Dec-27 19:26 UTC
[Samba] How can I remove these log entries 'Failed to create Users' and 'Failed to create Administrators'
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
Pelle Svensson
2007-Dec-27 21:29 UTC
[Samba] How can I remove these log entries 'Failed to create Users' and 'Failed to create Admini
No I don't think I need winbind. As I understand it's for maintaining users and passwords from one administrative point. I can live without that. Is it only to find where the winbind daemon is started and disable that or? /Pelle ________________________________> Date: Thu, 27 Dec 2007 14:08:41 -0600 > From: dale@BriannasSaladDressing.com > To: pelle2004@hotmail.com > Subject: Re: [Samba] How can I remove these log entries 'Failed to create Users' and 'Failed to create Administrators' > > Pelle, > > I believe that error message derives from winbind. Do you need winbind for your setup? > If you are able to do away with winbind, you also will not need the two idmap parameters in your conf file. > > Dale > > Pelle Svensson wrote: > > 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-- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba_________________________________________________________________ Ladda ner hela Windows Live gratis och uppt?ck f?rdelarna! http://get.live.com/