[Samba] Help with smbpasswd file
Beau Gauthreaux
rhyminggoat at gmail.com
Tue Mar 20 12:18:54 MDT 2012
Is there a procedure for copying the smbpasswd from an old machine to a new
machine (fresh samba build), and have the new machine recognize the old
smbpasswd file? Both machines are aix 6.1 and Samba version 3.5.12. I
copied all of the .tdb files but that didn't seem to work. The new
machine does not seem to know what is in
/usr/local/samba/private/smbpasswd. Below is my smb.conf
Thanks,
bash-4.2# cat smb.conf
[global]
workgroup = privateworkgroup
netbios name = someserver
server string = Some Samba Server %v
security = user
encrypt passwords = yes
passdb backend = smbpasswd
log file = /LOGS/log.smbd
max log size = 200000
log level = 2
delete readonly = yes
invalid users = root daemon bin sys adm uucp nuucp lpd imnadm ipsec
lp snapp inv scout
guest account = nobody
host msdfs = no
max xmit = 65535
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192
strict locking = no
allocation roundup size = 2097152
use sendfile = true
comment = Samba Share
path = /export/shares
writeable = yes
create mask = 0775
directory mask = 0775
security mask = 0770
force security mode = 770
directory security mask = 0770
force directory security mode = 770
force create mode = 0775
force directory mode = 0775
inherit acls = yes
[Tshare]
#Windows no Unix yes (Execute bit)
map archive = no
map system = no
map hidden = no
[Tshares-unix]
#Windows no Unix yes (Execute bit)
map archive = yes
map system = yes
map hidden = yes
--
Beau Gauthreaux
More information about the samba
mailing list