HI Gary & Co.
Made the changes as listed , but
On Wed, 2003-04-02 at 06:18, Gary Hodder wrote:
> Hi Richard and others having trouble with samba.
>
>
> Add the user and passwd to samba/linux box
>
> ----cut below, save as ---- etc/samba/smbpasswd
> # user :group change user to match windows user, change group to mach that
> user in /etc/group
> winuser:501:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[U
> ]:LCT-00000000:
> winuser2:502:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[U
> ]:LCT-00000000:
> ----cut---------
>
that was cut and pasted
> run smbpasswd winuser
> passwd winpass
>
> At this point the "X's" will change to a encrypted password.
at this point it did'nt :((
[EMAIL PROTECTED] richard]# smbpasswd winuser
New SMB password:
Retype new SMB password:
mod_smbfilepwd_entry: malformed password entry (no terminating :)
Password changed for user winuser.
Failed to modify entry for user winuser.
Failed to modify password entry for user winuser
> Add windows hostname and ip to /etc/hosts...that was already done
>
> Edit /etc/nsswtched hosts line to
> hosts: files dns nisplus nis... did that
>
> Restart samba.... did that
Still stuck at the point where the windows box can only find the linux
box by its ip address , ie .44.131.90.129, not by either the netbios
name or netbios alias.
When the linux box is found a login is required and no matter what is
entered no access is given.
here are the logs
log.nmbd
[2003/04/02 19:08:19, 0]
nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(291)
become_domain_master_browser_bcast:
Attempting to become domain master browser on workgroup MDKGROUP on
subnet 44.131.90.129
[2003/04/02 19:08:19, 0]
nmbd/nmbd_become_dmb.c:become_domain_master_browser_bca
st(305)
become_domain_master_browser_bcast: querying subnet 44.131.90.129 for
domain master browser on workgroup MDKGROUP
[2003/04/02 19:08:23, 0]
nmbd/nmbd_responserecordsdb.c:find_response_record(235)
find_response_record: response packet id 9338 received with no
matching record.
[2003/04/02 19:08:23, 0]
nmbd/nmbd_responserecordsdb.c:find_response_record(235)
find_response_record: response packet id 9339 received with no
matching record.
[2003/04/02 19:08:27, 0]
nmbd/nmbd_become_dmb.c:become_domain_master_stage2(114)
*****
Samba server FIREWALL is now a domain master browser for workgroup
MDKGROUP on subnet 44.131.90.129
*****
[2003/04/02 19:08:42, 0]
nmbd/nmbd_become_lmb.c:become_local_master_stage2(404)
*****
Samba name server FIREWALL is now a local master browser for workgroup
MDKGROUP on subnet 44.131.90.129
log.smbd
[2003/04/02 19:08:12, 0] smbd/server.c:main(707)
smbd version 2.2.7a started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
[2003/04/02 19:12:30, 0] lib/debug.c:reopen_logs(348)
Unable to open new log file /var/log/samba/log.winblows: No such file
or directory
[2003/04/02 19:12:30, 0] lib/debug.c:reopen_logs(348)
Unable to open new log file /var/log/samba/log.winblows: No such file
or directory
[2003/04/02 19:12:30, 0] lib/debug.c:reopen_logs(348)
Unable to open new log file /var/log/samba/log.winblows: No such file
or director
Futhermore linnieghbourhood no longer shows any shares on this box
my smb.conf file is now looking like this
# Global parameters
[global]
workgroup = MDKGROUP
netbios name = FIREWALL
netbios aliases = firewall
server string = Samba Server %v
interfaces = eth0
security = SHARE
encrypt passwords = Yes
root directory = /home/richard
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
os level = 99
dns proxy = No
wins support = Yes
printer admin = @adm
hosts allow = 44.131.90.129 44.131.90.149 127.0.0.1
printing = cups
domain master = yes
prefered master = yes
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p -o raw %s -r # using clientside
printer drivers.
browseable = No
This is why I did suggest to take this off line before someone got a bit
sick of this, I expect to get flamed before long for not getting this
sorted..
TIA
Richard
--
richard bown <[EMAIL PROTECTED]>
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com