[Samba] problem upgrading 3.0.23->3.2.x
Linda W
samba at tlinx.org
Thu Jul 31 11:44:24 GMT 2008
Helmut Hullen wrote:
> Hallo, Linda,
>
> Du (samba) meintest am 30.07.08:
>
>> While I've made all the changes (I think) suggested, samba works no
>> better now than it did before. Except now I have smb.conf files I
>> can't easily reuse by just reinstalling
>> 3.0.23 ... :-(...
>
> Have you changed to Samba 3.2.x or to Samba 3.0.3x?
---
3.2.x from your point (thank you! :-))
>
>> So far nothing is being shared than what was originally shared --
>> the /root dir, a /suse93 dir and
>> had a home dir for a bit, but it went away again and at one point
>> was called "homes" instead of 'law' (username).
>
> Could you please show the complete "smb.conf (especially the "[global]"
> section)?
Load smb config files from /etc/samba/smb.conf
Processing section "[netlogon]"
Processing section "[profiles]"
Processing section "[homes]"
Processing section "[home]"
Processing section "[%U]"
Processing section "[root$]"
Processing section "[suse93]"
Processing section "[Share]"
Processing section "[backups]"
Processing section "[Usr_Doc]"
Processing section "[Music]"
Processing section "[Pictures]"
Processing section "[Inst]"
Processing section "[Software]"
Processing section "[logs]"
Processing section "[vct]"
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
[global]
display charset = UTF8
workgroup = BLISS
netbios aliases = web-proxy, clock, wpad
server string = Ishtar
interfaces = eth0, lo
bind interfaces only = Yes
guest account = guest
username map = /etc/samba/smbusers
log level = 3
log file = /var/log/samba/log.%m
max log size = 2048
name resolve order = wins lmhosts hosts wins
time server = Yes
show add printer wizard = No
add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel %u
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
add machine script = /usr/sbin/useradd -g machines -c Machine -d
/dev/null -s /bin/false %u
domain logons = Yes
domain master = Yes
wins support = Yes
hosts allow = 192.168.3.0/24, 127.1
printing = bsd
print command = lpr -r -P'%p' %s
lpq command = lpq -P'%p'
lprm command = lprm -P'%p' %j
[netlogon]
path = /home/samba/netlogon/%u
write list = @BLISS\admin, BLISS\root
guest ok = Yes
[profiles]
comment = Network Profiles Service
path = /home/samba/profiles
read only = No
profile acls = Yes
browseable = No
[homes]
comment = Home Dir (Generic Homes)
path = /home/%U
valid users = %S, %D%w%S
read only = No
create mask = 0750
[home]
comment = /home (allhomes)
path = /home
valid users = @BLISS\trusted_local_net_users
read only = No
create mask = 0750
browseable = No
[%U]
comment = Home Directory (%U)
path = /home/%U
valid users = %S, %D%w%S
read only = No
create mask = 0750
[root$]
comment = /
path = /
read list = BLISS\law, @BLISS\trusted
write list = BLISS\law
read only = No
browseable = No
[suse93]
path = /Share/suse93/d1
guest ok = Yes
[Share]
comment = Share
path = /Share
read list = @BLISS\trusted_local_net_users, @BLISS\trusted, BLISS\law,
Athena\law
write list = BLISS\law, @BLISS\trusted, Athena\law
read only = No
guest ok = Yes
[backups]
comment = Host backup-dirs
path = /backups/%m
write list = @BLISS\admin, @BLISS\%m
read only = No
create mask = 0700
[Usr_Doc]
comment = /usr/share/doc
path = /usr/share/doc
read list = @BLISS\users
write list = BLISS\law
guest ok = Yes
[Music]
comment = Music
path = /Share/Music
read list = @BLISS\trusted_local_net_users
write list = BLISS\law
guest ok = Yes
[Pictures]
comment = Pictures
path = /Share/Pictures
read list = trusted_local_net_users, law
write list = BLISS\law
[Inst]
comment = Inst
path = /Share/Software/Inst
read list = @BLISS\trusted_local_net_users
write list = BLISS\law
browseable = No
[Software]
comment = Software images
path = /Share/Software
read list = @BLISS\trusted_local_net_users
write list = BLISS\law
browseable = No
[logs]
comment = Athena logs
path = /home/NT_Perflogs
guest ok = Yes
browseable = No
[vct]
comment = test
path = /var/cache/test
read list = BLISS\law, @BLISS\admin, BLISS\root
write list = BLISS\law, @BLISS\admin, BLISS\root
guest ok = Yes
browseable = No
>
> What tells (on the server)
>
> smbclient -N -L localhost
ishtar:/Share/suse103/samba-updates> smbclient -N -L localhost
Anonymous login successful
Domain=[BLISS] OS=[Unix] Server=[Samba 3.2.0-24.1.123-1844-SUSE-SL10.3]
Sharename Type Comment
--------- ---- -------
netlogon Disk
homes Disk Home Dir (Generic Homes)
guest Disk Home Directory (guest)
suse93 Disk
Share Disk Share
backups Disk Host backup-dirs
Usr_Doc Disk /usr/share/doc
Music Disk Music
Pictures Disk Pictures
IPC$ IPC IPC Service (Ishtar)
Anonymous login successful
Domain=[BLISS] OS=[Unix] Server=[Samba 3.2.0-24.1.123-1844-SUSE-SL10.3]
Server Comment
--------- -------
WPAD Ishtar
CLOCK Ishtar
WEB-PROXY Ishtar
ISHTAR Ishtar
Workgroup Master
--------- -------
BLISS
>
> What tells (on the clients)
>
> net view
>
> net view \\<Server-IP>
----
law> net view
Server Name Remark
-------------------------------------------------------------------
\\CLOCK Ishtar
\\ISHTAR Ishtar
\\WEB-PROXY Ishtar
\\WPAD Ishtar
The command completed successfully.
law> net view \\ISHTAR
System error 123 has occurred.
The filename, directory name, or volume label syntax is incorrect.
law> net view \\BLISS
System error 123 has occurred.
The filename, directory name, or volume label syntax is incorrect.
law> net view \\192.168.3.1
System error 123 has occurred.
>
> Can more shares be connected after connecting (p.e.) the "Home" share?
> Are they only not shown but connectable?
----
Previously mounted shares are still visible as placeholders only.
My home directory is no longer visible by name, but is visible by the
name 'homes' which only shows the contents of my user directory -- not
all of the homes.
(used to have homedir=username, and //ishtar/home showed all homes)
groups in /etc/samba/smbgroup seem to be ignored?
More information about the samba
mailing list