Re: Samba and homedirs?

2002-05-30 Thread Alvin Oga

hiya jan

what is  the permissions of /home/j2 

what is it exports... homeserver:/etc/exports
#
# ip# and masks 
# some apps wants to see mask  instead of  just an ip#
#
/home/j2    192.168.1.0/255.255.255.0(rw,no_root_squash...)

what is your /etc/samba/smb.conf looking like...
- if it used to work...
and doesn't work now... what changed /??

c ya
alvin

On Thu, 30 May 2002, Jan Johansson wrote:

 [EMAIL PROTECTED]:~$ smbstatus 
 
 Samba version 2.2.3a-6 for Debian
 Service  uid  gid  pid machine
 --
 j2   j2   j28207   rizzo(192.168.0.239) Thu May 30 
 02:19:16 2002
 
 Yet any write operation on the homedirectory fails with access denied. 
 smbpasswd is correctly set up. And i have no problem towards my old RH system.
 
 Help?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



RE: Samba and homedirs?

2002-05-30 Thread Jan Johansson
 what is  the permissions of /home/j2 

drwxr-xr-x   18 j2   j2   4096 May 28 10:18 j2

 
 what is it exports... homeserver:/etc/exports
   #
   # ip# and masks 
   # some apps wants to see mask  instead of  just an ip#
   #
   /home/j2    192.168.1.0/255.255.255.0(rw,no_root_squash...)
 

What does NFS has to do with anything? Samba never reads that afaik? Anyway, 
exports is blank, sinc ei have no NFS components.

 what is your /etc/samba/smb.conf looking like...
   - if it used to work...
   and doesn't work now... what changed /??

Fresh install from Testing. Nothing changed apart from workgroup name.

[global]
workgroup = MUPPNET
server string = %h server (Samba %v)
encrypt passwords = Yes
obey pam restrictions = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n 
*Retype\snew\sUNIX\spassword:* %n\n .
syslog = 0
max log size = 1000
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=8192 
SO_RCVBUF=8192
dns proxy = No
invalid users = root
wins support = yes
preferred master = yes
domain master = yes

[homes]
comment = Home Directories
create mask = 0770
directory mask = 0770
browseable = No


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



RE: Samba and homedirs?

2002-05-30 Thread Alvin Oga

hi ya

  #
  # ip# and masks 
  # some apps wants to see mask  instead of  just an ip#
  #
  /home/j2    192.168.1.0/255.255.255.0(rw,no_root_squash...)
  
 
 What does NFS has to do with anything? Samba never reads that afaik? Anyway, 
 exports is blank, sinc ei have no NFS components.

well... if it dont work... define it ...
( i always define it... and dont have any samba problems ..
- i wouldn't want my boxes to be exporting stuff its not
explicitly allowed to export via nfs or samba or appletalk
or anything else

i dont like these shortened default smb.conf files...
- best to start from the big ole monster from samba.org

- i'd add a few more defaults and see if that makes it work
and if you're right ... you still wont need /etc/exports 

c ya
alvin
 
 [global]
 workgroup = MUPPNET
 server string = %h server (Samba %v)
 encrypt passwords = Yes
 obey pam restrictions = Yes
 passwd program = /usr/bin/passwd %u
 passwd chat = *Enter\snew\sUNIX\spassword:* %n\n 
 *Retype\snew\sUNIX\spassword:* %n\n .
 syslog = 0
 max log size = 1000
 socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=8192 
 SO_RCVBUF=8192
 dns proxy = No
 invalid users = root
 wins support = yes
 preferred master = yes
 domain master = yes
  #
  # think you're missing these
  #
  hosts allow = 10.1.1. localhost
  #
  encrypt passwords = yes
  smb passwd file = /etc/samba/smbpasswd

 [homes]
 comment = Home Directories
  #
  # where you have it
  path = /export/home
  browseable = yes
  writable = yes
  #
  # create mask = 0770
  # directory mask = 0770
  # browseable = No

... done ...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



RE: Samba and homedirs?

2002-05-30 Thread Jan Johansson
 well... if it dont work... define it ...

It is never read or in any other way used by samba.

 ( i always define it... and dont have any samba problems ..

Neither do i with that config file on a RH system.

 i dont like these shortened default smb.conf files...

Works on other systems, hence that is why i am asking: Why doesnt this work on 
Debian.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Samba and homedirs?

2002-05-30 Thread Hall Stevenson
 i dont like these shortened default smb.conf files...

Why not ?? Samba simply defaults to various 'enabled' or
'disabled' settings whether or not they're listed in your
smb.conf file. Granted, the authors or whoever have decided
for you that it's not necessary to list this option because
99.9% of the people using Samba have it set this way.

If using these shortened config files works and all that's
req'd is simply changing the workgroup name, I think it makes
things much easier.

Hall


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]