summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-02-17 14:27:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:55:40 -0500
commitf51677051cc139bdeb9d66196ca5405cecce1a35 (patch)
tree536ceecd495b125ba73fa0bf622ac91ae5db71ae /source3/nsswitch
parentbc10e4067a0c1985d81e3756c7dd7c23f09c1be0 (diff)
downloadsamba-f51677051cc139bdeb9d66196ca5405cecce1a35.tar.gz
samba-f51677051cc139bdeb9d66196ca5405cecce1a35.tar.bz2
samba-f51677051cc139bdeb9d66196ca5405cecce1a35.zip
r5428: Apply some const. LDAP attribs should now be declared const char *attr[]. This
gives some new warnings in smbldap.c, but a the callers are cleaned up. Volker (This used to be commit 543799fc0ddc3176469acc1fab7093c41556d403)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_rpc.c b/source3/nsswitch/winbindd_rpc.c
index 10d6e4f4fa..b4d8cc3956 100644
--- a/source3/nsswitch/winbindd_rpc.c
+++ b/source3/nsswitch/winbindd_rpc.c
@@ -769,7 +769,7 @@ static int get_ldap_seq(const char *server, int port, uint32 *seq)
{
int ret = -1;
struct timeval to;
- char *attrs[] = {"highestCommittedUSN", NULL};
+ const char *attrs[] = {"highestCommittedUSN", NULL};
LDAPMessage *res = NULL;
char **values = NULL;
LDAP *ldp = NULL;