[Samba] samba migration on Solaris 10

Harry Jede walk2sun at arcor.de
Thu Mar 8 17:10:43 UTC 2018


Am Donnerstag, 8. März 2018, 16:12:54 CET schrieb 
simon.cheng at thomsonreuters.com:
> Hi Harry
> 
> Thanks for the comments. All contents under /etc/samba/private were
> indeed copied over
> 
> appprd#ls -l /etc/samba/private/
> total 432
> -rw-------   1 root     root      180224 Mar  7 21:29 passdb.tdb
> -rw-------   1 root     root         696 Mar  8 09:13
> schannel_store.tdb -rw-------   1 root     root       16384 Mar  7
> 20:29 secrets.tdb -rw-------   1 root     root       14449 Mar  8
> 11:09 smbpasswd
> 
> Any other clue to it?
Yes, winbindd also opens some of these files:
# lsof -p 5091 |grep secrets.tdb
winbindd 5091 root  mem       REG              254,2    45056 114151 /var/lib/
samba/private/secrets.tdb
winbindd 5091 root    9u      REG              254,2    45056 114151 /var/lib/
samba/private/secrets.tdb
 
> THANK you again!
> 
> From: Harry Jede [mailto:walk2sun at arcor.de]
> Sent: March-08-18 10:51 AM
> To: samba at lists.samba.org; Cheng, Simon (TR Technology & Ops)
> Subject: Re: [Samba] samba migration on Solaris 10
> 
> Am Donnerstag, 8. März 2018, 15:15:44 CET schrieb simon.cheng--- via 
samba:
> > Hi
> > 
> > 
> > 
> > We are currently running samba on a solaris 10 server and need to
> > move
> > 
> > it to a new solaris 10 server.
> > 
> > 
> > 
> > After copy over smb.conf and the /etc/samba/private directory, which
> > 
> > includes three files: passdb.tdb
> > 
> > schannel_store.tdb
> > 
> > secrets.tdb
> > 
> > 
> > 
> > enabled samba service
> > 
> > online 9:13:34 svc:/network/samba:default
> > 
> > 
> > 
> > bash-3.2# pdbedit -L|more
> > 
> > tdb(/etc/samba/private/passdb.tdb): tdb_mmap failed for size 180224
> > 
> > (Resource temporarily unavailable)
> > 
> > tdb(/var/samba/locks/account_policy.tdb): tdb_mmap failed for size
> > 
> > 24576 (Resource temporarily unavailable)
> > 
> > tdb(/etc/samba/private/secrets.tdb): tdb_mmap failed for size 16384
> > 
> > (Resource temporarily unavailable)
> > 
> > tdb(/etc/samba/private/secrets.tdb): tdb_mmap failed for size 16384
> > 
> > (Resource temporarily unavailable)
> 
> Maybe you have not done a copy including the subdir privat?
> 
> The error message indicates this.
> 
> > samba users are able to map the shares. However, I have no clue to
> > the
> > 
> > above error message. Is there anything missed from the migration
> > 
> > other than just copy over the smb.conf file and the
> > 
> > /etc/samba/private directory? Btw, both old and new server are
> > 
> > running the same SUN build samba package SUNWsmbar.
> > 
> > 
> > 
> > Any comment greatly appreciated.
> 
> --
> 
> 
> 
> Gruss
> 
> Harry Jede


-- 

Gruss
	Harry Jede


More information about the samba mailing list