[ILUG] Samba
Greg McRandal
mcrandal at maths.tcd.ie
Thu Apr 1 11:57:18 IST 2004
Sorry I should also mention that the NT usernames are "Firstname Lastname" and so not the same as any logins on the linux box.
Thanks
Greg
On Thu, Apr 01, 2004 at 11:39:48AM +0100, Greg McRandal wrote:
> Hi,
>
> I'm having a problem setting up samba on an old RH7.3 box. I want to have each user be able to open up their home dir and play about. Also I'd like to have the NT domain controller do all the password checking etc.
>
> The box appears on the network but we cannot open any dirs on it, Windows complains about permissions. The logs complain
> log.nmbd
> [2004/04/01 11:31:30, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(236)
> find_response_record: response packet id 28833 received with no matching record.
> [2004/04/01 11:31:30, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(236)
> find_response_record: response packet id 28834 received with no matching record.
>
> Any suggestions will be gratefully received :)
>
> Thanks,
>
> Greg
>
> smb.conf
> [global]
> workgroup = XXXXXX
> server string = XXXXXX
> printcap name = /etc/printcap
> load printers = yes
> printing = cups
> log file = /var/log/samba/%m.log
> max log size = 0
> security = server
> obey pam restrictions = yes
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> dns proxy = no
> password server = XXXXXX
> encrypt passwords = yes
> domain master = no
> username map = /etc/samba/smbusers
>
> [public]
> path = /tmp
> public = yes
> readonly = no
> writable = yes
> printable = no
> browseable = Yes
> create mode = 0777
> directory mode = 0777
>
> # NOTE: If you have a BSD-style print system there is no need to
> # specifically define each individual printer
> [printers]
> comment = All Printers
> path = /var/spool/samba
> browseable = no
> # Set public = yes to allow user 'guest account' to print
> guest ok = no
> writable = no
> printable = yes
>
> [homes]
> comment = Home Directories
> browseable = no
> writable = yes
> valid users = %S
> create mode = 0664
> directory mode = 0775
> # If you want users samba doesn't recognize to be mapped to a guest user
> ; map to guest = bad user
>
>
>
>
> --
> Irish Linux Users' Group
> http://www.linux.ie/mailman/listinfo/ilug/
>
More information about the ILUG
mailing list