← Back to team overview

enterprise-support team mailing list archive

[Question #210552]: public shared drive not accessable via client samba 12.04 " Password required for heffsvr2""

 

New question #210552 on samba in Ubuntu:
https://answers.launchpad.net/ubuntu/+source/samba/+question/210552

hello,

I have a shared drive "UDrive" on a ubuntu server running 12.04   IP  192.168.1.82  "heffsvr2"
all the windows machines on the network which are running xp can login without a issue
however the new ubuntu 12.04 workstation IP 192.168.1.93  "kitchen" sees the machine but will not allow a login??

I want the  share  to be accessable with out a password?
the xp machines are not having any trouble logging in and the shares work great on the xp machines.

 when i browse via the folder icon on "kitchen"
network/browse networks/ heffsvr2
the "heffsvr"machine shows up yet when I click for  login ...it ask for password which it does not like no mater what is given.

also the 

any help on tis issue is  greatly appreciated


the smbusers file is :
##################################################
avahi = winuser
kitchen = kitchen

###################################################

the smb.conf file is the following
#########################################################
[global]
    ; General server settings
	netbios name = HEFFSVR2
	server string = Samba Server %v
	workgroup = heffhome
	announce version = 5.0
	socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
	usershare owner only = false

;	passdb backend = tdbsam
	security = share
;	guest account = nobody
	null passwords = true
    ; name resolve order = hosts wins bcast
	lanman auth = Yes
	client lanman auth = Yes
	client ntlmv2 auth = no

	name resolve order = lmhosts wins bcast host

    ;wins support = yes

;	printing = cups
	printcap name = CUPS

;	syslog = 1
	syslog only = yes

; NOTE: If you need access to the user home directories uncomment the
; lines below and adjust the settings to your hearts content.
;[homes]
    ;valid users = %S
    ;create mode = 0600
    ;directory mode = 0755
    ;browseable = no
    ;read only = no
    ;veto files = /*.{*}/.*/mail/bin/

; NOTE: Only needed if you run samba as a primary domain controller.
; Not needed as this config doesn't cover that matter.
;[netlogon]
	path = /var/lib/samba/netlogon
	admin users = Administrator
	valid users = %U
	read only = no

; NOTE: Again - only needed if you're running a primary domain controller.
;[Profiles]
    ;path = /var/lib/samba/profiles
    ;valid users = %U
    ;create mode = 0600
    ;directory mode = 0700
    ;writeable = yes
    ;browseable = no

; NOTE: Inside this place you may build a printer driver repository for
; Windows - I'll cover this topic in another HOWTO.
	server role = dc
;	encrypt passwords = yes
;	guest ok = no
;	encrypt passwords = yes
;	guest ok = no
[print$]
	path = /var/lib/samba/printers
;	browseable = yes
	guest ok = yes
	writeable = yes
	write list = root
	create mask = 0664
	directory mask = 0775

[printers]
	path = /tmp
	printable = yes
	guest ok = yes
	browseable = no

; Uncomment if you need to share your CD-/DVD-ROM Drive
;[DVD-ROM Drive]
    ;path = /media/cdrom
    ;browseable = yes
    ;read only = yes
    ;guest ok = yes



[UDrive]
	path = /media/u_raid
;	browseable = yes
	writeable = yes
	guest ok = yes
	create mask = 0644
;	directory mask = 0755
	force user = heffsvr2
	force group = heffsvr2
	guest only = yes
;	guest account = nobody
	locking = no


[Movie_raid]
	path = /media/Movies
;	browseable = yes
	read only = no
	guest ok = yes
	create mask = 0644
;	directory mask = 0755
	force user = heffsvr2
	force group = heffsvr2
	guest only = yes
;	guest account = nobody
[Movie2]
	path = /media/Movie2
;	browseable = yes
	read only = no
	guest ok = yes
	create mask = 0644
;	directory mask = 0755
	force user = heffsvr2
	force group = heffsvr2
	guest only = yes
;	guest account = nobody
[Movie3]
	path = /media/Movie3
;	browseable = yes
	read only = no
	guest ok = yes
	create mask = 0644
;	directory mask = 0755
	force user = heffsvr2
	force group = heffsvr2
	guest only = yes
;	guest account = nobody

#########################################################

-- 
You received this question notification because you are a member of
Ubuntu Server/Client Support Team, which is an answer contact for samba
in Ubuntu.