summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-11-15 21:43:57 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-11-15 21:43:57 +0000
commitc64d762997c80bd9ad2d47d1799cf9ec870d455a (patch)
tree6839d179517104a114f726a8ee4d7a299c3534f6 /source3/smbd
parent392e2b2a0aab5e0e86d831b462b174abe8d089cb (diff)
downloadsamba-c64d762997c80bd9ad2d47d1799cf9ec870d455a.tar.gz
samba-c64d762997c80bd9ad2d47d1799cf9ec870d455a.tar.bz2
samba-c64d762997c80bd9ad2d47d1799cf9ec870d455a.zip
Updates from HEAD:
- const for PACKS() in lanman.c - change auth to 'account before password' - add help to net rpc {vampire,samsync} - configure updates for sun workshop cc - become_root() around pdb_ calls in auth_util for guest login. Andrew Bartlett (This used to be commit 43e90eb6e331d478013a9c038292f245edc51bd0)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/lanman.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c
index 6a031dde6f..43b5d9e55f 100644
--- a/source3/smbd/lanman.c
+++ b/source3/smbd/lanman.c
@@ -218,7 +218,7 @@ static int package(struct pack_desc* p, ...)
{
va_list args;
int needed=0, stringneeded;
- char* str=NULL;
+ const char* str=NULL;
int is_string=0, stringused;
int32 temp;
@@ -334,7 +334,7 @@ static void PACKI(struct pack_desc* desc,char *t,int v)
PACK(desc,t,v);
}
-static void PACKS(struct pack_desc* desc,char *t,char *v)
+static void PACKS(struct pack_desc* desc,const char *t,const char *v)
{
PACK(desc,t,v);
}