Hi Dale
Ok I used to have preffered master in the conf and I overlooked that.
In desperation I had installed swat because one google gave me probem solved
after he had installed swat.
I have corrected that and I am still getting the failed to add users
adminstrators etc:
This is on Fedora core 7 samba also just upgrade smb to
[2007/08/19 20:47:34, 0] smbd/server.c:main(944) smbd version 3.0.25b-2.fc7
started.
Still almost everylog you look at has the errors below
[root@ns2 samba]# net groupmap list
Management Group (S-1-5-21-1938644923-613313424-2189536688-1006) -> mgmt
Domain Admins (S-1-5-21-1938644923-613313424-2189536688-1001) -> root
Domain Guests (S-1-5-21-1938644923-613313424-2189536688-1003) -> nobody
Financial Services (S-1-5-21-1938644923-613313424-2189536688-1005) ->
finsrvcs
Domain Users (S-1-5-21-1938644923-613313424-2189536688-1002) -> users
Accounts Dept (S-1-5-21-1938644923-613313424-2189536688-1004) -> acctsdep
Here is a succesfull login from my laptop log of the laptop in /etc/samba/
mikeslap
with tonya as an acount, it logs on maps drive ok and seems to work but ---
errors
<snip>
mikeslap (10.194.79.195) connect to service profiles initially as user tonyah
(uid=505, gid=100) (pid 21765)
[2007/08/22 12:44:32, 0] auth/auth_util.c:create_builtin_administrators(792)
create_builtin_administrators: Failed to create Administrators
[2007/08/22 12:44:32, 0] auth/auth_util.c:create_builtin_users(758)
create_builtin_users: Failed to create Users
[2007/08/22 12:44:32, 1] smbd/service.c:make_connection_snum(1033)
mikeslap (10.194.79.195) connect to service netlogon initially as user tonyah
(uid=505, gid=100) (pid 21765)
[2007/08/22 12:44:34, 1] smbd/service.c:make_connection_snum(1033)
mikeslap (10.194.79.195) connect to service tonyah initially as user tonyah
(uid=505, gid=100) (pid 21765)-------------------------
[2007/08/22 12:44:36, 0] auth/auth_util.c:create_builtin_administrators(792)
create_builtin_administrators: Failed to create Administrators
[2007/08/22 12:44:36, 0] auth/auth_util.c:create_builtin_users(758)
create_builtin_users: Failed to create Users
[2007/08/22 12:44:36, 1] smbd/service.c:make_connection_snum(1033)
mikeslap (10.194.79.195) connect to service apps initially as user tonyah
(uid=505, gid=100) (pid 21765)--------------------------logged in
[2007/08/22 12:45:09, 0] auth/auth_util.c:create_builtin_administrators(792)
create_builtin_administrators: Failed to create Administrators
[2007/08/22 12:45:09, 0] auth/auth_util.c:create_builtin_users(758)
create_builtin_users: Failed to create Users
[2007/08/22 12:45:11, 0] auth/auth_util.c:create_builtin_administrators(792)
create_builtin_administrators: Failed to create Administrators
[2007/08/22 12:45:11, 0] auth/auth_util.c:create_builtin_users(758)
create_builtin_users: Failed to create Users
----- Original Message -----
From: Dale Schroeder
To: Mike Lander
Sent: Tuesday, August 21, 2007 9:13 AM
Subject: Re: [Samba] Domain Setup
Mike,
For PDC, 1st try adding
domain master = Yes
local master = Yes
to [global]
http://us3.samba.org/samba/docs/man/Samba-HOWTO-Collection/samba-pdc.html#id329681
Verify success of group mapping with
"net groupmap list"
http://us3.samba.org/samba/docs/man/Samba-HOWTO-Collection/groupmapping.html#id361112
Dale
Mike Lander wrote:
Hello
First time setup for a Linux PDC. Have done several Micro$
Keep getting these errors smb conf in body. I did the group add scrpt
Not modfy as all the googiling I have found suggest.
Can anyone Help Please.
Thanks
Mike
Aug 21 21:24:37 ns2 smbd[14249]: create_builtin_users: Failed to create Users
Aug 21 21:24:37 ns2 smbd[14248]: [2007/08/21 21:24:37, 0]
auth/auth_util.c:create_builtin_users(758)
Aug 21 21:24:37 ns2 smbd[14248]: create_builtin_users: Failed to create Users
Aug 21 21:30:12 ns2 smbd[14274]: [2007/08/21 21:30:12, 0]
auth/auth_util.c:create_builtin_administrators(792)
Aug 21 21:30:12 ns2 smbd[14274]: create_builtin_administrators: Failed to
create Administrators
Aug 21 21:30:12 ns2 smbd[14277]: [2007/08/21 21:30:12, 0]
auth/auth_util.c:create_builtin_administrators(792)
Aug 21 21:30:12 ns2 smbd[14277]: create_builtin_administrators: Failed to
create Administrators
Aug 21 21:30:12 ns2 smbd[14278]: [2007/08/21 21:30:12, 0]
auth/auth_util.c:create_builtin_administrators(792)
Aug 21 21:30:12 ns2 smbd[14278]: create_builtin_administrators: Failed to
create Administrators
Aug 21 21:30:12 ns2 smbd[14274]: [2007/08/21 21:30:12, 0]
auth/auth_util.c:create_builtin_users(758)
# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2007/08/20 17:00:22
[global]
workgroup = TESTDOMAIN
netbios name = SBS
server string = TW
interfaces = eth0, eth2, lo
bind interfaces only = Yes
passdb backend = tdbsam
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*Password* %n\n *Re-enter*new*password*%n\n
*Password*changed*
username map = /etc/samba/smbusers
unix password sync = Yes
log file = /var/log/samba/%m
max log size = 50
smb ports = 139
name resolve order = wins bcast hosts
time server = Yes
printcap name = CUPS
show add printer wizard = No
add user script = /usr/sbin/useradd -m '%u'
delete user script = /usr/sbin/userdel -r '%u'
add group script = /usr/sbin/groupadd '%g'
delete group script = /usr/sbin/groupdel '%g'
add user to group script = /usr/sbin/usermod -G '%g' '%u'
add machine script = /usr/sbin/useradd -s /bin/false -d /tmp '%u'
shutdown script = /var/lib/samba/scripts/shutdown.sh
abort shutdown script = /sbin/shutdown -c
logon script = scripts\logon.bat
logon path = \\%L\profiles\%U
logon drive = X:
logon home = \\%L\%U
domain logons = Yes
preferred master = Yes
domain master = Yes
local master = Yes
wins support = Yes
ldap ssl = no
utmp = Yes
map acl inherit = Yes
printing = cups
cups options = Raw
print command =
lpq command = %p
lprm command =
veto files = /*.eml/*.nws/*.{*}/
veto oplock files = /*.doc/*.xls/*.mdb/
[homes]
comment = Home Directories
valid users = %S
admin users = kkyser
read only = No
browseable = No
[printers]
comment = SMB Print Spool
path = /var/spool/samba
guest ok = Yes
printable = Yes
use client driver = Yes
browseable = No
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
guest ok = Yes
locking = No
[profiles]
comment = Profile Share
path = /var/lib/samba/profiles
read only = No
profile acls = Yes
[accounts]
comment = Accounting Files
path = /data/accounts
read only = No
[service]
comment = Financial Services Files
path = /data/service
read only = No
[fidata]
comment = Finance and Insurance Files
path = /data/fidata
read only = No
[apps]
comment = Application Files
path = /apps
admin users = kkys
[mgmt]
comment = Manangement Files
path = /data/mgmt
admin users = kkys