[Samba] 2.2.5, xp and incorrect logon drive as root
Thomas Bork
knuffelmail at gmx.de
Sat Jun 22 08:48:02 GMT 2002
Hi @all,
I set up 2.2.5 as PDC. With an XP-Client and log on as an simular user
as root (I'm mapping "Administrator" to root in /etc/user.map) the
logon home directory is the share "root". What is the reason for that?
Is "root" a not usable name for a share?
configure-options:
./configure \
--host=i486-pc-linux-gnu \
--target=i486-pc-linux-gnu \
--prefix=/usr \
--libdir=/etc \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--with-privatedir=/etc \
--with-logfilebase=/var/log \
--localstatedir=/var/log \
--with-swatdir=/usr/lib/samba/swat \
--with-codepagedir=/usr/lib/samba/codepages \
--with-lockdir=/var/lock/samba \
--with-piddir=/var/lock/samba \
--with-smbmount=yes \
--with-sambabook=/usr/lib/samba/swat/using_samba \
--with-winbind=no \
--with-included-popt \
--enable-cups=yes
/etc/user.map:
# samba1 = "Name mit Leerzeichen"
# samba2 = "Name mit Leerzeichen" "zweiter Name" "dritter Name"
root = "Administrator" "eis"
/etc/smb.conf:
#----------------------------------------------------------------------
------
# Samba configuration file generated by /var/install/config.d/samba.sh
#
# Version of Samba for EIS is 1.0.5.
# SAMBA_AUTO_CONFIGURATION is yes.
#
# Do not edit this file, use
#
# 'Edit Samba Configuration'
#
# in Samba Services Menu !
#
# Creation date: Sat Jun 22 19:10:58 MEST 2002
#----------------------------------------------------------------------
------
[global]
workgroup = TOMMAIK
serverstring = eis samba 1.0.5, samba %v on linux
security = user
os level = 255
local master = yes
preferred master = yes
domain logons = yes
domain master = yes
admin users = root eis
domain admin group = root eis
add user script = /var/install/bin/samba-add-workstation %u 777
machine_account /dev/null /bin/false
logon script = %U.bat
logon drive = x:
debug level = 3
encrypt passwords = yes
update encrypted = yes
username level = 2
username map = /etc/user.map
public = no
browseable = yes
interfaces = 127.0.0.1/8 192.168.0.3/255.255.255.0
bind interfaces only = yes
wins support = no
time server = yes
hosts allow = 127.0.0. 192.168.0.0/255.255.255.0
guest account = nobody
keep alive = 30
printing = lprng
printcap name = /etc/printcap
load printers = no
print command = chmod 666 %s; /usr/bin/lpr -r -P%p %s; rm %s
lpq command = /usr/bin/lpq -P%p -L
lpq cache time = 4
lprm command = /usr/bin/lprm -P%p %j
lppause command = /usr/sbin/lpc hold -P%p %j
lpresume command = /usr/sbin/lpc release -P%p %j
queuepause command = /usr/sbin/lpc -P%p stop
queueresume command = /usr/sbin/lpc -P%p start
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
mangle case = yes
case sensitive = no
default case = lower
preserve case = yes
short preserve case = yes
dos filetimes = yes
dos filetime resolution = yes
deadtime = 10
max log size = 1000
smb passwd file = /etc/smbpasswd
oplocks = no
blocking locks = no
kernel oplocks = no
level2 oplocks = no
dfree command = /usr/local/bin/dfree
message command = /bin/mail -s 'message from %f on %m' root < %s; rm
%s
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter*new*UNIX*password:* %n\n
*Retype*new*UNIX*password:* %n\n
*passwd:*password*updated*successfully*
passwd chat debug = no
pam password change = yes
min password length = 1
character set = iso8859-1
client code page = 850
[netlogon]
comment = netlogon-service on linux
path = /netlogon
writeable = no
write list = root eis
public = no
locking = no
browseable = yes
[homes]
comment = homedirectory on linux
path = %H
writeable = yes
valid users = %S
locking = no
create mode = 0600
directory mode = 0700
browseable = no
[root]
comment = root directory on linux
read only = no
browseable = no
path = /
valid users = root eis
create mode = 0700
directory mode = 0700
[public]
comment = public directory on linux
path = /public
public = yes
create mode = 0777
directory mode = 0777
browseable = yes
writable = yes
printable = no
[lp0]
comment = local printer lp0 on %h
browseable = yes
printable = yes
public = yes
create mode = 0700
path = /tmp
[lp1]
comment = local printer lp1 on %h
browseable = yes
printable = yes
public = yes
create mode = 0700
path = /tmp
der tom
[fli4l-team]
__________________________________________________________________
I I
I ML-Archiv : http://lists.spline.inf.fu-berlin.de/pipermail/fli4l I
I FAQ : http://www.fli4l.de/german/extern/faq/faq.htm I
I EIS-SAMBA : http://home.arcor.de/tombork/files/eis/eis-list.txt I
I__________________________________________________________________I
More information about the samba
mailing list