[Samba] The network path was not found
mimagabooks
azmagabooks at gmail.com
Tue Oct 28 19:49:28 GMT 2008
This is my first attempt at creating a samba pdc. I am receiving the
following error when I try joining the samba pdc.
The following error occurred attempting to join the domain "MAGABOOKS.ORG":
The network path was not found.
I am using SuSE 11.0 with:
samba-3.2.3-0.1
smbldap-tools 0.9.5-1
openldap-2.4.9-7.4
bind-9.4.2-39.2
dhcp-server-3.0.6-86.1
My config files are as follows:
*smb.conf*
[global]
unix charset = LOCALE
workgroup = MAGABOOKS.ORG
netbios name = arizona
passdb backend =ldapsam:"ldap://arizona.magabooks.org"
username map = /etc/samba/smbusers
log level = 1
syslog = 0
log file = /var/log/samba/%m
max log size = 0
name resolve order = wins bcast hosts
time server = Yes
printcap name = CUPS
add user script = /usr/sbin/smbldap-useradd -m '%u'
delete user script = /usr/sbin/smbldap-userdel '%u'
add group script = /usr/sbin/smbldap-groupadd -p '%g'
delete group script = /usr/sbin/smbldap-groupdel '%g'
add user to group script = /usr/sbin/smbldap-groupmod -m '%g' '%u'
delete user from group script = /usr/sbin/smbldap-groupmod -x '%g' '%u'
set primary group script = /usr/sbin/smbldap-usermod -g '%g' '%u'
add machine script = /usr/sbin/smbldap-useradd -w '%u'
logon script = logon.bat
logon path = \\arizona\profiles\%u
logon drive = Z:
domain logons = Yes
domain master = Yes
wins support = Yes
ldapsam:trusted = yes
ldap suffix = dc=magabooks,dc=org
ldap machine suffix = ou=Computers,ou=Users
ldap user suffix = ou=People,ou=Users
ldap group suffix = ou=Groups
ldap idmap suffix = ou=Idmap
ldap admin dn = cn=sambaadmin,dc=magabooks,dc=org
idmap backend = ldap://127.0.0.1
idmap uid = 10000-20000
idmap gid = 10000-20000
printing = cups
[homes]
comment = Home Directories
valid users = %S
browseable = yes
writable = yes
create mask = 0600
directory mask = 0700
[sysvol]
path = /var/lib/samba/sysvol
read only = no
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/sysvol/magabooks.org/scripts
writeable = yes
browseable = yes
read only = no
[profiles]
path = /var/lib/samba/profiles
writeable = yes
browseable = no
read only = no
create mode = 0777
directory mode = 0777
[Documents]
comment = share to test samba
path = /var/lib/samba/documents
writeable = yes
browseable = yes
read only = no
valid users = "@Domain Users"
*slapd.conf*
#slapd.conf Master Openldap2.3
#path: /etc/openldap/slapd.conf
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/samba3.schema
modulepath /usr/lib/openldap/modules/
pidfile /var/run/slapd/slapd.pid
argsfile /var/run/slapd/slapd.args
loglevel 0
database bdb
suffix "dc=magabooks,dc=org"
directory /var/lib/ldap
rootdn "cn=Manager,dc=magabooks,dc=org"
rootpw "tiger123"
index entryCSN eq
index entryUUID eq
access to attrs=userPassword,sambaLMPassword,sambaNTPassword
by self write
by dn="cn=sambaadmin,dc=magabooks,dc=org" write
by * auth
access to *
by dn="cn=sambaadmin,dc=magabooks,dc=org" write
by * read
index objectClass eq
index cn pres,sub,eq
index sn pres,sub,eq
index uid pres,sub,eq
index displayName pres,sub,eq
index uidNumber eq
index gidNumber eq
index memberUID eq
index sambaSID eq
index sambaPrimaryGroupSID eq
index sambaDomainName eq
index default sub
*ldap.conf*
#/etc/ldap.conf
# LDAP Master
host arizona.magabooks.org
base dc=magabooks,dc=org
binddn cn=Manager,dc=magabooks,dc=org
bindpw tiger123
bind_policy soft
pam_password exop
nss_initgroups_ignoreusers root, ldap, named, avahi, haldaemon, dbus
nss_base_passwd ou=People,ou=Users,dc=magabooks,dc=org?one
nss_base_shadow ou=People,ou=Users,dc=magabooks,dc=org?one
nss_base_passwd ou=Computers,ou=Users,dc=magabooks,dc=org?one
nss_base_shadow ou=Computers,ou=Users,dc=magabooks,dc=org?one
nss_base_group ou=Groups,dc=magabooks,dc=org?one
ssl no
nsswitch.conf #
# /etc/nsswitch.conf
#
passwd: files ldap
shadow: files ldap
group: files ldap
hosts: files dns wins
networks: files dns
services: files ldap
protocols: files
rpc: files
ethers: files
netmasks: files
netgroup: files ldap
publickey: files
bootparams: files
automount: files nis
aliases: files ldap
passwd_compat: ldap
*magabooks.ldif*
# SAMBA LDAP PRELOAD
# SID S-1-5-21-1974889685-1473824107-2886557780.
dn: dc=magabooks,dc=org
objectClass: dcObject
objectClass: organization
dc: magabooks
o: MAGABOOKS
description: Posix and Samba LDAP Identity Database
dn: cn=Manager,dc=magabooks,dc=org
objectClass: organizationalRole
cn: Manager
description: Directory Manager
dn: cn=syncuser,dc=magabooks,dc=org
objectClass: person
cn: syncuser
sn: syncuser
userPassword: tiger123
dn: cn=sambaadmin,dc=magabooks,dc=org
objectClass: person
cn: sambaadmin
sn: sambaadmin
userPassword: tiger123
dn: cn=mailadmin,dc=magabooks,dc=org
objectClass: person
cn: mailadmin
sn: mailadmin
userPassword: tiger123
dn: ou=Users,dc=magabooks,dc=org
objectClass: top
objectClass: organizationalUnit
ou: Users
dn: ou=People,ou=Users,dc=magabooks,dc=org
objectClass: top
objectClass: organizationalUnit
ou: People
dn: ou=Computers,ou=Users,dc=magabooks,dc=org
objectClass: top
objectClass: organizationalUnit
ou: Computers
dn: ou=Groups,dc=magabooks,dc=org
objectClass: top
objectClass: organizationalUnit
ou: Groups
dn: ou=Domains,dc=magabooks,dc=org
objectClass: top
objectClass: organizationalUnit
ou: Domains
dn: sambaDomainName=MAGABOOKS.ORG,ou=Domains,dc=magabooks,dc=org
objectClass: sambaDomain
objectClass: sambaUnixIdPool
uidNumber: 1000
gidNumber: 1000
sambaDomainName: MAGABOOKS.ORG
sambaSID: S-1-5-21-1974889685-1473824107-2886557780
sambaAlgorithmicRidBase: 1000
structuralObjectClass: sambaDomain
dn: cn=Domain Admins,ou=Groups,dc=magabooks,dc=org
objectClass: posixGroup
objectClass: sambaGroupMapping
gidNumber: 512
cn: Domain Admins
sambaSID: S-1-5-21-1974889685-1473824107-2886557780-512
sambaGroupType: 2
displayName: Domain Admins
description: Domain Administrators
dn: cn=Domain Users,ou=Groups,dc=magabooks,dc=org
objectClass: posixGroup
objectClass: sambaGroupMapping
gidNumber: 513
cn: Domain Users
sambaSID: S-1-5-21-1974889685-1473824107-2886557780-513
sambaGroupType: 2
displayName: Domain Users
description: Domain Users
dn: cn=Domain Guests,ou=Groups,dc=magabooks,dc=org
objectClass: posixGroup
objectClass: sambaGroupMapping
gidNumber: 514
cn: Domain Guests
sambaSID: S-1-5-21-1974889685-1473824107-2886557780-514
sambaGroupType: 2
displayName: Domain Guests
description: Domain Guests
dn: cn=Domain Computers,ou=Groups,dc=magabooks,dc=org
objectClass: posixGroup
objectClass: sambaGroupMapping
gidNumber: 515
cn: Domain Computers
sambaSID: S-1-5-21-1974889685-1473824107-2886557780-515
sambaGroupType: 2
displayName: Domain Computers
description: Domain Computers
dn: cn=Administrators,ou=Groups,dc=magabooks,dc=org
objectClass: posixGroup
objectClass: sambaGroupMapping
gidNumber: 544
cn: Administrators
sambaSID: S-1-5-21-1974889685-1473824107-2886557780-544
sambaGroupType: 5
displayName: Administrators
description: Administrators
dn: cn=Account Operators,ou=Groups,dc=magabooks,dc=org
objectClass: posixGroup
objectClass: sambaGroupMapping
gidNumber: 548
cn: Account Operators
sambaSID: S-1-5-21-1974889685-1473824107-2886557780-548
sambaGroupType: 5
displayName: Account Operators
description: Account Operators
dn: cn=Print Operators,ou=Groups,dc=magabooks,dc=org
objectClass: posixGroup
objectClass: sambaGroupMapping
gidNumber: 550
cn: Print Operators
sambaSID: S-1-5-21-1974889685-1473824107-2886557780-550
sambaGroupType: 5
displayName: Print Operators
description: Print Operators
dn: cn=Backup Operators,ou=Groups,dc=magabooks,dc=org
objectClass: posixGroup
objectClass: sambaGroupMapping
gidNumber: 551
cn: Backup Operators
sambaSID: S-1-5-21-1974889685-1473824107-2886557780-551
sambaGroupType: 5
displayName: Backup Operators
description: Backup Operators
dn: cn=Replicators,ou=Groups,dc=magabooks,dc=org
objectClass: posixGroup
objectClass: sambaGroupMapping
gidNumber: 552
cn: Replicators
sambaSID: S-1-5-21-1974889685-1473824107-2886557780-552
sambaGroupType: 5
displayName: Replicators
description: Replicators
*smbldap.conf*
SID="S-1-5-21-1974889685-1473824107-2886557780"
sambaDomain="MAGABOOKS.ORG"
slaveLDAP=127.0.0.1
slavePort="389"
masterLDAP="127.0.0.1"
masterPort="389"
ldapTLS="0"
verify=""
cafile=""
clientcert=""
clientkey=""
suffix="dc=magabooks,dc=org"
usersdn="ou=People,ou=Users,${suffix}"
computersdn="ou=Computers,ou=Users,${suffix}"
groupsdn="ou=Groups,${suffix}"
idmapdn="ou=Idmap,${suffix}"
sambaUnixIdPooldn="sambaDomainName=MAGABOOKS.ORG,ou=Domains,${suffix}"
scope="sub"
hash_encrypt="MD5"
crypt_salt_format=""
userHome="/home/%U
userHomeDirectoryMode="700"
userGecos="System User"
defaultUserGid="513"
defaultComputerGid="515"
skeletonDir="/etc/skel"
defaultMaxPasswordAge="45"
userSmbHome="\\arizona\%U"
userProfile="\\arizona\profiles\%U"
userHomeDrive="Z:"
userScript="logon.bat"
mailDomain="magabooks.org"
with_smbpasswd="0"
smbpasswd="/usr/bin/smbpasswd"
with_slappasswd="0"
slappasswd="/usr/sbin/slappasswd"
# comment out the following line to get rid of the default banner
# no_banner="1"
*smbldap_bind.conf*
slaveDN="cn=sambaadmin,dc=magabooks,dc=org"
slavePw="tiger123"
masterDN="cn=sambaadmin,dc=magabooks,dc=org"
masterPw="tiger123"
*named.conf*
# Copyright (c) 2001-2004 SuSE Linux AG, Nuernberg, Germany.
# All rights reserved.
#
# Author: Frank Bodammer, Lars Mueller <lmuelle at suse.de>
#
# /etc/named.conf
acl magabooks { 10.0.0.0/24; 127.0.0.1; };
options {
directory "/var/lib/named";
dump-file "/var/log/named_dump.db";
statistics-file "/var/log/named.stats";
listen-on-v6 { any; };
allow-query { magabooks; };
include "/etc/named.d/forwarders.conf";
};
zone "." in {
type hint;
file "root.hint";
};
zone "localhost" in {
type master;
file "localhost.zone";
};
zone "0.0.127.in-addr.arpa" in {
type master;
file "127.0.0.zone";
};
include "/etc/named.conf.include";
logging {
category xfer-in { log_syslog; };
category xfer-out { log_syslog; };
category default { log_syslog; };
channel log_syslog { syslog; };
};
zone "magabooks.org" in {
allow-update { key dynmagabooks; };
allow-transfer { magabooks; };
file "dyn/magabooks.forward";
type master;
};
zone "0.0.10.in-addr.arpa" in {
allow-update { key dynmagabooks; };
allow-transfer { magabooks; };
file "dyn/magabooks.reverse";
type master;
};
zone "_tcp.magabooks.org" in {
type master;
file "master/_tcp.magabooks.org.db";
allow-update { key dynmagabooks; };
check-names ignore;
allow-transfer { magabooks; };
};
zone "_msdcs.magabooks.org" in {
type master;
file "master/_msdcs.magabooks.org.db";
allow-update { key dynmagabooks; };
check-names ignore;
allow-transfer { magabooks; };
};
zone "_sites.magabooks.org" in {
type master;
file "master/_sites.magabooks.org.db";
check-names ignore;
allow-update { key dynmagabooks; };
allow-transfer { magabooks; };
};
zone "_udp.magabooks.org" in {
type master;
file "master/_udp.magabooks.org.db";
check-names ignore;
allow-update { key dynmagabooks; };
allow-transfer { magabooks; };
};
*dhcpd.conf*
include "/etc/named.d/dynmagabooks.key";
zone magabooks.forward {
primary 10.0.0.2;
key dynmagabooks;
}
zone magabooks.reverse {
primary 10.0.0.2;
key dynmagabooks;
}
default-lease-time 86400;
max-lease-time 172800;
option domain-name "magabooks.org";
option domain-name-servers 10.0.0.2;
option lpr-servers 10.0.0.2;
option netbios-name-servers 10.0.0.2;
ignore client-updates;
ddns-domainname "magabooks.org";
ddns-updates on;
ddns-update-style interim;
subnet 10.0.0.0 netmask 255.255.255.0 {
range dynamic-bootp 10.0.0.100 10.0.0.149;
zone magabooks.org. { primary 127.0.0.1; key dynmagabooks; }
zone 0.0.10.in-addr.arpa. { primary 127.0.0.1; key dynmagabooks; }
option subnet-mask 255.255.255.0;
option routers 10.0.0.1;
one-lease-per-client on;
}
host hpf2277f {
fixed-address 10.0.0.5;
hardware ethernet 00:19:bb:f2:27:80;
option host-name "hpf2277f";
ddns-hostname "hpf2277f";
}
host office {
fixed-address 10.0.0.10;
hardware ethernet 00:1e:e5:fb:62:fc;
option host-name "office";
ddns-hostname "office";
}
host an-87426155k {
fixed-address 10.0.0.15;
hardware ethernet 00:21:91:7f:01:32;
option host-name "an-87426155k";
ddns-hostname "an-87426155k";
}
host krista {
fixed-address 10.0.0.20;
hardware ethernet 00:1f:e1:6e:6d:c4;
option host-name "krista";
ddns-hostname "krista";
}
host iPhone-2 {
fixed-address 10.0.0.25;
hardware ethernet 00:21:e9:5e:5c:7d;
option host-name "iPhone-2";
ddns-hostname "iPhone-2";
}
More information about the samba
mailing list