[Samba] upgrade from 2.2.x to 3.0.0
Andrew Judge
ajudge at grovenetworks.com
Tue Jan 6 17:11:45 GMT 2004
I upgraded (a side by side migration) from RH 7.3 to RH EN v.3 and one of
the packages was samba acting as a PDC. Was working beautifully, but now
some XP machines don't see the new server at login. Password are cached so
not a huge problem. One machine didn't cache the password. I deleted the
machine account from the samba PDC, put it into a workgroup. I then tried
to add it to the domain and I get "can not find user" as root. root is
there and valid. When I use a bad password for root, it says that I am
using a bad password - so it sees the user? Nothing unusual in the logs and
event viewer.
I migrated by:
1. copying passwd, shadow, group
2. copying smbpasswd
3. creating the ntadmin group
4. modifying the smb.conf file
my smb.conf (testparm)looks like
[root at fire2 profile]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[netlogon]"
Processing section "[printers]"
Processing section "[general]"
Processing section "[reports]"
Processing section "[accounting]"
Processing section "[executive]"
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions
# Global parameters
[global]
workgroup = FPIC
netbios name = FPICSRV
server string = Linux Server
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
add user script = /usr/sbin/useradd -d /dev/null -g machines -c
"machine account" -s /bin/false -M %u
logon script = %U.bat
logon drive = h:
domain logons = Yes
os level = 64
preferred master = Yes
domain master = Yes
dns proxy = No
wins support = Yes
[homes]
comment = Home Directories
read only = No
create mask = 0664
directory mask = 0775
browseable = No
[netlogon]
comment = Network Logon Service
path = /home/netlogon
write list = root
guest ok = Yes
share modes = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[general]
comment = General public file space
path = /var/share/general
read only = No
force create mode = 0666
guest ok = Yes
[reports]
comment = Report drive
path = /var/share/reports
read only = No
force create mode = 0644
guest ok = Yes
[accounting]
comment = Accounting
path = /var/share/accounting
valid users = @accounting
write list = @accounting
force group = accounting
read only = No
create mask = 0660
directory mask = 02770
[executive]
comment = Executive
path = /var/share/executive
valid users = @executive
write list = @executive
force group = executive
read only = No
create mask = 0660
directory mask = 02770
Andy Judge
More information about the samba
mailing list