Hey sluggers,
Anyone have any idea as to why i am getting this issue?
Samba machine with a firewire removable disk (sbp2 is the module).
shared like so:
[bigdisk]
comment = Backup disk on Firewire
path = /bigdisk/
public = yes
writable = yes
preexec = /bin/mount /bigdisk
postexec = /bin/umount /bigdisk
I have joined this machine to the domain (smbpasswd -j DOMAIN)
and set password server = SERVER
only problem is that samba never does the preexec and postexec stuff.
running the preexec and postexec commands as root from the prompt works
fine.
The samba log seems to mention something about:
[2003/03/31 14:21:50, 1] smbd/service.c:make_connection(615)
server (10.0.0.1) connect to service bigdisk as user nobody
(uid=65534, gid=65534) (pid 22641)
how do I make samba connect as somebody? does that make a difference to
the scripts not running? (actually, watching the process list - the
scripts do run, but fail to mount the drive)
I am accessing the samba share as administrator on SERVER.
i am a domain admin so i would have thought that samba just pass the
auth through and connect as administrator.... what am i doing wrong?
the entry in /etc/fstab is:
/dev/sda1 /bigdisk ext3 defaults,user 0
0
dmesg outputs (when i modprobe sbp2):
SBP-2 module load options:
- Max speed supported: S400
- Max sectors per I/O supported: 255
- Max outstanding commands supported: 8
- Max outstanding commands per lun supported: 1
- Serialized I/O (debug): no
- Exclusive login: yes
Vendor: ST380023 Model: A Rev:
Type: Direct-Access ANSI SCSI revision: 06
Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
/dev/scsi/host1/bus0/target0/lun0: p1
thanks
dave
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug