[Samba] upgrade broke XP workstation logins, variably
David Mathog
mathog at caltech.edu
Wed Sep 3 18:37:28 GMT 2008
Some progress following these actions:
saf01 workstation: changed domain SAF -> Workgroup WORKGROUP
SMB server: smbpasswd -x -m saf01
smbpasswd -a -m saf01
saf01: reboot
changed workgroup WORKGROUP -> domain SAF
reboot
After that
% smbclient -L saf01 -U 'saf/mathog%(password)'
did connect. Howerver, as before it cleared the contents of
the server and workgroup fields shown by the smbclient command.
Seems like there is some incompatibility on the upgrade for the existing
workstation passwords.
Anyway, and better yet, domain logon succeeded after the above changes,
both for an old user (had a profile) and a new user (had no profile)
On the other hand...
Changes to the desktop of "mathog" (an existing user) are not being
maintained between logins. For instance change the Start menu from
normal to classic, log out, log back in, and it is back to "normal".
Ditto for desktop rearrangements. Conversely, changes for the new user
(profile just created) are maintained. The only difference that is
obvious in the profile directories is that the former has a file:
-r-x------ 1 mathog biostaff 8 2008-09-03 11:02 ntuser.pol*
and the latter doesn't. The contents of that file are:
% od -c ~mathog/profile/ntuser.pol
0000000 P R e g 001 \0 \0 \0
0000010
Removing it didn't make any difference though. Presumably nuking the
profile directory in the existing accounts will enable them to save
changes, although that seems like a very crude fix.
It has been suggested that my smb.conf should have been changed at the
upgrade. Well, here it is (minus blank lines and comments), I don't see
anything wrong with it, perhaps one of you does:
[global]
workgroup = SAF
server string = Samba Server
interfaces = eth0
smb passwd file = /usr/local/samba/private/smbpasswd
passwd chat =
log file = /var/log/samba/%m.log
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
load printers = No
logon script = scripts\everybody.bat
domain logons = Yes
os level = 64
preferred master = Yes
domain master = Yes
dns proxy = No
wins server = 131.215.220.220
ldap ssl = no
hosts allow = 131.215., 127.
[homes]
comment = Home Directories
read only = No
create mask = 0700
directory mask = 0700
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[netlogon]
comment = Contains login script which just mounts PDB area
path = /u1/usr/netlogon
[pdb]
comment = PDB database directory
path = /u4/pdb
[profiles]
comment = user's profile directories
path = /u1/usr/people/%u/profile
read only = No
create mask = 0700
directory mask = 0700
browseable = No
This is Samba 3.0.28a (32bit, if that matters).
Thanks,
David Mathog
mathog at caltech.edu
Manager, Sequence Analysis Facility, Biology Division, Caltech
More information about the samba
mailing list