s4-dsdb/samldb: Skip 'sAMAccountType' and 'primaryGroupID' during Tombstone reanimate
[Samba.git] / lib / replace / socket.c
blob4cd9d2e39382a326a283f1d408125e5eac3b10b1
1 /*
2 * Unix SMB/CIFS implementation.
4 * Dummy replacements for socket functions.
6 * Copyright (C) Michael Adam <obnox@samba.org> 2008
8 * ** NOTE! The following LGPL license applies to the replace
9 * ** library. This does NOT imply that all of Samba is released
10 * ** under the LGPL
12 * This library is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU Lesser General Public
14 * License as published by the Free Software Foundation; either
15 * version 3 of the License, or (at your option) any later version.
17 * This library is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * Library General Public License for more details.
22 * You should have received a copy of the GNU Lesser General Public
23 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
26 #include "replace.h"
27 #include "system/network.h"
29 int rep_connect(int sockfd, const struct sockaddr *serv_addr, socklen_t addrlen)
31 errno = ENOSYS;
32 return -1;
35 struct hostent *rep_gethostbyname(const char *name)
37 errno = ENOSYS;
38 return NULL;