diff options
author | Samba Release Account <samba-bugs@samba.org> | 1996-08-17 13:17:45 +0000 |
---|---|---|
committer | Samba Release Account <samba-bugs@samba.org> | 1996-08-17 13:17:45 +0000 |
commit | 82d718317cac27430b0be43a5d7ddc59c26fca22 (patch) | |
tree | fd9455abb1e4a190de214ab30eb872b64bb3b739 /source3/include | |
parent | 19935b7750f20c5af96ed461a398e55a1ccb6531 (diff) | |
download | samba-82d718317cac27430b0be43a5d7ddc59c26fca22.tar.gz samba-82d718317cac27430b0be43a5d7ddc59c26fca22.tar.bz2 samba-82d718317cac27430b0be43a5d7ddc59c26fca22.zip |
- started on support for 'Internet Group names' - type 0x1c NetBIOS names
- 0x1d name query to a WINS server should always return FAIL (see WINS
server help on nt/as)
(This used to be commit a7330127a261f814c56e860b6de658dbef24c33f)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/nameserv.h | 12 | ||||
-rw-r--r-- | source3/include/proto.h | 5 |
2 files changed, 15 insertions, 2 deletions
diff --git a/source3/include/nameserv.h b/source3/include/nameserv.h index 5162ebe2d7..a505f403ca 100644 --- a/source3/include/nameserv.h +++ b/source3/include/nameserv.h @@ -121,6 +121,14 @@ struct nmb_name { int name_type; }; +/* a netbios flags + ip address structure */ +/* this is used for multi-homed systems and for internet group names */ +struct nmb_ip +{ + struct in_addr ip; /* ip address of host that owns this name */ + int nb_flags; /* netbios flags */ +}; + /* this is the structure used for the local netbios name list */ struct name_record { @@ -128,8 +136,8 @@ struct name_record struct name_record *prev; struct nmb_name name; /* the netbios name */ - struct in_addr ip; /* ip address of host that owns this name */ - int nb_flags; /* netbios flags */ + struct nmb_ip *ip_flgs; /* the ip + flags */ + int num_ips; /* number of ip+flags entries */ enum name_source source; /* where the name came from */ diff --git a/source3/include/proto.h b/source3/include/proto.h index c1697dc641..87ad286df3 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -796,6 +796,11 @@ BOOL become_user(int cnum, int uid); BOOL unbecome_user(void ); int smbrun(char *cmd,char *outfile); +/*The following definitions come from unxlog.c */ + +void write_utmp(int dologin, int connection, int pid, + char *from_addr, char *username); + /*The following definitions come from username.c */ char *get_home_dir(char *user); |