[Samba] Specified user does not exist. Huh?!
Christopher.Patricca
christopher.patricca at venomstats.com
Tue Oct 26 16:57:18 GMT 2004
Ok folks Im at my wits end here as I cannot seem to join the domain I
setup under Samba version 3.0.7. Every time I try and join the domain
with a user that has the power to add a machine to the domain it just
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 have added those users via smbpasswd a <username> as well
as username g admin <username> and they do show up in the smbpasswd
file. Heres 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 heres whats 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
Heres what appears in my logfile (changed loglevel to 5 for this)
[2004/10/26 11:43:15, 3] smbd/process.c:switch_message(887)
switch message SMBtrans (pid 8613) conn 0x83a6130
[2004/10/26 11:43:15, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 502) - sec_ctx_stack_ndx = 0
[2004/10/26 11:43:15, 5] auth/auth_util.c:debug_nt_user_token(491)
NT user token of user S-1-5-21-1861440459-1144414950-1732935726-2008
contains 5 SIDs
SID[ 0]: S-1-5-21-1861440459-1144414950-1732935726-2008
SID[ 1]: S-1-5-21-1861440459-1144414950-1732935726-2005
SID[ 2]: S-1-1-0
SID[ 3]: S-1-5-2
SID[ 4]: S-1-5-11
[2004/10/26 11:43:15, 5] auth/auth_util.c:debug_unix_user_token(505)
UNIX token of user 0
Primary group is 502 and contains 1 supplementary groups
Group[ 0]: 502
[2004/10/26 11:43:15, 5] smbd/uid.c:change_to_user(281)
change_to_user uid=(0,0) gid=(0,502)
[2004/10/26 11:43:15, 3] smbd/ipc.c:reply_trans(538)
trans <\PIPE\> data=44 params=0 setup=2
[2004/10/26 11:43:15, 5] smbd/ipc.c:reply_trans(557)
calling named_pipe
[2004/10/26 11:43:15, 3] smbd/ipc.c:named_pipe(334)
named pipe command on <> name
[2004/10/26 11:43:15, 5] smbd/ipc.c:api_fd_reply(267)
api_fd_reply
[2004/10/26 11:43:15, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(1170)
search for pipe pnum=7517
[2004/10/26 11:43:15, 5] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(1174)
pipe name lsarpc pnum=7517 (pipes_open=1)
Another section:
[2004/10/26 11:43:16, 5] smbd/uid.c:change_to_root_user(296)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2004/10/26 11:43:16, 3] smbd/service.c:close_cnum(837)
chris (192.168.2.101) closed connection to service IPC$
[2004/10/26 11:43:16, 3] smbd/connection.c:yield_connection(69)
Yielding connection to IPC$
[2004/10/26 11:43:16, 4] smbd/vfs.c:vfs_ChDir(654)
vfs_ChDir to /
[2004/10/26 11:43:16, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/10/26 11:43:16, 5] auth/auth_util.c:debug_nt_user_token(486)
NT user token: (NULL)
[2004/10/26 11:43:16, 5] auth/auth_util.c:debug_unix_user_token(505)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2004/10/26 11:43:16, 5] smbd/uid.c:change_to_root_user(296)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2004/10/26 11:43:16, 5] lib/util.c:show_msg(439)
[2004/10/26 11:43:16, 5] lib/util.c:show_msg(449)
Those seem to be the relevant sections although I am not sure, let me
know if you just want me to post the entire logfile. Any help with this
problem would be appreciated as I would really like to get this up and
running.
More information about the samba
mailing list