From 88d88f5d0d23c8c849739b9441872734c0431c99 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 5 Jun 1998 20:46:05 +0000 Subject: loadparm.c: Did it ! Changed defaults for 'case preserve' and 'short case preserve'. Also removed 'domain allow/deny' parameters. shmem_sysv.c: Added strerror code so I can see why sysV calls are failing. lib/rpc/server/srv_netlog.c: Removed code that used 'domain allow/deny' parameters - replaced with a comment so I will remember to fix this later. Jeremy. (This used to be commit 5f46c7c4b11a75f1ffbd806cde915b4bf28232db) --- source3/locking/shmem_sysv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/locking/shmem_sysv.c') diff --git a/source3/locking/shmem_sysv.c b/source3/locking/shmem_sysv.c index 20aea9283d..439d89c6e0 100644 --- a/source3/locking/shmem_sysv.c +++ b/source3/locking/shmem_sysv.c @@ -658,7 +658,7 @@ struct shmem_ops *sysv_shm_open(int ronly) } if (shm_id == -1) { - DEBUG(0,("Can't create or use IPC area\n")); + DEBUG(0,("Can't create or use IPC area. Error was %s\n", strerror(errno))); global_unlock(); return NULL; } @@ -667,7 +667,7 @@ struct shmem_ops *sysv_shm_open(int ronly) shm_header_p = (struct ShmHeader *)shmat(shm_id, 0, read_only?SHM_RDONLY:0); if ((long)shm_header_p == -1) { - DEBUG(0,("Can't attach to IPC area\n")); + DEBUG(0,("Can't attach to IPC area. Error was %s\n", strerror(errno))); global_unlock(); return NULL; } @@ -676,7 +676,7 @@ struct shmem_ops *sysv_shm_open(int ronly) we use a registration file containing the processids of the file mapping processes */ if (shmctl(shm_id, IPC_STAT, &shm_ds) != 0) { - DEBUG(0,("ERROR shm_open : can't IPC_STAT\n")); + DEBUG(0,("ERROR shm_open : can't IPC_STAT. Error was %s\n", strerror(errno))); } if (!read_only) { -- cgit