Christopher.Patricca wrote:
with a user that has the power to add a machine to the domain it justYou need to give a user with uid = 0 to add a machine to the domain, or at least you would if you were having it create the user automatically, but I would guess you still need to give a root-ish user. This smb.conf looks like it came from a 2.2 system with the 'domain admin group' parameter since that isn't a valid parameter any more. Also, I believe you would have a better time with tdbsam over smbpasswd. Correct me if I'm wrong, but I don't believe smbpasswd can store the extra parameters that tdbsam can.
says that the user does not exist. This happens with all accounts which
I have specified in the smb.conf file as a user that can do this
function.
I'd back out any of the manual changes you've done to /etc/passwd and smbpasswd (or just delete smbpasswd altogether and switch to tdbsam) and try to take a run at it giving root as the user when Windows asks for it.
I have added those users via smbpasswd –a <username> as well as username –g admin <username> and they do show up in the smbpasswd file. Here’s what appears in my smbd.log file:
smbd version 3.0.7 started.
Copyright Andrew Tridgell and the Samba Team 1992-2004
[2004/10/26 11:29:50, 0] param/loadparm.c:map_parameter(2435)
Unknown parameter encountered: "domain admin group"
[2004/10/26 11:29:50, 0] param/loadparm.c:lp_do_parameter(3125)
Ignoring unknown parameter "domain admin group"
[2004/10/26 11:29:50, 0] param/loadparm.c:map_parameter(2435)
Unknown parameter encountered: "domain admin user"
[2004/10/26 11:29:50, 0] param/loadparm.c:lp_do_parameter(3125)
Ignoring unknown parameter "domain admin user"
[2004/10/26 11:29:50, 2] param/loadparm.c:do_section(3407)
Processing section "[netlogon]"
And here’s what’s in my smb.conf file:
[global]
Netbios name = Server
Server string = PDC
Workgroup = HOMEUSE
Passdb backend = smbpasswd
os level = 33
preferred master = yes
domain master = yes
local master = yes
domain logons = yes
hide dot files = yes
security = user
invalid users = bin daemon sys man postfix mail ftp
domain admin group = @admin
domain admin user = root
encrypt passwords = yes
log level = 2
log file = /var/log/samba/log.%L
max log size = 1000
debug timestamp = yes
syslog = 1
add user script = /usr/sbin/useradd –d /dev/null –g 100 –s /bin/false –m %u
[netlogon]
path = /home/samba/netlogon
read only = yes
write list = @admin
-- -- Paul Gienger Office: 701-281-1884 Applied Engineering Inc. Systems Architect Fax: 701-281-1322 URL: www.ae-solutions.com mailto: [EMAIL PROTECTED]
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
