can´t open username map with samba 2.2a3
andre.doehn at econia.com
andre.doehn at econia.com
Fri Apr 6 08:10:16 GMT 2001
dear list,
ive a problem with samba 2.2a3 concering the username map file - samba
cant resolve the usernames stored in the usermap file.
here is the syslog message:
smbd[22258]: rpc_server/srv_netlog.c:api_net_sam_logon(177)
smbd[22258]: api_net_sam_logon: Failed to marshall NET_R_SAM_LOGON.
smbd[22258]: rpc_server/srv_pipe.c:api_rpcTNP(1199)
smbd[22258]: api_rpcTNP: api_netlog_rpc: NET_SAMLOGON failed.
smbd[22258]: lib/username.c:map_username(87)
smbd[22258]: can't open username map /usr/local/samba/lib/usermap
here is the username map file (filepermissions: 600) with two entries
(unix to the left and windows to the right side):
root = Administrator
user499022 = odemir
here is the smb.conf:
[global]
security = user
status = yes
workgroup = NTDOM
netbios name = cgn-pdc
interfaces = eth0 lo
bind interfaces only = yes
server string = Samba %v running on %h
wins support = yes
time server = yes
encrypt passwords = yes
domain logons = yes
domain master = yes
local master = yes
preferred master = yes
logon script = scripts\logon.bat
logon home = \\%L\homes
logon path = \\%L\Profiles\%U
logon drive = z:
domain admin group = @adm
add user script = /usr/sbin/useradd -g smbcl -c Machine -d
/dev/null -s /bin/false %m$
guest account = ftp
username map = /usr/local/samba/lib/usermap
share modes=no
os level=65
keepalive = 60
name resolve order = wins bcast host
log level = 3
log file = /var/log/samba/log.%m
socket options = TCP_NODELAY
force create mode = 0640
force directory mode = 0750
[homes]
comment = econia home directories
guest ok = no
read only = no
create mask = 0700
directory mask = 0700
;oplocks = false mode = 0755
locking = yes
[Profiles]
comment = Windows User Profiles
path = /share/profiles
guest ok = no
browseable = no
writeable = yes
create mask = 0644
directory mask = 0755
locking = no
[netlogon]
path = /share/netlogon
writeable = yes
guest ok = no
[print$]
path=/share/printers
guest ok = yes
browseable = yes
read only = yes
write list = @adm
[transfer]
comment = share for filetransferring
path = /share/files/transfer
browseable = TRUE
writeable = FALSE
valid users = @adm, at users
any hint what iam doing wrong?
another problem is that when Win98/ME users login in the domain - the
option logon drive = z: only work for win nt & 2k clients.
Should I have to add a line "net use z: \\cgn-pdc\homes" in the Win98
section logon.bat?
bye
andre
More information about the samba-ntdom
mailing list