From 0518067c6e5ca3ebd7743a2a4f5ce6d63eec6812 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Mon, 11 May 1998 17:34:39 +0000 Subject: add lp_domain_workstations() parameter. this is a list of workstation names from which an NT user can log in from. empty (default) indicates no restrictions. exactly how this is enforced is unknown. from past experience it's likely that the enforcement is left to the client to carry out... (This used to be commit 6b2f9ea68f5754ca6caaf685a9538ab404e1bab4) --- source3/include/proto.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 1d4f917b70..79712d3c87 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -237,6 +237,7 @@ BOOL add_ldappwd_entry(struct smb_passwd *newpwd); BOOL mod_ldappwd_entry(struct smb_passwd* pwd, BOOL override); void *startldappwent(BOOL update); struct smb_passwd *getldappwent(void *vp); +struct sam_passwd *getldap21pwent(void *vp); void endldappwent(void *vp); unsigned long getldappwpos(void *vp); BOOL setldappwpos(void *vp, unsigned long tok); @@ -973,6 +974,7 @@ char *lp_driverfile(void); char *lp_domain_sid(void); char *lp_domain_other_sids(void); char *lp_domain_groups(void); +char *lp_domain_workstations(void); char *lp_domain_admin_users(void); char *lp_domain_guest_users(void); char *lp_domain_hostsallow(void); @@ -1826,6 +1828,7 @@ char *smb_errstr(char *inbuf); void *startsmbpwent(BOOL update); void endsmbpwent(void *vp); +struct sam_passwd *getsmb21pwent(void *vp); struct smb_passwd *getsmbpwent(void *vp); unsigned long getsmbpwpos(void *vp); BOOL setsmbpwpos(void *vp, unsigned long tok); -- cgit