so far I use a unslung Linksys NSLU2.0 with a pen drive for the rootfs and an external HDD for my smb/cifs shares.
It acts as a file sharing device and as the primary domain controller to my hand full of Windows XP Prof systems and my family and a few others (<10) roaming accounts.
I now want to replace the NSLU (unslung 6.3, samba 3.2.15) by the Sheeva Plug (kernel 22.214.171.124, samba 3.3.2), but the more I read at the samba site or other forums the more I get confused how to plan a proper migration.
Hopefully you can give me some suggestions. I'll try to give a brief insight into the current setup and my thought which make me struggle.
i) while I have to migrate anyway would it wise to move from PDC to AD (e.g. Vista W7)?
(or should I have this done in two steps (PDC_nslu -> PDC_sheeva -> AD_sheeva)
ii) the Ubuntu uses shadow files (which the NSLU doesn't - how do I migrate my users (' pwds)?
iii) how should the "adduser" etc. scripts be adjusted
(should I add the former gids and uids manually to the plug)
iv) can I work with "net rpc vampire"?
(will it set the actual user pwds?)
v) should I expand the new smb.conf with the "pam" related stuff?
Here's how my actual global section looks like
workgroup = MyDomain
server string = Linksys NSLU2.0
#new config should be: server string = SheevaPLug
interfaces = 127.0.0.1/24, a.b.c.d/24, ixp0, lo
#new config should be?: interfaces = eth0, lo
bind interfaces only = Yes
map to guest = Bad User
null passwords = Yes
smb passwd file = /opt/etc/samba/passdb.tdb
#new config should be: smb passwd file = /etc/samba/passdb.tdb
passdb backend = tdbsam
guest account = guest
username map = no
log level = 1
max log size = 10
name resolve order = wins bcast
socket options = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF=16384 SO_RCVBUF=16384
load printers = No
add user script = /opt/bin/adduser -H '%u'
#new config should be?: add user script = /usr/sbin/adduser '%u'
delete user script = /opt/bin/deluser '%u'
#new config should be?: delete user script = /usr/sbin/deluser '%u'
add group script = /opt/bin/addgroup '%g'
#new config should be?: add group script = /usr/sbin/addgroup '%g'
delete group script = /opt/bin/delgroup '%g'
#new config should be?: delete group script = /usr/sbin/delgroup '%g'
add user to group script = /opt/bin/addgroup '%g' '%u'
#new config should be?: add user to group script = /usr/sbin/addgroup '%g' '%u'
add machine script = /opt/bin/adduser -s /bin/false -h /dev/null '%u'
#new config should be?: add machine script = /usr/sbin/adduser -s /bin/false -h /dev/null '%u'
domain logons = Yes
os level = 33
preferred master = Yes
domain master = Yes
dns proxy = No
wins support = Yes
config file = /opt/etc/samba/smb.conf
#new config should be: config file = /etc/samba/smb.conf
create mask = 0775
force create mode = 0660
force directory mode = 0775
guest ok = Yes
hosts allow = 127.0.0.1, 192.168.
hosts deny = 0.0.0.0/0
default case = upper
case sensitive = No
map system = Yes
#should this below be added to the new smb.conf on the plug?
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
panic action = /usr/share/samba/panic-action %d
I noticed that my users' accounts are all in the same group gid 501 on the Slug, but that every machine has it's own uid = gid!?