← Back to team overview

sslug-teknik team mailing list archive

Re: Samba med shadow passwd problemer

 

>I øvrigt fatter jeg ikke hvorfor configure ikke accepterer mine dir-settings
>mht. hvor filer skal placeres. Jeg lavede et script til det:
>
>#!/bin/bash
>./configure --sysconfdir=/etc --localstatedir=/var/log/samba --with-smbwrapper
>--with-automount --with-smbmount --with-pam --with-ldap --with-nisplus
>--with-nisplus-home --with-ssl --with-sslinc=/usr/local/ssl/ --with-mmap
>--with-syslog --with-netatalk --with-quotas --with-privatedir=/etc/
>--with-lockdir=/var/lock/samba/ --with-swatdir=/usr/local/samba/swat/ 

Jeg har også haft problemer med de parametre. Samba-folkene har denne
her syge ide om, at smb.conf som default skal ligge et eller andet
sted dybt nede i /usr. Desuden bruger de ikke standard-sti-parametrene
til configure til noget særligt indlysende. Jeg har dog fundet ud af,
at dette virker:

./configure --host=i686-pc-linux --with-smbmount --with-automount
--with-pam \
	--with-privatedir=/etc		\
	--with-lockdir=/var/lock		\
	--with-swatdir=/usr/local/swat	\
	--prefix=/usr			\
	--exec_prefix=/usr		\
	--localstatedir=/var/log		\
	--libdir=/etc

Giver en installation med programmerne i /usr/bin, smb.conf og
smbpasswd i /etc, codepages i /etc/codepages.


/Simon



References