diff --git a/servers/slapd/proto-slap.h b/servers/slapd/proto-slap.h index 67a750b2e0..e54a8c933f 100644 --- a/servers/slapd/proto-slap.h +++ b/servers/slapd/proto-slap.h @@ -938,8 +938,7 @@ LDAP_SLAPD_F (int) syn_schema_info( Entry *e ); * user.c */ #if defined(HAVE_PWD_H) && defined(HAVE_GRP_H) -LDAP_SLAPD_F (void) slap_init_user LDAP_P(( - const char *username, const char *groupname )); +LDAP_SLAPD_F (void) slap_init_user LDAP_P(( char *username, char *groupname )); #endif /* diff --git a/servers/slapd/user.c b/servers/slapd/user.c index 1eb007938f..e12c6032a3 100644 --- a/servers/slapd/user.c +++ b/servers/slapd/user.c @@ -41,7 +41,7 @@ */ void -slap_init_user( const char *user, const char *group ) +slap_init_user( char *user, char *group ) { uid_t uid = 0; gid_t gid = 0;