Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Domain authentication problem with samba Version 3.0.0-15

Status
Not open for further replies.

fortytwo

Technical User
Apr 18, 2000
206
GB
Hi all,

I am having a problem authenticating against a samba server that hopefully is using winbind to get the usernames and passwords from an NT PDC. I am using samba Version 3.0.0-15 from fedora linux. Here is the output of my testparm:

[root@file2 samba]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[printers]"
Processing section "[DEIntranet]"
Loaded services file OK.
'winbind separator = +' might cause problems with group membership.
Server role: ROLE_DOMAIN_MEMBER
Press enter to see a dump of your service definitions

# Global parameters
[global]
workgroup = MYDOMAIN
server string = File2 Samba Server
security = DOMAIN
password server = TEMPPDC
username map = /etc/samba/smbusers
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
load printers = No
os level = 33
preferred master = No
local master = No
domain master = No
dns proxy = No
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind separator = +
winbind cache time = 10

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[DEIntranet]
comment = DirectEnglish Intranet
path = /shares/directenglish
valid users = @DirectEnglish
read only = No

Basically, when I try this command:

[root@poop root]# mount -tsmbfs -ousername=myusername,password=mypassword,uid=will,gid=will,workgroup=MYDOMAIN //file2/sharename /home/will/smb/de
15882: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name)
SMB connection failed

I get the above error, amd this in the per-machine log file on file2 (the server):
[2004/02/09 20:27:16, 0] auth/auth_util.c:make_server_info_info3(1017)
make_server_info_info3: pdb_init_sam failed!

Any ideas what I am doing wrong here? There are other samba servers (version 2) on the network that authenticate against the NT PDC, but none of those use winbind. I can also authenticate using the same username and password against those servers.

many thanks,
Will.

will@hellacool.co.uk
 
Anyway in the file2's smb.conf you don't have [sharename] section, so //file2/sharename is still an invalid share name.

Hope This Help
PH.
 
I was under the impression that this was a share definition:

[DEIntranet]
comment = DirectEnglish Intranet
path = /shares/directenglish
valid users = @DirectEnglish
read only = No

Correct me if I am wrong.

Will.

will@hellacool.co.uk
 
Doh, I copied and pasted the wrong error. This is the error I get:

[root@poop root]# mount -tsmbfs -ousername=administrator,password=hellfire,uid=will,gid=will,workgroup=LINGUAPHONE //file2/DEIntranet /home/will/smb/de
16035: tree connect failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed

will@hellacool.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top