summaryrefslogtreecommitdiffstats
path: root/testdata
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-08-30 10:47:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:35:00 -0500
commit391f9aaf0571c54a9748247cb4a2b1ee437eaef4 (patch)
treecfbca15efec1ab6e7d9a000bee1743de80b90e73 /testdata
parent37db11885d4a15be1afcfe868b73ebfaa44a8a61 (diff)
downloadsamba-391f9aaf0571c54a9748247cb4a2b1ee437eaef4.tar.gz
samba-391f9aaf0571c54a9748247cb4a2b1ee437eaef4.tar.xz
samba-391f9aaf0571c54a9748247cb4a2b1ee437eaef4.zip
r9785: Add some testdata
(This used to be commit 721431cff73b06d6e74ca47d25adbf89b900fd5a)
Diffstat (limited to 'testdata')
-rw-r--r--testdata/samba3/account_policy.tdbbin0 -> 8192 bytes
-rw-r--r--testdata/samba3/registry.tdbbin0 -> 8192 bytes
-rw-r--r--testdata/samba3/samba3.ldif200
-rw-r--r--testdata/samba3/wins.dat23
4 files changed, 223 insertions, 0 deletions
diff --git a/testdata/samba3/account_policy.tdb b/testdata/samba3/account_policy.tdb
new file mode 100644
index 00000000000..ece960af0e2
--- /dev/null
+++ b/testdata/samba3/account_policy.tdb
Binary files differ
diff --git a/testdata/samba3/registry.tdb b/testdata/samba3/registry.tdb
new file mode 100644
index 00000000000..a87b2ec67cb
--- /dev/null
+++ b/testdata/samba3/registry.tdb
Binary files differ
diff --git a/testdata/samba3/samba3.ldif b/testdata/samba3/samba3.ldif
new file mode 100644
index 00000000000..035eb1c5166
--- /dev/null
+++ b/testdata/samba3/samba3.ldif
@@ -0,0 +1,200 @@
+dn: ou=Users,ou=Tests,dc=vernstok,dc=nl
+objectClass: organizationalUnit
+ou: Users
+
+dn: ou=Groups,ou=Tests,dc=vernstok,dc=nl
+objectClass: organizationalUnit
+ou: Groups
+
+dn: uid=nobody,ou=Users,ou=Tests,dc=vernstok,dc=nl
+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,ou=Tests,dc=vernstok,dc=nl
+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,ou=Tests,dc=vernstok,dc=nl
+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,ou=Tests,dc=vernstok,dc=nl
+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,ou=Tests,dc=vernstok,dc=nl
+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,ou=Tests,dc=vernstok,dc=nl
+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,ou=Tests,dc=vernstok,dc=nl
+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,ou=Tests,dc=vernstok,dc=nl
+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,ou=Tests,dc=vernstok,dc=nl
+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,ou=Tests,dc=vernstok,dc=nl
+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,ou=Tests,dc=vernstok,dc=nl
+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,ou=Tests,dc=vernstok,dc=nl
+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,ou=Tests,dc=vernstok,dc=nl
+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,ou=Tests,dc=vernstok,dc=nl
+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,ou=Tests,dc=vernstok,dc=nl
+objectClass: organizationalUnit
+ou: Computers
+
+dn: uid=Administrator,ou=Users,ou=Tests,dc=vernstok,dc=nl
+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: XXX
+sambaNTPassword: XXX
+sambaAcctFlags: [U ]
+sambaSID: S-1-5-21-4231626423-2410014848-2360679739-2996
+loginShell: /bin/false
+gecos: Netbios Domain Administrator
+
+
diff --git a/testdata/samba3/wins.dat b/testdata/samba3/wins.dat
new file mode 100644
index 00000000000..f636b3d1906
--- /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