summaryrefslogtreecommitdiffstats
path: root/source/locking
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-06-05 20:46:05 +0000
committerJeremy Allison <jra@samba.org>1998-06-05 20:46:05 +0000
commit5f46c7c4b11a75f1ffbd806cde915b4bf28232db (patch)
tree5078cb9c1892aafc0d7f79eab5920a8b32e19226 /source/locking
parentae3510e9fb309be343e245d8460c1ceb8164077b (diff)
downloadsamba-5f46c7c4b11a75f1ffbd806cde915b4bf28232db.tar.gz
samba-5f46c7c4b11a75f1ffbd806cde915b4bf28232db.tar.xz
samba-5f46c7c4b11a75f1ffbd806cde915b4bf28232db.zip
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.
Diffstat (limited to 'source/locking')
-rw-r--r--source/locking/shmem_sysv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/locking/shmem_sysv.c b/source/locking/shmem_sysv.c
index 20aea9283db..439d89c6e04 100644
--- a/source/locking/shmem_sysv.c
+++ b/source/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) {