[Samba] Problem with Windows XP not seeing home directories

John Williams
Tue, 05 Mar 2002 07:34:03 -0000

Hi,
We have Samba 2.2.2 running on Solaris 8 and Windows XP 5.1.2600 build 2600.
An encrypted smbpasswd file has been setup and user names/uids copied across
from
NIS into the encrypted password file.  User filestore is mounted by NFS from a
central
NFS server and made available from this samba server (cs-enterprise).  NIS is
normally used to authenticate users to the server and users can login and access
their
filestore without problems.
Users can login to the domain successfully and can mount samba shares.  They can
view the correct home directory but do not have write permissions.  Can anyone
suggest a solution.
Sorry if this is a FAQ.
Many thanks in advance, smb.conf file below.
John Williams
Aston University
-------
OUTPUT FROM NET VIEW
C:\Documents and Settings\waughjbs>net view cs-enterprise Shared
resources at cs-enterprise

Samba Server

Share name  Type  Used as  Comment

---------------------------------------------------------
apachecs    Disk           WWW Server on CS-SERVER
apacheeas   Disk           WWW Server on SEAS-DISCWORLD
files       Disk           Shared Files
images 1    Disk           Disk Images 1
images 2    Disk           Disk Images 2
macsoft     Disk           Mac Software Share
netlogon    Disk
pcsoft      Disk           PC Software Share
profiles    Disk           Roaming Profiles
publichtml  Disk           Users Public HTML Directory
publicinfo  Disk           Public Info Share
research    Disk           Research Area Share
staffareas  Disk           Staff Areas Share
waughjbs    Disk           Home Directories
The command completed successfully.

I can mount \\cs-enterprise\waughjbs but if I try to create a dir it
still gives me access denied


SMB.CONF
# Global parameters
[global]
;status = yes
workgroup = sambaxp
netbios name = cs-enterprise
server string = Samba Server
log file = /usr/local/samba/logs/%m.log
max log size = 50
;socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

# SERVER AND NETWORK SETTINGS
os level = 64
dns proxy = No
domain logons = yes
domain master = yes
wins server = 134.151.53.3

# USER LOGON SETTINGS
security = user
encrypt passwords = yes
add user script = /usr/sbin/useradd -g machines -c Machine -d /dev/null
-s
/bin/false -m %u
logon path = \\%L\profiles\%u
logon drive = H:
logon home = \\%L\%u
guest ok = no
invalid users = bin daemon adm sync shutdown halt mail news uucp
operator gopher ftp
admin users = waughjbs

# PRINTING SETTINGS
   printing = bsd
   printcap name = /usr/local/samba/printcap
   print command = /usr/bin/lp -c -d %p %s; rm %s
   load printers = yes


[netlogon]
path = /usr/local/samba/lib/netlogon
writeable = no
write list = ntadmin

[profiles]
comment = Roaming Profiles
path = /usr/local/samba/profiles
writeable = yes
create mask = 0600
directory mask = 0700
browseable = yes

[homes]
comment = Home Directories
browseable = no
writable = yes

[printers]
comment = All Printers
path = /tmp
printable = yes
browseable = no
public = no
writeable = no
force create mode = 0700

[files]
comment = Shared Files
path = /import/seas-discworld/disk1
browseable = yes
writeable = yes
share modes = no
wide links = no
force create mode = 0770
create mode = 0770
force directory mode = 0770
directory mode = 0770
valid users = dorandw linskiwm kaliazia millerjp piercecb toyenw
waughjbs
beaumoaj poolerh alamolsm
mangled names = no

[images 1]
comment = Disk Images 1
path = /import/seas-discworld/disk2
browseable = yes
writeable = yes
share modes = no
wide links = no
force create mode = 0770
create mode = 0770
force directory mode = 0770
directory mode = 0770
valid users = dorandw piercecb toyenw waughjbs alamsolm kaliazia
millerjp mangled names = no

[images 2]
comment = Disk Images 2
path = /import/seas-discworld/disk3
browseable = yes
writeable = yes
share modes = no
wide links = no
force create mode = 0770
create mode = 0770
force directory mode = 0770
directory mode = 0770
valid users = dorandw piercecb toyenw waughjbs alamsolm kaliazia mangled
names = no

[publichtml]
comment = Users Public HTML Directory
path = %H/public_html
browseable = yes
writeable = yes
share modes = no
wide links = no
force create mode = 0644
create mode = 0644
force directory mode = 0755
directory mode = 0755
mangled names = no

[apachecs]
comment = WWW Server on CS-SERVER
path = /import/cs-server/apache
browseable = yes
writeable = yes
share modes = no
wide links = no
force create mode = 0644
force directory mode = 0755
force user = waughjbs
valid users = waughjbs dorandw
mangled names = no

[apacheeas]
comment = WWW Server on SEAS-DISCWORLD
path = /import/seas-discworld/apache
browseable = yes
writeable = yes
share modes = no
wide links = no
force create mode = 0644
force directory mode = 0755
force user = waughjbs
valid users = waughjbs dorandw
mangled names = no

[apachecs124]
comment = CS124 Web Pages
path = /import/seas-discworld/apache/htdocs/CS124
browseable = no
writeable = yes
share modes = no
wide links = no
force create mode = 0644
force directory mode = 0755
force user = tawilar
valid users = waughjbs dorandw tawilar
mangled names = no

[gdi]
comment = Global Design Initiative Share
path = /import/seas-discworld/disk3/gdi
browseable = no
writeable = yes
share modes = no
wide links = no
force create mode 0750
force directory mode = 0750
force user littlepa
valid users = littlepa
mangles names = no

[pcsoft]
comment = PC Software Share
path = /import/seas-discworld/disk3/pcsoft
browseable = yes
writeable = yes
share modes = no
wide links = no
force create mode = 0755
force directory mode = 0755
write list = dorandw waughjbs
mangled names = no

[macsoft]
comment = Mac Software Share
path = /import/seas-discworld/disk3/macsoft
browseable = yes
writeable = yes
share modes = no
wide links = no
force create mode = 0755
force directory mode = 0755
write list = toyenw
mangles names = no
case sensitive = yes

[publicinfo]
comment = Public Info Share
path = /import/seas-discworld/disk3/public
browseable = yes
writeable = no
share modes = no
wide links = no
force create mode = 0755
force directory mode = 0755
write list = @cs_staff
mangles names = no

[staffareas]
comment = Staff Areas Share
path = /import/seas-discworld/disk3/staff_areas
browseable = yes
writeable = yes
share modes = no
wide links = no
force create mode = 0700
force directory mode = 0700
valid users = @cs_staff
mangled names = no

[research]
comment = Research Area Share
path = /import/seas-discworld/disk3/research_areas
browseable = yes
writeable = yes
share modes = no
wide links = no
force create mode = 0700
force directory mode = 0700
valid users = @cs_staff @cs_rsrch
mangles names = no

[schooloffice]
comment = School Office Share
path = /import/seas-discworld/disk3/schooloffice
browseable = no
writeable = yes
share modes = no
wide links = no
force create mode = 0770
force directory mode = 0770
valid users = barrykl candlija lloydds
mangled names = no

[cath]
comment = Cath Share
path = /import/seas-discworld/disk3/cath
browseable = no
writeable = yes
share modes = no
wide links = no
valid users = quinecl
mangled names = no



--
John Williams
School Computer Officer,LHS
Aston University



--
John Williams
School Computer Officer,LHS
Aston University