diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-04-09 08:07:43 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:51:10 -0500 |
commit | 4d1add159da528b3ba6101e00a0a88b0f35f3de4 (patch) | |
tree | 044989493c17d6c42bfa6e3b970c60aeb83aec71 /source4 | |
parent | 42889e5e1e276c8957cc666991364c6f0b6bdc79 (diff) | |
download | samba-4d1add159da528b3ba6101e00a0a88b0f35f3de4.tar.gz samba-4d1add159da528b3ba6101e00a0a88b0f35f3de4.tar.bz2 samba-4d1add159da528b3ba6101e00a0a88b0f35f3de4.zip |
r135: some test ldif for an idea I am playing with to replace smb.conf with a ldb
Don't panic - I'll explain more when I get a chance
(This used to be commit 090afa94a73d7fe13604785fa97ffb71c2be2641)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/ldb/tests/test-config.ldif | 45 | ||||
-rw-r--r-- | source4/lib/ldb/tests/test-default-config.ldif | 17 |
2 files changed, 62 insertions, 0 deletions
diff --git a/source4/lib/ldb/tests/test-config.ldif b/source4/lib/ldb/tests/test-config.ldif new file mode 100644 index 0000000000..92592a2d66 --- /dev/null +++ b/source4/lib/ldb/tests/test-config.ldif @@ -0,0 +1,45 @@ +############################## +# global configuration options +dn: cn=Global,cn=Config,cn=Samba +objectclass: globalconfig +Workgroup: VNET3 +UnixCharset: UTF8 +Security: user +Interfaces: vmnet* eth* +NetbiosName: blu +GuestAccount: tridge + +############################## +# [test] share +dn: cn=test,cn=Shares,cn=Config,cn=Samba +objectclass: fileshare +cn: test +Comment: a test share +Path: /home/tridge/samba4/prefix/test +ReadOnly: no + +##################################### +# [msdn] a remote proxy share, stored +# on \\msdn\test +dn: cn=msdn,cn=Shares,cn=Config,cn=Samba +objectclass: fileshare +cn: msdn +NtvfsHandler: cifs +ReadOnly: no +_CifsServer: msdn +_CifsUser: administrator +_CifsPassword: penguin +_CifsDomain: winxp +_CifsShare: test + + +############################## +# [VisualC] share +dn: cn=visualc,cn=Shares,cn=Config,cn=Samba +objectclass: fileshare +cn: VisualC +Comment: VisualC development +Path: /home/tridge/VisualC +ReadOnly: no +NtvfsHandler: simple + diff --git a/source4/lib/ldb/tests/test-default-config.ldif b/source4/lib/ldb/tests/test-default-config.ldif new file mode 100644 index 0000000000..87b7bcd3cc --- /dev/null +++ b/source4/lib/ldb/tests/test-default-config.ldif @@ -0,0 +1,17 @@ +############################## +# global configuration options +dn: cn=Global,cn=DefaultConfig,cn=Samba +objectclass: globalconfig +Workgroup: WORKGROUP +UnixCharset: UTF8 +Security: user +NetbiosName: blu +GuestAccount: nobody + +############################## +# [_default_] share +dn: cn=_default_,cn=Shares,cn=DefaultConfig,cn=Samba +objectclass: fileshare +cn: _default_ +Path: /tmp +ReadOnly: yes |