Hi people, i'm using samba 2.2.4 in a heterogen network. When i use the Networkneihbourhood on a Winxx-Client i see the /home/user directory on the samba-server twice. One time the directory is called "user" (i.e it has the name of the user, example: harry) the other is i see it as "homes". My smb.conf (partly) : ----------------------------------------------------------------- [global] server string = Samba-PDC %v on %h workgroup = WORKGROUP encrypt passwords = yes netbios name = xxxxx domain master = Yes local master = Yes prefered master = yes wins support = no wins proxy = no security = user os level = 255 domain logons = yes logon drive = z: logon path = \\%N\%u\ntprofile\%a logon home = \\%N\%u\.profiles logon script = logonsmb.bat add user script = /usr/local/sbin/mkuser %u user log level = 1 passwd chat *old*password:*%o\n*new*password:*%n\n*retype*new*password passwd program = /usr/local/sbin/mkpasswd %U passwd chat debug = true lock dir = /var/lock/samba hide dot files = No map system = Yes read size = 65535 log file = /var/log/samba.log.%m lpq command = /usr/bin/lpq -P%p %u time server = Yes character set = ISO8859-1 max log size = 1000 hosts allow = xxxx interfaces = xxx valid chars = .:.:.:.:.:.:. browsable = yes map hidden = Yes print command = /usr/bin/lpr-hr -P%p %s %m %T %u %g %h hosts equiv = /etc/hosts.equiv dos filetime resolution = Yes socket options = TCP_NODELAY IPTOS_LOWDELAY bind interfaces only = Yes strict locking = Yes map to guest = Bad User lprm command = /usr/bin/lprm -P%p %j dos filetimes = Yes create mask = 0644 preserve case = yes short preserve case = yes case sensitive =no [netlogon] path= /opt/samba/netlogon read only = no locking = no public = no writeable = yes browseable = no root preexec = /opt/samba/netlogon/netlogon.sh %S %P %u %g %U %G %H %v %h %m % root postexec = /opt/samba/netlogon/bye.sh %u %M %m %I %a %S & [homes] comment = Heimatverzeichnisse path = /home/%u read only = No create mask = 0700 [fax] browsable = yes create mode = 0644 writable = yes comment = Eingangs-Fax-Queue path = /var/spool/fax/recvq [rootdir] create mode = 0644 writable = yes path = / [data] browsable = yes create mode = 0644 writable = yes comment = Datenverzeichnis path = /data public = yes [homepages] browsable = yes create mode = 0644 writable = yes comment = homepages path = /usr/local/apache/homepages public = yes ------------------------------------------------------------- There are no other shares, where does it come from ? Greetings Harry
On Sat, 11 May 2002, Harry R?ter wrote:> [homes] > comment = Heimatverzeichnisse > path = /home/%u > read only = No > create mask = 0700Add "browseable = no" (its a hack I know, but it works). cheers, jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org "Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--