You are not logged in.

#1 2008-03-27 12:38:37

Benedict_White
Member
From: Sussex, UK
Registered: 2004-05-27
Posts: 331
Website

Samba patches

Can anyone tell me what the patches to Samba do, particularly the no-client.patch?


Kind regards

Benedict White

Offline

#2 2008-03-27 14:40:22

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Samba patches

no-clients.patch is the only one in use at the moment. I wouldn't be completely familiar with it, but a quick glance indicates that it removes the samba client applications from the samba daemon package, as these are provided separately in the smbclient package.

Offline

#3 2008-03-27 14:52:27

Benedict_White
Member
From: Sussex, UK
Registered: 2004-05-27
Posts: 331
Website

Re: Samba patches

Many thanks, i had just figured that out.

Now i am looking at the way that smbclient is built, which is a little different to the samba server. For example the clinet has the configure statement as follows:

./configure --prefix=/usr --with-smbmount --with-fhs --with-pam \
              --with-datadir=/usr/share --with-configdir=/etc/samba \
              --with-lockdir=/var/run/samba --with-ads --with-acl-support \
              --localstatedir=/var

whilst the samba server has it like this:

 ./configure --prefix=/usr --with-configdir=/etc/samba \
              --with-lockdir=/var/cache/samba \
              --with-piddir=/var/run/samba \
              --with-fhs --with-pam --with-ads --with-acl-support \
              --without-smbmount --without-libsmbclient \
              --localstatedir=/var

The main differences being the with-lockdir= being different for both, but the lock dir for the client being the same as the piddir for samba.

I wonder if that causes any problems?


Kind regards

Benedict White

Offline

Board footer

Powered by FluxBB