pdb_xml
Anand Kumria
wildfire at progsoc.uts.edu.au
Sun Apr 14 00:50:02 GMT 2002
On Sat, Apr 13, 2002 at 05:02:10PM +0200, Jelmer Vernooij wrote:
> Hi!
>
> Here's my proposal for the file format for the pdb_xml database
> backend. I haven't included the unknown* stuff yet, should that be
> included?
>
> Comments, please!
I'd say try and avoid attributes if you can. I'd also move the
domain thing to the top element because I wouldn't imaging you
would have users from different domains in the file.
I'm not sure how groups might work though.
<samba domain="BLAH">
<user rid="5424232" uid="423">
<username>
<nt>JelmerVernooij</nt>
<unix>jelmer</unix>
<vms>j32</vms>
<full>Jelmer Vernooij</full>
</username>
<password>
<crypt type="md5">{encrypted}</crypt>
<crypt type="des">{encrypted}</crypt>
<crypt type="lanman32">{encrypted}</crypt>
<crypt type="xor">{encrypted}</crypt>
<last_change>01-02-2002</last_change>
<can_change>02-03-2002</can_change>
<must_change>03-04-2002</must_change>
</password>
<account>
<group rid="#" gid="#">Administrators</group>
<group rid="#" gid="#">Power Users</group>
<workstation access="deny">CHARIS</workstation>
<workstation access="grant">GANIEDA</workstation>
<logon>04-05-2002</logon>
<logoff>05-06-2002</logoff>
<kickoff>06-07-2002</kickoff>
<desc>[fdfds]</desc>
</account>
<profile>\\hephaistos\profiles\jelmer</profile>
<script>logon.bat</script>
</user>
<user rid="...>
.....
</user>
</samba>
HTH
Anand
--
`` We are shaped by our thoughts, we become what we think.
When the mind is pure, joy follows like a shadow that never
leaves. '' -- Buddha, The Dhammapada
More information about the samba-technical
mailing list