This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _SAMBA3_H /* _SAMBA3_H */
#include "librpc/gen_ndr/security.h"
#include "librpc/gen_ndr/samr.h"
+#include "param/param.h"
struct samba3_samaccount {
uint32_t logon_time,
char *profile_path;
char *acct_desc;
char *workstations;
- uid_t uid;
uint32_t user_rid, group_rid, hours_len, unknown_6;
uint16_t acct_ctrl, logon_divs;
uint16_t bad_password_count, logon_count;
} *afs_keyfiles;
};
-struct samba3_parameter {
- char *name;
- char *value;
-};
-
struct samba3_share_info {
char *name;
struct security_descriptor secdesc;
-
- uint32_t parameter_count;
- struct samba3_parameter *parameters;
};
struct samba3
{
+ struct param_context *configuration;
+
uint32_t winsdb_count;
struct samba3_winsdb_entry *winsdb_entries;
struct samba3_regdb registry;
};
+#include "lib/samba3/samba3_proto.h"
+#include "lib/samba3/samba3_smbpasswd_proto.h"
+
#endif /* _SAMBA3_H */