diff options
author | bubulle <bubulle@alioth.debian.org> | 2009-07-05 21:08:28 +0000 |
---|---|---|
committer | bubulle <bubulle@alioth.debian.org> | 2009-07-05 21:08:28 +0000 |
commit | e2df0615c76f228e5479482a880a01d64ef47a06 (patch) | |
tree | cf161609a937840fa6b42eac3d4c0db7ff534d34 /testdata/samba3 | |
parent | 130ad4cd047d74be152bdcf6ff6743b7978b99de (diff) | |
download | samba-e2df0615c76f228e5479482a880a01d64ef47a06.tar.gz |
Load samba-3.4.0 into branches/samba/upstream.upstream/3.4.0
git-svn-id: svn://svn.debian.org/svn/pkg-samba/branches/samba/upstream@2934 fc4039ab-9d04-0410-8cac-899223bdd6b0
Diffstat (limited to 'testdata/samba3')
-rw-r--r-- | testdata/samba3/account_policy.tdb | bin | 0 -> 8192 bytes | |||
-rw-r--r-- | testdata/samba3/group_mapping.tdb | bin | 0 -> 8192 bytes | |||
-rw-r--r-- | testdata/samba3/passdb.tdb | bin | 0 -> 8192 bytes | |||
-rw-r--r-- | testdata/samba3/provision_samba3sam.ldif | 78 | ||||
-rw-r--r-- | testdata/samba3/provision_samba3sam_templates.ldif | 118 | ||||
-rw-r--r-- | testdata/samba3/registry.tdb | bin | 0 -> 8192 bytes | |||
-rw-r--r-- | testdata/samba3/samba3.ldif | 207 | ||||
-rw-r--r-- | testdata/samba3/secrets.tdb | bin | 0 -> 8192 bytes | |||
-rw-r--r-- | testdata/samba3/share_info.tdb | bin | 0 -> 8192 bytes | |||
-rw-r--r-- | testdata/samba3/smb.conf | 23 | ||||
-rw-r--r-- | testdata/samba3/smbpasswd | 3 | ||||
-rw-r--r-- | testdata/samba3/winbindd_idmap.tdb | bin | 0 -> 8192 bytes | |||
-rw-r--r-- | testdata/samba3/wins.dat | 23 |
13 files changed, 452 insertions, 0 deletions
diff --git a/testdata/samba3/account_policy.tdb b/testdata/samba3/account_policy.tdb Binary files differnew file mode 100644 index 0000000000..ece960af0e --- /dev/null +++ b/testdata/samba3/account_policy.tdb diff --git a/testdata/samba3/group_mapping.tdb b/testdata/samba3/group_mapping.tdb Binary files differnew file mode 100644 index 0000000000..e1be1d4714 --- /dev/null +++ b/testdata/samba3/group_mapping.tdb diff --git a/testdata/samba3/passdb.tdb b/testdata/samba3/passdb.tdb Binary files differnew file mode 100644 index 0000000000..e32d7be628 --- /dev/null +++ b/testdata/samba3/passdb.tdb diff --git a/testdata/samba3/provision_samba3sam.ldif b/testdata/samba3/provision_samba3sam.ldif new file mode 100644 index 0000000000..9d13f8a1e0 --- /dev/null +++ b/testdata/samba3/provision_samba3sam.ldif @@ -0,0 +1,78 @@ +dn: @INDEXLIST +@IDXATTR: name +@IDXATTR: sAMAccountName +@IDXATTR: objectSid +@IDXATTR: objectClass +@IDXATTR: objectCategory +@IDXATTR: member +@IDXATTR: uidNumber +@IDXATTR: gidNumber +@IDXATTR: unixName +@IDXATTR: privilege +@IDXATTR: nCName + +dn: @ATTRIBUTES +userPrincipalName: CASE_INSENSITIVE +servicePrincipalName: CASE_INSENSITIVE +dnsDomain: CASE_INSENSITIVE +dnsRoot: CASE_INSENSITIVE +nETBIOSName: CASE_INSENSITIVE +cn: CASE_INSENSITIVE +dc: CASE_INSENSITIVE +name: CASE_INSENSITIVE +dn: CASE_INSENSITIVE +sAMAccountName: CASE_INSENSITIVE +objectClass: CASE_INSENSITIVE +sambaPassword: HIDDEN +krb5Key: HIDDEN +ntPwdHash: HIDDEN +sambaNTPwdHistory: HIDDEN +lmPwdHash: HIDDEN +sambaLMPwdHistory: HIDDEN +createTimestamp: HIDDEN +modifyTimestamp: HIDDEN +groupType: INTEGER +sAMAccountType: INTEGER +systemFlags: INTEGER +userAccountControl: INTEGER + +dn: @SUBCLASSES +top: domain +top: person +top: group +domain: domainDNS +domain: builtinDomain +person: organizationalPerson +organizationalPerson: user +user: computer +template: userTemplate +template: groupTemplate + +dn: @KLUDGEACL +passwordAttribute: sambaPassword +passwordAttribute: ntPwdHash +passwordAttribute: sambaNTPwdHistory +passwordAttribute: lmPwdHash +passwordAttribute: sambaLMPwdHistory +passwordAttribute: krb5key + +# the rootDSE module looks in this record for its base data +dn: @ROOTDSE +subschemaSubentry: CN=Aggregate,CN=Schema,CN=Configuration,${BASEDN} +dsServiceName: CN=NTDS Settings,CN=${NETBIOSNAME},CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,${BASEDN} +defaultNamingContext: ${BASEDN} +rootDomainNamingContext: ${BASEDN} +configurationNamingContext: CN=Configuration,${BASEDN} +schemaNamingContext: CN=Schema,CN=Configuration,${BASEDN} +supportedLDAPVersion: 3 +dnsHostName: ${DNSNAME} +ldapServiceName: ${DNSDOMAIN}:${NETBIOSNAME}$@${REALM} +serverName: CN=${NETBIOSNAME},CN=Servers,CN=Default-First-Site,CN=Sites,CN=Configuration,${BASEDN} +domainFunctionality: 0 +forestFunctionality: 0 +domainControllerFunctionality: 2 +isSynchronized: TRUE +vendorName: Samba Team (http://samba.org) +vendorVersion: ${VERSION} + + diff --git a/testdata/samba3/provision_samba3sam_templates.ldif b/testdata/samba3/provision_samba3sam_templates.ldif new file mode 100644 index 0000000000..4fe6571eef --- /dev/null +++ b/testdata/samba3/provision_samba3sam_templates.ldif @@ -0,0 +1,118 @@ +dn: CN=Templates +objectClass: top +objectClass: container +cn: Templates +description: Container for SAM account templates +instanceType: 4 +showInAdvancedViewOnly: TRUE +systemFlags: 2348810240 +objectCategory: CN=Container,CN=Schema,CN=Configuration,${BASEDN} +isCriticalSystemObject: TRUE + +### +# note! the template users must not match normal searches. Be careful +# with what classes you put them in +### + +dn: CN=TemplateUser,CN=Templates +objectClass: top +objectClass: person +objectClass: organizationalPerson +objectClass: Template +objectClass: userTemplate +cn: TemplateUser +instanceType: 4 +userAccountControl: 514 +badPwdCount: 0 +codePage: 0 +countryCode: 0 +badPasswordTime: 0 +lastLogoff: 0 +lastLogon: 0 +pwdLastSet: 0 +primaryGroupID: 513 +accountExpires: -1 +logonCount: 0 +objectCategory: CN=Person,CN=Schema,CN=Configuration,${BASEDN} + +dn: CN=TemplateComputer,CN=Templates +objectClass: top +objectClass: person +objectClass: organizationalPerson +objectClass: Template +objectClass: userTemplate +cn: TemplateComputer +instanceType: 4 +userAccountControl: 4098 +badPwdCount: 0 +codePage: 0 +countryCode: 0 +badPasswordTime: 0 +lastLogoff: 0 +lastLogon: 0 +pwdLastSet: 0 +primaryGroupID: 513 +accountExpires: -1 +logonCount: 0 +objectCategory: CN=Computer,CN=Schema,CN=Configuration,${BASEDN} + +dn: CN=TemplateTrustingDomain,CN=Templates +objectClass: top +objectClass: Template +objectClass: userTemplate +cn: TemplateTrustingDomain +instanceType: 4 +userAccountControl: 2080 +badPwdCount: 0 +codePage: 0 +countryCode: 0 +badPasswordTime: 0 +lastLogoff: 0 +lastLogon: 0 +primaryGroupID: 513 +accountExpires: -1 +logonCount: 0 + +dn: CN=TemplateGroup,CN=Templates +objectClass: top +objectClass: Template +objectClass: groupTemplate +cn: TemplateGroup +instanceType: 4 +groupType: -2147483646 +objectCategory: CN=Group,CN=Schema,CN=Configuration,${BASEDN} + +# Currently this isn't used, we don't have a way to detect it different from an incoming alias +# +# dn: CN=TemplateAlias,CN=Templates +# objectClass: top +# objectClass: Template +# objectClass: aliasTemplate +# cn: TemplateAlias +# instanceType: 4 +# groupType: -2147483644 + +dn: CN=TemplateForeignSecurityPrincipal,CN=Templates +objectClass: top +objectClass: Template +objectClass: foreignSecurityPrincipalTemplate +cn: TemplateForeignSecurityPrincipal +instanceType: 4 +showInAdvancedViewOnly: TRUE +objectCategory: CN=Foreign-Security-Principal,CN=Schema,CN=Configuration,${BASEDN} + +dn: CN=TemplateSecret,CN=Templates +objectClass: top +objectClass: leaf +objectClass: Template +objectClass: secretTemplate +cn: TemplateSecret +instanceType: 4 + +dn: CN=TemplateTrustedDomain,CN=Templates +objectClass: top +objectClass: leaf +objectClass: Template +objectClass: trustedDomainTemplate +cn: TemplateTrustedDomain +instanceType: 4 diff --git a/testdata/samba3/registry.tdb b/testdata/samba3/registry.tdb Binary files differnew file mode 100644 index 0000000000..9d64e02d84 --- /dev/null +++ b/testdata/samba3/registry.tdb diff --git a/testdata/samba3/samba3.ldif b/testdata/samba3/samba3.ldif new file mode 100644 index 0000000000..479df242ff --- /dev/null +++ b/testdata/samba3/samba3.ldif @@ -0,0 +1,207 @@ +dn: sambaDomainName=TESTS,${BASEDN} +objectclass: sambaDomain +objectclass: top +sambaSID: S-1-5-21-4231626423-2410014848-2360679739 +sambaNextRid: 2000 +sambaDomainName: TESTS + +dn: ou=Users,sambaDomainName=TESTS,${BASEDN} +objectClass: organizationalUnit +ou: Users + +dn: ou=Groups,sambaDomainName=TESTS,${BASEDN} +objectClass: organizationalUnit +ou: Groups + +dn: uid=nobody,ou=Users,sambaDomainName=TESTS,${BASEDN} +cn: nobody +sn: nobody +objectClass: inetOrgPerson +objectClass: sambaSAMAccount +objectClass: posixAccount +objectClass: shadowAccount +gidNumber: 514 +uid: nobody +uidNumber: 999 +homeDirectory: /dev/null +sambaPwdLastSet: 0 +sambaLogonTime: 0 +sambaLogoffTime: 2147483647 +sambaKickoffTime: 2147483647 +sambaPwdCanChange: 0 +sambaPwdMustChange: 2147483647 +sambaHomePath: \\PDC-SMB3\home\%U +sambaHomeDrive: H: +sambaProfilePath: \\PDC-SMB3\profiles\%U\nobody +sambaPrimaryGroupSID: S-1-5-21-4231626423-2410014848-2360679739-514 +sambaLMPassword: NO PASSWORDXXXXXXXXXXXXXXXXXXXXX +sambaNTPassword: NO PASSWORDXXXXXXXXXXXXXXXXXXXXX +sambaAcctFlags: [NU ] +sambaSID: S-1-5-21-4231626423-2410014848-2360679739-2998 +loginShell: /bin/false + +dn: cn=Domain Admins,ou=Groups,sambaDomainName=TESTS,${BASEDN} +objectClass: posixGroup +objectClass: sambaGroupMapping +gidNumber: 512 +cn: Domain Admins +memberUid: Administrator +description: Netbios Domain Administrators +sambaSID: S-1-5-21-4231626423-2410014848-2360679739-512 +sambaGroupType: 2 +displayName: Domain Admins + +dn: cn=Domain Users,ou=Groups,sambaDomainName=TESTS,${BASEDN} +objectClass: posixGroup +objectClass: sambaGroupMapping +gidNumber: 513 +cn: Domain Users +description: Netbios Domain Users +sambaSID: S-1-5-21-4231626423-2410014848-2360679739-513 +sambaGroupType: 2 +displayName: Domain Users + +dn: cn=Domain Guests,ou=Groups,sambaDomainName=TESTS,${BASEDN} +objectClass: posixGroup +objectClass: sambaGroupMapping +gidNumber: 514 +cn: Domain Guests +description: Netbios Domain Guests Users +sambaSID: S-1-5-21-4231626423-2410014848-2360679739-514 +sambaGroupType: 2 +displayName: Domain Guests + +dn: cn=Print Operators,ou=Groups,sambaDomainName=TESTS,${BASEDN} +objectClass: posixGroup +objectClass: sambaGroupMapping +gidNumber: 550 +cn: Print Operators +description: Netbios Domain Print Operators +sambaSID: S-1-5-21-4231626423-2410014848-2360679739-550 +sambaGroupType: 2 +displayName: Print Operators + +dn: cn=Backup Operators,ou=Groups,sambaDomainName=TESTS,${BASEDN} +objectClass: posixGroup +objectClass: sambaGroupMapping +gidNumber: 551 +cn: Backup Operators +description: Netbios Domain Members can bypass file security to back up files +sambaSID: S-1-5-21-4231626423-2410014848-2360679739-551 +sambaGroupType: 2 +displayName: Backup Operators + +dn: cn=Replicator,ou=Groups,sambaDomainName=TESTS,${BASEDN} +objectClass: posixGroup +objectClass: sambaGroupMapping +gidNumber: 552 +cn: Replicator +description: Netbios Domain Supports file replication in a sambaDomainName +sambaSID: S-1-5-21-4231626423-2410014848-2360679739-552 +sambaGroupType: 2 +displayName: Replicator + +dn: cn=Domain Computers,ou=Groups,sambaDomainName=TESTS,${BASEDN} +objectClass: posixGroup +objectClass: sambaGroupMapping +gidNumber: 553 +cn: Domain Computers +description: Netbios Domain Computers accounts +sambaSID: S-1-5-21-4231626423-2410014848-2360679739-553 +sambaGroupType: 2 +displayName: Domain Computers + +dn: cn=Administrators,ou=Groups,sambaDomainName=TESTS,${BASEDN} +objectClass: posixGroup +objectClass: sambaGroupMapping +gidNumber: 544 +cn: Administrators +description: Netbios Domain Members can fully administer the computer/sambaDomainName +sambaSID: S-1-5-21-4231626423-2410014848-2360679739-544 +sambaGroupType: 2 +displayName: Administrators + +dn: cn=Users,ou=Groups,sambaDomainName=TESTS,${BASEDN} +objectClass: posixGroup +objectClass: sambaGroupMapping +gidNumber: 545 +cn: Users +description: Netbios Domain Ordinary users +sambaSID: S-1-5-21-4231626423-2410014848-2360679739-545 +sambaGroupType: 2 +displayName: users + +dn: cn=Guests,ou=Groups,sambaDomainName=TESTS,${BASEDN} +objectClass: posixGroup +objectClass: sambaGroupMapping +gidNumber: 546 +cn: Guests +memberUid: nobody +description: Netbios Domain Users granted guest access to the computer/sambaDomainName +sambaSID: S-1-5-21-4231626423-2410014848-2360679739-546 +sambaGroupType: 2 +displayName: Guests + +dn: cn=Power Users,ou=Groups,sambaDomainName=TESTS,${BASEDN} +objectClass: posixGroup +objectClass: sambaGroupMapping +gidNumber: 547 +cn: Power Users +description: Netbios Domain Members can share directories and printers +sambaSID: S-1-5-21-4231626423-2410014848-2360679739-547 +sambaGroupType: 2 +displayName: Power Users + +dn: cn=Account Operators,ou=Groups,sambaDomainName=TESTS,${BASEDN} +objectClass: posixGroup +objectClass: sambaGroupMapping +gidNumber: 548 +cn: Account Operators +description: Netbios Domain Users to manipulate users accounts +sambaSID: S-1-5-21-4231626423-2410014848-2360679739-548 +sambaGroupType: 2 +displayName: Account Operators + +dn: cn=Server Operators,ou=Groups,sambaDomainName=TESTS,${BASEDN} +objectClass: posixGroup +objectClass: sambaGroupMapping +gidNumber: 549 +cn: Server Operators +description: Netbios Domain Server Operators +sambaSID: S-1-5-21-4231626423-2410014848-2360679739-549 +sambaGroupType: 2 +displayName: Server Operators + +dn: ou=Computers,sambaDomainName=TESTS,${BASEDN} +objectClass: organizationalUnit +ou: Computers + +dn: uid=Administrator,ou=Users,sambaDomainName=TESTS,${BASEDN} +cn: Administrator +sn: Administrator +objectClass: inetOrgPerson +objectClass: sambaSAMAccount +objectClass: posixAccount +objectClass: shadowAccount +gidNumber: 512 +uid: Administrator +uidNumber: 0 +homeDirectory: /home/%U +sambaPwdLastSet: 0 +sambaLogonTime: 0 +sambaLogoffTime: 2147483647 +sambaKickoffTime: 2147483647 +sambaPwdCanChange: 0 +sambaPwdMustChange: 2147483647 +sambaHomePath: \\PDC-SMB3\home\%U +sambaHomeDrive: H: +sambaProfilePath: \\PDC-SMB3\profiles\%U\Administrator +sambaPrimaryGroupSID: S-1-5-21-4231626423-2410014848-2360679739-512 +sambaLMPassword: 193130B61A7F81C0AAD3B435B51404EE +sambaNTPassword: C2AE1FE6E648846352453E816F2AEB93 +sambaAcctFlags: [U ] +sambaSID: S-1-5-21-4231626423-2410014848-2360679739-2996 +loginShell: /bin/false +gecos: Netbios Domain Administrator + + diff --git a/testdata/samba3/secrets.tdb b/testdata/samba3/secrets.tdb Binary files differnew file mode 100644 index 0000000000..f9a0f7ba5d --- /dev/null +++ b/testdata/samba3/secrets.tdb diff --git a/testdata/samba3/share_info.tdb b/testdata/samba3/share_info.tdb Binary files differnew file mode 100644 index 0000000000..ba4268f847 --- /dev/null +++ b/testdata/samba3/share_info.tdb diff --git a/testdata/samba3/smb.conf b/testdata/samba3/smb.conf new file mode 100644 index 0000000000..b00397d2ee --- /dev/null +++ b/testdata/samba3/smb.conf @@ -0,0 +1,23 @@ +[global] + workgroup = SAMBA + security = user + passdb backend = smbpasswd:../testdata/samba3/smbpasswd tdbsam:../testdata/samba3/passdb.tdb ldapsam:tdb://samba3.ldb + debug level = 5 + +[cd1] + path = /mnt/cd1 + public = yes + +[cd2] + path = /mnt/cd2 + public = yes + +[media] + path = /media + public = yes + +[tmp] + path = /tmp + guest only = yes + public = yes + read only = no diff --git a/testdata/samba3/smbpasswd b/testdata/samba3/smbpasswd new file mode 100644 index 0000000000..6e3c34dfaa --- /dev/null +++ b/testdata/samba3/smbpasswd @@ -0,0 +1,3 @@ +nobodypw:65534:B28BD20B0D3770EBAAD3B435B51404EE:B123AB4EC733F895B1260A3A08D9C69B:[NU ]:LCT-43148525: +rootpw:0:552902031BEDE9EFAAD3B435B51404EE:878D8014606CDA29677A44EFA1353FC7:[U ]:LCT-4314851B: +jelmerpw:1000:193130B61A7F81C0AAD3B435B51404EE:C2AE1FE6E648846352453E816F2AEB93:[U ]:LCT-4314850D: diff --git a/testdata/samba3/winbindd_idmap.tdb b/testdata/samba3/winbindd_idmap.tdb Binary files differnew file mode 100644 index 0000000000..aa4fa53952 --- /dev/null +++ b/testdata/samba3/winbindd_idmap.tdb diff --git a/testdata/samba3/wins.dat b/testdata/samba3/wins.dat new file mode 100644 index 0000000000..f636b3d190 --- /dev/null +++ b/testdata/samba3/wins.dat @@ -0,0 +1,23 @@ +VERSION 1 0 +"ADMINISTRATOR#03" 1124185120 192.168.1.5 64R +"AURELIA#00" 1125117925 192.168.8.6 44R +"AURELIA#20" 1125117921 192.168.8.6 44R +"AVALLACH#00" 1125049158 192.168.1.5 64R +"AVALLACH#03" 1125101210 192.168.1.5 64R +"AVALLACH#20" 1125101209 192.168.1.5 64R +"AVALLACH$#03" 1125101125 192.168.1.5 64R +"GANIEDA#00" 1125148158 192.168.4.34 64R +"GANIEDA#03" 1125148158 192.168.4.34 64R +"GANIEDA#20" 1125148158 192.168.4.34 64R +"GANIEDA$#03" 1125173455 192.168.4.34 64R +"MERLIN#00" 1125137792 192.168.1.7 64R +"MERLIN#03" 1125137792 192.168.1.7 64R +"MERLIN#20" 1125137792 192.168.1.7 64R +"RHONWYN#00" 1125107162 192.168.1.1 192.168.4.1 192.168.0.7 66R +"RHONWYN#03" 1125107162 192.168.1.1 192.168.4.1 192.168.0.7 66R +"RHONWYN#20" 1125107162 192.168.1.1 192.168.4.1 192.168.0.7 66R +"MYDOMAIN#00" 1125107162 255.255.255.255 e4R +"MYDOMAIN#1b" 1125107162 192.168.1.1 192.168.4.1 192.168.0.7 64R +"MYDOMAIN#1c" 1125107162 192.168.1.1 192.168.4.1 192.168.0.7 e4R +"MYDOMAIN#1e" 1125107162 255.255.255.255 e4R +"WORKGROUP#00" 1125117930 255.255.255.255 e4R |