1824638 Members
4580 Online
109672 Solutions
New Discussion юеВ

Samba 2.0.7

 
michi79
Frequent Advisor

Samba 2.0.7

Hi

I've upgraded to Samba 2.0.7-2 with the
binary package. Now security=domain does
not work any more, I is run's only with
security = server

But the real problem is:

net use drive \\hp-ux\share is very slow against the old version. Any ideas ??

L. Wahl

Ludwig Wahl
2 REPLIES 2
Kevin Ernst
Regular Advisor

Re: Samba 2.0.7

Do the files MACHINE.SID and/or ..mac (substitute your actual NT domain name and hostname) still exist in the Samba 'private' directory? If you installed the depot from the HP-UX Software and Porting Archive, those files would be in /etc/opt/samba/private; otherwise, use a 'find' command to figure out where they're kept.

If they were somehow moved or removed during the upgrade, or otherwise messed up, you may need to recreate the machine account in the domain (using SRVMGR.EXE) and re-set the machine password with 'smbpasswd':

smbpasswd -j -r

(DC_HOSTNAME = hostname of one of the domain controllers)


I'm not sure to if this was just a fluke, but when I used smbclient to download a file (the same file) of ~50 MB first from an HP-UX/Samba server, then a Windows NT 4.0 Server, transfer rates were in favor of the Samba server by a factor of 6. I repeated this benchmark several times (on a virtually idle switched network) with the same results. That would be amazing if it were true, but I'm still working on something more conclusive.

I could be wrong, but I think having (configuring Samba to use or act as) a WINS server helps as far as NetBIOS name resolution, which should decrease the time it takes to set up the initial connection to your Samba server. You may appreciate that little initial increase in speed.
michi79
Frequent Advisor

Re: Samba 2.0.7

Thank you,

how I solved the problem: I deleted the
HP-UX-samba server with the srvmgr from the
NT-domain und added the HP-UX-samba to the
NT-domain again. Then I run from
HP-UX: smbpasswd -j NT-domain -r HP-UX-samba
Now I can use security = domain and have the old state as bevor upgrade to 2.0.7

L. Wahl


Ludwig Wahl