The "testparm -v" will let you see which smb.conf file is being used
and what the settings are. If the default settings for passwd file and
private directory are not to your liking you can specify the in the
smb.conf file
e.g.
# testparm -v | grep -i priv
Load smb config files from /etc/samba/smb.conf
....
smb passwd file = /var/lib/samba/private/smbpasswd
private dir = /var/lib/samba/private
On 03/20/12 14:18, Beau Gauthreaux wrote:
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
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba