[Samba] Failed to create Administrators, Failed to create Users
yvan
yvan at skywalker.is-a-chef.com
Fri Oct 5 10:31:20 GMT 2007
Hi,
I have the same config as you. And the same problem. I'm trying to fix
it since days now, without success. It seems linked to winbind and the
IDMAP RID backend. It's working successfully, but I hate those messages
in the log files.
I have 2 samba servers running the same versions (samba 3.0.24 running
on Debian 4.0r1). One samba was installed 2 years ago and it is working,
and the 2nd one has been installed this year and I've got these error
messages.
I have seen differences in the GROUP MAPPING.
Have a look at this command :
tdbdump /var/lib/samba/group_mapping.tdb
and as well :
net groupmap list verbose
The differences between my 2 servers are linked to group memberships,
and now I'm trying to figure out if I can fix things with this command :
net groupmap memberships
But it seems that the BUILTIN\ groups can't be created on systems
running Winbind only (as ROLE_DOMAIN_MEMBER)
I'm going back to this ...
regards
Yvan Broccard
Jacek Kowalski a écrit :
> Hi,
>
> Since I install Samba 3.0.23d on my Centos5 with kernel
> 2.6.18-8.1.10.el5 #1 SMP I've the following messages in my logfile:
>
> Oct 3 16:45:22 smbd[6174]: [2007/10/03 16:45:22, 0]
> auth/auth_util.c:create_builtin_administrators(785) Oct 3 16:45:22
> smbd[6174]: create_builtin_administrators: Failed to create
> Administrators Oct 3 16:45:22 smbd[6174]: [2007/10/03 16:45:22, 0]
> auth/auth_util.c:create_builtin_users(751) Oct 3 16:45:22
> smbd[6174]: create_builtin_users: Failed to create Users
> Version of krb5 is 1.5-29
> This is my smb.conf:
>
> [global]
> netbios name = SERVER
> workgroup = DOMAIN
> realm = DOMAIN.NET
> security = ADS
> password server = server.domain.net
> winbind separator = +
> allow trusted domains = No
> idmap backend = idmap_rid:INFORNET=1000-65000
> idmap uid = 1000-65000
> idmap gid = 1000-65000
> template shell = /bin/bash
> winbind use default domain = Yes
> winbind enum users = No
> winbind enum groups = No
> winbind nested groups = Yes
> log file = /var/log/samba/%I.log
> log level = 3
> max log size = 500
> smb ports = 139
> guest account = guest
> encrypt passwords = yes
> username map = /etc/samba/smbusers
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> dns proxy = no
>
> [homes]
> comment = Home Directories
> browseable = no
> writable = yes
> create mask = 664
> directory mask = 0775
>
> [source1]
> path = /home/source1
> public = yes
> valid users = @DOMAIN+group1
> read list = @DOMAIN+group1
> write list = @DOMAIN+group1
> force group = group1
> writable = yes
> printable = no
> browseable = yes
> create mask = 0665
> force directory mode = 0775
> guest ok = yes
>
>
> Anybody knows how to fix it?
>
> Regards
> Jaco
>
>
>
More information about the samba
mailing list