Hi,

Ultimately, I want to install pf on debian jessie.

However, for the use of Radius,  I do not succeed to join my (samba) AD
domain with PF 6.1. on debian jessie).
Via the web interface, I get the error:

Test join fail!Enter PF$@...'s password:

I registered with the administrator account and the correct password.

Manually joining the samba AD domain succeeds.

However, running the script fails (perl /usr/local/pf/addons/AD/migrate.pl).
It gives a syntax error on the file domain.conf, because the domain expands
to

this
<domain>

I replaced in the perl script:
# my $WORKGROUP = pf_run('grep workgroup /etc/samba/smb.conf | awk \'{print
$3}\'');
my $WORKGROUP = "MYDOMAIN";

Then the script starts.

However, then I get:

Are these settings fine ? This is your last chance before the domain bind.
(y/n)y
touch: cannot touch '/var/cache/samba MYDOMAIN /secrets.tdb': No such file
or directory
cp: cannot stat '/var/cache/samba MYDOMAIN ': No such file or directory
touch: cannot touch '/var/cache/samba MYDOMAIN /secrets.tdb': No such file
or directory
cp: cannot stat '/var/cache/samba MYDOMAIN N': No such file or directory
mkdir failed on directory /var/cache/samba/lck: No such file or directory
Could not initialise message context. Try running as root
domain join : Failed to join domain: Access is denied

touch: cannot touch '/var/cache/samba MYDOMAIN /secrets.tdb': No such file
or directory
cp: cannot stat '/var/cache/samba MYDOMAIN: No such file or directory
Hard expiring resource : config::Domain
Expiring child resource resource::domain_dns_servers. Master resource is
config::Domain
Hard expiring resource : resource::domain_dns_servers
Done. If there were any issues joining the domain, you can now use the web
interface to fix the issues (Configuration->Domains)

How can I add pf succesfully to my domain on debian?

Best,

-- JG




------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to